Here’s the matching student demo for the MIT App Inventor Oven thermometer I made. This way students can test the thermometer simple by touching the sensor
You’ll need some flavor of Adruino, a Bluetooth SPP module, and a Dallas 1820 temperature sensor to actually make the demo work.
I used another of these small 328 based boards and the same Bluetooth module. The DS1820 only needs a pullup resistor.
This code also updates every 400 ms.
Here’s a quick movie.
The code can be found here:
https://github.com/rjkorn/Room_Thermometer
Hi,
After uploaded Room_Thermometer sketch to an Arduino Uno, the program is crashing. I get the following error message:
Bad arguments to >
The operation > cannot accept the arguments:
[0227
0227
0227
0227
The bluetooth module is HC-05, temperature sensor a Dallas 18B20
Sorry for my poor English.
Saua
The error probably has to do with a status message or local echo inserting that brace in front of the first reading. The simplest fix would be to add a read right after the connect and throw away everything to empty the buffer. I’ll try adding it to my code to see what happens. I’ll post an update as soon as I can.