RPICT Development Datasheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 62: | Line 62: | ||
* PD0 (Arduino Pin 0) is RXD. | * PD0 (Arduino Pin 0) is RXD. | ||
* PD1 (Arduino Pin 1) is TXD. | * PD1 (Arduino Pin 1) is TXD. | ||
==Other Pins== | |||
===Stacking connector top-right=== | |||
{| class="wikitable" | |||
|+ | |||
|- | |||
| PC6 (RST) | |||
| PB5 (SCK) | |||
| PB4 (MISO) | |||
| [R8] | |||
| [R6] | |||
| n/c | |||
|- | |||
| Gnd | |||
| PB3 (MOSI) | |||
| 3.3v | |||
| [R9] | |||
| [R7] | |||
| n/c | |||
|- | |||
|} | |||
===Slave select headers=== | |||
{| class="wikitable" | |||
|+ | |||
|- | |||
| PD6 | |||
| PD7 | |||
| PB0 | |||
| PB1 | |||
|- | |||
| [R6] | |||
| [R7] | |||
| [R8] | |||
| [R9] | |||
|- | |||
| PB2 (used) | |||
| PB2 (used) | |||
| PB2 (used) | |||
| PB2 (used) | |||
|- | |||
|} | |||
==Library== | ==Library== |
Latest revision as of 13:08, 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.
Other Pins
Stacking connector top-right
PC6 (RST) | PB5 (SCK) | PB4 (MISO) | [R8] | [R6] | n/c |
Gnd | PB3 (MOSI) | 3.3v | [R9] | [R7] | n/c |
Slave select headers
PD6 | PD7 | PB0 | PB1 |
[R6] | [R7] | [R8] | [R9] |
PB2 (used) | PB2 (used) | PB2 (used) | PB2 (used) |
Library
See RPICTlib.h for function descriptions.