Is this possible?

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

Is this possible?

Postby simes303 » Sat Feb 13, 2010 7:23 am

Hello. I thought it would be fun to modify my TV Be Gone so that it automatically turned on every ten minutes or so. Then I could hide it in a new container (I thought maybe a mobile phone shell) on the table in the pub and not arouse suspicion.

Can anyone help me out with a simple timing circuit, and show me how to wire it up?

Any help would be much appreciated.

Cheers, Si.
simes303
 
Posts: 4
Joined: Sat Feb 13, 2010 7:14 am

Re: Is this possible?

Postby mike31416 » Sat Feb 13, 2010 12:10 pm

Hi Si,

You could modify the firmware to do this. At the end of main, the cpu is put into sleep mode. Instead you could just delay for the desired amount of time and then go back to the top and re-execute the main code. Or you could create and interrupt that wakes the cpu after the desired time period (10 min) and re-execute main (saves power). You will also need a way to cancel the timer so you save your batteries or you could just remove them.

You don't need no stinking hardware ;)

Mike
User avatar
mike31416
 
Posts: 126
Joined: Wed Aug 26, 2009 11:06 am

Re: Is this possible?

Postby simes303 » Sun Feb 14, 2010 4:02 am

That sounds complicated. Is it?

Cheers. Si.
simes303
 
Posts: 4
Joined: Sat Feb 13, 2010 7:14 am

Re: Is this possible?

Postby mike31416 » Sun Feb 14, 2010 7:18 am

Not if you are familiar with C and the AVR development environment. If hardware is your thing, then a timer toggling the reset line would also work.

Looking at the 1.2 version of the code I see there is a variable called Loop at the top of main(). By default it is set to zero. If you set it to one then it will loop forever (till you pull the batteries). You would need to put a call to delay before while (Loop == 1) to only loop every ten minutes.

Mike
User avatar
mike31416
 
Posts: 126
Joined: Wed Aug 26, 2009 11:06 am

Re: Is this possible?

Postby simes303 » Sun Feb 14, 2010 8:22 am

I have no idea what you mean so I guess I'm not going to be able to modify the programming!

Can you point me towards a suitable timing circuit? Thanks for your help.

Cheers, Si.
simes303
 
Posts: 4
Joined: Sat Feb 13, 2010 7:14 am

Re: Is this possible?

Postby mike31416 » Sun Feb 14, 2010 11:05 am

Hi Si,

My hardware skills are a bit rusty, perhaps someone else has a hardware method.

Sorry,
Mike
User avatar
mike31416
 
Posts: 126
Joined: Wed Aug 26, 2009 11:06 am

Re: Is this possible?

Postby solder_guy » Sat Feb 20, 2010 4:25 am

search for 555 timer circuits .. and use a small relay to activate the TVBG.
solder_guy
 
Posts: 9
Joined: Sat Feb 20, 2010 4:16 am

Re: Is this possible?

Postby simes303 » Sat Feb 20, 2010 5:46 am

OK thank you. Si.
simes303
 
Posts: 4
Joined: Sat Feb 13, 2010 7:14 am

Re: Is this possible?

Postby tronixstuff » Sun Apr 18, 2010 3:18 am

simes303 wrote:Hello. I thought it would be fun to modify my TV Be Gone so that it automatically turned on every ten minutes or so. Then I could hide it in a new container (I thought maybe a mobile phone shell) on the table in the pub and not arouse suspicion.

Can anyone help me out with a simple timing circuit, and show me how to wire it up?

Any help would be much appreciated.

Cheers, Si.


I wrote a bit of a rough review and tutorial on how 555 timers work, http://tronixstuff.wordpress.com/2010/0 ... ion-timer/ You could build an astable timer and have fun with that.
If I'm too late, how did you go with it?
electronics, Arduino and DIY blog http://tronixstuff.wordpress.com and http://youtube.com/tronixstuff
Preorder my new book at http://www.arduinoworkshop.com
User avatar
tronixstuff
 
Posts: 47
Joined: Sat Mar 20, 2010 8:59 am
Location: Melbourne, Australia


Return to TV-B-Gone Kit

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]