Raspberry Pi Pico Essentials

  • BrandElektor Publishing

Description

Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor

The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor.

The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics:

  • Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
  • Timer interrupts and external interrupts
  • Analogue-to-digital converter (ADC) projects
  • Using the internal temperature sensor and external temperature sensor chips
  • Datalogging projects
  • PWM, UART, I²C, and SPI projects
  • Using Wi-Fi and apps to communicate with smartphones
  • Using Bluetooth and apps to communicate with smartphones
  • Digital-to-analogue converter (DAC) projects

All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.


Product form

Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance... Read more

€ 34,95 incl. VAT
Members € 31,46

      Details

      SKU: 19673
      EAN: 9783895764271
      ISBN: 978-3-89576-427-1
      Author: Dogan Ibrahim
      Language: English
      Pages: 249 (Full Color)
      Format: 17 x 23.5 cm (Paperback)

      Description

      Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor

      The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor.

      The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics:

      • Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
      • Timer interrupts and external interrupts
      • Analogue-to-digital converter (ADC) projects
      • Using the internal temperature sensor and external temperature sensor chips
      • Datalogging projects
      • PWM, UART, I²C, and SPI projects
      • Using Wi-Fi and apps to communicate with smartphones
      • Using Bluetooth and apps to communicate with smartphones
      • Digital-to-analogue converter (DAC) projects

      All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.


      Customer Reviews

      Based on 3 reviews
      67%
      (2)
      0%
      (0)
      33%
      (1)
      0%
      (0)
      0%
      (0)
      L
      Luc C.
      Using Wi-Fi

      in het hoofdstuk 10 Wi-Fi with Rapberry Pi Pico
      blz 209 en blz 214
      na de instructie while True:
      is het beter een volgende if in te bouwen:
      if uart.any() > 0:
      anders zijn er problemen bij het lezen van lege lijnen
      bij de instructie buf.decode(`UTF-8`)

      J
      Jack J.
      Excellent Introduction to the Pico

      A very complete introduction to the Raspberry Pi Pico and its uses. After a brief description of the Pico and a comparison to other microcontrollers, the books starts with some basic Python programming examples using the Pico. This is followed by about 200 pages of of some 59 projects. These start with the very simple hardware projects usually used to introduce RPi projects, involving LEDs. However, after the first one, these are more imaginative than usual. From there on, the book introduces more complex projects that explore a wide range of Pico capabilities. There is something for everyone here.

      P
      Prof.Dr. D.
      Correction of Mr Bruno`s comments

      The comments of Mr Bruno are totally wrong. The LCD operates in two modes: READ and WRITE. When the R/W pin is connected to GND then the LCD operates in READ mode. In this mode, all pins of the LCD are inputs. As such, there is no way that the RS pin of the LCD can damage the PICO pin because RS is not an output pin. If however by mistake you happen to connect the R/W pin to +V or leave it unconnected (pulled-up by default) and apply power to the device, then the LCD will be in WRITE mode and the RS pin will be an output (e.g. the BUSY state of the LCD) which may of-course damage a +3.3V input pin of the Pico. The circuit given by the author is therefore totally SAFE as long as it is connected as shown in the book.

      Login

      Forgot password?

      Don't have an account yet?
      Create an account