Author Topic: Working with Arduino!  (Read 3966 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr1234kakiTopic starter

  • Contributor
  • Posts: 11
Working with Arduino!
« on: August 27, 2012, 11:26:21 am »
 Hi there,

Im working on an arduino project, a thermostat with a display, i already done with the thermostat circuit and i can view the current temperature reading on the computer, but i do not know how to interpret these value into my display, im thinking of either using LCD module or LED seven segment display, which one is better? And how to code the value in the computer into my display? Thanks in advance!  ;D
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Working with Arduino!
« Reply #1 on: August 27, 2012, 11:49:35 am »
hmm lets break it down a little,

how does your thermostat work, are you reading values through the arduino on your computer or does the computer directly interface with it?

if the first, you feed the value through to your display after formatting it correctly, e.g. change a reading of x volts to x volts into 0-45 degrees,
this can be accomplished by one of the many libraries out there for arduino, most of them go well beyond what pins to use but reccomend models

lcd vs led, that comes down to how you plan to use the display, an lcd draws far less current, and you can generally fit more information onto it for a given size, but generally the driver will add a few dollars to your design, while 7 segments have excellent readability even over some meters, but can really suck down some current, e.g. 5mA per segment, but is very cheap and easy to drive,

post a scheamtic or some code or even just some more info otherwise i am left with mainly assumptions

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7763
  • Country: de
  • A qualified hobbyist ;)
Re: Working with Arduino!
« Reply #2 on: August 27, 2012, 12:55:17 pm »
Im working on an arduino project, a thermostat with a display, i already done with the thermostat circuit and i can view the current temperature reading on the computer, but i do not know how to interpret these value into my display, im thinking of either using LCD module or LED seven segment display, which one is better? And how to code the value in the computer into my display? Thanks in advance!  ;D

The most simply way is to use a LCD module and the LiquidCrystal library which is included in the Arduino IDE. Have a look at http://arduino.cc/en/Reference/LiquidCrystal for the documentation and some examples.
 

Offline MikeK

  • Super Contributor
  • ***
  • Posts: 1314
  • Country: us
Re: Working with Arduino!
« Reply #3 on: August 28, 2012, 02:55:46 am »
LCD all the way.  You can display text and it will consume less I/O pins than an LED display.
 

Offline HardBoot

  • Regular Contributor
  • *
  • Posts: 160
  • Country: ca
Re: Working with Arduino!
« Reply #4 on: August 28, 2012, 04:02:02 am »
LCD all the way.  You can display text and it will consume less I/O pins than an LED display.
LED looks a hell of a lot better though, just need to row-column instead of driving each led individually to save pins, hell, you can serially drive LEDs with gate + shift.
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Working with Arduino!
« Reply #5 on: August 28, 2012, 06:13:22 am »
You can use a BCD decoder  http://skory.z-net.hu/alkatresz/cd4543.pdf and an aditional pin per segment for the seelction.
 

Offline MikeK

  • Super Contributor
  • ***
  • Posts: 1314
  • Country: us
Re: Working with Arduino!
« Reply #6 on: August 28, 2012, 07:17:12 pm »
I agree that an LED display looks good.  And you can read it from across the room!  Thermostats tend to be battery powered, though, and 7-segs are power hogs compared to LCD.  Plus, you can do really cool stuff with LCD like text and menus.  Mr1234 needs to decide which fits his design requirements.
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: Working with Arduino!
« Reply #7 on: August 29, 2012, 10:36:40 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf