Approved content
The content below is provided by a partner.
Drone:bit is a new UAV based on micro:bit.
The micro:bit Drone:bit Kit has successfully combined micro:bit with drones, which has provided another possibility for students to create and explore in the sky.
Through your operation, you can give it commands of hovering at a fixed altitude , flying from a waypoint, curvilinear flight, and rolling in the sky etc. even in the classrooms, get your first professional micro:bit Drone:bit Kit now!
Drone:bit, take you to a new height!
This extension is designed to programme and drive the Drone:bit UAV, You can get Drone:bit from the Elecfreaks store
You can get more information about Drone:bit on ELECFREAKS WIKI
Drones.initModule(Drones.Runmodes.Master)
Drones.UAV_speed(80)
Drones.Basic_action(Drones.Basicoptions.Takeoff)
Drones.Move_action(Drones.Directionoptions.Forward, 100)
Drones.Rotation_action(Drones.Angleoptions.Left, 0)
Drones.Roll_action(Drones.Rolloptions.Roll_forward)
Drones.Hovering(0)
Drones.Get_Sensor(Drones.Sensoroptions.Voltage)
Drones.Urgent_action(Drones.Urgentoptions.Emergency_stop)
Drones.initModule(Drones.Runmodes.Master)
Drones.UAV_speed(80)
Drones.Basic_action(Drones.Basicoptions.Takeoff)
Drones.Move_action(Drones.Directionoptions.Forward, 100)
basic.forever(function () {
if (Drones.Get_Sensor(Drones.Sensoroptions.Voltage) > 3.5) {
Drones.Hovering(10)
} else {
Drones.Basic_action(Drones.Basicoptions.Takeoff)
}
})
for PXT/microbit
MIT
dronebit=github:elecfreaks/pxt-Dronebit#v0.3.7