Raspberry Pi Pico Essentials

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

Dogan Ibrahim

Cite this publication as

Dogan Ibrahim, Raspberry Pi Pico Essentials (2021), Elektor, Aachen, ISBN: 9783895764288

339
accesses

Descripción / Abstract

Índice

  • BEGINN
  • Preface
  • Preface
  • Chapter 1 " Raspberry Pi Pico Hardware
  • 1.1 Overview
  • 1.2 Pico hardware module
  • Chapter 1 " Raspberry Pi Pico Hardware
  • 1.3 Comparison with the Arduino UNO
  • 1.4 Operating conditions and powering the Pico
  • 1.5 Pinout of the RP2040 microcontroller and Pico module
  • 1.6 Other RP2040 microcontroller-based boards
  • 1.6.1 Adafruit Feather RP2040
  • 1.6.2 Adafruit ItsyBitsy RP2040
  • 1.6.3 Pimoroni PicoSystem
  • 1.6.4 Arduino Nano RP2040 Connect
  • 1.6.5 SparkFun Thing Plus RP2040
  • 1.6.6 Pimoroni Pico Explorer Base
  • 1.6.7 SparkFun MicroMod RP2040 Processor
  • 1.6.8 SparkFun Pro Micro RP2040
  • 1.6.9 Pico RGB Keypad Base
  • 1.6.10 Pico Omnibus
  • 1.6.11 Pimoroni Pico VGA Demo Base
  • Chapter 2 " Raspberry Pi Pico Programming
  • 2.1 Overview
  • 2.2 Installing MicroPython on the Pico
  • 2.2.1 Using a Raspberry Pi 4 to aid installing MicroPython on the Pico
  • Chapter 2 " Raspberry Pi Pico Programming
  • 2.2.2 Using a PC (Windows 10) to help install MicroPython on Pico
  • Chapter 3 " Raspberry Pi Pico Simple Hardware Projects
  • 3.1 Overview
  • 3.2 Project 1: Flashing LED Using the on-board LED
  • Chapter 3 " Raspberry Pi Pico Simple Hardware Projects
  • 3.3 Project 2: External flashing LED
  • 3.4 Project 3: Flashing SOS in Morse
  • 3.5 Project 4: Flashing LED using a timer
  • 3.6 Project 5: Alternately flashing LEDs
  • 3.7 Project 6: Changing the LED flashing rate using pushbutton interrupts
  • 3.8 Project 7: Alternately flashing red, green, and blue LEDs RGB
  • 3.9 Project 8: Randomly flashing red, green, and blue LEDs RGB
  • 3.10 Project 9: Rotating LEDs
  • 3.11 Project 10: Binary-counting LEDs
  • 3.12 Project 11: Christmas lights (random flashing 8 LEDs)
  • 3.13 Project 12: Electronic dice
  • 3.14 Project 13: Lucky day of the week
  • 3.15 Project 14: Door alarm with 7-colour flashing LED
  • 3.16 Project 15: 2-digit, 7-segment display
  • 3.17 Project 16: 4-digit, 7-segment display seconds counter
  • 3.18 LCDs
  • 3.19 Project 17: LCD functions displaying text
  • 3.20 Project 18: Seconds counter LCD
  • 3.21 Project 19: Reaction timer with LCD
  • 3.22 Project 20: Ultrasonic distance measurement
  • 3.23 Project 21: Height of a person (stadiometer)
  • 3.24 Project 22: Ultrasonic reverse parking aid with buzzer
  • Chapter 4 " Using Analogue-To-Digital Converters (ADCs)
  • 4.1 Overview
  • 4.2 Project 1: Voltmeter
  • Chapter 4 " Using Analogue-To-Digital Converters (ADCs)
  • 4.3 Project 2: Temperature measurement using the internal temperature sensor
  • 4.4 Project 3: Temperature measurement using an external temperature sensor
  • 4.5 Project 4: ON/OFF temperature controller
  • _GoBack
  • 4.6 Project 5: ON/OFF temperature controller with LCD
  • 4.7 Project 6: Measuring the ambient light intensity
  • 4.8 Project 7: Ohmmeter
  • 4.9 Project 8: Internal and external temperature
  • 4.10 Project 9: Using a thermistor to measure temperature
  • CHAPTER 5 " Data Logging
  • 5.1 Overview
  • 5.2 Project 1: Logging the temperature data
  • CHAPTER 5 " Data Logging
  • 5.3 Project 2: Reading the logged data
  • CHAPTER 6 " Pulse Width Modulation (PWM)
  • 6.1 Overview
  • 6.2 Basic theory of pulsewidth modulation
  • CHAPTER 6 " Pulse Width Modulation (PWM)
  • 6.3 PWM channels of the Raspberry Pi Pico
  • 6.4 Project 1: Generate a 1000 Hz PWM waveform with 50% duty cycle
  • 6.5 Project 2: Changing the brightness of an LED
  • 6.6 Project 3: Varying the speed of a brushed DC motor
  • 6.7 Project 4: Frequency generator with LCD
  • 6.8 PROJECT 5: Measuring the frequency and duty cycle of a PWM waveform
  • 6.9 PROJECT 6: Melody maker
  • CHAPTER 7 " Serial Communication (UART)
  • 7.1 Overview
  • CHAPTER 7 " Serial Communication (UART)
  • 7.2 Raspberry Pi Pico UART serial ports
  • 7.3 Project 1: Sending the Raspberry Pi Pico internal temperature to an Arduino Uno
  • 7.4 Project 2: Receiving and displaying numbers from the Arduino Uno
  • 7.5 Project 3: Communicating with the Raspberry Pi 4 over the serial link
  • CHAPTER 8 " The I2C Bus Interface
  • 8.1 Overview
  • 8.2 The I2C Bus
  • CHAPTER 8 " The I2C Bus Interface
  • 8.3 I2C pins of the Raspberry Pi Pico
  • 8.4 Project 1: I2C port expander
  • 8.5 Project 2: EEPROM memory
  • 8.6 Project 3: TMP102 temperature sensor
  • 8.7 Project 4: BMP280 temperature and atmospheric pressure sensor
  • 8.8 Project 5: Display BMP280 temperature and atmospheric pressure on an LCD
  • Chapter 9 " The SPI Bus Interface
  • 9.1 Overview
  • Chapter 9 " The SPI Bus Interface
  • 9.2 Raspberry Pi Pico SPI ports
  • 9.3 Project 1: SPI Port expander
  • Chapter 10 " Wi-Fi with the Raspberry Pi Pico
  • 10.1 Overview
  • 10.2 Project 1: Controlling an LED from a smartphone using Wi-Fi
  • Chapter 10 " Wi-Fi with the Raspberry Pi Pico
  • 10.3 Project 2: Displaying the internal temperature on a smartphone using Wi-Fi
  • Chapter 11 " Bluetooth with the Raspberry Pi Pico
  • 11.1 Overview
  • 11.2 Raspberry Pi Pico Bluetooth interface
  • 11.3 Project 1: Controlling an LED from your smartphone using Bluetooth
  • Chapter 11 " Bluetooth with the Raspberry Pi Pico
  • 11.4 Project 2: Sending the Raspberry Pi Pico's internal temperature to the smartphone
  • Chapter 12 " Using Digital-to-Analogue Converters (DACs)
  • 12.1 Overview
  • 12.2 The MCP4921 DAC
  • Chapter 12 " Using Digital-to-Analogue Converters (DACs)
  • 12.3 Project 1: Generating squarewave signal with amplitude under +3.3 V
  • 12.4 Project 2: Generating fixed voltages
  • 12.5 Project 3: Generating a sawtooth signal
  • 12.6 Project 4: Generating a triangular signal
  • 12.7 Project 5: Arbitrary periodic waveform
  • 12.8 Project 6: Generating a sinewave
  • 12.9 Project 7: Generating an accurate sinewave signal using timer interrupts
  • Chapter 13 " Automatic Program Execution after the Raspberry Pi Pico Boots
  • Chapter 13 " Automatic Program Execution after the Raspberry Pi Pico Boots
  • Appendix A " Bill of Components
  • Appendix A " Bill of Components
  • Index
  • Index

Títulos relacionados

    Otros títulos del mismo autor