tvbgone program ATtiny85

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Uenzen
 
Posts: 2
Joined: Tue Dec 21, 2021 11:35 am

tvbgone program ATtiny85

Post by Uenzen »

Hi,

some days ago I ordered two tvbgone kits (christmas gift). I assembled the kits late in the evening - the first kit
worked as expected, the second one didn't. I have managed to insert the CPU in the wrong position, the CPU
became very hot.... Great.

Be it - as I had some fresh ATtinys85 at my disposal - including also an USBtiny programmer - I downloaded the
hex file fm the Adafruit website (matching firmware for v1.2 PCB design) and programmed the CPU

a) I connected an 8MHz external resonator to the USBtiny programmer
b) I configured Arduino 1.8.6 for the ATtiny85 (8MHz external clock)
c) I burned the bootlader (tools of Arduino 1.8.16)

AVRDude replied successful programming.

Next I programmed with AVRDude the tvbgone.hex file into the CPU:

avrdude -p attiny85 -P usb -c usbtiny -U flash:w:\temp\tvbgone.hex

And also here AVRDude reported a successful programming so I started the test:

d) I exchanged the CPU of the functional kit against the new, fresh programmed one.....and the IR-Leds
started immidiately to work - that is to say that tvbgone starts when the power supply was applied
without using the tact switch. Normally I would have expected

- I connect the 5V to board
- I push the button on the PCB
- the green LED lit shortly
- tvbgone starts to work

And so it works on the first kit - of which the ATtiny85 was preprogrammed.

Since three day I agonise over the behavior of the ATtiny I have programmed.....Where the hell I
made a mistake, did I miss somewhere add. information ???

Hence I dare to ask for help

[The extension hex has been deactivated and can no longer be displayed.]


User avatar
Uenzen
 
Posts: 2
Joined: Tue Dec 21, 2021 11:35 am

Re: tvbgone program ATtiny85

Post by Uenzen »

Problem solved, succeeded to program the ATtiny as the original one.

User avatar
Franklin97355
 
Posts: 23902
Joined: Mon Apr 21, 2008 2:33 pm

Re: tvbgone program ATtiny85

Post by Franklin97355 »

Glad you were able to get going, enjoy your adventure.

User avatar
hberg32
 
Posts: 52
Joined: Mon Apr 07, 2014 2:38 pm

Re: tvbgone program ATtiny85

Post by hberg32 »

I'm actually trying to do the exact same thing. What did you have to do to get it to work? I would have thought it necessary to at least include the avrdude flags to set the fuses like this: -B 250 -u -U lfuse:w:0xfd:m -U hfuse:w:0xdf:m

Locked
Please be positive and constructive with your questions and comments.

Return to “TV-B-Gone Kit”