planktoscope/docs/hat_hardware.md

47 lines
789 B
Markdown
Raw Normal View History

2021-02-22 21:08:46 +01:00
# PlanktoScope Hat Hardware
## Buses and GPIO pinout
### I2C1 Bus
#### RTC RV-3028-C7
Address 0x52
Configured through a kernel driver.
#### OLED Display
Address 0x3c
### SPI0 Bus
#### Motor Controller 0: TMC5160
Chip Enable: SPI0_CE0
Motor Enable: GPIO23
Diagnostic output:
GPIO16 for Error output
GPIO20 for Stall output
#### Motor Controller 1: TMC5160
Chip Enable: SPI0_CE1
Motor Enable: GPIO5
Diagnostic output:
GPIO16 for Error output
GPIO20 for Stall output
### GPIO
#### Fan control
PWM1 control through GPIO13
#### LED0 control
2021-02-26 16:49:45 +01:00
PWM dimming frequency range: 6.5 kHz to 100 kHz
2021-02-22 21:08:46 +01:00
PWM0 control through GPIO18
#### LED1 control
2021-02-26 16:49:45 +01:00
PWM dimming frequency range: 6.5 kHz to 100 kHz
2021-02-22 21:08:46 +01:00
PWM0 control through GPIO12
### I2C0 Bus
#### EEPROM M24C32
Address 0x50
For HAT information only.