Inbetriebnahme der Pixy 2.1 mit Simulink: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
  7  8
  7  8
  9  10  
  9  10  
 
Die Verbindung der Pixy 2 mit dem Arduino erfolgt über das mitgelieferte 6-adrige Flachbandkabel.
 
{| class="wikitable"
{| class="wikitable"
! style="font-weight: bold;" | Pin
|+ style="text-align:left;"| Tabelle 1: Verbindung des 10P ICSP Anschlusses der Pixy 2 mit dem ISCP des Arduino Uno R3
! style="font-weight: bold;" | Pixy 2 || Arduino ICSP
|-
|-
| 1 || SPI MISO
! Pin !! Pixy 2 !! Arduino ICSP
|-
| 2 || VCC
|-
| 3 || SPI SCK
|-
| 4 || SPI MOSI
|-
| 5 || Reset
|-
| 6 || GND
|}
 
 
{| class="wikitable"
! style="font-weight: bold;" | Pin
! style="font-weight: bold;" | Pixy 2 | Arduino ICSP
|-
|-
| 1 || SPI MISO, UART RX, GPIO0 || SPI MISO
| 1 || SPI MISO, UART RX, GPIO0 || SPI MISO
Zeile 64: Zeile 46:


'''Problem:''' SPI SS (10P) ist mit Pin 5 des Arduino ICSP '''nicht''' verbunden.
'''Problem:''' SPI SS (10P) ist mit Pin 5 des Arduino ICSP '''nicht''' verbunden.
{| class="wikitable"
|+ style="text-align:left;"| Tabelle 2: ICSP Anschluss des Arduino Uno R3
|-
! Pin !! Arduino ICSP
|-
| 1 || SPI MISO
|-
| 2 || VCC
|-
| 3 || SPI SCK
|-
| 4 || SPI MOSI
|-
| 5 || Reset
|-
| 6 || GND
|}


= I2C Verbindung =
= I2C Verbindung =

Version vom 26. November 2025, 07:40 Uhr

Abb. 1: Kamerasystem Pixy 2.1
Autor: Prof. Dr.-Ing. Schneider


Hardware Verbindung mit Originalkabel (ISCP)

Originalartikel: Hooking up Pixy to a Microcontroller

Abb. 2: Verbindung Pixy 2.1 mit Flachbandkabel mit Arduino ICSP
Abb. 3: Verbindung Pixy 2.1 mit Flachbandkabel mit 10 poligem Stecker
Abb. 4: ICSP des Arduino R3

Steckerbelegung an der Pixy 2.1 (10P)

1  2
3  4
5  6
7  8
9  10 

Die Verbindung der Pixy 2 mit dem Arduino erfolgt über das mitgelieferte 6-adrige Flachbandkabel.

Tabelle 1: Verbindung des 10P ICSP Anschlusses der Pixy 2 mit dem ISCP des Arduino Uno R3
Pin Pixy 2 Arduino ICSP
1 SPI MISO, UART RX, GPIO0 SPI MISO
2 5 V VCC
3 SPI SCK, DAC OUT, GPIO1 SPI SCK
4 SPI MOSI, UART TX, GPIO2 SPI MOSI
5 I2C SCL Reset
6 GND GND
7 SPI SS, ADC IN, GPIO3 NC
8 GND NC
9 I2C SDA NC
10 GND NC

Problem: SPI SS (10P) ist mit Pin 5 des Arduino ICSP nicht verbunden.

Tabelle 2: ICSP Anschluss des Arduino Uno R3
Pin Arduino ICSP
1 SPI MISO
2 VCC
3 SPI SCK
4 SPI MOSI
5 Reset
6 GND

I2C Verbindung

Pin Pixy 2 | Arduino
1 SPI MISO, UART RX, GPIO0 NC
2 5 V VCC
3 SPI SCK, DAC OUT, GPIO1 NC
4 SPI MOSI, UART TX, GPIO2 NC
5 I2C SCL SCL
6 GND NC
7 SPI SS, ADC IN, GPIO3 NC
8 GND NC
9 I2C SDA SDA
10 GND GND

→ zurück zum Hauptartikel: Kamerasensor_Pixy_2.1