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

    (By Harry Fairhead)

    Book Cover Watermark PDF Icon Read Ebook
    ×
    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

    Secret Forest Junk Journal & Ephemera Kit: A Beautiful Kit for Journaling, Scrapbooking, and Memory Keeping

    ★★★★★

    Sowelu Studio

    Book 1

    Nevada: A Novel

    ★★★★★

    Imogen Binnie

    Book 1

    La clave está en la tiroides [The Key Is in the Thyroid]: Adiós al cansancio, la neblina mental y el sobrepeso... para siempre [Goodbye to Fatigue, Mental Fog and Obesity...Forever]

    ★★★★★

    Amy Myers

    Book 1

    The Anarchist Handbook

    ★★★★★

    Michael Malice

    Book 1

    Night & Horses & The Desert: An Anthology of Classic Arabic Literature

    ★★★★★

    Robert Irwin

    Book 1

    No Reason to Hide: Standing for Christ in a Collapsing Culture

    ★★★★★

    Erwin W. Lutzer