3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Mini 2-wheel robot with IR sensor weight 14gr and ATTiny13 Soic

Step 3The Program and Programmation ....

The Program and Programmation ....
Now lets the program:
removing jumper SW1 prog to isolate the IR sensor during programming
connect the ISP programmer (follow the sequence of pin)
see below for the type of control
plug the LiPo battery (watch polarity!)
Roule-Robot.hex file is the one you need to load the microcontroller is already compiled there is more than load it into flash memory

Start BASCOM AVR (I use the demo version is sufficient)

Load the program Roule-Robot.bas (if you want to change the program according to your taste)

then configure the chip as follows:
ATtiny select, with the button dat Ship
go to the Options menu and then compile and Ship
and enter the following values:
HW stack to 16
Soft Stack 16
framesize to 16
in the program menu you can select an alternative program as STK200/STK300 if you have this type of program or make one like que'jai make the picture attached, or better, use a USB programmer.
Then go to the menu (green icon) chip program or press F4
normally the ship is known, if not recognized, click the small green icon (next to last in the top right) then go to the menu Lock and Fuse Bits
Fusebit turn off F
Fusebit E off
DCBA Fusebit of 1001: int, RC Osc 4.8 MHz; Startup: 14CK + 64 ms

ATTENTION especially not to change the fuses and others do not select an external oscillator
otherwise it is not possible to communicate with the ship so to program,See the screen shot fuses.


Now click the FlashROM and click on the green icon at the top Auto Ship program
Normally everything should be fine and after checking BASCAM displays OK at the bottom of the window
if this is the case pa s double-check everything including the PCB and start over.
Then disconnect the battery disconnect reset the timer pro SW1 in its place and
Robot roll is ready to ride :)
choose a clean flat and smooth terrain connecting the battery you have 3 seconds to put down RR on the flore
You can also test the IR detector, passing his hand before the red LED should light,

If the red LED stays on continuously, two possible causes:
1 a battery is flat
2 LED IR radiation by the way the back to avoid this, I glued the black tape on it.
Kicad zipped files is joint:
see the video:

:Have a great time ! :)

some links:
Kicad:http://kicad.sourceforge.net/wiki/Main_Page
Wings3D:http://www.wings3d.com/
« Previous StepDownload PDFView All StepsNext Step »
4 comments
Jan 19, 2012. 7:52 AMdiy_bloke says:
Very interesting. I presume english is not your native language coz the translater (Google?) has kinda meashed up yr description.

e.g. Auto Ship Program?
Ship button?
would Ship be 'boot' then you probably translated from Dutch or German :-)
Anyway, great tutorial but would be better with a better translation :-)

Need some help?
Jan 19, 2012. 1:43 PMaskjerry says:
Ship = Boat ( bateau  / navire) or Mail ( expédiez )
Chip = Integrated Circuit Component ( morceau de silicium )

I believe you wanted Auto Chip Program and Erase Chip in your descriptions.

L'écriture correcte est (Auto Chip Program) et (Erase Chip)

I use this web page which also performs a "back translation" to let me know if it is correct.
http://text-to-speech.imtranslator.net/default.asp

J'utilise cette page Web qui exécute aussi une 'traduction contraire'. Cela me permet de voir si c'était correct.
Jan 20, 2012. 10:27 PMschkip1973 says:
l'autre mot pour IC en francais, c'est "le puce"
ie. the other word for IC in french is 'flea'.

I suppose it is because it is small like a flea, and will jump if you try to pick it up with tweezers. No-one really uses 'morceau de silicium' because it is too long.

I like your instructible. Good job.
Jan 19, 2012. 7:54 AMdiy_bloke says:
Ah, I see u might be French :-)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
1
Author:Mic100