Raspberry PI Project
Raspberry PI Project
• The purpose of this project (STEP1) is to drive Raspberry pi -1- board by another
raspberry pi -2- through local host, Ethernet cable
Get stream video from camera plugged on Pi -1-
Display the streamed video on Connected monitor on Raspberry -2-
Raspberry -2- drive the relays connected to Raspberry -1-
2
Raspberry PI characterizations
• Raspberry PI 3B+
Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
1GB RAM
BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
100 Base Ethernet
40-pin extended GPIO
4 USB 2 ports
4 Pole stereo output and composite video port
Full size HDMI
CSI camera port for connecting a Raspberry Pi camera
DSI display port for connecting a Raspberry Pi touchscreen display
Micro SD port for loading your operating system and storing data
Upgraded switched Micro USB power source up to 2.5A
3
STM32F469-DISCO characterizations
4
16-Channel 12V Relay Module
• This is a 12V 16-Channel Relay interface board, Be able to control various appliances, and other equipment
with large current. It can be controlled directly by Micro-controller (Raspberry Pi, Arduino , 8051, AVR, PIC,
DSP, ARM, ARM, MSP430, TTL logic) .
5
Block diagram
Monitor
16 channels Relay
module
RJ45 cable
STM32F469-DISCO Pi2 Pi1 Pi-Camera
6
Block diagram
RJ45 Cable
HDMI Cable
7
Power
8
Ethernet connection /Static IP address
9
STM32F469-DISCO: Software
10
GPIOs in Pi-1
The GPIOs highlighted are used/connected to
STM32F469-DISCO board to drive the 16 channels in
Relay module connected to Pi-2
PA1 GPIO4
PA2 GPIO17
PA6 GPIO27
PA7 GPIO22
PB1 GPIO5
PB14 GPIO6
PB15 GPIO13
PC2 GPIO19
PC3 GPIO26
PC4 GPIO18
PG9 GPIO23
PG10 GPIO24
PG11 GPIO25
PG12 GPIO12
PG13 GPIO16
PG14 GPIO20 11
GPIOs in Pi-2
Pullup is needed for each pin to
Drive the channels (5V instead of The GPIOs highlighted are used/connected to
Provided 3.3V for each pin) STM32F469-DISCO board to drive the 16 channels in
Relay module connected to Pi-2
Channel1 GPIO4
Channel2 GPIO17
Channel3 GPIO27
Channel4 GPIO22
Channel5 GPIO5
Channel6 GPIO6
Channel7 GPIO13
Channel8 GPIO19
Channel9 GPIO26
Channel10 GPIO18
Channel11 GPIO23
Channel12 GPIO24
Channel13 GPIO25
Channel14 GPIO12
Channel15 GPIO16
Channel16 GPIO20 12
Client side
• Camera enabled and buffering launched using the following command line:
Raspivid -t 0 -l -o tcp://0.0.0.0:3333
13
Server Side
14
Thank you
16