Τρίτη, 24 Φεβρουαρίου 2015

Gas Leakage Detector

One very good circuit, which can detect any gas leakage and inform you if the leakage is big or small through an Lcd screen, Of course we can put any threshold levels and order it to do different actions

Arduino Code :https://www.dropbox.com/s/vsgshsaapgjum8d/gas_detector_me_lcd.ino?dl=0


Control Tv With Ultrasonic Module

Here is a circuit I've made based on an idea by Lucky_Larry, unfortunatelly Eset doesn't allow me to visit his site anymore because of a trojan virus.... Anyway the concept is this : We have an ultrasonic sensor connected to arduino and depending of the distance of our hand & the time we have it in front of the module, it commands the tv to do different operations. So it goes like this (distance is in inches)

A)Wave hand < 10in change Channel Up
B)Wave hand > 10in change Channel Down
C)Hold hand at < 10in Volume Up
D)Hold hand at > 10in Volume Down
E)Hold hand at < 3 in Power Up/Down TV

Of course you have to change the IR codes depending on your tv, but other than that Larry explains his code very well.

Arduino Code https://www.dropbox.com/s/f0gd9pqf148o1g8/control_tv_with_ultrasonic.ino?dl=0

Τετάρτη, 4 Φεβρουαρίου 2015

Temperature Sensor

Here is a temperature sensor based on the DS18B20 by Dallas, this little chip can measure the temperature and through a mathematical equation it can convert voltage to temperature. After that we can show our results in celcius or fahrenheit scale. Of course all these are being processed by the AT-Mega 328 MCU (Arduino) though an analog input. In these 2 videos, the first shows our circuit running as a simple sensor. But in the second we set a threshold temperature (20 C) and then an action is being performed (a motor in our occasion).

Arduino code : https://www.dropbox.com/sh/7b270b5feiuu76g/AAAwWr5IAZg66h6xuUfntqNua?dl=0