{"product_id":"raspberry-pi-iot-in-python-using-linux-drivers-2nd-edition-paperback-1","title":"Raspberry Pi IoT In Python Using Linux Drivers, 2nd Edition - Paperback","description":"\u003cdiv\u003e\u003cp style=\"text-align: right;\"\u003e\u003ca href=\"https:\/\/reportcopyrightinfringement.com\/\" target=\"_blank\" rel=\"nofollow\"\u003e\u003cb\u003eReport copyright infringement\u003c\/b\u003e\u003c\/a\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003eby \u003cb\u003eMike James\u003c\/b\u003e (Author), \u003cb\u003eHarry Fairhead\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003eThe \u003cb\u003eRaspberry Pi\u003c\/b\u003e makes an ideal match for the Internet of Things. To put it to good use in IoT you need two areas of expertise, electronics and programming, and this presents a barrier to getting started. However, there is an overlooked route that can provide a shortcut. Pi OS, the Raspberry Pi's operating system, is Linux- based and Linux drivers are available for many off-the-shelf IoT devices. Using Linux drivers saves the effort of implementing low-level code and has the advantage of working the same on all versions of the Pi, including the recently launched Pi 5 which isn't hardware compatible with earlier versions. \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eThis \u003cb\u003eSecond Edition\u003c\/b\u003e has been updated to cover the Pi 5 and also the Pi Zero 2W, which is an ideal candidate for use in IoT projects. It has also been updated to use the latest versions of Pi OS, Bullseye and Bookworm. Throughout this book you will find a practical approach to understanding electronic circuits and datasheets and translating this to code, specifically using Python and VS Code. \u003cp\u003e\u003c\/p\u003eThe first IoT program anyone writes is \"Blinky\" to flash an LED and this book is no exception, but it might not be quite what you expect. Instead of using a GPIO line driver, it uses the Linux LED driver. The GPIO isn't left out, however, as the next three chapters focus on its use via the GPIO character driver, which replaces the old, but very common, sysfs GPIO driver. This is the way to do modern GPIO. \u003cp\u003e\u003c\/p\u003eA key component in any look at Linux and its relationship to hardware is the relatively new Device Tree. While most accounts of this resource are aimed at device driver writers, this one is aimed at device driver users and to this end we look at several devices, including the DHT22 temperature and humidity sensor. After a brief detour into some basic electronics, we see how Pulse Width Modulation is supported via a driver. From here we tackle the two standard buses, I2C and SPI, first going through the basics and then looking at the two attempts to impose a higher organization, the hardware monitoring system, hwmon, and Industrial I\/O, IIO. The 1-Wire bus is also covered in detail. The final chapter takes things to the next level and considers creating your own custom overlays by writing fragments to the device tree. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eHarry Fairhead\u003c\/b\u003e's other books include\u003ci\u003e\u003cb\u003e Applying C For The IoT With Linux\u003c\/b\u003e\u003c\/i\u003e; \u003ci\u003e\u003cb\u003eProgramming the Raspberry Pi Pico\/W, 2nd Ed\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eRaspberry Pi IoT in C, 3rd Ed\u003c\/b\u003e\u003c\/i\u003e, \u003cb\u003e\u003ci\u003eRaspberry Pi IoT in C Using Linux Drivers, 2nd Ed\u003c\/i\u003e\u003c\/b\u003e, \u003ci\u003e\u003cb\u003eProgramming the Raspberry Pi Pico\/W, 2nd Ed\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eProgramming the ESP32 in MicroPython\u003c\/b\u003e\u003c\/i\u003e. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eMike James\u003c\/b\u003e is the author of the \u003ci\u003e\u003cb\u003eProgrammer's Python: Something Completely Different\u003c\/b\u003e\u003c\/i\u003e series of books and several other programming and computer science titles in the I Programmer Library.\n            \u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 286\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.6 x 10 x 7 IN\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e January 23, 2024\u003c\/div\u003e\n            ","brand":"BooksCloud","offers":[{"title":"Default Title","offer_id":47213395706105,"sku":"9781871962864","price":51.23,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0789\/2782\/3097\/files\/abiA9vsqsk9781871962864_85c75050-d4cf-44a3-8496-11541de81bbf.webp?v=1768104733","url":"https:\/\/bookscloud.io\/products\/raspberry-pi-iot-in-python-using-linux-drivers-2nd-edition-paperback-1","provider":"BooksCloud Book Dropshipping","version":"1.0","type":"link"}