Scratch Building Raspberry Pi 4B IOT Hardware – Day 2
Now that we have established and verified our Raspberry Pi 4B baseline configuration we can now put our Raspberry Pi 4B-based IoT platform to work. Today we will code a TCP/IP socket application that targets the Raspberry Pi 4B's GPIO subsystem. We will code a C-based application to manipulate the Raspberry Pi 4B's native set of GPIO pins. We will also use a TCP/IP connection to toggle the GPIO pins of a Microchip MCP23S17 I/O Expander which will be mounted on the Pi 4 click shield. In addition, today's lecture content will include a TCP/IP socket application that reports temperature and humidity gleaned from a Raspberry Pi 4B-supported CM2322 temperature/humidity sensor which is also mounted on the Pi 4 click shield. The firmware component of today's GPIO lecture will consist of a simple TCP/IP socket application followed up by a thread-based socket application.
Part List
| Immagine | Codice produttore | Descrizione | Quantità disponibile | Prezzo | Vedi i dettagli | |
|---|---|---|---|---|---|---|
![]() | ![]() | SC0193(11) | SBC 1.5GHZ 4 CORE 2GB PI 4 MOD B | 100 - Immediatamente | $47.33 | Vedi i dettagli |
![]() | ![]() | SC0194(9) | SBC 1.5GHZ 4 CORE 4GB PI 4 MOD B | 25 - Immediatamente | $64.55 | Vedi i dettagli |
![]() | ![]() | MIKROE-4122 | PI 4 CLICK SHIELD | 30 - Immediatamente | $25.82 | Vedi i dettagli |








