The package of parts from ICStation came late last week. While not a complete list, I got the following:
DS18B20 sensor, waterproof temp sensor (DS18B20), Nokia 5110 LCD, 2.8″ TFT, arduino nano.
Today I took a spare arduino board and created a 2-temp circuit using the two 1-wire temperature sensors. To do this, I first had to download a program to determine the serial numbers of each sensor. I used a routine from Hacktronics website:
After following those directions, i was able to get the address of both sensors. Then I used the 1-wire example from Hacktronics “Arduino ds18b20 Temperature Sensor Sketch”, input in the proper addresses found above, then ran. The hardware setup was very simple, each sensor has 3 wires: wire 1 goes to GND, wire 3 goes to 5V, wire 2 goes to Data (in my case, run through pin 3 of the Arduino. A single 4.7k Ohm resistor between 2 & 3 is necessary. Each additional sensor is wired in parallel and is accessed by referencing the appropriate serial number. The following pic is the setup with the single DS18B20 sensor.
The second effort today was to get the TFT working. This wasn’t nearly as successful, as I didn’t buy an arduino-ready TFT shield, but instead bought the 2.8″ TFT panel ( http://www.icstation.com/product_info.php?products_id=2288#.U8xj7_ldVv9 ). This panel has a 40 pin (in two rows) connector, but unfortunately I don’t have female jumpers to connect it. I also bought a Nokia LCD and was able to connect it up and run it using the libraries from AdaFruit.
While the pics are a bit blurry, it’s still easy to see the simplicity of each of the setups.
So the next steps are to put the two sketches together, so that the temperature is displayed on the LCD. That shouldn’t be too big a problem. What may be is getting the TFT working. I will have to figure something out – a temporary setup for prototyping and a more permanent setup.
Thanks for reading and any/all comments are appreciated.
Till next time…