schematic or link for an accelerometer LED circuit that DOESN'T use a microcontroller?

Thread Starter

hbasile91

Joined Dec 6, 2020
130
For some reason my arduino gear isn't working at the moment, so I have been scouring the internet for help building a NON-MICROCONTROLLER circuit where an LED is controlled by an accelerometer.

It can use ICs and transistors, but no microcontroller

My model accelerometer is the ADXL 345

anyone know how to wire it or where to find a schematic?!

any information that will help me is appreciated!!!
Thanks!!!
 

djsfantasi

Joined Apr 11, 2010
7,769
Do you have the bare ADXL 345 chip? It uses either an SPI or I2C interface, and implementing either without a microcontroller would entail building a microcontroller with discrete components. Not practical.
 

Papabravo

Joined Feb 24, 2006
16,513
If the exotic tools don't work, let's try knives and stone axes. Yeah...that's the ticket!
The proper solution is to divide and conquer. Can you elaborate on what is not working? When you send a byte of data on the SPI do you get a byte of data back from the ADXL 345?
If using the I2C can you send the slave address and get an ACK pulse from the ADXL 345?
You need to be able to answer at least one of those questions, or perhaps you have not even gotten that far. No problem, how far have you gotten so far?
 

jpanhalt

Joined Jan 18, 2008
11,088
Welcome to AAC.

The Memsic MXD2020E/F will do what you want. It has both a digital output and analog PWM output. A low-pass filter will convert the PWM to a DC voltage from which you can determine the inclination/acceleration. The datasheet even shows a suggested circuit for doing that. It is just 2-axis:
http://www.memsic.com/uploadfiles/2020/08/20200828111149489.pdf I have several and it is quite sensitive and stable.

I believe Memsic has discontinued new shipments, but Digikey seems to still have it:
https://www.digikey.com/en/products/detail/memsic-inc/MXD2020EL/5052783
Other distributors may have them as well.

Apparently, Digikey wants to unload what it's holding, so the minimum is 2500. It was also available on a BOB. Memsic may still make another analog version. I haven't checked.
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
Welcome to AAC.

The Memsic MXD2020E/F will do what you want. It has both a digital output and analog PWM output. A low-pass filter will convert the PWM to a DC voltage from which you can determine the inclination/acceleration. The datasheet even shows a suggested circuit for doing that. It is just 2-axis:
http://www.memsic.com/uploadfiles/2020/08/20200828111149489.pdf I have several and it is quite sensitive and stable.

I believe Memsic has discontinued new shipments, but Digikey seems to still have it:
https://www.digikey.com/en/products/detail/memsic-inc/MXD2020EL/5052783
Other distributors may have them as well.

Apparently, Digikey wants to unload what it's holding, so the minimum is 2500. It was also available on a BOB. Memsic may still make another analog version. I haven't checked.

Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
Welcome to AAC.

The Memsic MXD2020E/F will do what you want. It has both a digital output and analog PWM output. A low-pass filter will convert the PWM to a DC voltage from which you can determine the inclination/acceleration. The datasheet even shows a suggested circuit for doing that. It is just 2-axis:
http://www.memsic.com/uploadfiles/2020/08/20200828111149489.pdf I have several and it is quite sensitive and stable.

I believe Memsic has discontinued new shipments, but Digikey seems to still have it:
https://www.digikey.com/en/products/detail/memsic-inc/MXD2020EL/5052783
Other distributors may have them as well.

Apparently, Digikey wants to unload what it's holding, so the minimum is 2500. It was also available on a BOB. Memsic may still make another analog version. I haven't checked.

Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
Welcome to AAC.

The Memsic MXD2020E/F will do what you want. It has both a digital output and analog PWM output. A low-pass filter will convert the PWM to a DC voltage from which you can determine the inclination/acceleration. The datasheet even shows a suggested circuit for doing that. It is just 2-axis:
http://www.memsic.com/uploadfiles/2020/08/20200828111149489.pdf I have several and it is quite sensitive and stable.

I believe Memsic has discontinued new shipments, but Digikey seems to still have it:
https://www.digikey.com/en/products/detail/memsic-inc/MXD2020EL/5052783
Other distributors may have them as well.

Apparently, Digikey wants to unload what it's holding, so the minimum is 2500. It was also available on a BOB. Memsic may still make another analog version. I haven't checked.


Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
Do you have the bare ADXL 345 chip? It uses either an SPI or I2C interface, and implementing either without a microcontroller would entail building a microcontroller with discrete components. Not practical.



Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
If the exotic tools don't work, let's try knives and stone axes. Yeah...that's the ticket!
The proper solution is to divide and conquer. Can you elaborate on what is not working? When you send a byte of data on the SPI do you get a byte of data back from the ADXL 345?
If using the I2C can you send the slave address and get an ACK pulse from the ADXL 345?
You need to be able to answer at least one of those questions, or perhaps you have not even gotten that far. No problem, how far have you gotten so far?



Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 

Thread Starter

hbasile91

Joined Dec 6, 2020
130
Do you have the bare ADXL 345 chip? It uses either an SPI or I2C interface, and implementing either without a microcontroller would entail building a microcontroller with discrete components. Not practical.


Thanks guys!

I just realized that my accelerometer is of the digital variety, so its not gonna work with the parts I have lying around...gotta buy an analog accelerometer for what I wanted to work.

Thanks for the help!
 
Top