Rebel II

This is the second robot that I've ever build. The first robot was Rebel. But this robot had some limitations and shortcomings. The things it missed are among other things, a real third wheel (now it was just a plastic cap that dragged over the floor), on/off buttons (every time I want to put it on I have to connect the batteries, remote controlling (I'd really like to know if I can make it remote control with a PCB from an old RC car I had lying around). First I started to design my new robot in a CAD program. I then cutted the pieces I needed from wood. Everything is designed the way that I don't need any glue, so this robot can be fully dissasembled and assembled again with screws. I went to the store I bought me some toggle switches, one for turning the Bot board II on and one for turning the servo power on. I also bought a office-chair-wheel to use as a third wheel, to keep to robot balanced. For all the other parts I took apart Rebel.

The parts I used for Rebel II are:

Everything I used to make Rebel II is shown in the picture below. The wooden parts are cutted out and painted. The tracker sensor is already mounted on some wood, also the wheels are already attached to the continuous rotation servos and mounted on some wooden plates. Also the ping))) Ultrasonic sound sensor is mounted on the standard servo. The Basic Atom Pro 28 is mounted on the Mini Atom bot board II. The standard wires from the RC car PCB where very short so I took them off and soldered some longer wires to them with nice connectors. The remote control circuit boards sends signals to input ports of the mini-atom bot board II. The bot board then knows which action it has to take based on the input port. The bot board then sends signals to the designated output ports and finally the robot will move.

On the picture below the Mini bot board II (green) is shown with the Basic Atom Pro 28 (red) mounted on it. Also a part of the RC car PCB is shown (brown).

The picture below shows the tracker sensor v3. This is a prefab line following PCB. It has three infrared sensors mounted on it. This PCB is connected to the Mini bot board II by 2 cables. One cable gives the tracker sensor current (the red/black cable), the other cable are 3 inputs. One for each infrared sensor. The inputs become high if the infrared sensor "sees" white, and become low otherwise. Nice thing about this board are the three leds mounted on top of it. These are on if the infrared sensor below them sensors white, and are off otherwise. This way you can see really fast if your PCB is working or not, you don't even have to hook the input cable to a microcontroller. Just connecting the power cable is enough to test the infrared sensors.

The picture below shows the ping))) Ultrasonic sound sensor mounted on a standard servo. This ping has 1 cable which is very easy mounted onto the mini atom bot board II. The ping uses 3 wires, 1 GND, 1 PWR and 1 for triggering and measuring. In order to use this sensor your microcontroller must be able to switch an input port to an output port and vice versa, most microcontrollers are capable of doing this. The servo is also very easily mounted onto the mini bot board by a connector cable, which also uses 3 wires. 1 for GND, 1 for PWR and 1 for signal. The servo can be controlled by sending pulses to it. Depending on the pulswidth the servo turns left or right. Sample code to make the servo turn for the Basic Atom Pro 28 is:

servopin CON P0

Main:
Pulsout servopin, 4800
Pause 20
Goto Main

Similar code makes the continues rotation servos rotate. And thus makes my robot move :)

In the picture below the two toggle switches are mounted onto the back plate of the robot. Also the 4AA battery holder is mounted onto the back plate with screws. The 9V battery for feeding the bot board is mounted with some velcro (shown on the right side of the battery holder). This way the batteries can be easily replaced. One toggle switch is connected to the 9V battery clip and the other toggle switch is connected to the 4AA battery holder. This way they can both be turned on or of.

Below are the continuous rotation servos shown mounted on some wooden plates. The wheels came with the servos and fitted on them perfectly.

Below are pictures of the proces of assembling the robot. First the wheels are mounted on the base plate. Then the office-chair-wheel is mounted to balance the robot.Then the ultrasonic sound sensor along with the standard servo is mounted on the base plate. Then the tracker sensor is added to the robot and the side plates are screwed to the base plate. After that, both PCBs (bot board II and RC car PCB) are mounted on top of the base plate. And finally the 'head' is mounted on the ping ultrasound sensor.

Because I hope you will learn something from this I included the souce code I used for this robot. It is now capable of obstacle avoidance, line following and remote control. I also have some other programs for sumo and weird line following (turning head while following a line). If you are intrested in these code please ask and I will include it. If there are questions regarding the source code, you are free to ask and I will answer them. Because I'm so in love with this robot I also included a wallpaper. I hope you like this robot as much as I do!

Happy building!

- GobliZ

 

Navigate around via ultrasound / Remote controlled / Line follower / Sumo bot

  • Actuators / output devices: 2x Continous Rotation servo's for wheels, 1x 180 degree servo for controlling the ping
  • Control method: autonomous, and/or R/C
  • CPU: Basic ATOM Pro 28
  • Power source: 4x AA (1.2V) for powering the servo's, and R/C receiver board, 1x 9V block for powering the Bot Board II
  • Programming language: Atom Basic
  • Sensors / input devices: Ping))) Ultra Sound, R/C receiver
  • Target environment: indoor

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

Now that looks like one mean
Now that looks like one mean machine! Can’t wait to see the videos!

Yes baby! Office-chair-wheel

Yes baby! Office-chair-wheel for third wheel! Yes baby!

Cool design!!

RC!?

Video! :smiley:

PS: More Sunlight! (The nicest pictures & video)

radio control or atonomous?

Hey nice robot but… is it radio control or atonomous??? so isit a mini-sumo(500g class) or sumo( 3kg class) because if it is the sumo (3kg class) i would not use servos as they have little speed.

1 more thing, i have problems uploading my program in my b2 can u or anyone help me?

pjnai123!

Both

Thanks for all your reactions :slight_smile:

It is both radio controlled and autonomous. After turning the robot on, there are serveral buttons that can be pushed. Depending on which button is pushed, the robot is radio controlled or autonomous. If it is autonomous several different programs can be loaded, by pushing the buttons again. One of the autonomous programs is a sumo program. Meaning that it scans for other objects and drives towards them, and follows them. The main purpose of the robot is not to be a sumo bot. I just programmed it, to see if I could program a sumo-like bot. So the metrics (length etc.) wouldn’t allow this robot to compete in a official sumo event.

I have no experience with b2, but I think other people within this community do have the experience to help you. Please ask your question in the forum.

Very cool! I’m impressed

Very cool! I’m impressed that you gave it multiple functions. Can’t wait to see it in action!
Brennon

“Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us… -Marianne Williamson

Wicked video! :slight_smile: Thanks!Hey

Wicked video! :slight_smile: Thanks!

Hey - I was thinking; Would line-following and RC not look more cool if the head was turning the direction that the bot was heading?

(Good dog!! :D)

Nice one
Nice one, looks like the kind of robot for a small robo-wares

wait …isn’t his direction

wait …isn’t his direction always aligned with his head?

Nice robot btw! colors and all

"Hey - I was thinking; Would

"Hey - I was thinking; Would line-following and RC not look more cool if the head was turning the direction that the bot was heading?"

I tried that yes, but it didn’t turn out the way I wanted it. Because my microcontroller doesn’t has that nice servo command which picaxe has (Turning the servo and doing other stuff simultaneously) you get a very weird effect. It stops turns it head, drives the way it turns it’s head a bit, stops again, turns his head, etc. This looks very weird. But thanks for your idea! I like your ideas!

But I ordered a SSC-32 board which should give me nice servo’s commands :slight_smile:

Wallpaper!! How ace!!

Wallpaper!! How ace!! :D:D

Have installed it!

Well, when I saw robot-wars,
Well, when I saw robot-wars, like ten years ago, that was the first time I got really interested in robots, and wanted to build my own, only ten years later I finally did it. So in a way, this is a tribute to them :wink:

I know this bot was posted a

I know this bot was posted a long time ago, but I just wanted to say that it’s really awesome! I love that you made it multi-function. It’s also a great design, with the yellow/black scheme, and I just love the head you designed for it. I want to do something like that with my first bot … I don’t want to settle for just having the Ping for the head!

Also, the movie you made for it was hilarious. I love how your dog interacted with it. :slight_smile:

Thanks for sharing your design!

Thank you for all your

Thank you for all your lovely words about my robot :slight_smile:

It is indeed quite some time ago I made this robot, I have a headfull of ideas for my next robot, but so little time. :frowning: Probably when christmas holiday comes along I can spent some time on robotics again. Looking forward to it, and also to your first robot! (besides blinky, which is lovely btw)

GobliZ - Check out my robots

bot board
Hey I’m also starting a similar project! I just bought the bot board and the basic atom pro chip. The only problem is that I don’t know where to connect the servos and the battery supply. I have one of the rechargable nine volt battery that is plugged in, but I connected it the free pins that are in the lower part of the bot board. The LED’s start blinking and the sound thing starts working too, but im not sure if it’s the correct way. I’m afraid of burning the switches… can you help me out?

It might be best to start
It might be best to start this question out as a new forum post, rather than tagging on the end of a previous robot posting.

cooly cool
beefy and multifunctional what more could you ask for

I would like to see the source code for this robot

hi there I really want to please have the source code of this particular robot I like to try to know all the functionalities of it. my email is [email protected]

thanks

SPAM incoming in 3…2…1
SPAM incoming in 3…2…1

Hi Alian,The source code is

Hi Alian,

The source code is included in this page at the top (master.bas), and can be downloaded. I also send an email to you including te source code. I hope you understand it, it is pretty well documented I think, so that shouldn’t be a problem.