Step 2: Prep for Programming

If you have a programming board, you can skip this step. If you are using a USBtinyISP or similar, use a breadboard to wire the chip to the proper connections of the programmer. More instructions on how to do this can be found here. The pinout for the chip can be found on the datasheet here.
Sry I dont no much about electronics, but how can i get the avr programmer to the chip? Do i have to buy an extra tool for the 4 pin connector?
<p>will this work when programming the attiny?</p><p>http://www.instructables.com/id/Program-an-ATtiny-with-Arduino/</p>
Yes on my mega it worked
<p>how can i programm the ATTiny85 with Arduino? Is this the same command?</p>
<p>Yes you can load the ArduinoISP schetch on your uno/arduino,use avr dude -c ? to see all supported programmers: use &quot;arduino&quot;.</p><p>I could load attiny using ide and this schetch.</p><p>the source code is ncluded in the ide .</p>
<p>when you mean ide do you mean the aduino ide??</p>
Use the ide as the environment and am arduino uno as a programmer see arduin as isp
<p>Also with another attiny85 you can build an usbtinyisp.</p>
<p>can i skip the oscillator</p><p>if i program the chip to 8 mhz clock</p><p>please answer sorry bad english</p>
<p>can i use arduino to programm the ATTiny85?</p>
<p>Just a quick question: Do you have to hold down the push button or just click it once to make it go through all the codes? Thanks.</p>
<p>is it necessary to use 6x wide beam and 6x narrow beam IR leds as i cannot find it can i use 12x &quot;http://hacktronics.co.in/home/121-ir-receiver-transmitter-pair.html&quot; this IR led or what</p>
Okay... Thanks for the advice man :)
<p>Thanks, I did some modifications but it works great, I used 3xAA instead of a 9v battery so it lasts longer. </p>
<p>Hi, could i see the back of your board to see how u join it? Because, the schematics were a little confusing .. </p>
<p>I'm not at home atm so I can't take a picture. The only changes respect the circuit posted in this instructable are the way the LEDs are connected, in this case they're all in parallel, with a single resistor for all. I know each LED should have it's own resistor to spread the current evenly, but I was running out of space. Oh, yes, the transistor is a Darlington type, BD159.</p>
<p>Hey man, I'm fairly new to this website and also pretty new to embedded electronics or whatever you want to call it. Is there any way I can talk with you like in a PM or Skype or whatever? I kinda need some help starting up, like what I should buy and what not. Anyway, this message wasn't totally aimed on you, but rather to anyone on here that has some experience. But your comment is pretty recent compared to alot others and you seem to have a working on!</p><p>So yeah, I kinda would understand if you didn't want to help me out in your time, but I won't ask too much and it would totally be so awesome!</p>
<p>Also this sticky of the /ohm/ electronics general on 4chan might help you and other begginers out. </p><p>&gt;I'm new to electronics, where do I get started? <br><br>There <br> are several good books that are commonly recommended for beginners and <br>those wanting to learn more. There are also plenty of good Youtube <br>channels that teach about the basics as well as advanced concepts. The <br>best way to get involved in electronics is just to make stuff. Don't be <br>afraid to get your hands dirty. Take something apart or build something <br>you find cool on one of the many electronics websites.<br><br>&gt;What books are there? <br><br>Beginner:<br><br>Getting Started in Electronics by Forrest Mims III<br>Make: Electronics by Charles Platt<br>How to Diagnose and Fix Everything Electronic by Michael Jay Greier<br><br>Intermediate:<br><br>All New Electronics Self-Teaching Guide by Harry Kybett, Earl Boysen<br>Practical Electronics for Inventors by Paul Scherz and Simon Monk<br><br>Advanced:<br><br>The Art of Electronics by Paul Horowitz<br><br>&gt;What Youtube channels are there?<br><br>https://www.youtube.com/user/EEVblog<br>https://www.youtube.com/channel/UChturLXwYxwTOf_5krs0qvA<br>https://www.youtube.com/channel/UCosnWgi3eorc1klEQ8pIgJQ<br>https://www.youtube.com/channel/UChtY6O8Ahw2cz05PS2GhUbg<br>https://www.youtube.com/channel/UC1rxMIOt82ieNE19w15U5YQ<br><br>&gt;What websites feature electronics projects? Where can I get ideas for projects?<br><br>https://www.adafruit.com/<br>http://www.instructables.com/tag/type-id/category-technology/<br>http://makezine.com/category/electronics/<br><br>&gt;Where do I get components and lab equipment from?<br><br>http://www.jameco.com/<br>https://www.sparkfun.com/<br>http://www.ramseyelectronics.com/<br>http://www.allelectronics.com/<br>http://futurlec.com/<br>http://www.ladyada.net/library/procure/hobbyist.html<br>http://www.mouser.com<br>http://www.alliedelec.com<br>http://www.newark.com<br>And sometimes even just ebay.<br><br>&gt;What circuit sim software do you use?<br><br>This mostly comes down to personal preference. These are the most common ones though:<br><br>NI Multisim<br>LTSpice<br>CircuitLab<br>iCircuit for Macs<br><br>&gt;What software should I use to print circuits<br><br>Circuit Wizard<br>ExpressPCB<br>EAGLE</p>
<p>Check your inbox. </p>
<p>Hi! What's the firmware version you use?</p><p>thank U!</p>
<p>Only $5!!!</p><p>and $25 for the usbtinyisp</p>
<p>The schematic is it is exact, functional? mine don t work :( thanks you guys</p>
<p>You guys are among the highest ranks of genius that you can find on the internet to me, I know a bit of what you're talking about, but other than that, it's all just numbers and 1100010110 Illuminati type stuff! </p>
<p>I just made one! the hard part is finding/looking for those parts.</p>
<p>Wow this is awesome, What will I need to make one?</p>
Connect the Arduino to the ATtiny as follows: <br>Arduino +5V ---&gt; ATtiny Pin 8 <br>Arduino Ground ---&gt; ATtiny Pin 4 <br>Arduino Pin 10 ---&gt; ATtiny Pin 1 <br>Arduino Pin 11 ---&gt; ATtiny Pin 5 <br>Arduino Pin 12 ---&gt; ATtiny Pin 6 <br>Arduino Pin 13 ---&gt; ATtiny Pin 7
Just wondering why there are so many LEDs. More LEDs = More power? More reliability?
If i were to change the ir LED assembly to say 5w 940nm High Power Infrared IR LED or 2, how might i need to change the circuit? if you do not have the spare time or if this is a complete rebuild i totally understand if you cannot do this. Thanks!
Still waiting for someone to make a version that uses a 10*10 array of IR LEDs. Or better yet, a TV-B-gone-clone IR LED cube. It could be done.
Hi is there a way to strip-board this because I don't like how fragile and ugly dead bug circuits are.
Personally, I think dead bug circuits are a beautiful form of art when done correctly. But if you insist, just look at the schematic I posted and you should be able to figure out a decent board layout. If you have any questions about specifics, feel free to ask.
Was wondering if I could buy a working one from someone, I don't have the hands to make this anymore.
I was wondering the same thing too :/
Is there any way I could buy a pre-made one of this DIY TV-B-Gone SHP, I'm really keen on this but I can't get my hands on a programmer so I can't make one myself. <br>And how much would it cost to ship to New Zealand if possible?
I do not promote smoking cigarettes...however, this is my inconspicuous (on the cheap) enclosure for my SHP clone. I used a snap action momentary switch, replaced the visual LED with an old cell phone vibrating motor. I haven't field tested it yet but I turned off my living room TV from about 35 feet away WITHOUT direct line of sight. I was pretty impressed. Big thanks to DARK SPONGE for the instructable, very easy to follow, well written and great pictures...not to mention the eagle files!
Dang, that looks pretty awesome. The limit switch blends perfectly and the vibrating motor was a brilliant idea. Do you use a transistor to power the motor or is it being driven directly from the microcontroller pin? I don't know how much current they draw my initial thought is it could cause the micro to reset or shut down if driven without a transistor. You're welcome, and thanks for the pics!
I connected the motor directly to physical 7, doesn't seem to be an issue...yet. I used it today to turn off every TV I could find on a college campus, one of which was being watched by the person I was talking to, we were the only people in the room and within 3 feet of each other...he was none the wiser, a bit confused/annoyed but had no idea I was turning off his TV.
Sounds like it works, then! I guess it's a very low current motor.
I just bought my arduino Uno Rev 3 and I have it connected to my computer. The blink test works. But I am having issues figuring out how to build the programing board. How do you know where to plug in the leads coming from the board onto the Arduino? I spent a good time searching and reading different forums and came up empty handed. Your assistance in any way possible would be greatly appreciated as I am a novice taking my first stab at micro-controllers. Thanks
Hmm... Is this what you are looking for? <br> <br>Use Arduino as ISP: http://www.arduino.cc/playground/Code/MegaISP <br>Wiring diagram: http://arduino.cc/en/Tutorial/ArduinoISP
If I remember correctly Adafruit sells just the pre-programed chip if one doesn't have the means to program the chip or is too lazy to bother... <br> <br>(Checks).... Yes I was correct, though it costs $5 USD, though there doesn't seem to be any shipping cost (just using their shipping calculator)... <br> <br>I know one can use an Arduino in ISP mode, though I am note sure if it has the capabilities to change the ATtiny's &quot;fuses&quot; ... If it is possible I would love to see someone write the code for it... (I'm not quite proficient in coding to do it myself)
The preprogrammed chip sold by Adafruit has slightly different firmware that uses an PNP transistor so this circuit would not work. Because I'm using an obsolete version, I had to flash the code myself, but I posted a revised schematic in&nbsp;<a href="http://www.instructables.com/id/350-DIY-TV-B-Gone-Mico/step20/Update-Using-a-v12-Preprogrammed-Chip/" rel="nofollow">step 20 of my other instructable</a> for using the new chip. I'm pretty sure that any ISP programmer (including Arduino) can do fuses though avrdude without modification, but don't take my word for it.
How would I do this If Im using ArduinoasISP, Do I have to install anything else. I have avrdude, a got the code for arduino as isp.
Randofo posted good 'ible on how to use an Arduino to program an ATtiny in ISP mode.<br>http://www.instructables.com/id/Program-an-ATtiny-with-Arduino/
You should not have to install anything else. In AVRdude, use a command such as<br><br>avrdude -c avrisp -p insert_part_name -P insert_com_port -b 19200 -U flash:w:filename.hex<br><br>I just was browsing the Arduino forums, for more information try http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1277933355
Does it work in EU, and would you post a link to the codes. <br>
Anybody in australia, How well should this work? Thanks :) (I want to attach this to my sonic screwdriver :D) <br>~Shadow
I always love looking at these &quot;dead bug&quot; style electronics projects. Great instructable with lots of detailed photos. Thank you!<br><br>I keep thinking of making a TVBGone ballcap, with the LEDs in the brim and a switch on the back. Would there need to be any modifications made if the LEDs were at a distance from the rest of the circuit, say 12&quot; of wire or so?
Thanks a lot! If the LEDs were at any reasonable distance from the circuit, it should not make any difference at all. At larger (tens of feet or more) distances you might notice some brightness decreases, but that's not much to worry about. Good luck!

About This Instructable


176 favorites


Bio: Hi! I've loved electronics and electricity for as long as I can remember, and electric projects are something I do in my free time ... More »
More by dark sponge: DIY TV-B-Gone SHP (And Save $45) $3.50 DIY TV-B-Gone Micro $4 DIY TV-B-Gone
Add instructable to: