Visualise measured data over local network following server/client relationship between Arduino and Raspberry Pi

Hello! Today i’ll show you how to measure DC voltage using Arduino and display the measured data on request from client over same network using some Python code and Raspberry Pi.

Voltage measurement is the simplest task that we can perform using Arduino. Arduino’s internal ADC reference voltage is 5V (Vref=5V) so maximum voltage that we can measure without using external circuit is 5V. It is having 10-bit resolution, 210=1024 values for 0 to 5V scale. 0V corresponds to 0 ADC reading and 5V corresponds to 1023. Single ADC value represents 4.88mV. So the maximum voltage that we measure here is 5V.

rpi1

Read More

Digression on Equality

Python has two versions of equality; they are == (plain equality) and is identity. Actual is identity, as in ‘a is b‘, tests whether the two things are in fact the exact same object.== can compare different types of objects and return useful results if desired. a == b checks if a and b have same value. a is b checks if a and b refer to same object.

What happen when we assign names

rpi

Read More

Program Arduino with LabVIEW

Hey pals! Today i’m gonna show you how to control led’s using Arduino Mega and LabVIEW. This is the most simplest control one can apply. The package LabVIEW Interface for Arduino (LIFA) has been replaced with LINX. It is highly recommended to migrate to LINX as there will be no further development for LIFA.

rpi.jpg

Read More

Live streaming using Raspberry Pi Camera module

Here I have used Raspberry pi in headless mode using VNC. Prior to proceeding with the steps let us first make sure that the latest updates are installed on our Pi. To update our Pi we need to run the two commands below.

rpi.jpg

Read More

ESP8266-01 as Server and Client

The ESP8266-01 is a Wi-Fi module that allows any microcontroller system access to a Wi-Fi network. This module is a self-contained SOC (System On a Chip) that doesn’t necessarily need a microcontroller to manipulate inputs and outputs as you would normally do with an Arduino. ESP8266-01 basically having two GPIO pins. We can simply program the ESP8266 to not only have access to a Wi-Fi network, but to act as a microcontroller as well. This makes the ESP8266 very versatile. In this tutorial I am going to communicate with ESP8266-01 module.

esp.jpg

Read More