#21 Ferris Wheel Project With micro:bit
11 Jun 2025
Kategorien
Aktueller Beitrag
17 June 2025
16 June 2025
13 June 2025
Ausgewählte Produkte
PicoBricks Pi Pico W Hauptplatine: Lernen Sie Robotic Coding kennen
PicoBricks Basis-Kit: Starter-Kit für Robotik-Projekte
A Ferris wheel is an amusement ride where seats are positioned around a circle that rotates on a central axis. PicoBricks Ferris Wheel is a project kit where you can adjust the speed of the Ferris wheel based on the value of the potentiometer by using the potentiometer, motor driver, and mainboard module on PicoBricks.
In this project, we will control the rotation speed of the Ferris Wheel based on the speed of the DC motor by using the PicoBricks Potentiometer module.
You can prepare this project by breaking down PicoBricks modules at proper points.
Please click on “Download the booklet” to download the booklet detailing the installation steps to your computer.
#Ferris Wheel Project
from microbit import *
from picobricks import *
# Pin Initialization
Pot_Pin = pin1
# Function Initialization
motor = motordriver()
display.show(Image.HAPPY)
while True:
pot = Pot_Pin.read_analog()
speed=round(round( pot - 0 ) * ( 255 - 0 ) / ( 1023 - 0 ) + 0)
motor.dc(1,speed,1)
Danke fürs Abonnieren!
Diese E-Mail wurde registriert!
Bearbeitungsoption
Benachrichtigung wieder auf Lager
Vergleichen
Produkt | Artikelnummer | Bewertung | Beschreibung | Sammlung | Verfügbarkeit | Produktart | Andere Details |
---|