Difference between revisions of "RPICT Development Datasheet"

From lechacal
Jump to: navigation, search
(RPICT with MCP3208)
(Library)
 
(11 intermediate revisions by one user not shown)
Line 12: Line 12:
 
* RPI_LCT4V3
 
* RPI_LCT4V3
 
* RPI_LCT8
 
* RPI_LCT8
 +
 +
==Generalities==
 +
[[File:28960-pinout.jpg]]
 +
 +
'''Microcontroller''': Atmega328p<br>
 +
'''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.
 +
 +
{| class="wikitable" 
 +
|+
 +
|-
 +
!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.
 +
 +
==Library==
 +
 +
[http://lechacal.com/RPICT/RPICTlib/RPICTlib_v1.1.0.zip RPICTlib_v1.1.0.zip]
 +
 +
See RPICTlib.h for function descriptions.

Latest revision as of 12:15, 6 November 2019


RPICT with MCP3208

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

28960-pinout.jpg

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.

Library

RPICTlib_v1.1.0.zip

See RPICTlib.h for function descriptions.