Discussion forum for the BasicX family of microcontroller chips.
|
I have been trying to use the ADXL202 accelerometer with my BX24. I have both the ADXL202EB (2 of them) and the AT6 unit from Technology Electronics. I am using the software contained in the BasicX application note to compute the period and the acceleration. I have been unable to get any results that appear reasonable. I have come to suspect that the problem lies in the pulsein command. Is it possible that it is not capturing the proper pulse widths? If the chip is vertical (top surface of the chip perpindicular to the ground) I believe the acceleration should be around 1g and if the chip is horizontal the acceleration should be around 0g. Is this correct? I have worked with two ADXL202EBs and one AT6 and cannot get values like this. The application note software appears to be correct. I would appreciate hearing from anyone that has ACTUALLY used one of these critters and has made it work. I would appreciate it if you would send me a copy of any response to the maillist as I only get the list in digest form once a day. TIA Vic _____________________________________________________ Victor Fraenckel - The Windman www.windsway.com Home of the WindReader Electronic Theodolite Read the WIND |
|
|
|
my adxl02 accelerometer is not digital output - it is analog output that is generally scaled to 5volts - max output of chip like 2g = 5volts run chip output into available bx24 pin and do a "go read the a/d" comand horizontal = 2.5 volts upside down = 5 volts rightside up - 0 volts though circuit may be offset -2.5 volts for -2.5 to 0 to +2.5 I havent seen the app notes but the accelerometer works great - I suspect major problems is that this is analog output chip richard ----- Original Message ----- From: Victorf <> To: BasicX Maillist <> Sent: Thursday, July 13, 2000 9:09 AM Subject: [BasicX] ADXL202 Accelerometer > I have been trying to use the ADXL202 accelerometer with my BX24. I have > both the ADXL202EB (2 of them) and the AT6 unit from Technology Electronics. > I am using the software contained in the BasicX application note to compute > the period and the acceleration. I have been unable to get any results that > appear reasonable. I have come to suspect that the problem lies in the > pulsein command. Is it possible that it is not capturing the proper pulse > widths? If the chip is vertical (top surface of the chip perpindicular to > the ground) I believe the acceleration should be around 1g and if the chip > is horizontal the acceleration should be around 0g. Is this correct? I have > worked with two ADXL202EBs and one AT6 and cannot get values like this. > > The application note software appears to be correct. > > I would appreciate hearing from anyone that has ACTUALLY used one of these > critters and has made it work. I would appreciate it if you would send me a > copy of any response to the maillist as I only get the list in digest form > once a day. > > TIA > > Vic > _____________________________________________________ > > Victor Fraenckel - The Windman > > www.windsway.com > Home of the WindReader Electronic Theodolite > Read the WIND > > ------------------------------------------------------------------------ > Free yourself! > Get 1 month of FREE* Internet access from MSN! > http://click.egroups.com/1/6322/8/_/565855/_/963498631/ > ------------------------------------------------------------------------ |
|
|
|
On Thu, 13 Jul 2000 10:09:44 -0400, "Victorf" <> wrote: > I would appreciate hearing from anyone that has ACTUALLY used one of these > critters and has made it work. I would appreciate it if you would send me a > copy of any response to the maillist as I only get the list in digest form > once a day. Vic, Did you mount the resistor and the 2 capacitors on the eval board? I have a 202 EB and a 210 EB, and they both work great with the BasicX-24. You should use a 120K resistor, and a pair of 0.1 uF capacitors where indicated. Later, Jon -------------------------------------------------------------- Jon Hylands http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com |
|
I have on my breadboard right now the ADXL202EB. You need to solder two capacitators and a resistor onto the evaluation board. I hooked it up as shown in the BasicX documentation and used the program examples. The examples show the gravity in cm/S^2. The force of gravity is 981 cm/S^2. That is 1g of gravity equals 981 cm/S^2. I had to adjust the constants a little bit (the documentaiton for the ADXL's state that they will all be a little different form each other), but when I stand it on end it reads about 981 and when I flip it over it reads about -981. When I lay it down flat on the table it reads 0. The other example shows the tilt of the accelorometer. In the vertical position it reads around 0 or 360. As I rotate it the reading changes to reflect the angle. My first attempt, which was also my first experiance at useing the BasicX-24 was unsuccessful. Forgot the capacitators and the resistor. Rick --- In , "Victorf" <vfraenc1@n...> wrote: > I have been trying to use the ADXL202 accelerometer with my BX24. I have > both the ADXL202EB (2 of them) and the AT6 unit from Technology Electronics. . . . . . . > copy of any response to the maillist as I only get the list in digest form > once a day. > > TIA > > Vic > _____________________________________________________ > > Victor Fraenckel - The Windman vfraenc1@n... > > www.windsway.com > Home of the WindReader Electronic Theodolite > Read the WIND |
|
Where do you guys buy an ADXL202 ? Raphael Houri ----- Original Message ----- From: <> To: <> Sent: Thursday, July 13, 2000 6:50 PM Subject: [BasicX] Re: ADXL202 Accelerometer > I have on my breadboard right now the ADXL202EB. You need to solder > two capacitators and a resistor onto the evaluation board. I hooked > it up as shown in the BasicX documentation and used the program > examples. > The examples show the gravity in cm/S^2. The force of gravity is 981 > cm/S^2. That is 1g of gravity equals 981 cm/S^2. > I had to adjust the constants a little bit (the documentaiton for the > ADXL's state that they will all be a little different form each > other), but when I stand it on end it reads about 981 and when I flip > it over it reads about -981. When I lay it down flat on the table it > reads 0. > The other example shows the tilt of the accelorometer. In the > vertical position it reads around 0 or 360. As I rotate it the > reading changes to reflect the angle. > My first attempt, which was also my first experiance at useing the > BasicX-24 was unsuccessful. Forgot the capacitators and the resistor. > > Rick > --- In , "Victorf" <vfraenc1@n...> wrote: > > I have been trying to use the ADXL202 accelerometer with my BX24. I > have > > both the ADXL202EB (2 of them) and the AT6 unit from Technology > Electronics. > . . . . . . > > copy of any response to the maillist as I only get the list in > digest form > > once a day. > > > > TIA > > > > Vic > > _____________________________________________________ > > > > Victor Fraenckel - The Windman vfraenc1@n... > > > > www.windsway.com > > Home of the WindReader Electronic Theodolite > > Read the WIND > ------------------------------------------------------------------------ > The future belongs to Wireless. > Learn Wireless Development Now! > http://click.egroups.com/1/6355/8/_/565855/_/963541098/ > ------------------------------------------------------------------------ |
|
|