Τετάρτη, 28 Ιανουαρίου 2015

Ultrasonic Distance Detector

Here are two similar projects based on the famous ATmega 328 microcontroller which was programmed through the Arduino IDE. The Ultrasonic module is based upon two sonars, one sends the sound signal and the other receive it, when an obstacle is in front of  them the sound which is being send from the trigger's pin is received by the echo's pin and through a mathematical process we get the distance between the sensor and the obstacle. Human ear can't hear ultrasonics, because they are being emitted at 40 khz (more over from 20 khz which is the maximum level human ear can perceive). On the other hand, animals such as dogs, cats etc. can recognize these sounds. These 2 projects are very similar with the difference one has as a display an LCD with and I2C protocol, and the other an LED bar.

code for the Distance Detecor with LCD : https://www.dropbox.com/s/qtiocgw0268zvko/Ultrasonic_distance4.ino?dl=0

code for the Distance Detecor with LEDS : https://www.dropbox.com/s/zxfi155oxtwlvjb/Ultrasonic_distance3.ino?dl=0

Παρασκευή, 23 Ιανουαρίου 2015

Mobile Move Detection

This Mobile PIR Sensor is very easy to build and the whole cost won't be more than 15 Euros (the siren is excluded)  . Basic parts are the pir sensor, a npn transistor (such as BC337,BC546 or 2n2222) and a relay that will activate the siren. So the whole concept goes like that. When motion is detected the "out" pin of pir sensor goes high which activates the transistor, which in sequence energizes the relay (for bigger loads). The schematic is very clear and easy to be followed. Lastly it is being powered by a 9v battery (that's why it is mobile) but with an ac/dc adapter it can be operated from your power plug but it will lose the mobile benefit.

Τετάρτη, 14 Ιανουαρίου 2015

Home Built M.A.M.E Arcade Cabinet

3 old PCs, I had to take the best parts from each one

What we have here? Some wood, one monitor and a pc. Let's build an arcade cabinet!

The rain caught us, and we had to move inside.

Velcro to hold the monitor, so we can move it left or right easier and have a perfect orientation.

A cheap woofer, time for operation

The surgery went quite well, now the pot has wires and I connect it, in front of my cabinet.

Second surgery on its way.

Here are the leds, which I use for lighting the marquee.

Connected the usb joystics with the cabinet controls.

12V black-yellow wires! Looks like a nice power supply for the white leds behind the M.A.M.E marquee

The orange and white wires are the power button, I had to cut them and connect them in parallel with the black button in front of the cabinet so that I wouldn't have to bent to power up or power down  the cabinet.

As our old friends, the Chinese used to say "1 picture is 1000 words" not enough to say here. Here is how I build my own arcade cabinet and some friends of mine playing with it. The whole construction is being pictured from scratch till end, and the whole project went quite well. The cabinet was based upon some schematics from knievel and bill's wild west cabinet, so I had to give them some credit!