Introduction: Mini 2-wheel Robot With IR Sensor Weight 14gr and ATTiny13 Soic

Hi From France !
My name is Mic
Sorry for my English (:
My purpose a Very Small Bot
A little easier to build for Robot can we have patience and a good magnifyingglasses,
Its name: Roule_Robot
His nikename: RR
Curb Weight: 14gr
Dimensions: 39 x 22 mm

the necessary components:
An ATtiny13 SOIC
2 micro motor 3 volts 6mm length 12mm diameter (there are on ebay)
2 PNP transistors smd 600mA

2 100 nF smd capacitor (1206 or 0806)

1 22µF tantalum smd capacitor

Resistance 2 smd 6.8 K
2 10K smd resistor
1 red LED smd
An IR LED 2mm CQY37N
An IR sensor IS471F
A male strip SIL
A LiPo battery 3.7 Volts 70 mA
wheels made with the box tops tablets
they are stuck with glue or araldite cyanolite, just put in on the end of the shaft and be
careful it does not flow into the engine if not done for
motors and the battery are replacement parts for Mini Helicopter
The PCB is double sided but I avoided this by routing method on the component side with
wire phone
must also clean the PCB with acetone once finished welds.
Note: the programming is done directly in BASCOM ISP
we must remove the jumper SW1 (if not the ship is not recognized randomly)
and recover from the operation of the IR sensor
programming:
demo version of BASCOM April
the program is simple and there is room in the flash memory there
is also theATtiny13 and two free ports
and we can add lights for example.

The ZIP file contains all the pcb made ​​with Kicad and 3D components made ​​with Wings3D
images of 3D PCB are kicad screenshot of 3D rendering
Kicad wings3d and are both freewares

Step 1: Tools

a pair of fights 3x magnifier
A tweezers with small beaks
A keyless tweezers
A soldering iron very fine tip BGA-SMD-Soldering-Paste-Flux-Grease
A UV PCB exposure machine
perchloride for PCB burning
An epoxy plate presensitized 16/10
transparent to an inkjet printer or better laser printer
1 decimetre
1 metal saw
welding of: 1 mm max
Kicad software for printing the transparent

Step 2: Now the Realization .....


I assume you have already created a transparent, an insolated an etched PCB and PCB epoxy
I also do not detail the manipulations.
If this is not the case, it is better necks begin by an electronic circuit
easier with components of normal size because the SMC components (surface mount)
are very delicate to handle and so we move to weld the weld.

After burning the PCB place a drop of solder at the point where the components will be
welded and flatten with a fine file (see photo) that allows you to place components more easily.
Then check with a magnifying glass that the tracks do not touch, clean the circuit with a toothbrush or a klinex and acetone.The micro controller is a circuit that feared the heat, BGA SMD Soldering Paste Flux grease is very handy for easy soldering see video about.I also solder a tip for beginner:
place it in tweezers and immersed in a glass of cold water,
I shake the whole, j 'tin pins, I repeat the manipulation with the glass of water and then positioned on the PCB by holding it with the pliers so that emissions of heat sink (see photo) Then, I welded all the other components with the same precautions to avoid the double-sided
I put the straps on stiff wire wire-like phone.

When welding is completed, I recheck with the magnifying glass and spent my tour with acetone to remove the excess solder flux.
The RR chassis is made from a piece of PVC (30 mm rod power in France) or with materials as light as possible, the wheels are made with box plugs tablets micro motors stuck his staggered with a good glue and the battery is taped to the back for a good balance, it is necessary that the weight is borne on the back.

Step 3: 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 BASCOM 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.

UPDATE 07/2015 Kicad zipped (SMD with minor changes) and DIL version files are joint :


see the video:


:Have a great time ! :)

some links:
Kicad:http://kicad.sourceforge.net/wiki/Main_Page
Wings3D:http://www.wings3d.com/

Comments

author
laith mohamed (author)2016-10-05

Good work with little bot ^_^

author
Mic100 (author)laith mohamed2016-10-07

Hi Mohamed

Thank You

you can looking to this instructable to:

https://www.instructables.com/id/How-to-make-worlds-smallest-line-follower-robot-ro/

author
laith mohamed (author)Mic1002016-10-07

Wow so impressive , I need to do one some time

author
intiims (author)2015-11-19

Hi,

In part list you mentioned just one capacity but in schematics there are three, also their values are different. So, which ones should i use?

author
Mic100 (author)intiims2015-11-22

Hi

thank you for pointing :)


I forgot to mention the two 100 nano Farad capacitor

C1 used for the auto reset with R1
and C3 decouples the power and it is not obligatory but it adds an additional filter for the noise peaks

author
intiims (author)intiims2015-11-22

Why do you use Tantalum capacitor? Is there any specific reason?

author
Mic100 (author)intiims2015-11-22

Hi

not really, it's just a matter of size, they are smaller in equal capacity

author
skumar231 (author)2015-07-22

very nice cool........how u use bascom ..

author
Mic100 (author)skumar2312015-08-25

did a search on google with the subject: Bascom Avr tutorials

or these links:

https://saheeed.files.wordpress.com/2010/01/bascom-avr-tutorial.pdf

https://youtu.be/R0k960NDRzk

author
Mic100 (author)skumar2312015-07-23

you can download it from this link:

http://mcselec.com/index.php?option=com_docman&Ite...

I compiled the program with BASCOM April, I flash the HEX program in the ATtiny13 with is ISP interface and USBasp programmer

and this link we talk of using BASCOM with Arduino:

http://avrhelp.mcselec.com/index.html?arduino.htm

author
Mic100 (author)2015-07-23

I added the Robot2RouesDIL8Tiny13.zip7 file for the construction of robot DIL 8 Version

I

author
a1m918 (author)2015-06-18

Hello I want to build this robot. but I cant work with SMD components. can you please share the circuit diagram if it is possible for you ? otherwise its okay.

thanks in advance. :)

author
Mr AbAk (author)2015-02-15

Nice Robot

author
Mic100 (author)Mr AbAk2015-02-16

look at this instructables to:
https://www.instructables.com/id/How-to-make-worlds-smallest-line-follower-robot-ro/

author
Mic100 (author)Mr AbAk2015-02-16

Thank you for your interest to robots

author
infanati (author)2014-07-18

nice instructable. i've been trying to run a small dc motor with my attiny85 using arduino as an ISP but i don't seem to be doing it right.

Any ideas on how to code and wire up the attiny to run a vibrator motor?

author
Mic100 (author)infanati2015-02-16


Hi
Sorry for my late reply, I live in France and I am often on sites FR, it faudrit you post me your Arduino code so that I can help you

Mic100

author
c2kpierce (author)2013-07-24

i clicked the link to download zip and an error saying that the link has been reported as unsafe. Just thought you should know.

author
Mic100 (author)c2kpierce2013-12-18


Hi
Thank you for that link (veryvery interested)
Mic

author
Mic100 (author)c2kpierce2013-07-24

Hi
Thank you for pointing me this error I do not understand because when I click the link I do not have the "unsafe file"
I think this is the message sent by the server only as a precaution when a file is not downloaded because it often has no information about the file.
I'll notify the site administrator error.
meanwhile you can try this link:
http://db.tt/krAckIw7

author
lavasoon (author)2013-12-18

Hi.
Your robot is nice too.
Also you can use some techniques for your designs:
http://www.tandfonline.com/eprint/IfdSEGpdu3DcHYrkd9wJ/full

author
mrsamd23 (author)2012-12-09

Where would i find a schematic for this?
Thanks,
Sam

author
Mic100 (author)mrsamd232012-12-17

Hi
there's 2 ways
1) in zip file at the end of this instructable
2) by folowing this link: http://www.kicadlib.org/
look at the bottom of the page "RouleBot" in Example Circuits chapter
Mic

author
subrotradeindia (author)2012-05-25

hi can you provide me detail for some discussion

email: subhashish09@gmail.com

author
Mic100 (author)subrotradeindia2012-06-01

Hi
for what detail can you tell me ?

author
Mic100 (author)2012-05-05

Bonjour a tous :),
je viens de decouvrir le site du groupe Instructables Francais, alors pour ceux qui sont interresse, a la fin de mon instructable il y a un fichier ZIP qui contient le PDF en Francais et en Anglais et les schemas et PCB pour le Logiciel (gratuit) de conception electronique Kicad.

author
Mic100 (author)2012-01-21

there is a right at the end of this instructable

author
diy_bloke (author)2012-01-19

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?

author
Mic100 (author)diy_bloke2012-01-19

yes I'm French
Auto Ship Program is Erase and program ship green icone

programShipBasCom.png
author
askjerry (author)Mic1002012-01-19

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.

author
Mic100 (author)askjerry2012-01-20

ok
merci pour le lien :)

author
schkip1973 (author)Mic1002012-01-20

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.

author
Mic100 (author)diy_bloke2012-01-20

I'm French and sometimes I try to write in Englishman without the translator of Internet and Chip becomes Ship this is alike, now I understood Chip want IC Integrated Circuit en Français they also say puce (flea)

author
bricmic (author)2012-01-19

Ah ! ben enfin une réalisation en français !
Bravo !
Dommage qu'il n'y ai pas aussi les commentaires en Français.
Continuez !
:))

author
Mic100 (author)bricmic2012-01-20

merci :)
j'utilise souvent Google translation pour traduire
et maintenant j'ai ce nouveau lien de askjerry,
je vais le tester
sur Kicad librairies, il y a aussi des réalisations en Français
en bas de la page

author
sid98 (author)2012-01-20

wah alil nice bot

author
askjerry (author)2012-01-19

Nice design. I am also glad to see that I am not the only person who uses BASCOM to program in BASIC.

Design agréable. Je suis heureuse aussi de voir que je ne suis pas la seule personne qui utilise BASCOM pour programmer en BASIC.

author
Mic100 (author)askjerry2012-01-19

Yes it's easy to use it :)

author
diy_bloke (author)2012-01-19

Ah, I see u might be French :-)

author
abachelier (author)2012-01-16

Salut,
merci pour ce tuto,
mais peux tu le faire en français aussi?
=D

author
Mic100 (author)abachelier2012-01-16

Salut,
à la fin du tuto il y a le fichier zip , tu le décompresses
et dans le dossier Images il y a le pdf en Français et en Anglais.
a+

author
blinkyblinky (author)Mic1002012-01-16

Bonjour.

Je suis americain.

However, I only know a petit amount of français.

author
Mic100 (author)blinkyblinky2012-01-17

Bonjour aux Américains :)

in which region of America ?
Me I live in the north west of France in the Pays de Loire

Google translation is good to talk in another language,
I use it in case of difficulty

author
blinkyblinky (author)Mic1002012-01-17

Je suis de New York.


author
abachelier (author)Mic1002012-01-16

Ok, merci beaucoup et bonne continuation!

author
apburner (author)2012-01-17

I have downloaded the zip file but cannot find the KICAD files.

author
Mic100 (author)apburner2012-01-17

hi
sorry: (
I had packed in the zip I have to redo it
you can download it at the end of my instructablesous name:
RouleBot122ATtiny13-a.zip

author
apburner (author)Mic1002012-01-17

Thank you Mic100. Nice instructable and pretty board.I really need to learn KICAD. I have 10 attiny85's I need to do something with.

author
max_fraser (author)2012-01-17

cool stuff, really awesome project!

author
ProBodger (author)2012-01-15

Great. I love it, a real programmable micro robot.

I have only started soldering and have enough difficulty with the normal size components. I so admire anyone who has mastered the art of SMD work.

About This Instructable

27,833views

148favorites

License:

More by Mic100:LED MedallionTinyBot24 Autonomous Robot 25 GrPimp Your Mini Lighthouse
Add instructable to: