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
| 이미지 | 제조업체 부품 번호 | 제품 요약 | 주문 가능 수량 | 가격 | 세부 정보 보기 | |
|---|---|---|---|---|---|---|
![]() | ![]() | SC0193(11) | SBC 1.5GHZ 4 CORE 2GB PI 4 MOD B | 12575 - 즉시 | $84,942.00 | 세부 정보 보기 |
![]() | ![]() | SC0194(9) | SBC 1.5GHZ 4 CORE 4GB PI 4 MOD B | 19989 - 즉시 | $115,830.00 | 세부 정보 보기 |
![]() | ![]() | MIKROE-4122 | PI 4 CLICK SHIELD | 30 - 즉시 | $46,332.00 | 세부 정보 보기 |






