RPICT Development Datasheet: Difference between revisions
Jump to navigation
Jump to search
Line 64: | Line 64: | ||
==Stacking Connector== | ==Stacking Connector== | ||
{| class="wikitable" | |||
|+ | |||
|- | |||
|Master | |||
|PB2 | |||
|10 | |||
|- | |||
|Slave 1 | |||
|PD6 | |||
|6 | |||
|- | |||
|Slave 2 | |||
|PD7 | |||
|7 | |||
|- | |||
|Slave 3 | |||
|PB0 | |||
|8 | |||
|- | |||
|Slave 4 | |||
|PB1 | |||
|9 | |||
|- | |||
|} | |||
==Library== | ==Library== |
Revision as of 12:57, 3 November 2020
RPICT with MCP3208 Version 3
Applies to :
- RPICT7V1 Version 2
- RPICT7V1 Version 3
- RPICT8 Version 3.0
- RPICT8 Version 1.3
- RPICT4V3 Version 2
- RPICT4V3 Version 3
- RPI_LCT4V3
- RPI_LCT8
Generalities
Microcontroller: Atmega328p
ADC: MCP3208
ADC
ADC is accessed using standard SPI port on Atmega328p using pins MISO MOSI SCK.
Chip select differs according to board type slave or master.
Board Type | Atmel Pin | Arduino Pin |
---|---|---|
Master | PB2 | 10 |
Slave 1 | PD6 | 6 |
Slave 2 | PD7 | 7 |
Slave 3 | PB0 | 8 |
Slave 4 | PB1 | 9 |
- ADC bits: 12
- ADC Reference: 3300mV
Serial Port
Standard UART is used on Atmega328.
- PD0 (Arduino Pin 0) is RXD.
- PD1 (Arduino Pin 1) is TXD.
Stacking Connector
Master | PB2 | 10 |
Slave 1 | PD6 | 6 |
Slave 2 | PD7 | 7 |
Slave 3 | PB0 | 8 |
Slave 4 | PB1 | 9 |
Library
See RPICTlib.h for function descriptions.