Replace LED_TOP with IR LED to control TV ???

Replace LED_TOP with IR LED to control TV ???

Postby orthicon » Tue Dec 13, 2011 6:03 pm

Great product!

Without adding a TV B Gone, is there a way to add code to send SONY remote codes? I know how to modify and flash the original code. I'm looking for some fingers to point me in the right direction... I know where to find the TV B Gone code, but I don't want to muck up the entire project.

Thanks in advance + happy holidays & winter solstice!
Brad
orthicon
Newbie
Newbie
 
Posts: 2
Joined: Tue Dec 13, 2011 11:44 am

Re: Replace LED_TOP with IR LED to control TV ???

Postby Michael » Wed Dec 14, 2011 5:57 pm

Perhaps you could do something like that...I haven't done anything with IR leds before, but you could add the TV B Gone code into the clock code.
Michael
Administrator
Administrator
 
Posts: 463
Joined: Sat May 29, 2010 8:24 am

Re: Replace LED_TOP with IR LED to control TV ???

Postby orthicon » Wed Dec 14, 2011 11:02 pm

Michael wrote:Perhaps you could do something like that...I haven't done anything with IR leds before, but you could add the TV B Gone code into the clock code.


I'll try it out and let you know what happens. I don't know enough about micro controllers; it doesn't seem like it's *just that easy.*
orthicon
Newbie
Newbie
 
Posts: 2
Joined: Tue Dec 13, 2011 11:44 am

Re: Replace LED_TOP with IR LED to control TV ???

Postby ElvisUnknow » Thu May 24, 2012 12:40 am

I'm in need of at least one of the 3 LED's to stay lit continously after a disarm. I'm going to use the +5v from one of them to power a CD-Rom tray motor to open up the tray, I'd only need the LED to stay lit for 2 -3 second in order to open the CD-Rom drive tray.
ElvisUnknow
Newbie
Newbie
 
Posts: 1
Joined: Thu May 24, 2012 12:29 am

Re: Replace LED_TOP with IR LED to control TV ???

Postby Michael » Thu May 24, 2012 10:46 am

No, you cannot power a motor from the output pin connected to the LED. An output pin of the ATmega328 cannot source that much current. You would need to use the output pin to control a transistor which in turn switched the current for the motor.

You can make the code mod by getting the source code from the hack page:
http://nootropicdesign.com/defusableclock/hack.html
Michael
Administrator
Administrator
 
Posts: 463
Joined: Sat May 29, 2010 8:24 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest