Hacked Gadgets Forum

January 31, 2008

PIC Tengu – 18F2455 Microcontroller

at 5:27 am. Filed under Complex Hacks, Cool Gadgets, DIY Hacks, Electronic Hacks


This PIC Tengu by jfmateos is based on the 18F2455 Microcontroller is based on the Tengu that was made by Crispin Jones. It looks like lots of fun, this is a very ambishious project but the results are great. Thanks to jfmateos for the great detailed English details are shown below.


"When I first saw the cloned Tengu developed by Alex, I thought it was a proper project for learning the use of PIC microcontrollers´ specific functions like A/D converters, interrupts and timers. After studying the features of the original Tengu developed by Crispin Jones, I started to specify the requirements of my own clone. I decided to include a basic game intended to transform it into a personalized birthday gift; my sister´s birthday was near. Its usage is very easy. After connecting PIC-Tengu to a USB port, it will switch on in a sleep state. Blowing on its face he will wake up. Then PIC-Tengu yawns and, if and only if it is the first time we use it, it will start the candles game. The aim of this game is to blow out the candles one by one, so it can become quite boring if the person being honoured is over a certain age, although less painful than pulling his/her ears. Fortunately, my sister is only 25 years old.

A personalized scrolling message appears when the game is over. Next, PIC-Tengu starts to imitate every noise it hears. There are four sets of faces available: aquiline-nose, snub-nose, no-nose and Luciano. The active set of faces changes blowing or with a strong noise. Pic-Tengu´s Auditive acuteness is configurable through the back potentiometer. Pressing this button toggles between the imitate mode and the scrolling message mode. If we keep the button pressed more than 2 seconds, PIC-Tengu will reset, recovering the same state as if it had never been used before; this implies that the candle games will appear again after awakening it. Last, if there is no activity in the imitate mode for more than 5 minutes, PIC-Tengu will fall slept.

The brain of this project is a PIC18F2455, whose pins directly activate the LEDs matrix´s rows. There is only one LED column active at any given instant, also determined by the PIC18F2455´s pins, but this time using an intermediary ULN2803. The signal captured by the microphone is amplified using an LM358 before reaching an analog input in the PIC. The firmware is written in CCS C, and the PIC has been burned using the parallel port version of GTP Lite and WinPIC800. Electronic schematic, PCB artwork, source code and compiled firmware are available for download in www.villatic.org/carpetaJuanfe/pictengu.rar.

Any further information will be published in www.todopic.com.ar/foros forum."



Below reviews, comments by and a of 7 cialis . Compare prices other drug from online pharmacies...

Related Posts

How to Interface a Microcontroller to a PS/2 Keyboard
GameBoy and PIC Microcontroller Hacked into an Analog Meter
Writing Robot – PIC Microcontroller Based
Microcontroller to SMS Interface
AVR Microcontroller VGA Output
Espruino Kickstarter – JavaScript Arm Based Microcontroller Platform
How to Connect Multiple Switches to one Microcontroller Pin
ECE4760 Microcontroller Lectures Posted Online



4 Responses to “PIC Tengu – 18F2455 Microcontroller”

  1. capitansid Says:

    now thats nice,… i was amused by that.. nice job! =D

  2. DIY Pozostałe i Newsy :: PIC-Tengu | Elektronika - schematy elektroniczne Says:

    […] źródło http://hackedgadgets.com/2008/01/31/pic-tengu-18f2455-microcontroller/ […]

  3. jfmateos Says:

    My friend Diego Gonzalez has developed and easier to build version of this project, using 2 single-sided PCB instead of 1 double-sided PCB. You can find all the details in http://www.villatic.org/carpetaDiego/Pic_tengu2.rar.

  4. jfmateos Says:

    Just released a new version of PIC-Tengu (v1), also available at http://www.villatic.org/carpetaJuanfe/pictengu.rar.

    It uses the same hardware as v0, but the firmware has been modified to communicate with the PC through an USB port; so you can change the age, the instructions and the message without reprogramming the PIC.

Leave a Reply

Internal Links:



Hacked Gadgets

Site Sponsors:

Nuts and Volts Electronic Labs Trossen Robotics Free Technical Publications Blue LED


Recent Comments:

More RSS Feed Options

Site Sponsors:


Interesting Sites: