InCoP
"Oh mom, my coffee has gone cold. Can you bring one hot ?" This is a common phrase being heard among programmers, since they forget about the coffee lying beside them if they are completely involved in the job they do.They don't try to find how much the coffee is hot by touching it and it is the main reason for such a phrase.
We have gone through similar situations and we were compelled to make coffee of our own.To avoid these type of situations as being hardware programmers we thought we are responsible.Here we build the solution named as 'InCoP'. InCoP is just an acronym for 'Interacive Indigo coffeee Pot'. As the name suggests it speaks through the shades of indigo.
And why Indigo ?
Indigo is also a very suitable color for studies , libraries and labs – it opens up intuition, enhances awareness, perception and imagination, and stimulates the intellect. It is the color which is capable of drawing attention and that's why we chose Indigo.
Materials Required
The materials required for the project are given below:
Electronic Components :
Other Components :
- Acrylic sheet
- Indigo Stickers
The tools required to accomplish this project are
- Soldering Iron
- Hot glue gun
Design the Circuit
The circuit consists of DHT11 input sensor which reads the temperature of the coffee inside the cup without contact.The data is transferred over to the Arduino micro controller which stores the input.According to the input the brightness of LED is decided by Arduino. The expected output is fading down of LED as temperature lowers. Thus by observing the intensity of LED one can find the degree of hotness of the coffee inside the cup.
The Code
The working code for the project is given below. You can change the input / output pins according to your connection. Upload the code and test the code. You can just download the code from here or just copy the given code below
#include "DHT.h"
DHT dht(1, DHT11);
int i = 95;
int brightness = 255;
void setup() {
pinMode (0,OUTPUT);
dht.begin();
}
void loop() {
int t = dht.readTemperature();
Serial.println(t);
if(t<=i && t>=30) {
analogWrite(0,brightness);
brightness-=4;
i=i-1; }
}
Design the Cover
The enclosure is made up of Acrylic Pieces cut out from a large 12x12 sheet. The pieces are glued together to form the device.The hardware parts are carefully inserted into the frame and finally the device construction is done.
Assembling Electronic Parts on the Frame
The electronic parts are glued on the frame carefully and the DHT11 sensor is made a bit upward than the top plane of the device to get maximum accurate temperature. Then the indigo stickers are carefully pasted on the outer frame with perfect care to maintain the overall finishing of the device. The power for working of device is supplied by a 9V battery or alternatively we have give a slot for input 9V from an AC to DC adapter. After all the parts are assembled on the frame just go for a trial and see that whole of your settings are perfect.
Test InCoP
Finally we have completed setting up our device. Let's go for a trial and our video at 32x speed is given below. We just hope you are able to make such a thing. If you are satisfied with our project try supporting us by voting for our project and 'Thanks' in advance.