Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | ADXL Accelerometer Question

Discussion forum for the BasicX family of microcontroller chips.

ADXL Accelerometer Question - Vic Fraenckel - Jun 3 13:44:00 2001

I have an ADXL202 accelerometer attached to my BX24. I have things working
fairly well. The ADXL is being used as a tiltmeter. When I place it level
(x-axis perpindicular to the gravity field) the x-axis output converts to
approximatly 6.5 degrees. I have the system set up level to within 1 or 2
degrees and expected to read this as the x-axis tilt. I am unable to figure
out what the problem is. Yes I have read the 'Attaching the ADXL202 to a
BX24' and have closely followed the code examples. I am using the ADXL202EB
(Stamp sized) for my application. I am particulary interested in
understanding how to calibrate the accelerometer.

I would like to correspond with anyone that has successfully attached a
ADXL202 to a BX24. Any enlightenment would be appreciated. Please e-mail me
directly PLEASE.

TIA

Vic
________________________________________________________

Victor Fraenckel - The Windman
KC2GUI www.windsway.com

Home of the WindReader Electronic Theodolite
Read the WIND





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


RampackB trouble - Paul J. Csonka - Jul 8 15:32:00 2001

Good afternoon,

I have a rampackb which I'm unable to use correctly with my bx24.

From my input queue, I always read the same data as what I had
sent in my outbuffer queue. The Tm and Fm pins are tied together, as I
will either talk or listen, never both.

Is there any trick to getting this to work? I send the sync bit,
the command, and high and low address bytes, followed by the data byte.

I know Dan B. had mentioned the serial pin (com3) must be in input
pullup. Any other tips?
Thank you for your help,
Paul





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: RampackB trouble - Dan Bielecki - Jul 9 5:26:00 2001

If the TM and FM pins are tied together (one wire option) then the original
command will be echoed in the receive queue. This is because the command is
being transmitted out...but since the pins are tied together...the command
command comes right back in on the receive pin. You can account for this
by using my ClearQueue( ) routine (posted in the files section with the
StampMEM utilities) This will clear the inbound queue of the echo. Make
a call to ClearQueue( ) just after the pin goes input pull-up and use the
time the RamPack is internally fetching data to clear your receive queue and
prepare for it to be transmitted.

.db.

-----Original Message-----
From: Paul J. Csonka [mailto:]
Sent: Sunday, July 08, 2001 01:32 PM
To: BasicX Maillist
Subject: [BasicX] RampackB trouble Good afternoon,

I have a rampackb which I'm unable to use correctly with my bx24.

From my input queue, I always read the same data as what I had
sent in my outbuffer queue. The Tm and Fm pins are tied together, as I
will either talk or listen, never both.

Is there any trick to getting this to work? I send the sync bit,
the command, and high and low address bytes, followed by the data byte.

I know Dan B. had mentioned the serial pin (com3) must be in input
pullup. Any other tips?
Thank you for your help,
Paul
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )