The Raspberry PI

  Some parts of this page/site are currently incomplete & will be updated asap
Other parts will change continually so use “Refresh” in your browser !!
  There is extensive use of “Tooltips” text to support learning which do not seem to render on a Smartphone. This site is best viewed via a computer’s HD monitor


https://en.wikipedia.org/wiki/Raspberry_Pi “Raspberry Pi is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom. The Raspberry Pi project originally leaned toward the promotion of teaching basic computer science in schools…“

Raspberry Pi Pico

https://en.wikipedia.org/wiki/Raspberry_Pi#Raspberry_Pi_Pico “Raspberry Pi Pico was released in January 2021 with a retail price of $4. It was Raspberry Pi’s first board based upon a single microcontroller chip; the RP2040, which was designed by Raspberry Pi in the UK. The Pico has 264 KB of RAM and 2 MB of flash memory. It is programmable in C, C++, Assembly, MicroPython, CircuitPython and Rust. The Raspberry Pi Foundation has partnered with Adafruit, Pimoroni, Arduino and SparkFun to build accessories for Raspberry Pi Pico and variety of other boards using RP2040 Silicon Platform”

“On 30 June 2022, the Raspberry Pi Pico W was launched, a version of the Pico with 802.11n Wi-Fi capability, for US$6. The CYW43439 wireless chip in the Pico W also supports Bluetooth, but the capability was not enabled at launch”

How to Set Up Visual Studio Code to Program the Pi Pico (Windows)

https://www.youtube.com/watch?v=mUF9xjDtFfY

81,443 views 25 Jan 2021 Pico Tutorials This video covers how to set up a windows machine with the required toolchain to begin programming the brand-new Raspberry Pi Pico. The toolchain has been installed and Visual Studio Code has been set up to write C code, build it and upload it to the Pico. Future videos will explore how to write your own code to the Raspberry Pi Pico, stay tuned for them!

Follow up to this video discussing creating your first project in Visual Studio Code: • How to Set Up a P…

The links for the required software is here: Arm GCC Compiler: https://developer.arm.com/tools-and-s… CMake: https://cmake.org/download/ Build Tools for Visual Studio 2019: https://visualstudio.microsoft.com/do… Python 3: https://www.python.org/downloads/wind… Git: https://git-scm.com/download/win Visual Studio Code: https://code.visualstudio.com/Download

The commands to download the pico SDK and example projects are: git clone -b master https://github.com/raspberrypi/pico-s… git submodule update –init git clone -b master https://github.com/raspberrypi/pico-e…

To build the example projects from the command line use the following: cmake -G “NMake Makefiles” .. nmake

You can find more embedded systems tutorials and projects on my website https://learnembeddedsystems.co.uk

– Equipment I use regularly – The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed.

Budget Soldering Iron: UK: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9 Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV

All videos and tutorials on this channel and mentioned websites are for educational purposes only

https://www.youtube.com/watch?v=Q1Kfg8k54jM

23,238 views 27 Jan 2021 Pico Tutorials This video covers how to set up a new Visual Studio Code project to program the brand-new Raspberry Pi Pico microcontroller board. We cover how to set up CMake correctly for a new project and make a basic blink LED program to test it and upload it to the Pico.

The source code is available here: https://learnembeddedsystems.co.uk/pico-blink-led-code

How to Use VSCode with Raspberry Pi Pico W and MicroPython

https://www.youtube.com/watch?v=O6lkYTfcMEg

8,116 views 9 Apr 2023 IoT Learn how to get set up and start writing code in MicroPython using VSCode (Visual Studio Code). This can have many benefits over coding in Thonny which is notoriously a buggy IDE.

Link to Blog Post: https://www.shillehtek.com/blog/how-to-use-vscode-with-raspberry-pi-pico-w-and-micropython

TIMESTAMPS 00:00 Intro 00:45 Install MicroPython 02:20 Pico-W-Go Extension Walkthrough 06:03 Outro

Raspberry Pi Pico - Control the (I/O) World

https://www.youtube.com/watch?v=Zy64kZEM_bg&list=PLWNDWPAClRVoo0Z-QtCkXuM15jdb2Q54N

MicroPython

https://en.wikipedia.org/wiki/MicroPython “MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller. MicroPython consists of a Python compiler to bytecode and a runtime interpreter of that bytecode. The user is presented with an interactive prompt (the REPL) to execute supported commands immediately. Included are a selection of core Python libraries; MicroPython includes modules which give the programmer access to low-level hardware. MicroPython does have an inline assembler, and that code will run at full speed”

“In July 2017, MicroPython was forked to create CircuitPython, a version of MicroPython with emphasis on education and ease of use. MicroPython and CircuitPython support somewhat different sets of hardware (e.g. CircuitPython supports Atmel SAM D21 and D51 boards, but dropped support for ESP8266). As of version 4.0, CircuitPython is based on MicroPython version 1.9.4”

CircuitPython

https://en.wikipedia.org/wiki/CircuitPython

CircuitPython with Raspberry Pi Pico - Getting Started

https://www.youtube.com/watch?v=07vG-_CcDG0&list=PLWNDWPAClRVoo0Z-QtCkXuM15jdb2Q54N&index=2

RP2040

https://en.wikipedia.org/wiki/RP2040

https://datasheets.raspberrypi.com/

https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M0+

• 133 MHz dual ARM Cortex-M0+ cores (can be overclocked to over 400 MHz) • Each core has an integer divider peripheral, and two interpolators. • 264 KB SRAM in six independent banks (four 64 KB, two 4 KB) • No internal flash or EEPROM memory (after reset, the boot-loader loads firmware from either external flash memory or USB bus into internal SRAM) • QSPI bus controller, supporting up to 16 MB of external flash memory • DMA controller • AHB crossbar, fully-connected • On-chip programmable low-dropout regulator (LDO) to generate core voltage • 2 on-chip PLLs to generate USB and core clocks • 30 GPIO pins, of which 4 can optionally be used as analog inputs

Peripherals: • 2 UARTs • 2 SPI controllers • 2 I²C controllers • 16 PWM channels • USB 1.1 controller and PHY, with host and device support • 8 programmed input–output (PIO) state machines

https://www.hackster.io/news/rp2040-overclock-to-420mhz

https://youtu.be/G2BuoFNLoDM


•  Updated: 5th July 2023 by David Husband  •  Created: 4th July 2023 by David Husband  •
© 2021 David Husband, a.k.a. Baremetal Engineer Extraordinaire
All Rights Reserved – All Trademarks & Copyrights Acknowledged
All personal information is subject to the Data Protection Act 2018 & the UK GDPR
“ad auxilium aliis ad auxilium sibi”