LM35 Incubator with LCD 16x2 on Arduino

Past articles:

Introducing CodeBender

Today I found a great code sharing website called codebender that allows me to use Arduino in any computer since it has online IDE with crossplatform browser plugin to upload to Arduino system.

Remember, Arduino is an Open Source Hardware project, I encourage people to share as much as we learn from others too. Sharing knowledge is awesome!

Since everything is online and pretty straight forward, I will try to explain my project as simple as possible.

The Aim

My aim is still to produce an incubator, but today the specification will be:

  1. Internal LM35 temperature sensor that will be placed inside the incubator
  2. External LM35 temperature sensor that will monitor ambient/room temperature
  3. Peltier element that will be connected through a relay module
  4. Displaying internal (current temp, CT), external (ambient temp, AT), and target temperature (TT), and running mode (M) on a 16x2 LCD display.
  5. Store and fecth all preset data 
  6. Creating 4 sub-menus that will adjust target temperature, calibrate both of LM35 sensors, and save the preset in EEPROM.
  7. Also, logs parameters in SD card.

Hardware setup

For the hardware, I use an Arduino Uno, SD card shield (iteadStudio), LCD 16x2 shield (DFRobot), twin relay module (some chinese brand), two LM35 sensor breakouts (DFRobot and homemade), and an RTC DS1307 module (SplashTronic).
For incubator prototyping, I use a USB portable peltier softdrink cooler/heater (some chinese brand) or if you reside in Indonesia, you can buy it here.

Analog Pins:
  1. A0 - for onboard LCD shield buttons
  2. A1 - for internal LM35 sensor
  3. A2 - for external LM35 sensor
  4. A3 - for relay to peltier
  5. A4 & A5 - for RTC clock
Digital pins (mostly for LCD and SDcard)
  1. Digital 4 DB4
  2. Digital 5 DB5
  3. Digital 6 DB6
  4. Digital 7 DB7
  5. Digital 8 RS (Data or Signal Display Selection)
  6. Digital 9 Enable
  7. Digital 10 Backlit Control
  8. MOSI - pin 11
  9. MISO - pin 12
  10. CLK - pin 13
  11. CS - pin 10 //Itead Studio SD Shield 2.0

The code

Time for fun



Popular posts from this blog

Xeon LGA 771 di mobo LGA 775

Writing and reading float using Arduino EEPROM