Go to Post There's "FIRST the organization" and then there's "FIRST the vision for the future through a set of ideals". I've grown somewhat skeptical of the former in recent years, but, after 10 years, I'd still throw myself in front of a bus for the latter. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 03-01-2006, 15:44
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
microcontroller for rocket.

My team is building a rocket for a rocketry contest.
We want to use some kind of micro controller that can eject the parachute at a set height etc..
the requirements:
it should be able to control two servos
it should be able to get input from an analog sensor
it should be programmable in C or Pbasic


What should we use? Which is easiest to hook up and program. What model do you recommend basically?
__________________
Team 701
  #2   Spotlight this post!  
Unread 03-01-2006, 16:18
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: microcontroller for rocket.

I haven't worked with any microcontroller...ever besides the one FIRST provides...

So I really have no direction to point you in. Sorry.

Why not just build a traditional rocket? Ejecting the parachute is done by the last section of the engine exploding.

That's the only suggestion I've got, only because I haven't ever used a microcontroller (maybe soon though).

Just my take on it,
JBotAlan
__________________
Aren't signatures a bit outdated?
  #3   Spotlight this post!  
Unread 03-01-2006, 16:49
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: microcontroller for rocket.

well if you are asking this question, you probably don't have much microcontroller experience. A good beginner choice would be one that can be programmed in pBASIC such as the STAMP microcontrollers from parallax. http://parallax.com . All you need is a demo board, and a STAMP.

Alternatively, you can use a PIC. To program it in C you will need a compiler such as C18. The version that comes in the FIRST kit will only work on the specific PIC that is used inside the robot controller. If you download the demo version off the microchip website, it will work on all PICs but expires after some amount of months. If you use a PIC, you will need a PIC programmer, and some sort of circuit to house the thing. It will need at the very least a battery, a voltage regulator, and and oscillator of some kind to provide the clock signal. PICs are far more powerful but have a steeper learning curve.

If i were you, i would use a STAMP. A kit like http://www.parallax.com/detail.asp?product_id=27206 would have everything you need to get started and learn the how to use stamps. The manual that comes with it even has examples of how to control servos. Its kinda pricey but worth it.
__________________
1139 Alumni

Last edited by Rickertsen2 : 03-01-2006 at 16:52.
  #4   Spotlight this post!  
Unread 03-01-2006, 23: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,580
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: microcontroller for rocket.

This article may give you some ideas: http://www.circuitcellar.com/library...e181/index.htm
  #5   Spotlight this post!  
Unread 04-01-2006, 00:56
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: microcontroller for rocket.

Thanks guys.

Why not build a traditional rocket?
well part of the contest is to get the rocket to EXACTLY 800 ft, this requires onboard monitoring to eject the nose cone at an exact time.

second part is that we need to have a flight time of exactly 45 seconds, so we will deploy/jettison the chute ate very specific times.
__________________
Team 701
  #6   Spotlight this post!  
Unread 04-01-2006, 01:00
ChuckDickerson's Avatar
ChuckDickerson ChuckDickerson is offline
Mentor / Bayou & CMP Division LRI
FRC #0456 (Siege Robotics)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2004
Location: Vicksburg, MS
Posts: 877
ChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond reputeChuckDickerson has a reputation beyond repute
Re: microcontroller for rocket.

You might be interested in the R-DAS unit made by AED: http://home.iae.nl/users/aed/rdas/

It is a Rocket Data Acquisition System (R-DAS) that can measure and store data like altitude, etc. and can set off a parachute deployment charge. If you Google a bit you can find where to get them in the U.S.
  #7   Spotlight this post!  
Unread 04-01-2006, 01:30
Tom Saxton's Avatar
Tom Saxton Tom Saxton is offline
Registered User
no team (Issaquah Robotics Society)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Sammamish, WA
Posts: 98
Tom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud of
Re: microcontroller for rocket.

You might consider an AVR processor. They are competitive with PIC, but have cross-platform GCC support (i.e., free, awesome C/C++ compiler). The programmer required for programming them can be made from $5 worth of Radio Shack parts if you have a parallel port, or there's a $25 gizmo that does the trick if you only have serial.

If you don't want to do the whole thing from scratch, I'd recommend the ARC board from www.barello.net or one of the Orangutans from www.pololu.com. These boards will do everything you want, and a lot more.
__________________
Tom Saxton
http://www.idleloop.com/
  #8   Spotlight this post!  
Unread 04-01-2006, 07:39
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: microcontroller for rocket.

I think the Basic Stamp listed in an earlier post will be your best bet on weight/size and ease of use. You may need to add a couple of high current drivers to feed the servos but there is a product that is designed with a 9 volt battery clip and a little proto typing circuit area on board. Check out the Parallax website for all their products. Digikey is an outlet for this line and a variety of sensors. If you think you can get away with just an accurae timer, there is a program for that purpose already written for the Basic Stamp.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 04-01-2006, 09:46
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: microcontroller for rocket.

The control algorithm for firing an ejection charge at a specific altitude is a very complicated thing. If you go down this path you may spend all your development time on the electronics and get nowhere. I would suggest you get a copy of a rocketry design program called ROCSIM and work on the rocket design - engine choice - simulation to build a rocket that by design reaches your goal altitude. Once you get the rocket built you can dial in the altitude by weight. If there is still time and you wanted to add electronics I would suggest a simple timer. There are devices called G-switches that can Trip the start of the timing. An ejection charge is the best way of popping the parachute. This involves the use of 4f black powder or pyrodex. You must be 21 to purchase and use these. A low current e-match is usually used to initiate the ejection charge. You need a low explosive licence for these. I would suggest that you try and track down a NAR or Tripoli rocket club member in your area to mentor you on these parts. I think you will find most members very willing to help. You may also want to visit a high power rocket launch. Just being there and watching is impressive. Remember unlike first robotics, rocketry is more critical engineering. If you make a little mistake you usually end up with expensive confetti
  #10   Spotlight this post!  
Unread 04-01-2006, 13:19
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: microcontroller for rocket.

you can probabally get a microcontroller the size of your pinky fingernail, power it with a watch battery

and have more computer processing power on your model rocket than the Apollo 11 Eagle had when it landed on the moon.

sounds like a great project.
  #11   Spotlight this post!  
Unread 04-01-2006, 13:47
Doug G's Avatar
Doug G Doug G is offline
Coach / Teacher
FRC #0701 (Robovikes)
Team Role: Coach
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Fairfield, CA
Posts: 879
Doug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond repute
Re: microcontroller for rocket.

Just to help clarify Salik's post...

Team America Rocketry Challenge is the contest we've registered for, which requires a rocket, no more than 1.5 kg, to loft one egg to 800 ft and return it safely in a total elapsed time of 45 seconds.

Yes, many teams simply design their rocket around a certain size and motor and then ballast it to get it to the right altitude. We do have RockSim as well as a computer model done by scratch using Excel, engine thrust data, and our physical rocket characteristics (mass, drag coefficient, etc..).

But in an attempt to be a little more "high-tech", the students wish to add on-board controller to monitor altitude (barometric pressure) and then activate a servo to release a "spring loaded" nose cone and a parachute as well. In this case the engine would not include the ejection charge or delay - an option they have because they're using a reloadable motor system (Aerotech)

There are commercial altimeters available for model rockets - but they're meant to trigger (relay?) a black powder charge to "blow-out" the nose cone and/or drone chute. The rules of the contest do not allow for separate ejection charges. Which is why they are trying to design their own "altimeter" and non-pryotechnic ejection system.

I suspect if they cannot get their "altimeter" to work, they will just use a standard engine with a normal ejection charge as a fall back approach.

Unfortunately I have very limited knowledge of circuits and programming, but Salik is very familiar with programming the FIRST/IFI/Microchip Robot Controller.

The best type of controller (and possibly programmer) to use is what our team needs help with. We appreciate the help and welcome more ideas or comments.
__________________
Work Hard, Have Fun, Make a Difference!

  #12   Spotlight this post!  
Unread 04-01-2006, 15:19
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: microcontroller for rocket.

Do you have any idea what sensor you'll be using and what type of output it will be using?
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #13   Spotlight this post!  
Unread 05-01-2006, 16:38
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: microcontroller for rocket.

Quote:
Originally Posted by Doug G
Just to help clarify Salik's post...

Team America Rocketry Challenge is the contest we've registered for, which requires a rocket, no more than 1.5 kg, to loft one egg to 800 ft and return it safely in a total elapsed time of 45 seconds.

Yes, many teams simply design their rocket around a certain size and motor and then ballast it to get it to the right altitude. We do have RockSim as well as a computer model done by scratch using Excel, engine thrust data, and our physical rocket characteristics (mass, drag coefficient, etc..).

But in an attempt to be a little more "high-tech", the students wish to add on-board controller to monitor altitude (barometric pressure) and then activate a servo to release a "spring loaded" nose cone and a parachute as well. In this case the engine would not include the ejection charge or delay - an option they have because they're using a reloadable motor system (Aerotech)

There are commercial altimeters available for model rockets - but they're meant to trigger (relay?) a black powder charge to "blow-out" the nose cone and/or drone chute. The rules of the contest do not allow for separate ejection charges. Which is why they are trying to design their own "altimeter" and non-pryotechnic ejection system.

I suspect if they cannot get their "altimeter" to work, they will just use a standard engine with a normal ejection charge as a fall back approach.

Unfortunately I have very limited knowledge of circuits and programming, but Salik is very familiar with programming the FIRST/IFI/Microchip Robot Controller.

The best type of controller (and possibly programmer) to use is what our team needs help with. We appreciate the help and welcome more ideas or comments.
Hmm, so it looks to me you don't really need to ever use the altitude, you just want to eject at altitude X. I would look for a sensor that can be set to either allow current to flow, or current to not flow, at a preset height. That would make it much simpler and cheaper. KISS.

But, yeah, I don't know if those types of sensors exist.
__________________
http://www.mikesorrenti.com/
  #14   Spotlight this post!  
Unread 05-01-2006, 20:08
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: microcontroller for rocket.

PicMicrochips are cheap and easy to work with but you first have to decide what type of sensor do you want to use to tell you your altitude? And what type of value does it output?

High-g shock accelerometers might work

Here is a cheap programmer that works with a lot of pics:
http://www.picbasic.co.uk/forum/arch...php/t-703.html

It uses the IC-Prog software. http://www.ic-prog.com

You could order a sample pack form the Microchip website(might want to buy 1 or 2 for faster shipping). The 28 pin 18F2580 should be more than enough to do the job. It has the software processing capability of the FRC controllers(at 40 Mhz). It just doesn't have as many hardware features. 18F4520 and 18F2480 are just as capable. 18f4520 is the easier to work with but but it is bigger with 40 pins.

This sensor might work: Motorola MPX4115A(pressure sensor)

http://geocities.com/SiliconValley/O...33/MPX4115.pdf
http://www.geocities.com/SiliconVall...altimeter.html

Try to figure out the voltage to pressure ratio.

Last edited by 6600gt : 05-01-2006 at 20:30.
  #15   Spotlight this post!  
Unread 05-01-2006, 22:33
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: microcontroller for rocket.

Integrating an accelerometer to determine altitude will probably not give good results. For years high power rocket altimeters have used a digital pressure sensor for altitude measurement. The Freescale mpx4115a has been a standard device. There are some newer versions that would work too. On the pressure sensor data sheet you will notice a resistor and capacitor on the output of the sensor to microcontroller ADC pin. You need these. Don't leave them out. You'll use the pressure sensor to watch the drop in pressure. When the pressure measured equals the desired altitude pressure pop the chute. You need to Google "Standard Atmosphere" . This will allow you to determine what pressure you'll be looking for. When the altimeter is powered sample and find the voltage equivalent of the AGL pressure. Subtract the voltage equivalent to your desired altitude this will give voltage the microcontroller will activate the deployment at. Here is the Freescale data sheet. MPX4115A You'll need at least 10 bit resolution. Also you'll need to experiment on the altitude to trigger the deployment to allow for a little coast. Search the rocket forums and NAR about the holes you need to put in the electronics bay. There size and placement is important. You really should go to a high power launch to see someone prep rocket electronics. International Rectifier corporation makes 10 amp logic level FETS that are small and can be driven by the microcontroller directly to power the ejection device. A non pyrotechnic deployment system is hard. I've used a piece of spectra thread wrapped with nichrome wire to hold a compressed spring. Then the FET applies power to the wire it melts the thread releasing the spring. The other easier deployment strategy is to fire you ejection device based strictly on time. Use a pull pin to detect launch and start timing.
Use a long ejection delay on the Aerotech as a backup.

DO NOT underestimate the complexity of the electronics and deployment. Time is running out. Your main focus should be on the physical design of a rocket that reliably flies to that altitude and a parachute for total time. Hint - an overly stable rocket may be a good thing.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vex Microcontroller Model petek Inventor 6 13-12-2005 15:24
microcontroller selection¿ Rickertsen2 Programming 11 25-05-2003 10:52


All times are GMT -5. The time now is 05:31.

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