BookShared
  • MEMBER AREA    
  • Programming the Raspberry Pi Pico/W in MicroPython, Second Edition

    (By Harry Fairhead)

    Book Cover Watermark Read Online
    ×
    Size 28 MB (28,087 KB)
    Format PDF
    Downloaded 682 times
    Last checked 15 Hour ago!
    Author Harry Fairhead
    “Book Descriptions: Reviews of the first edition:"Obviously the author knows his stuff. I love the writing style and helpful hints to deal with python limitations.""Book contains many nuggets of info not found in other books."Important Information:This Kindle is a Print Replica Format. The reason for this is that we regard paging as essential for programming books however this means it only works on Fire Tablets and Kindle Reading Apps.Check to see if your device is supported!The Raspberry Pi Pico is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short time ago. For the sort of jobs it is ideal for, it has plenty of processing power and enough memory to make tasks that would have once required careful planning, relatively easy. Instead of struggling with the machine, you can now focus on a good implementation of your algorithms.MicroPython is a good choice of language to program the Pico. It isn’t the fastest way, but in most cases it is fast enough to interface with the Pico’s hardware and its big advantage is that it is easy to use. As a high-level language, MicroPython is based on Python 3 and is fully object-oriented. This means that you can create classes to encapsulate hardware and make it easier to use and understand.The purpose of the book is to reveal what you can do with the Pico's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus. One of the key advantages of the Pico is its PIO (Programmable I/O) and while this is an advanced feature, it is introduced in this book. After finding out how the PIO works, we apply it to writing a PIO program for the DHT22 and the 1-Wire bus.The original Pico lacked WiFi connectivity, a limitation overcome by the launch of the Pico W. Two new chapters are dedicated to how to make use of the additional features of the Pico W including how to create a web client and a web server, use HTTPS and asyncio.Jointly authored by Harry Fairhead and Mike James, this book is along the same lines as Programming the Raspberry Pi Pico/W in C and combines Harry’s expertise in electronics and the IoT with Mike’s knowledge of Python.Harry Fairhead is also the author of Raspberry Pi IoT In C Using Linux Drivers, Raspberry Pi IoT in C, Applying C For The IoT With Linux, Fundamental C: Getting Closer To The Machine and Micro:bit IoT in C.Mike James is the author of the Programmer's Python: Something Completely Different series of books and several other programming and computer science titles in the I Programmer Library. Read more”

    Google Drive Logo DRIVE
    Book 1

    Healing Lyme: Natural Healing of Lyme Borreliosis and the Coinfections Chlamydia and Spotted Fever Rickettsiosis, 2nd Edition

    ★★★★★

    Stephen Harrod Buhner

    Book 1

    The Power of Du'a

    ★★★★★

    Aliyah Umm Raiyaan

    Book 1

    The Body Never Lies: The Lingering Effects of Hurtful Parenting

    ★★★★★

    Alice Miller

    Book 1

    Learn Chilean Spanish: A Language Guide to Speak and Understand the Spanish Dialect and Culture of Chile

    ★★★★★

    Facundo Filippi

    Book 1

    Induction: Welcome to the Multiverse, Book 1

    ★★★★★

    Sean Oswald

    Book 1

    La Magia Della Strega Psichica: Guida Per Principianti Alla Wicca Metafisica E Esoterismo. Impara La Stregoneria E Rituali Per Migliorare L'Energia Degli Incantesimi E Meditazione (Italian Edition)

    ★★★★★

    Melissa Gomes