Advanced Raspberry Pi. Raspbian Linux and GPIO Integration [2nd ed.]
Book information
Description
Contents......Page 3 SBC Inventory......Page 22 Models......Page 23 Raspberry Pi Model B......Page 24 Raspberry Pi 2 Model B......Page 26 Raspberry Pi 3 Model B......Page 28 Raspberry Pi 3 Model B+......Page 30 Raspberry Pi Zero......Page 31 Raspberry Pi Zero W......Page 33 Which Model?......Page 34 Static IP Address......Page 35 Using SSH......Page 36 VNC......Page 39 Summar y......Page 45 Power......Page 46 Calculating Power......Page 47 Current Requirement......Page 48 Volt Power......Page 49 P ower Adapters......Page 50 Battery Power......Page 55 Signs of Insufficient Power......Page 61 Summary......Page 62 Status LEDs......Page 63 Original Header P1......Page 64 Revised GPIO Header P1......Page 65 Revision 2.0 GPIO Header P1......Page 67 Summary......Page 70 /proc/meminfo......Page 71 Physical Memory......Page 80 Memory Mapping......Page 82 Virtual Memory......Page 87 Summary......Page 88 /proc/cpuinfo......Page 89 ARM Architecture......Page 90 F eatures......Page 92 Execution Environment......Page 93 Threads......Page 94 Mutexes......Page 104 Condition Variables......Page 108 Summary......Page 114 P ower......Page 115 P owered Hubs......Page 116 EZ-USB FX2LP......Page 117 Device Introduction......Page 119 USB API Support......Page 120 Raspbian Linux Installs......Page 121 USB Demonstration......Page 130 The Demonstration......Page 144 Summary......Page 147 Wired Ethernet......Page 148 Wireless Configuration......Page 152 Pi Direct......Page 157 Rule Checking......Page 168 Security......Page 169 Summary......Page 170 SD Card Media......Page 171 SD Card Basics......Page 172 Raspbian Block Size......Page 173 T ransfer Modes......Page 175 Direct File System Mounts......Page 178 Image Files......Page 181 Summary......Page 182 RS-232 Converter......Page 183 RS-232......Page 186 Raspberry Pi UARTs......Page 194 UART GPIO Pins......Page 202 Summary......Page 203 Pins and Designations......Page 204 Pull-Up Resistors......Page 207 Drive Strength......Page 210 Logic Levels......Page 212 Output Pins......Page 213 Alternate Function......Page 221 Summary......Page 224 /sys/c lass/gpio......Page 225 GPIO Test Script......Page 232 GPIO Input Test......Page 233 Summary......Page 236 Edge Events......Page 237 Direct Register Access......Page 244 Demonstration Program......Page 251 T ransistor Driver......Page 254 Summary......Page 257 -Wire Line and Power......Page 258 Line Driving......Page 259 Protocol......Page 260 Configuration......Page 263 Reading Temperature......Page 265 Summar y......Page 271 C Overview......Page 272 SDA and SCL......Page 273 Bus Signaling......Page 274 Message Formats......Page 275 C Bus Speed......Page 277 C Tools......Page 278 MCP23017......Page 279 C API......Page 287 Summary......Page 294 SPI Basics......Page 295 SPI Mode......Page 296 Signaling......Page 297 Slave Selection......Page 299 Driver Support......Page 300 SPI API......Page 301 SPI Testing......Page 311 Summary......Page 314 Booting ARM Linux......Page 315 Boot Files......Page 317 config.txt......Page 318 cmdline.txt......Page 338 vcgencmd Commands......Page 348 Option measure_clock......Page 352 Option measure_volts......Page 354 Option codec_enabled......Page 355 otp_dump......Page 356 Pi Zero / Zero W......Page 359 Serial Console......Page 364 Summary......Page 366 T erminology......Page 367 Host, Guest, Build, and Target......Page 369 Planning Your Cross-Development Environment......Page 372 Building the Cross-Compiler......Page 373 Cross-Compiler Configuration......Page 380 Build Cross-Compiler......Page 393 Summary......Page 397 Cross-Compiling the Kernel......Page 398 Kernel Source Code......Page 399 make mrproper......Page 400 zImage modules dtbs......Page 402 Native Install Kernel Image......Page 403 The Smoke Test......Page 406 Summary......Page 407 Characteristics......Page 408 Circuit......Page 410 Protocol......Page 411 Demonstration......Page 426 Summary......Page 427 Project Overview......Page 428 Connector Pin-Out......Page 429 Enable I2C......Page 431 Testing the Connection......Page 432 C Protocol......Page 433 Linux uinput Interface......Page 436 X-Window......Page 448 Testing the Nunchuk......Page 449 The Program......Page 453 Summary......Page 458 The Display Unit......Page 459 Installation......Page 461 Plugging In......Page 469 Power......Page 470 Connections......Page 471 Summary......Page 472 DS3231 Overview......Page 473 Hookup......Page 475 Register Map......Page 477 Reading from DS3231......Page 491 Writing to DS3231......Page 492 Reading Temperature......Page 493 Demo Time......Page 495 Hz Square Wave......Page 496 Kernel Support......Page 497 Summary......Page 498 Hookup......Page 500 Camera......Page 503 Commands......Page 504 Summar y......Page 506 Power Standards......Page 507 Ohm’s Law......Page 508 Units......Page 509 Biblio......Page 510 Index......Page 513
Similar books
Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC (Maker Innovations Series)
2024 · EPUB
Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC
2024 · EPUB
Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC
2024 · PDF
Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC, 2nd Edition
2024 · PDF
FreeRTOS for ESP32-Arduino: Practical Multitasking Fundamentals
2020 · PDF
RISC-V Assembly Language Programming. Using ESP32-C3 and QEMU
2022 · PDF
Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
2018 · PDF
Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
2018 · EPUB