Let's Make Robots!


First experiences of AvrUsb500 v2 programmer

Last week I got this avrUSB500v2 programmer kit from tuxgraphics.org. The kit has all the needed components except the ATMega8 chip. You have to purchase that separately. Here are the kit's components and ATMega8:

Note that FTDI smd-chip is conveniently already soldered to PCB.

AVR C is hard!

Well, last week I got several packages of parts with lots of sets of ten. I got ten 8pin sockets, ten CR2032 batteries and ten battery holders, and most importantly ten attiny85 MCUs. I figure I can use this set of parts for a bunch of small projects, but my first project is to make a tiny bot! I've already got some tiny pager motors, and some ir emitters I can use as light sensors.

AVR Interrupt Question

Hi all, here is my dilema:

I am attempting to fashion my own rotary encoder to detect wheel rotation speeds.  My approach is to use a disc with a slotted pattern cut into it and a photo interrupter.

This is the photo interrupter I have on hand: http://www.sparkfun.com/datasheets/Components/GP1A57HRJ00F.pdf 

Bricked! ATTINY2313 Repair with HV Rescue Shield


This blog post contains my build of a "HV Rescue Shield" by MightyOhm.  The High-Voltage Rescue Shield is a high-voltage programming shield that fits on an Arduino.  The Rescue Shield works on 28-pin ATMEGA ICs and on 20-pin ATTINY2313 ICs.  My use/instructions for now only concern resetting the LFUSE (clock fuse) so that the IC can be used with a 16MHz crystal.


I bricked my $3 µC IC on my first attempt at programming.  Recently I found some DIY AVR HV programmers that could be made from stuff in my lab.

Programming an atmega with the Arduino IDE

Hi guys.

from this post (http://letsmakerobots.com/node/5593 ) by Rudolph i learned that you can program an atmega with the arudino IDE even if you haven't got an arduino board.

What i have here with me now is an atmega328, a serial programmer (precisely this one: http://www.sparkfun.com/commerce/product_info.php?products_id=14 ).

An advanced line follower with quadrature encoders, MicroSD Fat32 recording and more
Using a
This is a bot I built a few years ago when I wanted to start learning robotics. More images here. Its based on the Atmel Mega644P MCU and has an dual H-Bridge … Read more
Old pic: http://letsmakerobots.com/files/clone_cnc_closeup_1500px.jpg TinHead's Original: http://letsmakerobots.com/node/9006 Vector Drawings: … Read more
DESCRIPTION: This is my second robot, and my second balance-bot. With this robot I try to improve and learn. My goal is simple; understanding. Read more

Swarm AI beginnings (XMOS Competition)

Last Update: 13/10/09 XK1 first look pictures.

My XK1 arrived this morning via Japan post. Being so close to Hong Kong I might be the first :P But they were sent out on the 9th so those people waiting on one should go check your post box!


Line follower on changing contrast

I am making a line follower using an ATmega8

Now the problem is the testing of line follower, there is a black line over a white surface and then after a while, there is a white line over a black surface....

The robot will make a start on any of the corners...so it is  impossible to tell whether it is a white line or black line...and also in middle, the contrast will change...

I have to make the program in such a way that it will detect the change in contrast and continue its work

I thot this can be done in programming part..so posted here...

Line Follower using Atmega8

Hi all, I am new here and about to make a debut in robotics with a simple line follower robot.

I have chose AVR ATmega8 as my microcontroller because I found out that we can chose which pins we want as input and which ones as output. So this seems pretty cool for a microcontroller. Also i figured out that it is cheaply available here.

Scripted driving for testing and finetuning motor control
Using a
This is my supposed entry for the 2010 DTU Robocup challenge. The body is made from LEGO Technic bricks from the Robotics Invention System (the old MINDSTORMS set) … Read more
Simple Line follower, with additional ability to stop when objects are detected in front of it and turn around when the end of a line is detected.
Using a
I built this robot for a University course on C Programming, and later (after my assessment, although before the end of the course) added the tank tracks to replace … Read more

My First BatchPCB, er batch

So I finally got my first home designed PCBs back from BatchPCB.  As a bonus, I got double the parts I ordered.


My L298 Motor shield:


My Q1114 sensor board (for line following/wheel encoders)  The mounting holes will need some rework.




2 more draw slides to use for the Y axis purchased from here. High quality slides with ball bearing inserts. Still have to work out how I want to mount them. They were only $15 each.. money well spent now that I can see them close up.





DIY CNC router project

04/06 Update

Motors and driver chips arrived in a package with some stuff for other projects today. Can`t find much information about the motors online and they have some marks on the body but they should work great. I`ll breadboard a circuit up to test the motors later.


Tiny adventures in motor control

Since my last blog entry about using timers and interrupts on the Atmel Tiny 26P, I have put together a driving lego monster with homemade dual h-brigdes that in principle should be able to eat something like 25A or so - of course the wires used are not able to carry that much current but hey I only had those IRF540 and IRF9540 hexfets lying around :-).The controller is still the Tiny26P and my goal is to make this my I2C enabled motor driver for later use with other stuff.

$10 logic analyzer

After a lot of umming and ahhing and general procrastination I decided to dig this out of the cupboard to give it a whirl again.

USB power?

Is it possible to use this USB breakout board as a 5 volt power supply for your microcontroller projects? If so, then do you have to use a voltage regulator?

Cool Arduino Library for driving servos!

I don't know if you guys already knew about these 2 very useful library to drive servo motors from the arduino, basicly you don't need to use analog write with an hexadecimal value to drvie the servo by PWM, you just write in degrees the angle and direction you wish the servo to go and it goes! 

Anyway here it is :


Junkyard Challenge

Hi All,

I am new here. I have a following material

* Robot chassis
* 2 geared D.C. motors (6V D.C)
* 6 volt 4.5Ahr battery
* 4 ABS antiskid wheels
* 2 follower attachments
* 2 D.P.D.T. switches
* 1 castor wheel
* serial port programmer
* AVR Atmega8l development board
* L293d (2 x Channel H Bridge Motor Driver)
* 4 relay power driver



AVR is in the house!

Last week I purchased the AVR ISP mkII programmer for the Atmel AVR series of chips and I had previously bought some ATtiny26 chips for use in motor controllers, line sensors, etc.

The AVR is a microcontroller developed by Atmel. Its an 8-bit RISC μController based on the Harvard architecture which physically seperates the data storage … Read more

AVR's anyone?/ Hello

Hello, this is my first post here. All you projects look amazing!

I hope to learn alot!

Anyways, has anyone worked with AVR microchips before? I personally use Atmel’s ATMega 168. I find that the interpreter is a little hard to get working but it is really easy to work with after that. The chips are pretty cheap to.

I have also worked with RCK/NXT from Lego.

I hope to post my own project up here soon!