Programming the Raspberry Pi Pico/W in MicroPython, 2nd Edition

Programming the Raspberry Pi Pico/W in MicroPython, Second Edition

Programming the Raspberry Pi Pico/W in MicroPython, Second Edition

Author: Harry Fairhead (Author), Mike James (Author)

Publisher finelybook 出版社:‏ I/O Press‎

Edition 版本:‏ ‎ N/A

Publication Date 出版日期:‏ ‎ 2022-12-28

Language 语言: ‎ English

Print Length 页数: ‎ 360 pages

ISBN-10: ‎ 1871962064

ISBN-13: ‎ 9781871962062

Book Description

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.”

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.

Amazon Page

下载地址

PDF | 10 MB | 2025-03-17
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Programming the Raspberry Pi Pico/W in MicroPython, 2nd Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫