Monday, February 1, 2016

Arduino Programming class effort



1)Which laptop OS are you testing to program from: 

Testing from a laptop with Windows 10 Operating System 

2)What is the PI you are using and which OS is it setup with? 

Raspberry Pi2 Model B and having Raspbian OS(today experimented only on laptop not on Pi)

3)What is the hardware that is needed?

NodMCU V2 , Bread Board, Jumper wires
For  LED  blinking experiment : 330 ohmsResistor, LED,
For Temperature and Humidity Sensing Experiment : 10 k ohms Resistor, DHT11 Sensor, 

4)What is the software that is needed?

Arduino IDE installation package for windows : arduino-1.6.7-windows
(https://www.arduino.cc/en/Main/Software)

Arduino ESP8266 extension Installation:
Once you have installed Arduino, install the Arduino ESP8266 extension by selecting Preferences and entering 
" http://arduino.esp8266.com/stable/package_esp8266com_index.json " into the Additional Board Manager URLs field.  

Install Esp8266 platform:
Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select NodeMCU 1.0(ESP-12E) from Tools > Board menu after installation)

DHT Sensor Library:
Open Sketch > Include Library > Manage Libraries >select for DHT sensor library and then install.


5) How do you wire it together?

Wiring Connections:

 For  LED  blinking experiment : 

  • Connect the D7 (pin 13) of NodMCV to one end of the 330 ohms resistor.
  • Connect the other end of the resistor to Positive terminal of LED.
  • Connect the Negative terminal of LED to GND (ground pin) of NodMCV.

For Temperature and Humidity Sensing Experiment : 

  • Connect the 3v3 (pin 1)of NodMCV to pin1 of DHT11 Sensor.
  • Connect the D7(pin 13) of NodMCV to pin2 of DHT11 Sensor.
  • Connect the GND (ground pin) of NodMCV to pin4 of DHT11 Sensor.
  • Connect one end of 10 K ohms resistor to pin2 of DHT11 Sensor.
  • Other end of the resistor to 3V3 (pin 1) of NodMCV.


6) What is the logical first test?

a. LED
Logical test here is if high voltage is passed to pin13 then LED should glow and viceversa.

b. Humidity, Temperature Sensor
Logical test here is if the DHT11 Sensor is able to sense the reading.
Later that can be checked from the output displayed on the output terminal.

What were the problems that you had to solve?
Everything went well for me except one.
While performing the Humidity, temperature Sensor its hard for me to find the console.
Google helped me to find that light small icon at the top right corner where we can check the output display. 


How far did you get.
I am done with the Laptop version of the Arduino experiment.
Performed all the 3 experiments and successfully completed.




No comments:

Post a Comment