𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Programming the Raspberry Pi Pico in C

✍ Scribed by Harry Fairhead


Publisher
I/O Press
Year
2021
Tongue
English
Leaves
373
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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 getting a good implementation of your algorithms. To enjoy all of its power and sophistication there is no better language than C. It wastes none of the power and it gives you what you need to get at the new features. However, getting started with the Pico with C is no easy feat, which is what motivated this book about creating programs so that testing and debugging is easy.

Programming the Raspberry Pi Pico in C uses the highly popular VS Code as its development environment and shows how to use a Raspberry Pi or a desktop PC running Windows as your development machine. 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 included 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. One current drawback of the Pico it is that it doesn’t have a network connection. To solve this problem there is a chapter on using the low-cost ESP8266 as a WiFi client and web server. The two devices together make the Pico a true IoT device.

Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic proponent of the IoT and embedded computing. He is the author of two books intended for C programmers, Fundamental C: Getting Closer To The Machine and Applying C For the IoT With Linux and four books on the using the Raspberry Pi in an IoT context, two using C and two using Python. He is now working on a Python version of this book for the Pico.


πŸ“œ SIMILAR VOLUMES


Programming The Raspberry Pi Pico In C
✍ Harry Fairhead πŸ“‚ Library 🌐 English

<p><span>There is a new edition of this book: </span><span>Programming The Raspberry Pi Pico/W In C, Second Edition</span><span><br><br>The </span><span>Raspberry Pi Pico</span><span> is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short tim

Programming the Raspberry Pi Pico/W in M
✍ Harry Fairhead, Mike James πŸ“‚ Library πŸ“… 2022 πŸ› I/O Press 🌐 English

<span>Reviews of the first edition:</span><span><br></span><span>"Obviously the author knows his stuff. I love the writing style and helpful hints to deal with python limitations."</span><span><br></span><span>"Book contains many nuggets of info not found in other books."</span><span><br><br></span>

Programming the Raspberry Pi
✍ Monk, Simon πŸ“‚ Library πŸ“… 2016 πŸ› McGraw-Hill Education 🌐 English

An updated guide to programming your own Raspberry Pi projects <p>Learn to create inventive programs and fun games on your powerful Raspberry Pi&#8212;with no programming experience required. This practical TAB book has been revised to fully cover the new Raspberry Pi 2, including upgrades to the Ra

Get Started with MicroPython on Raspberr
✍ Gareth Halfacree, Ben Everard πŸ“‚ Library πŸ“… 2024 πŸ› Raspberry Pi Press 🌐 English

<div> <p style="font-weight: bold">Microcontrollers, like the RP2040 chip at the heart of Raspberry Pi Pico, are computers stripped back to their bare essentials.</p> <p>You don't use monitors or keyboards with them β€” instead, you program them over USB to take their input from (and send their outp

Raspberry Pi: Raspberry Pi Guide On Pyth
✍ Jason Scotts πŸ“‚ Library πŸ“… 2013 πŸ› Speedy Publishing LLC 🌐 English

<p>"Raspberry Pi Programming Guide" is a text that gives the reader a bit of insight into this form of technology. It is European based and is just making a debut in North America so many are curious about it and what exactly this technology can do. The aim that the author has with this text is to h