Boon's Robot

Boon

Netherlands
Skip to comments

User-inserted image


User-inserted image


User-inserted image


The base is made from a discarded toy car. One of those for a toddler to sit and drive in, with its own motor and battery. Cut in half, using the rear axle. Here was the initial idea, pink as i found it:

User-inserted image


Adjusted the transmission to include a differential.

User-inserted image


The steering wheel on a bearing, uses a servo to steer.

User-inserted image


I am building this robot with whatever scrap parts and materials i can find, so i had to make do with this. But i will be upgrading to one motor for each wheel at some point for sure. For now i want to start focusing on programming, so i'm satisfied as it drives and steers.

User-inserted image


The head has got the camera, mic and some leds.

User-inserted image


User-inserted image


On the back are pc-fans, it opens to show the ez-b and h-bridge.

User-inserted image



User-inserted image


User-inserted image


spaghetti

User-inserted image


This will remain a work in progress for a long time no doubt. Anything could change and many things will. Everything still needs finishing. But the essential basics are there now. The motor and steering works, the neck servo's, distance sensor and camera all connected. Now i want to make this work autonomously and delve into programming.

I have a couple of questions too:
1) The pc-fans run fine when i connect them to any of the +5V ports. But the digital ports seem to have less power: i cant get them to turn with PWM or even just turn them on or off. Can the ez-b turn these fans on and of, or do i need a relais or something?

2) The headlight i can pwm, but i want to use the 7 to 8 Volt from the battery/Vin. Same question as with the fans.

3) I would like to read the battery power via the analog ports, using a voltage divider. First: Say i use two identical resistances, cutting voltage to half, but if the battery is charging at over 10V, what would happen? Bad? or will it just read maximum or something.
Second: How to choose the resistance value, even after you know what fraction to use?
Third: will this actually drain the battery? can you turn the analog port off or..?

4) There are some posts here about automatic self charging. Can you simply charge the batteries while they are being used? Is it simply a matter of connecting plus and minus to the charger when the ez-b is running?

5) some of the LEDs seem to peak at 45% pwm, just curious.

By — Last update

ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

#1  
I love this robot and the re-use of parts. Nice looking design too. For switching the fans and lights off and on I would use a TIP120 transistor and it can get power directly from battery if you want. The transistor just switches ground from the signal of the DIO port.
Belgium
#2  
Proficiat Boon !

Zeer indrukwekkend, maar zoals je al opmerkte, dit is een werk dat nooit af geraakt. Ik heb nog mijn allereerste (grote) robot uit 1995 en telkens weer wordt die ge-upgraded. Succes en doe zo verder.

Greetz,
PhG
Spain
#3  
Your robot is fantastico!, Support the use of recycled materials for building or domestic, and I like the access to the electrical connections and cables marked with the label, that's a good idea.
I use based voltage regulator LM317, one for each voltage need as 5V, 6V, 7V.
There are also several open threads about reading battery voltage.
#4  
#5  
Good use of old toys, Lego, servos and EZ-B.
I had about 5 old Power Wheels cars years ago for robot parts.
Each car had 2 drive motors. I wanted to use 3 of the cars to build a 6 wheel drive rover type robot that used a GPS to navigate outside.
Sadly I moved and didn't have the room to take them with me.
Apartments are not the best places for robot builders.
I need a home with a garage and a yard.
Hope to see some videos of your robot.
Netherlands
#6  
Awesome robot!

Once I finish high school, I'm planning to go to the TU Delft like you did.
Here are the answers to your questions:

1) Like Bret already pointed out, you should use a transistor or a mosfet. Rich has a great tutorial for doing so.

2) Same as Q1. Use a transistor/mosfet.

3) A voltage of over 5V will damage the EZ-B board. For calculating the resistor values, use a voltage divider calculator. If your resistors are a high value, say 10k or higher, it will barely drain the battery. Just use ohm's law (I=V/R). When using two 10K resistors, it will only use 0.5mA at 10v or 0.4mA at 8v.


4) It depends on the battery type and charging circuit. When using Li-ion or Li-poly batteries, you can simultaneously charge and use them with one of these chargers.

5) This might be due to the LED type, you should check the datasheet for the Voltage/Lumen graph.


I hope this answers all of your questions, oh and welcome to the EZ-Robot community!:D
PRO
Synthiam
#7  
Niek is correct. Please follow the Tutorial section of this website to learn about the Do's and Don't of the EZ-B. It will not take very long to follow the tutorial (less than an hour). Do not connect motors and high current devices directly to the EZ-B Digital Pins. We put a lot of effort into the Tutorials and have thousands of people follow it - we'd like you to follow it too:)
Netherlands
#8  
Thanks a lot guys!
United Kingdom
#9  
How did I miss this one? It's awesome!

1 & 2, as Niek pointed out. Use a TIP transistor circuit.

3. I have also done a LiPo battery Monitor tutorial which could be modified to suit your voltage. The diode included (I think it's later in the post but not sure, I haven't read it for a while) will limit the voltage to the ADC to 5.1v in case of a problem with the divider. As Niek said, just use a calculator to work out the values of resistor needed and adjust the multiplier in the script I posted in the tutorial to suit the division used.

4. I charge mine while it's on, although it's in a low power state (camera off, lights off, LCD off, not moving, all servos released) and it charges albeit very slowly. If you can avoid charging while it's on then it's a good idea to do so. A changeover switch is a good idea - when I get around to building the charging station for mine I will include a change over switch that shuts off the battery to the EZB when on the base, I've not yet figured out how yet but it's planned...
Netherlands
#10  
Thank you Rich,

those are some great tutorials i will definitely have a closer look at.
The changeover switch is a nice idea, but i guess it will not be able to turn itself back on;)