ATTiny Line Follower

http://youtu.be/ZEQELKFFFJoContinuing to mess around with the ATTiny85 IC... I ported the code from my Arduino Uno line following robot to the ATTiny. Some changes were necessary to make it work:
  • The ATTiny has only 3 analog pins, so the sensor array has 3 TCRT5000 IR LED/Sensors instead of the 6 the original line follower had
  • The SoftwareServo library was needed, as the standard servo library that comes with the Arduino IDE does not work on the ATTiny
The code used is below, and more info on how to program the ATTiny chip using your Arduino as a programmer is available in this post. There is one more pin available on the ATTiny85, so I am thinking of adding an ultrasound sensor and some basic obstacle avoidance next. Here is the Arduino Code that runs on the ATTiny: (more…)

ATTiny85 Mini Robot vs. Black Box

A few days ago we got several ATTiny85 ICs (datasheet) and this is a first video of the small chip in action.http://www.youtube.com/watch?v=Sk5PbAOYuLUWorking out the kinks of programming this little guy with an Arduino Uno and getting Arduino libraries to work with it takes a bit of effort and digging around the forums. Still, as a small, light and cheap (can be found for $1.15 online) alternative of an Arduino Uno - it looks very promising! Here is a detailed tutorial on how to program the ATTiny using an Arduino Uno.(more…)

Project 2: Arduino Line following test 3

Test #3 of my Arduino Uno controlled line following bot for the upcoming competition. This test was focused on checking how the bot handles 90 degree turns with sharp corners, line intersections and line breaks.http://www.youtube.com/watch?v=1Q_QbmW_u5QThe robot uses 6 TCRT5000 IR reflector sensors positioned in a line. (more…)

Project 2: Line following bot – Tests 1&2

This is a very basic line following robot using 4 IR led sensor receiver pairs in a line, continuous rotation servos and Arduino Uno. The wheels are made from beer coasters and I was planning to add a wheel encoder using another IR led / sensor pair at a later stage. The logic is very simple, but works well to test the line detection and the basic movement commands. The next step should be applying a better control mechanism, maybe PID? (more…)

Competition 2: Line Following Robot

General Objectives:

The objective of this contest is for a robot to follow a black line on a white background, without losing the line while navigating several turns on a race course. The robot to complete the course in the shortest period of time while accurately tracking the line from start to finish wins. (more…)

Project 2: Line following bot

Release Candidate Very hard to keep it steady as voltage increases. That's the best speed/stability result I got so far. Now using 3 sensors. The video below has it running at about 6V. http://youtu.be/cC2NdhTOhyE
Test 1 With differential steering http://youtu.be/Vtmik5_4AnY
This is the project in a very early stage with a regular RC toy steering mechanism. http://youtu.be/3ctriBkWpvcUsing 2 IR sensors to detect change in color and correct direction. It's pretty rough right now and it overshoots all the time. Not the best hardware... No word about software (don't want to blame myself :) )Bare steering logic (RC toy version) (more…)

Free course: Artificial Intelligence for Robotics

A free, on demand course offered by Udacity. Definitely worth checking out... Course Summary: "Learn how to program all the major systems of a robotic car from the leader of Google and  Stanford's autonomous driving teams. This class will teach you basic methods in Artificial Intelligence, including: probabilistic inference, planning and search, localization, tracking and control, all with a focus on robotics. Extensive programming examples and assignments will apply these methods in the context of building self-driving cars." https://www.youtube.com/watch?v=bdCnb0EFAzk&feature=player_embeddedcontinue reading →

Free Course: Control of Mobile Robots

Coursera is a social entrepreneurship company that partners with the top universities in the world to offer courses online for anyone to take, for free. One of the courses included in 2013 is "Control of Mobile Robots" by Magnus Egerstedt, a Professor in the School of Electrical and Computer Engineering at the Georgia Institute of Technology. According to the course summary, you will learn how to make mobile robots move in effective, safe, and predictable ways, avoid collisions while reaching target locations, as well as dabble with robots that fly, or walk. Sounds pretty cool! The next…continue reading →