robotics company robot company  

Go Back   Trossen Robotics Community > Robotics > Project Showcase

Project Showcase Have a project that you're dying to pimp? It doesn't matter if it involves robotics, RFID, HCI, or what, as long as you think it's cool, pimp it here! Need more space for pics/videos email us:)

» Navigation Menu
Homepage
Forums
TRC Tutorials
Member Blogs
Data Center
Image Galleries
Links Directory
Contact Us

Shop Robotics
» Introduction Tutorials

» Data Center Entries
CM-2+ MANUAL
By Alex
07-28-2008 12:09 PM
URBI
By Droid Works
04-20-2008 07:15 PM
ActionBuilder 1.10
By Droid Works
08-05-2008 01:14 PM
remote control.pdf
By Droid Works
08-22-2008 02:39 AM
USB2Dynamixel.....
By Alex
07-28-2008 11:51 AM
» November 2009
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 12345
» Current Poll
Are you going to use Nerf-style weapons at the next Mech-Warfare?
Yes. - 18.75%
3 Votes
No. - 68.75%
11 Votes
Yes, but only if double damage is allowed. - 12.50%
2 Votes
Total Votes: 16
You may not vote on this poll.
» Trossen Robotics Blog
Phoenix 2.0 Software Released...
HUV Robotics Bioloid Accessories are bac...
The Quads are Coming!...
Just in time for Halloween!...
Boston Dynamics does it again...
» Join Us Elsewhere!






» Online Users: 275
17 members and 258 guests
Adam, angelbasco, billyzelsnack, Bullit, carlstein4445, Connor, gdubb2, JonHylands, lnxfergy, mallster, mannyr7, MikeG, Rick Brooks, robologist, RobotServicesGroup, Tyberius, Upgrayd
Most users ever online was 1,301, 09-11-2009 at 06:59 PM.
» Stats
Members: 3,243
Threads: 2,329
Posts: 31,356
Top Poster: Adrenalynn (5,122)
Welcome to our newest member, angelbasco
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2008
Orac
Orac is offline
Transistor
 
Join Date: Feb 2007
Posts: 41
Rep Power: 10
Orac will become famous soon enough
Honorablemention RC truck robot conversion

RC truck robot conversion


http://i88.photobucket.com/albums/k1.../DSCN1143s.jpg

This project covers the conversion of a cheap off-the-shelf RC truck into a powerful robot vision platform capable of ball following, etc.

I always like seeing the projects around the world using expensive robots, running complex vision processing software and dreamt of the day I would have my own to play with.

Win the lottery or build one on the cheap?

Cheap wins every time.

I say cheap, but what I mean is cheap-ish. It depends on how complicated you want it to be and how much you have lying around. Maybe it should be "cheap compared to a Corrobot or Whitebox robot" (although they have much more functionality)

Anyway.




Parts required

Toyabi Skullcrusher RC monster truck
SSC-32 for webcam tilt
Logitech Pro 9000 webcam
Sabertooth 2x10a speed controller
Dell C610 laptop system board + proc + memory + wireless
12v - 19v converter to run laptop from 12v SLA battery
12v battery (I used a 12v SLA 7ah but its a bit too heavy, maybe a LIPO?)
RS232 - TTL converter (homemade or Ebay) for Sabertooth
USB - RS232 converter for SSC-32
Remote control unit and keyfob (homemade or Ebay) - this is a failsafe so I can cut power to the Sabertooth
USB hub
12V fan
Old satellite set-top box - emptied this and used it as a box to house it all in.


Software

Windows Xp
Roborealm
UltraVNC





Sourcing the RC truck

Whilst surfing Ebay one day I came across new RC monster trucks selling very cheaply. The interesting thing about them was that they had tank-style steering instead of the normal Ackerman steering like most RC trucks.

They can be bought in Europe from Seben racing and in the USA from Amazon and are called "Skull Crusher" from Toyabi.

Amazon Amazon

Here are some videos of the trucks in action

http://www.wilhelmy-it.de/seben/pict...king/king.html
http://www.youtube.com/v/GFLU0xfkD3s&hl=en

I had a good robotty feeling about these asked my better half to get me one for my birthday.
The truck is HUGE and comes with a simple speed controller which is on/off rather than proportional, still, it was amazing what could be achieved with such a cheap model.
Stock, it will spin on the spot, climb all sorts of objects and gradients.

It has independent suspension and gearing to each wheel and runs from two small-ish motors. It is VERY big and came in an enormous box.
Construction is better than expected for such a cheap model, but the tyres are some kind of foammy PVC moulding. Apart from that, lots of space on board and has springs at each corner. The transmission is by gears down 4 articulated arms to the wheels.

http://i88.photobucket.com/albums/k1...DSCN1095-1.jpg




Stripping down

1st job was to strip it apart and remove the old speed controller and replace it with a Sabertooth from Dimension Engineering. You need to cut off the Electrolytic filter capacitors from the motors as they will blow under PWM motor control. Leave the ceramic capacitors in place to filter out some noise.

The body shell comes off easily and the lights disconnect via a small connector. I cut out the rest of the controller and receiver circuitry.
I added the Sabertooth temporarily and set it up for RC mode and an old 27Mhz proportional set I had lying around to test with. All ok, had even more fun driving it around under proper proportional control

It can move very quickly
http://www.youtube.com/v/Qdr3425YmsA

And with the new speed controller, very slowly too !!
http://www.youtube.com/v/U5EEBoXVQ-Y

http://i88.photobucket.com/albums/k1...e/DSCN1100.jpg
http://i88.photobucket.com/albums/k1...e/DSCN1102.jpg
http://i88.photobucket.com/albums/k1...e/DSCN1108.jpg
http://i88.photobucket.com/albums/k1...e/DSCN1113.jpg
http://i88.photobucket.com/albums/k1...e/DSCN1115.jpg




Adding the brains

Next step was to add a brain to the system.

An old Dell C610 laptop I had lying around was dis-membered and the system board, memory and processor saved for the robot.

An old satellite set-top box served as the case for the project and mounted pretty easily to the top of the truck. I then mounted the system board and Sabertooth controller inside, along with a 12V 7AH SLA battery (slung under the casing), DC-DC converter to power the laptop from 12V and a failsafe.

The failsafe is a small 433Mhz key fob transmitter to cut the power to the motors if the robot should decide to make a break for freedom. It's a simple RC switch bought from Ebay very cheaply and used to toggle power to the Sabertooth.

I also added a small 12v fusebox and wired it all up with some cable from an old PC PSU.
My 8 year old webcam was rubbish so I went out and bought a Logitech 9000 PRO, which is very good and came on a tilting base which started me thinking that I could control it from the laptop via a servo to tilt the camera as the robot adjusted its distance from an object.

I used an SSC-32 servo controller from Lynxmotion to drive the servo and connected the controller to the PC via a USB to serial converter (I had already used up the laptops COM1 serial port for the motor controller)

The Dell laptop only has one USB port so I added a small hub to allow the USB to Serial module and the USB webcam to connect at the same time. With hindsight, I would have surfed Ebay for a Laptop system board that had USB 2 instead of 1.1, but it was all I had and works well for now.
The COM1 to Sabertooth cable needs to have a Serial to TTL converter fitted, you can find these on Ebay for under $10 or make your own as I did. This converts the RS232 levels to a lower 5v level suitable for the speed controller inputs.

I also added a chunky power on/off switch and soldered a remote pushbutton switch to the power button of the laptop. (Could have just drilled a hole in the case and used a prodder). A small 12V fan was added to the case to help cool down the laptop system board which isn't used to running without a case to direct the airflow.

The laptop had a Wifi card to enable me to remote control the robot from another laptop for making adjustments, etc without having to hook up a keyboard/mouse/monitor to the robot.

http://i88.photobucket.com/albums/k1...e/DSCN1140.jpg
http://i88.photobucket.com/albums/k1...e/DSCN1141.jpg
http://i88.photobucket.com/albums/k1...e/image001.jpg





Software install

I installed the XP and the Dell drivers on the laptop and installed a free bit of software called Roborealm which is a great visual processing program intended for robotic applications which just so happens to have an SCC-32 and a Sabertooth module in-built. Joy !!

http://www.roborealm.com

There is an example green ball follower script that you can download from the Roborealm website that I modified slightly to work with my hardware and I spent a few hours tinkering with the settings in the filters until I had it as good as i could get it.

I also downloaded the free software, UltraVNC, on the two laptops which allows me to remote into the robot and make adjustments or just watch what is going on on the screen and webcam.

http://www.uvnc.com/

http://www.roborealm.com/help/Getting_Started_2.jpg





Testing

The next day after finishing it, I took the robot along to a robot event and tested it out by gently kicking a green ball along the floor and watching the robot following it where ever it went. It can go forward, left, right and it backs away if the ball comes towards it. I had one finger on the failsafe remote at all times.

It only shot off once when it liked the look of the green trees through the window. A quick tweak of the color filter's Hue setting fixed that.

Not a finished project by any means, but a great platform to have a bit of fun and test out all my odd ideas for sensors, etc.

If you have an older laptop lying around (about PIII 1Ghz) and any kind of PC driven speed controller then you can set this up fairly quickly. Make it as simple or as complicated as you wish. No real programming required, just tweaking of scripts, etc

My next steps are to add some sensors (ultrasonic and IR) to the robot and swap the heavy Lead-acid battery for a LIPO to ease some of the weight from the suspension.

I may have a stab and reverse Engineering the ball follow script and add the sensor inputs from the SCS-32 into the Roborealm program loop.

Remember the failsafe. This robot can move fast and is quite heavy. Could easily cause injury if it escapes and runs amok.

If you need any more detail, just ask. I will try to help in any way I can.

Have fun.

(For the video below, I modified the script to follow an orange ball as green balls don't work to well on grass. I wish I had taken a video from the robot event as they had large open floors where I kicked the ball off slowly and watched it roll a long way with the robot in hot pursuit !!)


http://i88.photobucket.com/albums/k1.../DSCN1143s.jpg

Last edited by Orac; 07-05-2008 at 12:10 PM.
Reply With Quote
  #2  
Old 07-05-2008
Tyberius's Avatar
Tyberius
Tyberius is online
Mech Warmonger
 
Join Date: Dec 2007
Location: Trossen Robotics Laboratory
Posts: 1,858
Blog Entries: 12
Images: 246
Rep Power: 64
Tyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud of
Send a message via AIM to Tyberius Send a message via MSN to Tyberius
Re: RC truck robot conversion

Awesome project! I have something similar written in Roborealm for my J5 but I've grounded him until I get a solid state drive (he hits a slight bump, HDD skips and he takes off at full speed while I lose connection to his PC)

I saw the same green ball following demo on Roborealm you used as a basis, but found the code to be a bit sluggish so I wrote my own tracking code that I used instead. If you're interested I don't mind sharing =)

How is the video streaming capability of UVNC compared to the newest version of RDP? I played around with a few versions of VNC myself but found RDP to have better overall performance.
__________________
Andrew Alter
Trossen Robotics
Hardware Support & Technical Writer
Join the Robotic Combat Revolution @ Mech Warfare!
Reply With Quote
  #3  
Old 07-05-2008
Orac
Orac is offline
Transistor
 
Join Date: Feb 2007
Posts: 41
Rep Power: 10
Orac will become famous soon enough
Re: RC truck robot conversion

Yes please, I am getting about 11 FPS, anything to speed it up would be good.

I dived into UVNC to see what it was like. i am very happy with the performance but might give RDP a go to see how it fairs.

Thanks

Last edited by Orac; 07-05-2008 at 11:38 AM.
Reply With Quote
  #4  
Old 07-05-2008
Tyberius's Avatar
Tyberius
Tyberius is online
Mech Warmonger
 
Join Date: Dec 2007
Location: Trossen Robotics Laboratory
Posts: 1,858
Blog Entries: 12
Images: 246
Rep Power: 64
Tyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud of
Send a message via AIM to Tyberius Send a message via MSN to Tyberius
Re: RC truck robot conversion

One quick tip- turn off auto exposure and manually set your lighting settings. Its a bit of a PITA because you have to adjust for indoors vs outdoors, but I found it improved framerate in roborealm quite a bit.

I'll be putting my J5 back together this weekend (he's in pieces for a photoshoot) and get that code hosted up here in the uploads section.
__________________
Andrew Alter
Trossen Robotics
Hardware Support & Technical Writer
Join the Robotic Combat Revolution @ Mech Warfare!
Reply With Quote
  #5  
Old 07-05-2008
Adrenalynn's Avatar
Adrenalynn
Adrenalynn is offline
Banned from posting too much :-)
 
Join Date: Apr 2008
Location: Sacramento, CA, USA Area
Posts: 5,122
Blog Entries: 8
Rep Power: 139
Adrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant future
Re: RC truck robot conversion

UVNC (specifically UltraVNC, not the other flavors) is tremendously lighter and sprightlier than RDP. I won't let RDP near any of our streaming servers. First thing that gets disabled. All of our remote management is over UVNC...

It's coming along nicely, Orac! I like the laptop repurpose. I'm working on a monster scale RC truck conversion now at the same time CSDude is. We went with the newbright trucks, and because they're not slipskid like yours, I'm fighting with fabricating a mount for a standard steering servo...
__________________
I Void Warranties™

CCTV Camera Systems and Security Camera Accessories by eMS. Ignore the CCTV Camera linkage. Just taking advantage of an inbound link opportunity...
Reply With Quote
  #6  
Old 07-05-2008
Tyberius's Avatar
Tyberius
Tyberius is online
Mech Warmonger
 
Join Date: Dec 2007
Location: Trossen Robotics Laboratory
Posts: 1,858
Blog Entries: 12
Images: 246
Rep Power: 64
Tyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud ofTyberius has much to be proud of
Send a message via AIM to Tyberius Send a message via MSN to Tyberius
Re: RC truck robot conversion

My experience was that while VNC was lighter (though I didnt try UVNC) it did not have as solid of video streaming capability as RDP did. I'll have to try out UVNC.
__________________
Andrew Alter
Trossen Robotics
Hardware Support & Technical Writer
Join the Robotic Combat Revolution @ Mech Warfare!
Reply With Quote
  #7  
Old 07-05-2008
Adrenalynn's Avatar
Adrenalynn
Adrenalynn is offline
Banned from posting too much :-)
 
Join Date: Apr 2008
Location: Sacramento, CA, USA Area
Posts: 5,122
Blog Entries: 8
Rep Power: 139
Adrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant futureAdrenalynn has a brilliant future
Re: RC truck robot conversion

UltraVNC is a very different animal (ultravnc.sourceforge.net) - worth checking out, especially the file transfer ability and encrypted secure connection...
__________________
I Void Warranties™

CCTV Camera Systems and Security Camera Accessories by eMS. Ignore the CCTV Camera linkage. Just taking advantage of an inbound link opportunity...
Reply With Quote
  #8  
Old 07-06-2008
Orac
Orac is offline
Transistor
 
Join Date: Feb 2007
Posts: 41
Rep Power: 10
Orac will become famous soon enough
Re: RC truck robot conversion

The file transfer is very useful as it saved me having to open up the robot and stick in a USB pen every time I wanted to move some Robo files or drivers about.
Reply With Quote
  #9  
Old 07-10-2008
Alex's Avatar
Alex
Alex is offline
trbothead - TRC admin
 
Join Date: Sep 2006
Location: Carol Stream, Illinois
Posts: 1,677
Blog Entries: 8
Images: 118
Rep Power: 75
Alex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant futureAlex has a brilliant future
Re: RC truck robot conversion

Great entry Orac, and welcome to the community! I just entered you in the contest.

You're a great addition to our little community and I hope to hear a lot more from you in other threads
__________________

“In the long history of humankind (and animal kind, too) those who learned to collaborate and improvise most effectively have prevailed”
- Charles Darwin

New to the TRC?
Customize Your Profile -- Post To and Customize Your Blog -- Create Your Own Photo Album -- Create a Tutorial
Reply With Quote
  #10  
Old 07-10-2008
Orac
Orac is offline
Transistor
 
Join Date: Feb 2007
Posts: 41
Rep Power: 10
Orac will become famous soon enough
Re: RC truck robot conversion

Thanks, been stalking quietly around the forums for a while now, thought it was about time I contributed something

Last edited by Orac; 07-10-2008 at 10:44 AM.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question(s) Writing an educatonal book on robotics darkback2 Robotics General Discussion 105 08-31-2009 08:40 PM
Contest Entry The eyeRobot: Robot Blind Aid Shrimpy Project Showcase 15 08-31-2008 01:54 PM
Contest Entry Butler Robot airman00 Project Showcase 11 07-31-2008 10:28 PM
Contest Entry Robot Buddy markavdb Project Showcase 9 07-03-2008 05:44 PM
Transistor under my name. jdolecki Off Topic 43 04-10-2008 02:33 PM

Powered by vBadvanced CMPS v3.2.0

All times are GMT -5. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.