כרטיס שיהפוך את המיקרוביט שלך ליחידת IOT מחוברת לאינטרנט!
עושים פרוייקט במיקרוביט ורוצים להתחבר אליו מרחוק דרך האינטרנט? עכשיו זה אפשרי עם כרטיס IOT למיקרוביט.
IoT:bit is an expansion board based on IoT for micro:bit. It uses ESP8266 as WIFI expansion board and serial port to communicate with micro:bit. It also has extended all available IO port of the micro:bit which is leaded by GVS and you can extent various 3V E-blocks as LED, photosensitive and servo by using it. At the same time, the IOT:bit with an on-board buzzer for outside sound and an on-board RTC clock for timing without power supply. Let’s creating your own IoT by makecode!
Intergrated ESP12F WiFi、RTC and passive buzzer module
Extended most IO ports by GVS
Silk-screen indication onboard main components
Separately lead IIC interface, directly plug in OLED, BME280 and IIC,etc
Intergrated buzzer and earphone jack
Adaptive for LEGO (4 standard spacing Lego fixed holes)
Hardware apperance & Parameters
Size & Installation
Product size：71mm x 63mm x 23mm
Maximum power current
RTC timing battery
CR1220 button cell
Equipped by yourself
Serial port can map the IO port
I2C port lead
Only for I2C pin
SPI port lead
for common IO
71.00mm X 63.00mm
Pin interface drawing
Introduction of main module
Coding developed by Microsoft and mainly publiced by micro:bit offical.
Using MU for advanced coding methodMicroPython
Fisrt, install CR1220 button cell for power supply to the RTC timing.
Plug the micro:bit to the Iot:bit.
Using single USB for power supply to expansion board and switch on.
Click on “Advanced” in the MakeCode Drawer to see more code sections.
We need to add an extension for coding to the IOT. Click on the “Extension” at bottom of coding drawer, then Search for “IOT” and click on the IOT package to add it to your project. (As below picture)
Note：If you get a warning telling you some packages will be removed because of incompatibility issues, either follow the prompts or create a new project in the Project file menu.
How to drive the buzzer
There is on-board buzzer on the IOT:bit as below picture. Let the buzzer be connected to the PO of the micro:bit to play music by the music of the makecode.
When button A be pressed in the “input”, play a bit of music.
The most important function of IOT:bit is WIKI. The onboard ESP-12FWIFI module can connect WIFI and send information. To use port for communication with the micro:bit and the pin RX-P8，TX-P12 is special for IoT.