Step 10: Finishing Up

All that is left is a final inspection! You can use a magnifying glass to inspect the solder joints. Make sure there are no solder bridges. Use copper braided wire if you do. You can use an ohm-meter to check for shorts between the IC pins and adjacent circuits. Or, if you are confident and brave, put in a programmed chip and power it up.

When putting the chip in, the #1 pin goes to the side of the chip socket that was trimmed away (opposite to the side the button is on).

Hopefully you figured out how to program a chip. If not, head on over to LadyAda's place (http://www.ladyada.net/make/usbtinyisp/).

I wrote a test program to verify Buggy's operation (Buggy44Test.hex in the zip file below). It will flash the LEDs briefly (both colors if bi-colored), make a chirp on the speaker, and then flash codes out to indicate the sensor readings. Count the green flashes (or high tones) for each digit. A zero is a red flash or low tone. There is a pause between each digit. There is a longer pause between the readings. Visible light is first, followed by IR. It then repeats. If you have single colored LEDs, the tones are all you have (single color LEDs flashes same as red, so you probably wont see much)!

For the sensors readings, you are looking for a number between 0 and 255. Visible room light should put you mid-range, say 70 - 120. Dark is about 30. Bright direct light will likely get you a blinding 255!

As for IR in ambient room light, you are looking for something on the low end, say < 30. If you hold it up to an incandescent or the sun, you should get higher. If you get zero with an incandescent, something is wrong. For me it usually means I switched the emitter or detector or put the detector in backwards (no, say it isn' so).

These values are all fairly arbitrary, and depend greatly on the sensors and resistors you use. Every one I have built has had a different response. I tried to optimize the design for room light, but then again, I am an amateur. Hack at will and let me know what you come up with.

When you are satisfied, load the real program and give it a test. Use Buggy44biColor.hex if you have bi-colored LEDs. Use Buggy44oneColor.hex if you have a single colored LED. Getting the chip out is a bit of trick (see picture 2). Always take the battery out first to avoid shorts or damage to the chip.
I have an idea! What if instead of a photo resistor, you put a color sensor? And instead of changing the eye colors manually, they would change color when they &quot;talk&quot; to each other. That way, you could program them to use morse code! You could probably even make a handheld device that could be used to communicate with the critter! Great start! :)
what is the dimensions of the buggy and could you make it that one is the key and one is the lock and when the key comes close to the lock and they send ir to each other then the key unlocks or in my case works a relay a lcd and 2 LEDs Thanks can some one answer please
I might be making a IR lock system based on the arduino
The board is approximately 1" x 2" (25 x 50 mm). An IR lock/key is a novel application. I don't think it would take much to get the Attiny45 to operate a relay.
thanks but i was thinking of combinding a sort of pet idea with the lock key system but the one "key" can unlock like 1+ diffrent locks
and like if their was two sets like set 1:key -lock-lock-lock this key can't unlock set 2 set 2:key -lock-lock-lock this key can't unlock set 1
Now all you need to do is make a communication network for them. Network-Buggy.
Can anyone tell me if this will work to program the ATTiny44v I need to make a Buggy? It is listed in the device list but just wanted to hear someone say it was a decent thing to get. LOL<br/><a rel="nofollow" href="http://cgi.ebay.com/Mini-ATMEL-AVR-ATMEGA-STK500-USB-Programmer-ISP_W0QQitemZ250335943300QQcmdZViewItemQQimsxZ20081203?IMSfp=TL081203111006r15090">http://cgi.ebay.com/Mini-ATMEL-AVR-ATMEGA-STK500-USB-Programmer-ISP_W0QQitemZ250335943300QQcmdZViewItemQQimsxZ20081203?IMSfp=TL081203111006r15090</a><br/><br/>Thx<br/><br/>KrakenFan<br/>
I haven't used it myself, but yes, that is the &quot;gold standard&quot; for programming AVR chips and will do an Atttiny44.<br/><br/>If you are building Buggy to learn and have fun, why not do the same with the programmer? I built my programmer using a kit from Lady Ada, and it was only $22 (plus shipping):<br/><a rel="nofollow" href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=16&amp;products_id=46">http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=16&amp;products_id=46</a> Check out some of her other cool kits while you are there. We did the &quot;Game of Life&quot; one at the same reunion we did &quot;Buggy&quot; at.<br/>
Glad to hear it about that programmer being the "Gold Standard" for programming the AVRs. I had already ordered this before I saw the kits. Can you say impatient? I knew you could. I am also under a considerable amount of pressure to get some Buggy's into production from my quality control / product testing department. ( read: The kids ) Hope my PCb creating works out! I have ordered a Mini POV kit from Lady Ada and am considering a game of life kit as well. We have been making BlinkyBugs while we are waiting for parts to come. Those are super easy and super fun. Thanks for haveing that on your site as well! You realize my kids think you are an Electronics Superhero for creating Buggy right? They can't seem to realize the difference in the fact that I am an Electrician and not an Electronics Tech. lol
Excellent Instructable with killer explanations and parts list too!? Nicely done. This will be my first programming (does loading your program count as programming? lol ) of a chip for a project. I just ordered the programmer. Exactly what I was looking for. I can't wait to get started. KrakenFan
NICE! I know you didn't want to fuss about how to make the board, but is there a place I can find for how you did yours? thanks.
Here is a good example of the toner transfer method:<br/><br/> <a rel="nofollow" href="http://www.riccibitti.com/pcb/pcb.htm">http://www.riccibitti.com/pcb/pcb.htm</a><br/>
cool i love how they can "talk" but it would be so much cooler if they could walk or roll like soileau segusted
Nice! Made me think of a nursery rhyme my parents always told me: "Good night sleep tight, don't let the bed-bugs bite!" New version: "Good night sleep tight, don't let the LED-bugs bite!"
This would be a wonderful bot to join with a vibrobot or even better a beetlebot.
or even a muosebot.
Your images are amazingly incredible, keep up the great work! I hope to see more from you!
sorry about posting 3 times but what currency is this in?
Sorry, I forgot what an wide audience this reaches. The parts, not including the board, are about $8 USD.
You know what. That is one of the best instructables ive ever seen. It has a decent and non-violent purpose (see my other instructables and you will find out why i said this), and has a good application of technology to suit your (((*ahem*))) needs. It is a very clean instructable, and i would like to thank you for shareing it with myself and the world.
That would be soo sick if you turned them into walkers or vibrobot things they would walk around and interact!
good idea if i do end up doin this project since it is a really cool craft i may try to make it movve
you could program it that when it gets a ir singnal from another buggy they start chirping making it sound like their talking
wow you got my vote im going to try and make one
Very well planned out. Also nicely put together. Great work, with good pics.
wait....where did you get the stuff to make the pcb?? cool project thinking of maybe doing it with my camp
nvm i looked at the tutorial for the pcb and i get it now sweet project but the cost grows quite quick though
Yes, the cost grew. I was hoping to keep it under $5, but not counting the circuit board, there is about $8 in parts. <br/><br/>If you want to go cheap, use an Attiny11 and leave out everything but the button and CdS cell.<br/><br/>Tom Weber took simplicity to an art. Check out his instructable, which inspired mine:<br/><a href="https://www.instructables.com/id/Programmable-LED/">https://www.instructables.com/id/Programmable-LED/</a><br/>
Dude, awesome job!!! This is one of the coolest things that i have seen that have to do with led's! ;)
Very well done! This you make a great kit!
awesome instructable, it was well put togethen and it made me want to go and salvage materials for a whole army of them. Rating:5/5 Vote: +1
Great project, I really love it!! I love anything whit LEDs!<br/>I made an Instructables yesterday,<a rel="nofollow" href="https://www.instructables.com/id/LED-Snake/">LED Snake</a>, lots and lots of LED!!!<br/><br/>rate:***** <br/>

About This Instructable




More by MakersBox:Easy Joule Thief Soldering Project Using an Arduino Drawing Robot with Hour of Code Tutorials Arduino Drawing Robot 
Add instructable to: