Expected completion time of this lab:
. |
The analog input pins only support a voltage between 0 and 1.8V. NEVER apply a volyage outside that range, or you will fry the board. Test the voltage of your input using a voltmeter before applying to the board. For testing, you can leave the pin floating (the input voltage should be around 1V), or tied to ground. |
Create the following Node-RED flow to enable analog input pin A0
The function node at the top contains the following code:
|
You should end up with the following dashboard
Create little control loops between sensors and actuators! |