domenica 15 dicembre 2019

The analog accelerometer



These will be 12, of type ADXL 335 - 3 axis analog output accelerometer:

ADXL335-3-axis-Analog-Output-Accelerometer-Module-angular-transducer-for-Arduino







Power consumption is 1.5 mA and it has 3.3 regulator allowing 3 - 5 v powering.



Risultati immagini per .662k smd

I will put one of these analog accelerometer on each servo motor with the 3M dual lock, that is strong and allow removal and replacement.



giovedì 12 dicembre 2019

Review of the i2c Addresses with the new hardware


New i2c scan is as follow now, after changing the hardware.

AB Electronics ADC PI
Adafruit PWM Hat

pi@raspberrypi:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 69 6a 6b 6c 6d -- --
70: 70 -- -- -- -- -- -- -- 

Where each address is taken as per the below table:

40: Adafruit 16 Channels PWM Hat

68: AB Electr ADC PI board 1 chip 1

69: AB Electr ADC PI board 1 chip 2

6a: AB Electr ADC PI board 2 chip 1

6b: AB Electr ADC PI board 2 chip 2

6c: AB Electr ADC PI board 3 chip 1

6d: AB Electr ADC PI board 3 chip 2

70: Adafruit 16 Channels PWM Hat.. this must be a second address used by Adafruit 16 Channels PWM Hat