We can use the 12 modules on the Picobricks by separating them from the split points and plugging them into the right connectors on the Raspberry Pi Pico module with a grove cable. After splitting the modules, you can communicate the modules with the Raspberry Pi Pico with the help of the grove cable as shown in the diagram below.
You can develop projects using different libraries, but you can use the modules on Picobricks more easily by using the picobricks.py library we have prepared as the Picobricks Team. In addition, the picobricks.py library is used in 25 projects included in the e-book. If you are copy-pasting the Micropython codes from Picobricks Website, GitHub or e-book, you should definitely upload the picobricks.py file to Raspberry Pi Pico.
To the picobricks.py library from the Picobricks GitHub page;
You can reach it by following the steps PicoBricks/Software/Pre-Installed Code/picobricks.py to the picobricks.py library from the Picobricks GitHub page.
How to call Picobricks library code page.
In the second line, the class named SSD1306_I2c is called from the picobricks library.
You need to load the picobricks.py library into the Raspberry Pi Pico by pressing the ctrl+shift+s key combination as described in the picture below.
You don’t need to BOOTSEL each time, if you don’t switch between coding platforms, you don’t need to BOOTSEL when you reconnect Picobricks to the coding platform you developed the last project on. However, if you switch to a different platform, you need to BOOTSEL your card.
How to make a BOOTSEL for each platform is explained in detail in the e-book.
Picobricks, is a project development board that can be programmed on three different platforms with Microblocks, Thonny and Arduino IDE.
With MicroBlocks, we can develop projects by moving code blocks to our project page by drag-and-drop method. MicroBlocks is a block-based programming platform and is generally preferred by users with little coding knowledge, younger users or users who want to develop projects quickly.
Click here to go to MicroBlocks online editor.
We can develop projects using the MicroPython language with the thonny coding platform. MicroPython is a programming language that eliminates punctuation (syntax) errors that are frequently made in coding platforms as much as possible.
Arduino IDE platform is one of the most common programs used for physical programming. It allows us to develop projects using the C programming language.
Click here to reach the Picobricks Community page. After clicking the New Discussion tab, you can write the title and what you want to write and share it. For a more accurate assessment of your question, you can also choose a category before sharing.
To test the modules on Picobricks, Picobricks Team has created 2 different test codes using Thonny and MicroBlocks platforms. You can test your Picobricks card by using these test codes.
You can go to the Picobricks GitHub page and follow the steps below to access the test code created with Thonny.
To reach the test code written with MicroBlocks; you can follow the steps of PicoBricks/Software/Pre-Installed Code/Microblocks Test Code/.
You don’t need to split all modules to run Picobricks modules correctly. After splitting only one or a few modules, you can use the split modules by plugging them into the corresponding connector on the Raspberry Pi Pico module with grove cables.
Even if the datasheet and all manuals claims that it runs on 3.3V and 5V power levels, we experimented some HC06 modules does not run on 3V3. FYI the ESP8266 is not 5V tolerant. Thats why we used 3V3 at IoT Expansion board.
Unfortunately, MicroPython DHT library sometimes not giving data when combined with other sensors or actuators. In particular, this problem with the DHT11 Temperature and Humidity Sensor is solved by updating the libraries.