Zum Inhalt springen

Projekte

#21 Ferris Wheel Project With micro:bit

von PicoBricks Team 11 Jun 2025

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.

Connection Diagram:

You can prepare this project by breaking down PicoBricks modules at proper points.

Project Images:

Setup Steps of The Project

Please click on “Download the booklet” to download the booklet detailing the installation steps to your computer.

Download the booklet

MakeCode Code of The Project


Python Code of The Project:


#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)


MicroBlocks Code of The Project

 

Vorheriger Beitrag
Nächster Beitrag

Danke fürs Abonnieren!

Diese E-Mail wurde registriert!

Shoppen Sie den Look
Wählen Sie Optionen

Picobricks
Melden Sie sich für exklusive Updates an, Neuankömmlinge und Insider-Rabatte

Bearbeitungsoption

Benachrichtigung wieder auf Lager

Vergleichen

Produkt ArtikelnummerBewertungBeschreibung Sammlung Verfügbarkeit Produktart Andere Details
this is just a warning
Anmeldung
Einkaufswagen
0 Artikel
Same Day Shipping No Extra Costs
Easy Returns Guarantee Return with Ease
Secure Checkout Secure Payment