In this project we will monitor the room temperature using TMP35 thermistor and 4Duino. The thermistor is an analog component able to read ambient temperature by either decreasing or increasing its resistance in response to temperature change. Hence it can detect surrounding temperature changes in real time. In this project 4Duino’s resistive touch display is used as a means for displaying the detected temperature.
HOW IT WORKS
- TMP 35 Temperature sensor
- Bread Board
- Jumper cables
- µSD Card
- Micro USB Cable
Step 1: Build
Build the circuit as shown in the following diagram and schematic.
Step 2: Program
Workshop 4 – 4Duino Extended Graphics environment is used to program this project.
Download the project file here.
Open this file with Workshop 4 IDE.
This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.
Step 3: Comms Port
Connect the 4Duino to the PC using µUSB cable.
Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.
Step 4: Compile and Upload
Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.
The Workshop 4 IDE will prompt you to insert a µSD card to the PC in order to save the widget images. Insert µSD card, select the appropriate drive and press button “OK”.
If the µSD card has the widget images you can click button “No Thanks”.
Step 5: Insert µSD card
All you need to do is insert the µSD card you saved the image files to into the 4Duino.
After uploading the program in to the 4Duino, it will try to mount the µSD card. If the µSD card is not present it will prints an error message.
Now you can read the temperature displayed on 4Duino.