Go to Post Hmmm, the Michelangelo method of robot building. Just cut away anything that doesn't look like a robot. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-09-2012, 21:00
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 599
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Controlling a Jaguar with a Raspberry Pi

I got my order of Raspberry Pis this week. This weekend I sat down and figured out how to use the Pi to control a Jaguar. Here I'm just typing text commands at the command prompt which set the PWM pulse width going to the Jaguar. I found the right numbers using a cheap RC servo, so the Jag may use slightly different values for full forward and reverse. 600 microseconds is full reverse. 1500 microseconds is stop. 2400 microseconds is full forward.

Video here.
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
  #2   Spotlight this post!  
Unread 30-09-2012, 23:39
droswell's Avatar
droswell droswell is offline
Registered User
FRC #2370 (iBots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2009
Location: Rutland, VT
Posts: 72
droswell is a splendid one to beholddroswell is a splendid one to beholddroswell is a splendid one to beholddroswell is a splendid one to beholddroswell is a splendid one to beholddroswell is a splendid one to beholddroswell is a splendid one to behold
Re: Controlling a Jaguar with a Raspberry Pi

Very cool! I wonder if the Kinect can plug into the Pi to offload the video processing?
  #3   Spotlight this post!  
Unread 01-10-2012, 03:58
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Controlling a Jaguar with a Raspberry Pi

Very cool indeed. We're using a Raspberry Pi for our Senior Design project at Mississippi State University. We're attaching one to a robotic blimp.

We decided that driving 3 motors, along with taking in I2C and SPI sensor data, was too much for the Pi (mainly not enough pins on the header to do everything we needed), so we decided to talk to a PIC24 over UART to command motors and sensors. Plus, many of the Pi's lower level controls and communication aren't very mature. We were able to talk to an I2C device using the Pi, and toggle some LEDs on, but PWM output wasn't working so well.

Offloading this also allows us to do more with video streaming. Mainly, the Pi is being used for communication rather than processing data, but as we progress, the use of the Pi's power will be greater.

The Raspberry Pi has great potential for robotics applications. If you're interested in something like this, also have a look at the BeagleBoard and BeagleBone. They're more expensive, but the software they run is more mature.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #4   Spotlight this post!  
Unread 01-10-2012, 08:39
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 599
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Re: Controlling a Jaguar with a Raspberry Pi

If pins are your problem, the I2C interface is the solution. The best priced servo driver board I've found is sold by Adafruit. It costs $14.95, is only 1"x2.5" in size, and drives 16 servos. You could add up to 62 of them for a total of 992 PWM outputs. I'll probably end up using one of these, but right now I'm experimenting to see what I can do without adding any supporting electronics.

I haven't yet researched I2C boards for input signals, but I'm sure they are out there.
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
  #5   Spotlight this post!  
Unread 05-10-2012, 20:01
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 599
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Re: Controlling a Jaguar with a Raspberry Pi

All,
I wrote a simple script user interface so the speeds of all eight servos are displayed and are easily modified with the arrow keys.

Video here. I demonstrate using one Jaguar and two servos.

Todd F.
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
  #6   Spotlight this post!  
Unread 05-10-2012, 20:58
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Re: Controlling a Jaguar with a Raspberry Pi

Servo controls should be 1500usec for neutral. 1000usec for full reverse, 2000us for full forward. I use an Arduino microocontroller with a joystick shield added for full control of the drive.
  #7   Spotlight this post!  
Unread 05-10-2012, 21:01
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Re: Controlling a Jaguar with a Raspberry Pi

http://www.youtube.com/watch?v=gcuFZ...1&feature=plcp

Video of arduino demo
  #8   Spotlight this post!  
Unread 05-10-2012, 21:50
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 599
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Re: Controlling a Jaguar with a Raspberry Pi

These go to eleven...

http://www.brookshiresoftware.com/rd...ervos_work.htm
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi