DHT22 data From Arduino to Raspberry Pi using MySQL and CoAP

Installation of All Software

1) Raspbian OS:

This is the recommended os for raspberry pi. You can also installed other OS from third party. Raspbian OS is debian based OS. We can install it from noobs installer. you can Download heredht22 data from arduino to raspberry pi using mysql and coap

2) Python idle:

This is the software we get in raspbian os. For this project we have used python script.

3) Arduino IDE:

You can download the latest Arduino IDE from this link:

https://www.arduino.cc/en/Main/Software

2) Python idle:

This is the software we get in raspbian os. For this project we have used python script.

3) Arduino IDE:

You can download the latest Arduino IDE from this link:

https://www.arduino.cc/en/Main/Software

5) Aneska:

This software is used to get data in our Smart Phone. Here is a link:

https://play.google.com/store/apps/details?id=pl.s…

Component Used:

1) Raspberry pi 3:

This is the latest version of raspberry pi. In this we have inbuilt Bluetooth and wi-fi, unlike previously we have to use Wi-Fi dongle in one of its usb port. There are total 40 pins in RPI3. Of the 40 pins, 26 are GPIO pins and the others are power or ground pins (plus two ID EEPROM pins.) There are 4 USB Port and 1 Ethernet slot, one HDMI port, 1 audio output port and 1 micro usb port and also many other things you can see the diagram on right side. And also we have one micro sd card slot wherein we have to installed the recommended Operating system on micro sd card. There are two ways to interact with your raspberry pi. Either you can interact directly through HDMI port by connecting HDMI to VGA cable, and keyboard and mouse or else you can interact from any system through SSH(Secure Shell). (For example in windows you can interact from putty ssh.) Figure is given below.schematic dht22 data from arduino to raspberry pi using mysql and coap

2) Arduino UNO:

Arduino/Genuino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button.

For more detail: DHT22 data From Arduino to Raspberry Pi using MySQL and CoAP


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top