Create block based programs for Raspberry Pi Pico in minutes!
About one year ago, we created BIPES Project – Block Based Integrated Platform for Embedded Systems (http://www.bipes.net.br), specially focused on integrating Blockly and MicroPython with a direct connection from the web browser to the development boards – initially for ESP8266 and ESP32.
With more than 500 different users currently using BIPES (according with Google Analytics), it has several interesting features, such as the possibility of programming embedded devices without the need of installing absolutely no software or plugin. Simply access BIPES website, connect the blocks, connect to the board and get the program running. A USB/Serial/WebREPL console/terminal is integrated in the webpage, allowing direct access to serial devices.
We have now created some blocks on BIPES specifically for Raspberry Pi Pico.
It’s simple and easy to use:
(Tested / working on Google Chrome)
0. Get a Raspberry Pi Pico board with MicroPython loaded. If you still did not load MicroPython on your RPI Pico, it is as easy as copying a file to a thumb drive. Details here:
1. On Google Chrome, enable the option “Experimental Web Platform features ” (see figure). To enable the option, go to the URL: chrome://flags and activate the web platform features. This option will allow Google Chrome to directly access the USB devices connected to the serial port, without the need of additional softwares. This action must be done only once.
2. Go to https://bipes.net.br/beta2serial/ui/
3. On the target device box, select “Raspberry Pi Pico”
4. Go to the Console tab and click “Connect”.
type Enter one or twice, to check if the board is responding. If everything is ok, you should get a MicroPython prompt (>>>). Now you can interact directly with the board from the web browser!
5. Go to the blocks tab and build your program. Then simply click on the “Run” button, and your program blocks program will be translated into Python and executed!
If you want, you can directly share the programs you created by sending a link to your program, by clicking on the link button. Here are some working block based examples:
(just click on the link and you will open the working program)
1. Blink built in LED
2. Blink built in LED with different approach
3. Fading built in LED with PWM
4. Read GPIO Input
5. Read ADC Input (raw values)
6. Temperature sensor
Demonstration video (english):
Demonstration video (portuguese):
Note: BIPES also supports creating, editing, running and managing text files on MicroPython based boards, such as Python scripts. This feature is fully functional for WebSocket / Wifi connections with ESP32 and ESP8266. However, such feature is still incomplete for USB based connection, but will be working soon.
BIPES Source code is available on github:
Main (WebSockets / Wifi)