kidsbits blocks coding 0.96” OLED display module is fully compatible with kidsbits control board and Lego building blocks.
You can easily connect it to kidsbits control board for communication using an RJ11 cable without worrying about wrong connection and damage.
The module integrates a 0.96” OLED screen. The display has a resolution of 128*64. It communicates with microcontrollers by I2C interface.
When using the module, you are able to set the characters size in the test code so that the screen can display different words.
Follow the instruction below to get started with this OLED module. We are going to use an adjustable potentiometer to control the OLED screen.
2. Technical Parameters
- Voltage supply: DC 3.3V/5V
- Drive IC: SSD1306
- Resolution: 128*64
- Support the I2C protocol
3. Wiring Diagram
4. Import kidsbits library
Begin with the Mixly blocks coding, you should first import the corresponding kidsbits library for those sensor modules.
Connect the control board to your computer using a USB cable.
Then open the Mixly blocks software 0.998, set the board to UNO R3, select your correct COM port. On the upper right corner you can switch the language.
After that, click Import, import the keyes-kidsbits library. Shown below.
If import custom library successfully, you should see the sensor module library shown below.
Click on the display screen block of keyes_kidsbits, you can directly use the corresponding module. Shown below.
5. Upload Code
Open the code folder we provided, you are able to directly open or drag the code to Mixly window.
You can click the Code to check the C language.
6. Test Result
Hook it up and upload the code success, then open the monitor. Turning the potentiometer, the data will pop up on the monitor.
When the value is less than 500, OLED no display; if greater than 500, OLED screen will show the characters.