Skip to content

Releases: microBlock-IDE/micropython

MicroPython for KidBright32, open:bit, KidMotor V4, Rapbit32 V1.9.0 (dirty)

05 Jan 15:59
Compare
Choose a tag to compare

KidBright32

  • Fixed ESP-NOW error

open:bit

  • Add board open:bit

KidMotor V4

  • Add board KidMotor V4
  • Add motor module
  • Add display module
  • Add switch module

Rapbit32

  • Add board Rapbit32
  • Add motor module
  • Add display module
  • Add switch module
  • Add ir module
  • Add sensor module

MicroPython for KidBright32iA

18 Nov 21:54
Compare
Choose a tag to compare

Add support KidBright32iA Upload .bin at 0x1000

MicroPython By microBlock V1.6.0

30 Jan 11:06
Compare
Choose a tag to compare

TTGO T-Display

  • Add MicroPython for TTGO T-Display

KidBright32

  • Fixed bug display.show4x6()

ESP32 Dev Board

  • Add MicroPython for ESP32 Dev Board

MicroPython for KidBright32/IPST-WiFi V1.5.1

30 Dec 16:31
Compare
Choose a tag to compare

MicroPython for KidBright32/IPST-WiFi V1.5.0

27 Dec 19:44
Compare
Choose a tag to compare

KidBright32

  • Add upload on reset
  • IMU add on event
  • Switch add on pressed
  • Fixed sensor.light return 0

IPST-WiFi

  • Add upload on reset
  • Add Display draw image

MicroPython for KidBright32/IPST-WiFi V1.4.0

19 Nov 20:01
Compare
Choose a tag to compare

MicroPython for KidBright32 V1.3.0-beta-2

23 Oct 18:01
Compare
Choose a tag to compare

Fixed bug

  • Remember calibrate compass value

MicroPython for KidBright32 V1.3.0-beta-dirty

28 Sep 10:52
Compare
Choose a tag to compare

Future

Module display

  • Add display.left() display.right() and display.plot()

Module buzzer

  • Add buzzer.note()

Module switch

  • Add switch.press() and switch.release()

MicroPython for KidBright32 V1.1.0

19 Sep 09:39
Compare
Choose a tag to compare

Future:

  • add show4x8() for show number 4-digit in one time in module display
  • add rotation() and heading() in module imu

Fixed bug:

  • module servo

MicroPython for KidBright32 V1.0.0

17 Sep 13:30
3cd7a1a
Compare
Choose a tag to compare

Support KidBright32 V1.3, V1.4, V1.5, V1.5i by INEX, V1.6 by Gravitech

Modules

All ESP32 modules support (See Quick reference for the ESP32)

I add modules for KidBright32

Module display

Show text and number on DotMarix 16x8

import display

display.show(99) # only 2-char show
display.scroll("Hello, mars !")
display.clear()

Module sensor

Read temp and light level

import sensor

lavel = sensor.light() # 0 - 100%
temp = sensor.temperature() # temperature in celsius

Module buzzer

Made sound on buzzer

import buzzer

buzzer.tone(freq=2093, duration=0.5, duty=50)
buzzer.on(freq=2000, duty=50)
buzzer.off()

Module rtc

Get and set time to RTC, same machine.RTC

import rtc

rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time
datetime = rtc.datetime() # get date and time

Module usb

Get and set logic on USB-A port

import usb

usb.value(1) # or 0
usb.on()
usb.off()
usb.toggle()

Module switch

Get status from S1 ann S2

import switch

value = switch.value(switch.S1) # or switch.S2

Module servo

Set angle of Servo motor on Servo pin (only on KidBrgiht32 V1.5 , V1.5i by INEX, V1.6 by Gravitech)

import servo

servo.angle(servo.SV1, 45) # Set servo on SV0 move to angle 0
servo.angle(servo.SV2, 90) # Set servo on SV1 move to angle 1

Module imu

Read data from IMU sensor on KidBrgiht32 V1.5i by INEX, V1.6 by Gravitech

import imu

imu.update() # read data from sensor
acc = imu.acc # array of (x, y, z)
gyro = imu.gyro # array of (x, y, z), only on KidBrgiht32 V1.6 by Gravitech
mag = imu.mag # array of (x, y, z), only on KidBrgiht32 V1.5i by INEX

You can see more detail. Source all module

How to install on KidBright32

You can choose one

MicroUploader (Recommend)

Download MicroUploader and then open, Select you board, Port and MicroPython firmware version then click Upload

esptool

See Deploying the firmware

Flash Download Tools

only on Windows. you can download this tool from https://www.espressif.com/en/support/download/other-tools

Open flash_download_tool_3.8.5.exe then select Developer Mode > ESP32 DownloadToo

Add MicroPython.for.KidBright32.V1.0.0.bin @ 0x1000

Select port and baud then Click Erase for clear flash (Fixed can't upload MicroPython code file)

Click START and wait finished

How to use

You can use microBlock IDE in Code mode for programming.