Discussion forum for the BasicX family of microcontroller chips.
|
Hello all, What I am tring to figure out is how I can monitor a 12 battery level when only 5 volts can be applied to a pin on the chip. I am sure I have to use an A/D converter. I am not exactly sure how these things work, or the best one to get. What I need to do is this. When power is first applied to the chip a time stamp is taken with the help of a DS1307, along with this time stamp a voltage reading is taken and stored in memory somehow. When the battery reaches a critical level say 11.5 Volts another time stamp and voltage reading is taken and then the system going into a standby state. To be perfectly honest I really don't have a clue as to the best way to do this, so any help would be greatly appericated. any help would be great. Patrick |
|
|
|
Use a simple voltage divider. Gregg At 03:26 AM 11/26/04 +0000, you wrote: >Hello all, > >What I am tring to figure out is how I can monitor a 12 battery level >when only 5 volts can be applied to a pin on the chip. I am sure I >have to use an A/D converter. I am not exactly sure how these things >work, or the best one to get. > >What I need to do is this. > >When power is first applied to the chip a time stamp is taken with the >help of a DS1307, along with this time stamp a voltage reading is >taken and stored in memory somehow. When the battery reaches a >critical level say 11.5 Volts another time stamp and voltage reading >is taken and then the system going into a standby state. > >To be perfectly honest I really don't have a clue as to the best way >to do this, so any help would be greatly appericated. > >any help would be great. > >Patrick > > >Yahoo! Groups Links |
|
|
|
--- In , "nuepatrick" <nuepatrick@y...> wrote: > What I am tring to figure out is how I can monitor a 12 battery > level when only 5 volts can be applied to a pin on the chip. You can use a voltage divider to reduce the maximum voltage that you expect (probably less than 15 volts for a fully charged battery) to a maximum of 5 volts. The simplest way to do this would be to use two resistors with a ratio of 2:1. Connect the 2x resistor between the battery and one of the BX-24's A/D pins and then connect the 1x resistor from that pin to ground. Using this voltage divider, the voltage that you read on the BX-24 pin will be 1/3 of the actual voltage. Note that the tolerance of the resistors may affect the accuracy of your readings. Because of this, you might want to use 1% or 5% tolerance resistors, depending on the accuracy that you need. |
|
I'm thinking of using a BasicX-24 in a Model Rocket and I'm concerned about the Crystal. It seems so loosely connected that I'm afraid that the acceleration will rip it right off the board! I think Model Rockets can experience up to 50 Gs or so. Has anyone else used it in a Model Rocket as is with out any problems? Suppose I tacked it to the CPU with some Epoxy, anyone see any potential problems with that? Thanks!!! Good Luck! Ken_S. |
|
|
|
Ken, The Gs you pull have alot to do with what you are flying "ie motor size and rocket weight" I know alot of people that fly em all the time stock with no problems. Let me know what your thinking of flying. JG~ --- In , Robotics_Job_Search <Robotics_Job_Search@C...> wrote: > > I'm thinking of using a BasicX-24 in a Model Rocket and I'm concerned > about the Crystal. It seems so loosely connected that I'm afraid that the > acceleration will rip it right off the board! I think Model Rockets can > experience up to 50 Gs or so. Has anyone else used it in a Model Rocket as > is with out any problems? Suppose I tacked it to the CPU with some Epoxy, > anyone see any potential problems with that? Thanks!!! > Good Luck! > Ken_S. |
|
|
|
Hi Ken! I'm Marcelo from Argentina, and suscribed that list, for the same reason! I'm Rocket modelist, and I'm in search of develop with help of a few friends, a multi-propuse flight computer, based on PIC, BasicX or BasicStamp. I'm be very interested on what are you planning to design, and what succeess you reach. Even if we can help in something, just let me know. BTW, sorry about my english.. I'm spanish speaking person :-) Marcelo ----- Original Message ----- From: "Robotics_Job_Search" <> To: <> Sent: Saturday, November 27, 2004 6:48 PM Subject: [BasicX] Using BasicX-24 in a Model Rocket > > > I'm thinking of using a BasicX-24 in a Model Rocket and I'm concerned > about the Crystal. It seems so loosely connected that I'm afraid that the > acceleration will rip it right off the board! I think Model Rockets can > experience up to 50 Gs or so. Has anyone else used it in a Model Rocket as > is with out any problems? Suppose I tacked it to the CPU with some Epoxy, > anyone see any potential problems with that? Thanks!!! > Good Luck! > Ken_S. > Yahoo! Groups Links |
|
|
|
> ... Suppose I tacked it to the CPU with some Epoxy... I've attached the crystal's silicone sleeve to the processor with a drop of silicone sealer, I've buried the crystal can in thermal grease atop the processor, and I've coupled the crystal and an LM34 together in shrink, effectively giving the crystal three more mounting leads. All have worked well in my environments, but none are at 50g. Tom Tom Becker --... ...-- www.RighTime.com The RighTime Clock Company, Inc., Cape Coral, Florida USA +1239 540 5700 |
|
you can buy one of these and write your own program for it. http://accelorocket.tripod.com/ I bought one for use in a high power rocket. There would be no reason you could not trace out a schematic and use it for your own experimentation. best regards, Steve Thatcher |
|
|
|
Hi, I am not sure how far you want to take control of the rocket but http://autopilot.sourceforge.net/ Development mailing list https://lists.sourceforge.net/lists/listinfo/autopilot-devel is a "technical list that covers day to day discussion on software, UAVs, electronics, helicopters, aerodynamics and politics." Good Luck, Mark --- "Marcelo Hacker (Cuenta Inicial)" <> wrote: > Hi Ken! > > I'm Marcelo from Argentina, and suscribed that list, for the same > reason! > I'm Rocket modelist, and I'm in search of develop with help of a few > friends, a multi-propuse flight computer, based on PIC, BasicX or > BasicStamp. > > I'm be very interested on what are you planning to design, and what > succeess > you reach. Even if we can help in something, just let me know. > > BTW, sorry about my english.. I'm spanish speaking person :-) > > Marcelo > ----- Original Message ----- > From: "Robotics_Job_Search" <> > To: <> > Sent: Saturday, November 27, 2004 6:48 PM > Subject: [BasicX] Using BasicX-24 in a Model Rocket > > > > > > I'm thinking of using a BasicX-24 in a Model Rocket and I'm > concerned > > about the Crystal. It seems so loosely connected that I'm afraid > that the > > acceleration will rip it right off the board! I think Model > Rockets can > > experience up to 50 Gs or so. Has anyone else used it in a Model > Rocket > as > > is with out any problems? Suppose I tacked it to the CPU with some > Epoxy, > > anyone see any potential problems with that? Thanks!!! > > > > > > Good Luck! > > Ken_S. > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > __________________________________________________ ">http://mail.yahoo.com |
|
>Let me know what your thinking of flying. Depends on the final weight of course, but probably in the D, E, F, or G Motor range. I'll start with lower peak impulse until I'm comfortable that it can handle higher peak impulse engines. Good Luck! Ken_S. At 11:14 PM 11/27/2004, you wrote: >Ken, >The Gs you pull have alot to do with what you are flying "ie motor >size and rocket weight" I know alot of people that fly em all the >time stock with no problems. Let me know what your thinking of flying. > >JG~ > >--- In , Robotics_Job_Search ><Robotics_Job_Search@C...> wrote: > > > > I'm thinking of using a BasicX-24 in a Model Rocket and I'm >concerned > > about the Crystal. It seems so loosely connected that I'm afraid >that the > > acceleration will rip it right off the board! I think Model >Rockets can > > experience up to 50 Gs or so. Has anyone else used it in a Model >Rocket as > > is with out any problems? Suppose I tacked it to the CPU with some >Epoxy, > > anyone see any potential problems with that? Thanks!!! > > > > > > Good Luck! > > Ken_S. > > >Yahoo! Groups Links |
|
I'm working on a design that will ... * Sense the igniter voltage to start recording. * Every tenth of a second record Temperature, Air Pressure, and Acceleration. * Every Second click a digital camera. * After one minute turn on a SonAlert(r) to help find the rocket when it comes down. I'll build and test it one step at a time, but hopefully get it all working at once. Good Luck! Ken_S. At 08:29 AM 11/28/2004, you wrote: >Hi Ken! > >I'm Marcelo from Argentina, and suscribed that list, for the same reason! >I'm Rocket modelist, and I'm in search of develop with help of a few >friends, a multi-propuse flight computer, based on PIC, BasicX or >BasicStamp. > >I'm be very interested on what are you planning to design, and what succeess >you reach. Even if we can help in something, just let me know. > >BTW, sorry about my english.. I'm spanish speaking person :-) > >Marcelo >----- Original Message ----- >From: "Robotics_Job_Search" <> >To: <> >Sent: Saturday, November 27, 2004 6:48 PM >Subject: [BasicX] Using BasicX-24 in a Model Rocket > > > > > > I'm thinking of using a BasicX-24 in a Model Rocket and I'm concerned > > about the Crystal. It seems so loosely connected that I'm afraid that the > > acceleration will rip it right off the board! I think Model Rockets can > > experience up to 50 Gs or so. Has anyone else used it in a Model Rocket >as > > is with out any problems? Suppose I tacked it to the CPU with some Epoxy, > > anyone see any potential problems with that? Thanks!!! > > > > > > Good Luck! > > Ken_S. > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > >Yahoo! Groups Links |
|
>you can buy one of these and write your own program for it. Of course I could, but that would defeat the whole purpose of building it my self! Good Luck! Ken_S. At 11:36 AM 11/28/2004, you wrote: >To: ,<> >Subject: Re: [BasicX] Using BasicX-24 in a Model Rocket >you can buy one of these and write your own program for it. > >http://accelorocket.tripod.com/ > >I bought one for use in a high power rocket. There would be no reason you >could not trace out a schematic and use it for your own experimentation. > >best regards, Steve Thatcher |
|
my apologies for not knowing what you were trying to accomplish. What I suggested was
perfect for someone who wanted to just do software. Obviously you have hardware skills and
what to roll your own. Good luck! -----Original Message----- From: Robotics_Job_Search <> Sent: Nov 28, 2004 10:15 PM To: Subject: Re: [BasicX] Using BasicX-24 in a Model Rocket >you can buy one of these and write your own program for it. Of course I could, but that would defeat the whole purpose of building it my self! Good Luck! Ken_S. At 11:36 AM 11/28/2004, you wrote: >To: ,<> >Subject: Re: [BasicX] Using BasicX-24 in a Model Rocket >you can buy one of these and write your own program for it. > >http://accelorocket.tripod.com/ > >I bought one for use in a high power rocket. There would be no reason you >could not trace out a schematic and use it for your own experimentation. > >best regards, Steve Thatcher Yahoo! Groups Links |