domenica 6 dicembre 2020

 Mechanics completed, via REST endpoints the pi4j Spring Boot implementation executes simple commands, like stand up and tilt on each leg.







Current consumption calculation for PI GPIO:

10mA Raspberry PI servo hat

12 x 350µA for adxl 335 accelerometers 8400 µA 0 4,2 milli Ampere


The operating voltage of the GPIO pins is 3.3v with a maximum current draw of 16mA



mercoledì 13 maggio 2020

Software installation

Java:
sudo apt-get install openjdk-8-jre-headless -y


WiringPi:
http://wiringpi.com/

sudo apt-get install wiringpi

Pi4J:

https://pi4j.com/1.2/install.html

curl -sSL https://pi4j.com/install | sudo bash


Tss:
https://gitlab.com/stefano.falconetti/tss

sabato 2 maggio 2020

Mapping between PCA9685 PWM i2c controller and leg segments:


PWM I2C controller pin number
Leg segment
00
A0
01
A1
02
A2
03
D3
04
D4
05
D5
06
C6
07
C8
08
C7
09
B9
10
B11
11
B10


Power voltage: 5v
Power current all legs and segments active: