Let's Make Robots!

AVR

A more powerful and versatile AVR library
Hey guys, I wanted to bring a video tutorial I created to the attention of LMR. The video is a walkthrough on how to use a software tool to setup a project using … Read more
Hey guys, (Full disclosure) I work for Trossen Robotics, and this is a prototype for an upcoming product we're making. But- I think it's a pretty cool bot, so I … Read more

Attiny 3 channel servo controller

So, i'm too lazy to make tip or whateva so i just upload the video, code and text.
Geir's RGB night light was such an inspiration I just had to make my own.  Instead of Picaxes I decided to use ATTiny 2313. At first I tried to program it with C … Read more

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 

Why the need for pulldown resistors in some cases and not others? TeleFox?[solved I guess... mystery remains though]

Hi all,

This may be stupid but I need to understand.

The problem:

We have two microcontrollers:

1 Arduino based on ATMega168

1 ATTiny2313. 

Link three pins of your choice between them, for example

Arduino                     Tiny

9                 -            PB5

10                            PB7

11                            PD3

We want the tiny to respond to low/high states on the Arduino pins.

Bricked! ATTINY2313 Repair with HV Rescue Shield

Summary

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.

Introduction

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

Timers and ... stuff

Hi all!

Been pretty busy lately digging in the big black timer.pngmystery box called Timer  on those nifty AVR controllers.

I think I finally have a clue how they work, and more then that, how they can be put to good uses. 

One application I'm going to do now that I have a clue, is to (try to) do microstepping. Yeah I blabbered about that other times too.

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!

IMG_0955-800.jpg

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
Cuts shapes with better precision then me :D
Using a
Pictures:  - the front   - the back - left - right - the power unit 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.

 IMG_2064.jpg

My L298 Motor shield:

 IMG_2065.jpg

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

 IMG_2066.jpg

For now it draws the shapes provided, eventually it should cut them too - actually does do cutting now :D
Using a
Hi all,  As OddBot suggested on my blog I have created a robot page for this thing. I will update this page with more pictures schematics, code and video as soon … Read more

The Beast II - Evolution

Hi all,

 In case anyone wondered what happened with that dude with his wooden CNC machine, well I'm still kicking :)

I have finally reached a milestone with this guy, software seems fine, motors turn, everything is mounted back in it's place.

I have modified the Y axis to acomodate the Z axis, reprogrammed the motor controllers many times over and over, added radiators, killed and revived the arduino software .... etc, etc, ....

 And finally it came to this:

 

DIY CNC Part II

26/05/09

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.

P1000793-500.jpg

P1000792-500.jpg

 


 

Yet another L298 based motor controller

Hi all,

motor controller

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 This came out as a sub project related to my DIY CNC machine "the Beast"  because the outputs of the Arduino would not suffice to control the motors. So I chose to use I2C for this purpose and designed my own little guy.

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.

 P1000780-500.jpg

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.

Pseuduino

Here's my little prototype Arduino knockoff. I'm calling it the Pseuduino. Yeah, I know, the world doesn't need more Arduino knockoffs, but I don't care, I wanted one anyway! Besides, it was still cheaper than buying someone else's version (about 7-8 USD)(cheaper if futurlec would actually get parts delivered).