No2 (Updated)

<added basic Maze Solving video>

<added wii nunchuk control video>

<added line following video>

No2 is a little robot created to play around and learn. It´s small on purpose and lets me focus in things I need to improve after BlueFarAway, like coding and electronics. Mechanics is resolved though Pololu´s chassis and ball caster.
My plan is to have a functional code for obstacle avoidance (as shown in the video), line following with PID control (wip) and maze solving (not yet started). I understand these three scenarios are nice learning exercises :)

On the electronics side I tried to provide modularity so many functions can be implemented. As for the mechanics I tried to keep it as small and simple as possible with the ability to morph into different configurations.

Hopefully it will become my proof of concept robot for future learning scenarios and will be an eternal draft!

The configuration shown in the pictures includes all the power management and motor control in separate module (under Arduino) and the Ping))) module with a little servo to control the direction of the sensors. More modules are planned, like voice prompt and LCD + input buttons.

 

 

This is the view of the controller board:

This is a view from the buttom with the batteries:

 

There´s still a lot to do :)

 

Avoids obstacles, follow the line and solves mazes

  • Actuators / output devices: 2 Pololu 1:100 micro gear motors, 1 micro servo
  • Control method: autonomous
  • CPU: Arduino Duemilanove (328)
  • Power source: 4 x AAA rechargeable batteries
  • Programming language: Processing
  • Sensors / input devices: PING))) sonar and QTR 6
  • Target environment: indoor

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/no2-updated

cool looking bot…really

cool looking bot…

really liked its structure…

Nice little robot

 I noticed that the micro servo isn’t turning all the time, which seems like it would help in power efficiency. The 1:100 geared motors look like they provide a good traveling speed withiout being exessive. Did you use PWM for speed control?

 

Keep it up

 

 

Very clever designed robot.

Very clever designed robot. Can you please add more pics and some explanation about the choosen motor controller and how you connect the line sensors to the controller (port expander or direct, analog or digital).

Thanks!

Thanks robodevil!!

Thanks Wayfinder!

Yes, the robot will measure the distance and decides based in 2 thresholds; A critical low distance and a safe distance. On the low critical distance she will rotate back 90°, measure and continue. But if the distance is safe enough to make a turn moving forward she will do so. This smothers the path and provides an extra protection against bumping. As seen in the video sometimes the distance is not measured correctly and she gets to the point of critical distance, but overall she has a good performance.

I took the idea from fritsl´s wall racers (https://www.robotshop.com/letsmakerobots/node/696).

The motors are fine in speed and really good for PWM control. They can keep the pace even with low rates of PWM and have accurate metal gears. I like them!

Thanks RobotFreak!

Hi, adding pics!

 

For this robot I chose a TB6612FNG Toshiba motor controller as it´s small and fits perfectly in the controller board. It has all the typical features for a dual H bridge functionality and the nice looking appearance of SMD J. But it could perfectly be replaced by L293D or equivalent IC.

In this particular scenario I used small spacers between the Arduino and the chassis to keep a low profile (only for aesthetic reasons) and this left little space to accommodate the controller board. If I were to design this board again I´d probably go with the L293D as is cheaper and uses the same space.

 

As for the sensors I chose Pololu´s QTR-A (http://www.pololu.com/catalog/product/960). I broke the card to leave 6 sensors but I currently use only 4 of them connected to Arduino´s analog inputs. Chose Analog version since digital pins are all allocated for other functions like LCD, Servos, encoders, voice prompts and some other modules I have in mind.

What a great program!

What a clever program! It makes very smooth turnes and reacts very clever :slight_smile: . May I ask what kind of motors you used. Are those the ones from Sparkfun? Those gearbox motors? And how did you get the Arduino running with only 2 AA batteries?

Thanks Superpelican!

I´m using Pololu micro motors with a 100:1 metl gear box. With this ration you don´t get much speed, but are nice for PWM control. You can find them here: http://www.pololu.com/catalog/product/992

In fact I have 4 AAA batteries, two of them are located bellow the chasis. But if you want to run Arduino with only 3v you may use one of these: http://www.pololu.com/catalog/product/799 but kep in mind how often you´ll need to change your batteries :slight_smile:

 

nicely built. i use the same

nicely built. i use the same wheels and similar motors (50:1 so a bit faster) and arduino as well. so i will keep an eye on your progress :slight_smile:

good luck! (and a loads of time of course)

Very good precision and

Very good precision and speed as well.  :slight_smile:

Thank you!

It´s interesting to understand the impact of speed on different algorithms. In my (limited) experience speeds matters!!

I bought the 50:1 gearbox motors for a self-balancing bot, but haven´t used them yet. Maybe aI shoud try them on this bot.

Hola vecino Rodrim,I´ve

Hola vecino Rodrim,

I´ve noticed that you and I are geographically close to each other, but far away from nations were this hobbies are more common. This brings me to my question: How do you buy parts, kits and components? I specifically refer to those not available locally. Do you buy them through the internet and have them shipped to you? I know this is often not easy. Maybe you know of a better way. Let me know… and cool robot, BTW!

Andrés

Hola!!

Sure, it´s complicated to get parts in Argentina, there´s no much around :frowning:

But still the people from http://ditentec.com.ar/ have stock on Arduinos and other parts. They recently added motors and sensord from Solarbotics and they can import other parts by appointment.

I´m bringing parts from USA as I go there from time to time.

I never tried to order via mail, i guess customs will tax like hell! Maybe it´s time to give it a try!

How do you get your parts?

Gald to met you!

 

I get my parts from

I get my parts from Robotshop and have them mailed to me. If you stay below a certain size, weight and cost they will not tax it. What they will do, however, is have you pick it up from the post office in downtown Retiro. Thanks for the info on Ditentec. I have never heard of them before. I will check them out.

Let´s keep in touch!

Saludos,

Andrés

I had given up trying to

I had given up trying to find the Sharp proximity sensor locally… but I see that Ditentec carries it! JOY! :) 

How´s this project coming

How´s this project coming along?

On hold

Hi, unfortunately it´s completely on hold. This and other 5 robotics projects :frowning:

Haven’t done anything in almost a year…

:frowning:

That´s too bad. (Una cagada).

Very cool robot. Thanks for sharing

Hi

I’m Paolo from Italy.

I am a beginner, you can please explain in detail what you used and possibly how to make the control board, in any case you could do a detailed explanation of what it takes? Thank you very much.