
Explore the Raspberry Pi Pico and Pico W with MicroPython, covering basics, Tony ID installation, firmware, and file system; build robots, use LCDs, sensors, Bluetooth, and a web server.
Know your Raspberry Pi Pico: explore arpin 20 40 microcontroller, crystal oscillator, micro USB port for power and programming, and a boot button for storage mode, with low power modes.
Explore the Raspberry Pi Pico filesystem with MicroPython using the Thonny IDE, create and edit scripts, save them to the Pico, and understand how main.py runs on boot.
Explore the type function in MicroPython on Raspberry Pi Pico, learning how to check a variable's type, compare values, and understand how different data types behave in code.
Use the input function in MicroPython on Raspberry Pi Pico to capture user input, store it in a variable, and convert input from string to int or float for calculations.
Create your own functions in MicroPython on the Raspberry Pi Pico, name them, pass parameters, call them, and return results such as sums and products.
Learn to wire a switch with a resistor to a Raspberry Pi Pico and read a digital input with MicroPython, controlling an LED and applying debounce logic.
Explore interfacing a Raspberry Pi Pico with an OLED display via I2C using MicroPython, including wiring, importing the display library, creating display objects, and rendering text and simple graphics.
Set up UART on the Raspberry Pi Pico to connect with a Bluetooth module, wire TX and RX, and use MicroPython to read lines and send data at 9600 baud.
Set a reset button on the Raspberry Pi Pico by wiring pin 30 to ground through a switch, enabling hard reset, boot options, and firmware reload when programs stall.
Explore controlling a demo-first robot with Raspberry Pi Pico and MicroPython, adjusting timing, using a reset button to restart the program, and commanding forward and stop motions.
Build the robot body by fixing the chassis with clamps and screws, aligning the left and right sides according to the design, and following the construction manual and double-sided tape.
Program and test the first robot using MicroPython on a Raspberry Pi Pico, implementing forward, backward, left, right, and stop motions with modular functions and motor control.
Wire infrared three-pin line follower sensors to a Raspberry Pi Pico, ensure 3.3v logic, connect ground and 3.3v supply, and map left and right sensor outputs to designated pins.
Implement structural modifications for a robot that follows a track, wiring infrared sensors to 3.3V, ground, and digital outputs, and calibrate with a blue potentiometer for reliable track detection.
Learn to build a line follower robot on a Raspberry Pi Pico using MicroPython, define motor pins and forward, left, right, and stop functions, then implement an active line-following loop.
Sign up with a Google account for MIT App Inventor, design Android apps with drag-and-drop, build interfaces with components, and program behavior with blocks for testing on a phone.
Android application apk file for direct install to android phone and aia file for MIT app inventor is added here.
Compare pico and pico w hardware: identical dimensions and pins, with the pico w shifted debug pin. Onboard lcd maps to the wifi module, so use LCD in caps.
Download the Pico W firmware from the Raspberry Pi Foundation, upload the file to the Pico W via USB, then reset and configure the interpreter for MicroPython.
Micropython is a lightweight version of Python 3 programming language designed for microcontrollers with a minimum of 256KB of ROM and 16KB of RAM. MicroPython supports chips like ESP32,ESP8266,STM32,nRF52,W600, RP2040 etc.
Raspberry Pi RP2040 is a new microcontroller based on ARM M0+ architecture. Which is developed completely Raspberry PI foundation. MIcroPython coding is easy for students who want to learn the embedded systems.
This course mainly covers the basics of MicroPython with different sections, Python 3 syntax, GPIO controlling, and will update with more robotics projects soon. Students can expect regular updates on RPi PICO with MicroPython.
In this course, the software used is free of cost.
Features of the board
RP2040 microcontroller chip designed by Raspberry Pi in the United Kingdom.
Dual-core Arm Cortex M0+ processor, the flexible clock running up to 133 MHz.264KB of SRAM, and 2MB of onboard Flash memory.The castellated module allows soldering directly to carrier boards. USB 1.1 with device and host support. Low-power sleep and dormant modes. Drag-and-drop programming using mass storage over USB. 26 × multi-function GPIO pins.2 × SPI, 2 × I2C, 2 × UART, 3 × 12-bit ADC, 16 × controllable PWM channels. Accurate clock and timer on-chip. Temperature sensor. Accelerated floating-point libraries on-chip. 8 × Programmable I/O (PIO) state machines for custom peripheral support.