Go to Post ..attitude and willingness to work as a team...are the qualities that can make or break a team. - Monochron [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 31-01-2014, 09:38
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Help with Prototyping Board

Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit. I have limited electronics knowledge (enough to be dangerous) and I have found a simple circuit called: "Square Wave Signal Generator with Pulse Width Modulation". The circuit

http://www.rmcybernetics.com/project...generator2.htm

allows variable control of the frequency (which I understand needs to be 15kHz for controlling a Jaguar) and the pulse width.

Will this do what we need? (By that, I mean, can we connect the Jaguar pwm input to this generator and control motor speed without needing our control system?)
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #2   Spotlight this post!  
Unread 31-01-2014, 12:21
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 72
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Help with Prototyping Board

I ran into the same need on our team. My solution was to just pick up an RC servo tester. HobbyKing carries a bunch of them: http://hobbyking.com/hobbyking/store...h=servo+tester

These will cable right to the speed controller via the PWM port. I just got a cheap one and powered it via a 3S lipo and a UBEC that I had laying around, but some of the better ones have more power options.
  #3   Spotlight this post!  
Unread 31-01-2014, 12:32
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by ILAMtitan View Post
I ran into the same need on our team. My solution was to just pick up an RC servo tester...
...I just got a cheap one and powered it via a 3S lipo and a UBEC that I had laying around, but some of the better ones have more power options.
What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #4   Spotlight this post!  
Unread 31-01-2014, 12:35
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,744
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Help with Prototyping Board

For prototyping purposes, we took apart an old drill and refitting things. Basically, a battery connector goes in the butt, and two wires with some quick connect fittings come out the top. Then it's just a matter of plugging it into a battery and the motor, and you have instant, easy to use speed control.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #5   Spotlight this post!  
Unread 31-01-2014, 12:54
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by Qbot2640 View Post
Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit. I have limited electronics knowledge (enough to be dangerous) and I have found a simple circuit called: "Square Wave Signal Generator with Pulse Width Modulation". The circuit

http://www.rmcybernetics.com/project...generator2.htm

allows variable control of the frequency (which I understand needs to be 15kHz for controlling a Jaguar) and the pulse width.

Will this do what we need? (By that, I mean, can we connect the Jaguar pwm input to this generator and control motor speed without needing our control system?)
The Jaguar PWM input is not 15khz. The input PWM is defined in the Jaguar Datasheet, available from VexPro (it's called servo style speed input).

Quote:
Originally Posted by Qbot2640 View Post
What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?
3S Lipo is a Lithium Polymer battery popular with RC hobbyists. Use a Robot Battery instead. UBEC is a Universal Battery Eliminator Circuit, in other words, a 5v converter.

If you want to buy, like ILAMtitan said, you can find many options at any hobby shop (usually called a servo tester). If you want to support FIRST vendors, here are a few other options, with varying capabilities.

http://www.andymark.com/product-p/am-2732.htm
http://www.andymark.com/product-p/am-2503.htm
http://robotlogic.com/wp/product/servo-tester/

Several people have posted circuits on chiefdelphi. I've never seen one with a 555 and a comparator, I usually see them with 2 555s. You could even use a really old computer: http://www.chiefdelphi.com/media/papers/2702
  #6   Spotlight this post!  
Unread 31-01-2014, 15:09
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 72
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Help with Prototyping Board

Quote:
Originally Posted by Qbot2640 View Post
What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?
Sorry for not clarifying, I come from the RC world where these are standard terms. A 3S LiPo is a lithium polymer battery pack containing three cells in series. Each cell is 3.7V, so the whole thing outputs a nominal 11.1V. There are also other cell count varieties, and I've seen up to 11S which would be 40.7V.

A UBEC is really just a highly efficient voltage regulator. It takes a voltage input above 6V, and drops it down to 5V. So the 3S battery connects to the UBEC input, and the output is 5V. This 5V is the standard TTL value used in servos and motor control systems. I used this one becouse it's cheap and I didn't need much current: http://hobbyking.com/hobbyking/store...BEC_3A_5v.html

I actually don't recommend the LiPos if you aren't familiar with them. They require highly specialized chargers and can be very dangerous is mistreated. A better battery option would probably be a cheep 4x AA holder. This would give you enough voltage to power the UBEC and feed into the tester and subsequently your servo or motor controller.

This is of course the low cost cobbled together way to do this. If you can spend a bit more, the two AndyMark products that Joe Ross linked will be much easier to us, and likely provide more features.
  #7   Spotlight this post!  
Unread 31-01-2014, 15:50
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Help with Prototyping Board

Thanks everyone for all the information. I managed to find an inexpensive servo tester on ebay that will ship and arrive quickly. I would have preferred to find something that I could have bought or built from local sources so I could have it immediately - but the closest reliable source for RC stuff is about an hour drive.

While I'm waiting for that to arrive - I'll tackle the 5V power situation. Ideally, I'd like to create something that uses the same 12V robot battery that we will be using to power the motor on the other side of the jag, or some old power supply I have sitting around from an old laptop or something. I think my "enough to be dangerous" electronics can handle getting 5V out of something we have available.

Thanks again!
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #8   Spotlight this post!  
Unread 31-01-2014, 16:09
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by ILAMtitan View Post
Sorry for not clarifying, I come from the RC world where these are standard terms. A 3S LiPo is a lithium polymer battery pack containing three cells in series. Each cell is 3.7V, so the whole thing outputs a nominal 11.1V. There are also other cell count varieties, and I've seen up to 11S which would be 40.7V.
While they nominally output 11.1V, they are charged up to 12.6V, or 4.2V per cell, and then drop down to around 9V at a minimum or else you probably damaged the battery. So really a robot battery will be a very similar replacement.

Just that the robot battery wont catch fire if you drop it the wrong way. Those LiPos pack quite a punch.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award

Last edited by dellagd : 31-01-2014 at 16:12.
  #9   Spotlight this post!  
Unread 31-01-2014, 17:50
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Help with Prototyping Board

Can I use the 12V-5V power converter that we use for the radio on the robot? We have a couple of those laying around.

If the answer is no (which I suspect it's going to be) please tell me why - in Math Teacher language - not EE language.
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #10   Spotlight this post!  
Unread 31-01-2014, 18:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,785
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help with Prototyping Board

Yes, or in math teacher language possibly "1"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #11   Spotlight this post!  
Unread 01-02-2014, 11:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by Qbot2640 View Post
Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit.
If you have an old laptop, all you need is this software.


  #12   Spotlight this post!  
Unread 01-02-2014, 21:11
amesmich's Avatar
amesmich amesmich is offline
Registered User
FRC #4638 (Jagbots)
Team Role: Teacher
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Maryland
Posts: 102
amesmich is an unknown quantity at this point
Re: Help with Prototyping Board

We use arduinos to run our motors. I have read about others wanting to do this so our team is going to post the code on our site when our members get a chance. I fyou want our code PM me.
  #13   Spotlight this post!  
Unread 01-02-2014, 21:14
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by Jon Stratis View Post
For prototyping purposes, we took apart an old drill and refitting things. Basically, a battery connector goes in the butt, and two wires with some quick connect fittings come out the top. Then it's just a matter of plugging it into a battery and the motor, and you have instant, easy to use speed control.
We do the same thing, and it's insanely useful.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #14   Spotlight this post!  
Unread 01-02-2014, 21:43
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Help with Prototyping Board

Thanks both of you:

Quote:
Originally Posted by Ether View Post
If you have an old laptop, all you need is this software.


I looked at that information before I posted and my head started to spin. It looked like the kind of thing I would spend two days working on and have nothing happen as a result!

Quote:
Originally Posted by amesmich View Post
We use arduinos to run our motors. I have read about others wanting to do this so our team is going to post the code on our site when our members get a chance. If you want our code PM me.
We have no one on our team with any expertise in arduino use. Learning this is on my to do list - but there's a bunch of stuff higher on the list...I needed a more immediate solution. I may take you up on that AFTER the build season.
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #15   Spotlight this post!  
Unread 01-02-2014, 21:43
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Help with Prototyping Board

Quote:
Originally Posted by Qbot2640 View Post
Every year we get into a situation where we need to speed-control a motor in some prototyping system...
Here's Team 610's solution:
Quote:
Originally Posted by Mr. Lim View Post
I find the true strength of Jaguars to be during the prototyping phase. They are the best for getting a quick PID system running within a matter of minutes. A Jag, battery, encoder/pot, a laptop w/ black serial adapter and BDC-Comm. They were game changers for us in 2013 when we had several frisbee shooting prototypes, and were able to put very good closed loop control on each and every one.
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 02:38.

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