We are using makecode to program the microbits.
Unfortunately setting up the WebUSB mechanism needed to program the mircobits via USB from Chrome, Chromium or Edge on Linux is causing some trouble.
Download the .sh
(bash script) file below to your Downloads
folder by clicking on the blue title.
set -x wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb apt update apt install ./google-chrome-stable_current_amd64.deb -y apt install google-chrome-stable -y echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", MODE="0666"' > /etc/udev/rules.d/99-microbit.rules udevadm control --reload-rules udevadm trigger
Then follow the steps given here:
cd ~/Downloads chmod 755 prep_microbit_on_ubuntu.sh sudo ./prep_microbit_on_ubuntu.sh
Building our own micro:bit robot kit.
Requirements:
Pictures from the Keystudio Wiki:
https://wiki.keyestudio.com/MB0102_Keyestudio_Microbit_Main_Board_%2BUSB_Cable%2BBattery_Holder_with_Batteries
NOTES:
Read the annotations on the regulator schematic! The board can have FOUR power input sources.
It is weird that the power input from the edge connector is directly connected to the voltage output pin of the LDO! Do I (rb) understand this correctly?
ATTENTION: 180° ONLY!
Original source: https://www.monkmakes.com/mb_servo_kit
Distributors:
RS Online: https://de.rs-online.com/web/p/bbc-micro-bit-add-ons/2048260
RobotShop: https://eu.robotshop.com/products/servo-controller-microbit-monk-makes
okdo: https://www.okdo.com/de/p/servo-kit-for-microbit/
Original source: https://kitronik.co.uk/products/5673-kitronik-simple-servo-control-board-for-bbc-micro-bit
Distributors:
Original source: https://kitronik.co.uk/products/5694-compact-16-servo-driver-board-for-the-bbc-micro-bit
Datasheet:
5694-kitronik-compact-16-servo-driver-board-for-microbit-datasheet.pdf
Datasheet of PCA9865 at NXP:
PCA9685.pdf
Adafruit tutorial on PCA9865:
https://learn.adafruit.com/16-channel-pwm-servo-driver/overview
Features:
ATTENTION: 180° ONLY!
Distributors:
AZ-Delivery: https://www.az-delivery.de/en/products/az-delivery-micro-servo-sg90?variant=12236813336672
Servos - Funktionsweise und Eigenbauten |
Servos - working principle and homemade types |
Using Servo Motors with Arduino |
Funktionsweise von Kippstufen |
Flip-flop / multivibrator |
Pulsweitenmodulation (PWM) |
Pulse-width modulation (PWM) |