Programming the Raspberry Pi Pico/W in MicroPython, Third Edition
內容簡介
Reviews of previous editions
"This book is great, written by an engineer, showing you how to get around limitations of MicroPython. Has a good section on PIO, I2C, SPI and what to do when they don't work. have read most of the other books on Pi Pico, and this is by far the best." "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 book provides a very good guide through the MicroPython programming of the Raspberry Pi Pico and also goes into enough depth. It has shown me many tricks and tricks that I haven't found anywhere else so far." "You won't learn Python from this book, but if you want to know how to use Python on the Pico, then this book is for you, and it is probably the best one out there. There are lots of useful techniques and examples. When I need to know something about Python on the Pico, this is the book I turn to. It is clear and well written. Just buy it!" "I think this book together with a primer on MicroPython would be a great choice for a beginner. Lots of great examples and it's obvious the author has programmed the Pico in Python." "Shows how to integrate python with assembly language for speed - which not many other guides describe."
This updated and expanded edition was prompted by the launch of the Pico 2 and Pico 2W which use a new chip, the RP2350, with significant improvements but also changes. This book therefore covers four devices, the new Pico 2 and its WiFi counterpart, the Pico 2W, as well as the original Pico and Pico W. 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 makes 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, motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM, 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. Three 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. Finally we look at more advanced hardware, Watchdog timer, file system, SDcard reader, using the second core and more. Jointly authored by Harry Fairhead and Mike James, this book combines Harry's expertise in electronics and the IoT with Mike's knowledge of Python. They have also collaborated on similar titles for the Raspberry Pi, the Raspberry Pi Compute Module 5 and the ESP 32. Harry Fairhead is also the author of Programming the Raspberry Pi Pico/W in C, Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux. Mike James is the author of the Programmer's Python: Something Completely Different series of books which set out to show how Python diverges from other programming languages and how its special features deserve our attention and Extending and Embedding Python Using C in which he solves many of Python's speed-related problems.
配送方式
-
台灣
- 國內宅配:本島、離島
-
到店取貨:
不限金額免運費
-
海外
- 國際快遞:全球
-
港澳店取:
訂購/退換貨須知
加入金石堂 LINE 官方帳號『完成綁定』,隨時掌握出貨動態:
商品運送說明:
- 本公司所提供的產品配送區域範圍目前僅限台灣本島。注意!收件地址請勿為郵政信箱。
- 商品將由廠商透過貨運或是郵局寄送。消費者訂購之商品若無法送達,經電話或 E-mail無法聯繫逾三天者,本公司將取消該筆訂單,並且全額退款。
- 當廠商出貨後,您會收到E-mail出貨通知,您也可透過【訂單查詢】確認出貨情況。
- 產品顏色可能會因網頁呈現與拍攝關係產生色差,圖片僅供參考,商品依實際供貨樣式為準。
- 如果是大型商品(如:傢俱、床墊、家電、運動器材等)及需安裝商品,請依商品頁面說明為主。訂單完成收款確認後,出貨廠商將會和您聯繫確認相關配送等細節。
- 偏遠地區、樓層費及其它加價費用,皆由廠商於約定配送時一併告知,廠商將保留出貨與否的權利。
提醒您!!
金石堂及銀行均不會請您操作ATM! 如接獲電話要求您前往ATM提款機,請不要聽從指示,以免受騙上當!
退換貨須知:
**提醒您,鑑賞期不等於試用期,退回商品須為全新狀態**
-
依據「消費者保護法」第19條及行政院消費者保護處公告之「通訊交易解除權合理例外情事適用準則」,以下商品購買後,除商品本身有瑕疵外,將不提供7天的猶豫期:
- 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮食品)
- 依消費者要求所為之客製化給付。(客製化商品)
- 報紙、期刊或雜誌。(含MOOK、外文雜誌)
- 經消費者拆封之影音商品或電腦軟體。
- 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書、電子雜誌、下載版軟體、虛擬商品…等)
- 已拆封之個人衛生用品。(如:內衣褲、刮鬍刀、除毛刀…等)
- 若非上列種類商品,均享有到貨7天的猶豫期(含例假日)。
- 辦理退換貨時,商品(組合商品恕無法接受單獨退貨)必須是您收到商品時的原始狀態(包含商品本體、配件、贈品、保證書、所有附隨資料文件及原廠內外包裝…等),請勿直接使用原廠包裝寄送,或於原廠包裝上黏貼紙張或書寫文字。
- 退回商品若無法回復原狀,將請您負擔回復原狀所需費用,嚴重時將影響您的退貨權益。
商品評價