Email in VB.net to send Arduino Sensors Data “2010 Express”

(Last Updated On: July 22, 2019)

Email in VB.net

Description:

Email in VB.net– In this tutorial you will learn how to design your own computer application in VB.net to monitor the temperature and humidity values and then send these values on a specific email id. With the help of this project, the temperature and humidity values can be monitored from anywhere around the world.

In this project the famous DHT11 temperature and humidity sensor is used with the Arduino. The Arduino Uno is used to access the Temperature and Humidity values and then using the Serial Communication the temperature and humidity values are sent in a string message to the designed computer application. These values are displayed on the Screen and are also sent to the destination email id.


Let’s get started!!!

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
LM7805 Voltage Regulator: https://amzn.to/2IZEl5x
Potentiometer: https://amzn.to/2JSLbfg
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / strip board: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF


At first you will find this project quite impractical, as you will need a computer or a laptop connected with the Arduino Uno or Mega all the time. Who connects a computer 24 hours with the Arduino Uno just to monitor the Temperature and Humidity? While, there are so many breakout boards which can be used to send the sensors data to any email id around the world. There are Ethernet cards, ESP8266 wifi modules, Nodemcu ESP8266, etc. All these modules can be directly interfaced with the Arduino Uno or Mega and you never need a computer to send an email. I have been using Nodemcu ESP8266 for Real Time sensors monitoring, but there are situations when you need a computer application like for example a SCADA system, where you process all the data and then send the end results on an email ID.

When you start comparing both the options, and as you dig deeper you will understand how important this project is. The computer application designed for monitoring and sending email can be used in infinite ways. The application designed in this Tutorial can be used without the Arduino. This application can be easily modified and can be used in student’s attendance system, this application can be used in products enquiry system, and this project can be used in all those places where you need to send an email. This application can also be used for the marketing, as this is an automatic email sending system.


The software’s used in this project are

Arduino IDE

Visual Basic.Net “VB.net” 2010 Express Edition.

DHT11 sensor Pinout:

Email in VB.net

This is the DHT11 temperature and humidity sensor which is used in this project for building the Real-Time weather station. DHT11 Sensor has total of 4 pins. Pin number 1 is the VCC, pin number 2 is the data , pin number 3 is not connected while pin number 4 is the Ground.


The other useful information about the DHT11 sensor can be find in its datasheet. For example its applications, Features, Dimensions, Product parameter, Electrical characteristics, Pin description ,and data format etc. It’s a good designing practice to study the datasheet of the electrical component, before you start using it any circuit.

For the easy connections I highly recommend firs you need to fix this sensor on the Vero Board, Solder its legs and the 10 kilo resistor. Then solder jumper wires. This way you can easy interface the DHT11 temperature and humidity sensor with the Arduino Uno or Mega.

Email in VB.net

Circuit Diagram:

Email in VB.net

The connection of the DHT11 temperature and humidity sensor with the Arduino Uno or Mega is really simple. As you can see in the circuit diagram above, a 10 kilo Ohm resistor is connected between pin number 1 and pin number 2. As I said earlier the pin number 3 of the dht11 sensor is not used. Pin number 4 of the DHT11 temperature and humidity sensor is connected with the Arduino’s Ground, while pin number 2 is connected with the Arduino’s pin number 12.


Email in VB.net Arduino and VB.net Programming:

 Email in VB.net– In this Project two programs are used, one program is written for the Arduino and the other program is the computer application designed in vb.net using 2010 Express Edition.

DHT11 Arduino Programming:

For the Program Explanation watch Video Tutorial given at the end of this Article.

Email Sending Application VB.net Programming:

For the practical demonstration and step by step, explanation watch the following video tutorial.

Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply