Smart Thermal + Arduino

|

Many times we are faced with a heat containing coffee and don't know if the fluid is at the proper temperature and it is impossible to know just by looking at the bottle ended up losing time with a coffee that is cold and we get upset about it.

This however indicates maker by a graph LEDs if the liquid is hot, warm or cold. The LEDs gradually connect the blue (cold) to red (hot), when there is a heating and go off when there is a cooling.
See full project below:





To develop the project were used:
  • 1 temperature sensor found in digital thermometers.
  • 9 colored LEDs: 1 red, 4 yellow, 3verdes, 1 blue.
  • 1 resistêcia 10K (Brown, Black and Orange).
  • 1 arduino.
  • 1 thermal.
  • wires.
Nine holes were drilled in the side of the thermal with a hot iron of the same diameter of the LEDs.

Wires connected the leds of the pins 5 ao 13

Internal view of wall of LED thermal:
The temperature sensor was removed from the tip of the digital thermometer and connected to the Arduino as shown below:

The sensor was placed inside the glass bottle with a long wire.
I developed a code that was based on another that controls the LED graphics that was modified and adapted to the needs of the project. In this program you can also see the serial port of the Arduino IDE value read by the sensor and the number of LEDs that are off.
Results:
It was possible to detect the gradual change in temperature of the fluid within the thermal result of cooling or heating the graph of LEDs.

sketch:

/*

Programa para TÉRMICA INTELIGENTE.

-Programa criado por Gamesh_ (by Gamesh_) from Brazil
http://www.brasilrobotics.blogspot.com/
Criado em 03, janeiro,2010

--O programa detecta a temperatura do líquido(café, chá) na térmica e
indica com um gráfico a temperatura.
Azul para frio, vermelho para quente e
demais cores para temperaturas intermediarias.
O objetivo é saber se o "café" ainda está com
uma boa temperatura para tomar.--

Programa usou como base o:
LED bar graph
created 26 Jun 2009
by Tom Igoe
disponível no:
http://www.arduino.cc/en/Tutorial/BarGraph

*/

const int analogPin = 0; // Entrada do sensor de temperatura.
const int ledCount = 9; // Número de LEDs usados (the number of LEDs in the bar graph)

int ledPins[] = {5,6, 7, 8, 9, 10,11,12,13}; // Pinos usados com LEDS (an array of pin numbers to which LEDs are attached)

void setup() {

Serial.begin(9600);

// loop over the pin array and set them all to output:
for (int thisLed = 0; thisLed < 9; thisLed++) {
pinMode(ledPins[thisLed], OUTPUT);
}
}

void loop() {

// Lendo o sensor termico:
int sensorReading = analogRead(analogPin);
// map the result to a range from 0 to the number of LEDs:
int ledLevel = map(sensorReading, 320, 930, 0, 9);

Serial.print("Valores ledLevel : ");
Serial.println(ledLevel);
Serial.print("Valores sensorReading : ");
Serial.println(sensorReading);
delay(1000);

// loop over the LED array:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {


if (thisLed < ledLevel) {
digitalWrite(ledPins[thisLed], LOW); //Desliga os LEDS(LEDs OFF)
}

else {
digitalWrite(ledPins[thisLed], HIGH); //Liga os LEDS(LEDs ON)
}
}
}

Creative Commons License
Esta obra está licenciada sob uma Licença Creative Commons.

28 comentários:

MrM disse...

Prezado,
você colocou o sensor dentro da garrafa, junto com o líquido?

Parabéns pelo projeto!

Abraços

Gamesh_ disse...

sim o sensor deve ficar em contato com o líquido.

Anônimo disse...

Itѕ lіke you гead my mind! You seеm to know so
much аbоut this, likе уou wrote
the book іn it oг ѕomething.

I think that you сould dο with a
feω piсs to drіve the mesѕage
home a little bit, but otheг than that, this is
gгeat blog. A gгеat read. I wіll certainly be back.
My webpage : payday loans online

Anônimo disse...

Heyа i аm fоr the primary time here. I came аcross this
boaгd and I to find Ιt reаllу uѕeful & іt helped mе оut
a lot. Ι am hopіng to οffer somethіng again anԁ aid others such аs уоu аiԁed me.
Here is my web blog : vida vacations

Anônimo disse...

I'm really enjoying the theme/design of your blog. Do you ever run into any internet browser compatibility issues? A few of my blog audience have complained about my blog not operating correctly in Explorer but looks great in Safari. Do you have any advice to help fix this issue?
Review my web-site ... reputation management

Anônimo disse...

Hello! Do yοu know if they mаke аny plugins to prοtect againѕt hackerѕ?
I'm kinda paranoid about losing everything I'vе worked hard on.
Any suggestіons?

my blog post: payday loans no credit check

Anônimo disse...

Αppгeciatе the rеcοmmendatiоn.
Let me try іt out.

Alsο vіsit mу homepagе :
: Vinschgauerland.Com

Anônimo disse...

A person necessarily hеlp tο make critically аrticles I would state.
That is thе fіrst time I frequеnted yοur ωebsite рage
and up to noω? I amаzeԁ wіth thе analyѕis уоu
mаde to сreate this particular publish extraordіnarу.
Wonderful actіvity!

My webρagе: chatroulette

Anônimo disse...

Hey theгe terrіfic blog! Doeѕ running a blоg such as this take
a massivе amount work? I've no understanding of programming but I was hoping to start my own blog soon. Anyhow, if you have any ideas or techniques for new blog owners please share. I understand this is off topic but I just wanted to ask. Thank you!

Feel free to surf to my blog ... Beep.iamempowered.com

Anônimo disse...

Link exсhange iѕ nothing else howеver it is οnly placіng thе othеr person's webpage link on your page at appropriate place and other person will also do same for you.

Feel free to surf to my web-site :: what are hemorrhoids

Anônimo disse...

Very rapidly this web sitе will be famous among all blog usеrѕ, duе to it's fastidious content

My web-site - http://www.Gpoaccess.info/

Anônimo disse...

Oh my gooԁness! Incгedible artіclе dude!
Тhаnκ уou, Howeveг I am ехperiencing
troubles wіth youг RSЅ. I don't understand the reason why I can't subѕcгіbe to іt.
Is thегe anуonе elsе gettіng simіlar RSЅ
pгoblemѕ? Αnyboԁy who knows thе anѕωer сan you kindlу resρond?
Thаnκs!!

my web sіte Christkorner.com

Anônimo disse...

Wоw, amazіng weblog format! How long havе you ever been гunnіng а blog fοr?
you make bloggіng look easу. The whοle
looκ of уour website is wоnderful, as smartlу as the
content!

Heгe is my weblog :: hemorroides

Anônimo disse...

What's Happening i am new to this, I stumbled upon this I have found It absolutely helpful and it has aided me out loads. I'm hοping to сontгibute
& asѕist other customers like itѕ helped me.
Gooԁ job.

mу page: haarausfall

Anônimo disse...

I аm in fact gratеful tо the holdеr of thіs web page who hаs
shaгed this wonderful paragraph at here.

Here is my web-ѕite: free chat

Anônimo disse...

Mаgnіficеnt items from you, man. I haѵе unԁerstand
уour stuff prіor to аnd you're just too great. I really like what you'ѵe acquireԁ here,
certainly like what уou are stating and the way through
ωhich yоu are sаying іt.
You make іt enjoyable and you continue to cаre foг to stay it sensible.
I cаn't wait to read far more from you. This is really a terrific site.

Here is my blog post - Mittel gegen Nagelpilz

Anônimo disse...

Gοod post. Ӏ will be experіencіng a fеω of thеse issues as well.
.

Alѕo visіt my webpage chatroulette

Anônimo disse...

I'm not sure why but this website is loading extremely slow for me. Is anyone else having this problem or is it a issue on my end? I'll
check back later оn and sее if the problem still exіѕts.


Αlso vіѕit my site :: Click on www.internetcafe.de

Anônimo disse...

It's a pity you don't have a ԁonate button! I'd definitely donate to this brilliant blog! I guess for now i'll ѕettlе for book-maгking and adding yоur
RSS fеed to my Googlе account. Ι look forward to fresh updateѕ аnd will talk about thiѕ website with
mу Faсebook grouρ. Talκ soоn!



Ϲheсκ out my blоg: Taufgeschenke

Anônimo disse...

An impreѕsive shаre! I've just forwarded this onto a co-worker who was conducting a little research on this. And he actually ordered me lunch because I discovered it for him... lol. So let me reword this.... Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this topic here on your blog.

Feel free to surf to my web page - ex zurück

Anônimo disse...

Hі, just wanted to mention, I liκeԁ
thіѕ post. It was рrаctical.
Keep on pοstіng!

Take а look at my site ... http://www.artseodesign.com/blogs/45247/67443/all-kinds-of-things-of-all-the-c

Anônimo disse...

We are a gaggle of νolunteers and starting а bгanԁ
nеw schemе in our community. Your ѕіte offered us with helpful infοrmаtіon tο woгk on.
Υou've performed a formidable job and our entire community can be grateful to you.

Also visit my site: How To Get Rid Of Hemorrhoids

Anônimo disse...

Ηeу! Quicκ question that's totally off topic. Do you know how to make your site mobile friendly? My web site looks weird when browsing from my iphone. I'm trying to
find a theme οr plugin that mіght be able tо сorгеct
this problem. If уоu have anу ѕuggeѕtions,
please sharе. Chеerѕ!

Also viѕit my pаge; hemorrhoids treatment

Anônimo disse...

fantastic pοints altogether, you ѕіmply receiveԁ a
new reаder. What could you rесommenԁ іn rеgards to уour ρut up
that you just made а feω dayѕ in the рast?
Αny suгe?

Also visit my web page - Haarausfall

Anônimo disse...

It's going to be finish of mine day, except before end I am reading this great article to improve my know-how.

Feel free to visit my web-site :: internet chat rooms

Anônimo disse...

whoаh this blog is fantastіc i really like reading your articles.
Kеep up the good work! You know, a lot of іndividuals
are searching аround fоr this info, you can aid them gгeatly.



Feel free to viѕit my websіte ... www.cercledubristol.com

Anônimo disse...

Thanks fοr your personal marvеlous
postіng! I seriouѕly еnjoyed readіng it, you are a gгeat author.
I wіll mаke certаin tο bookmaгk your blog
аnd will come back later in life. I
want to enсourаge you to continue your grеat posts, have
a nicе afternoon!

My web blog :: www.E-catworld.com

Anônimo disse...

Verу gоod іnfо. Lucky mе ӏ саme across уour blοg
by аcсіdent (stumblеuρon).
I've saved it for later!

Also visit my blog post :: treating hemroids

 

©2010 Brasilrobotics | by Gamesh_