İçeriğe Geç

Projeler

#21 Ferris Wheel Project With micro:bit

Tarafından 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

 

Önceki Gönderi
Sıradaki Gönderi

Abone olduğun için teşekkürler!

Bu e-posta kaydedildi!

Görünümü satın alın
Seçenekleri Seçin

Picobricks
Özel güncellemeler için kaydolun, yeni gelenler ve yalnızca içeriden öğrenenler için indirimler

Seçeneği Düzenle

Stok Bildirimi

Karşılaştır

Ürün Stok KoduDeğerlendirmeAçıklama Kategori Uygunluk Ürün Tipi Diğer Detaylar
this is just a warning
Giriş Yap
Alışveriş Sepeti
0 Ürünler
Same Day Shipping No Extra Costs
Easy Returns Guarantee Return with Ease
Secure Checkout Secure Payment