#24 Money Box Project With micro:bit
16 Jun 2025
Kategoriler
Son Gönderi
17 June 2025
16 June 2025
13 June 2025
Özel Ürünler
Robot Teknolojisine Giriş: PicoBricks Geliştirme Kartı
Base Kit: Robotik Kodlama Başlangıç Seti
PicoBricks Money Box can detect objects placed in its receptacle through distance sensor in the front of it and automatically lifts its receptacle to take in these objects.
In this project, when the distance sensor detects the object placed in the receptacle , the servo motor connected to the motor driver is adjusted to the angle specified in the code, and then the object inside the receptacle is dropped into the Money Box.
You can assemble this project by breaking apart the PicoBricks modules at the proper points.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#Money Box Project from microbit import * from picobricks import * # Function Initialization motor = motordriver() motor.servo(1,180) trashDetected=0 distance=100 while True: rawdistance=measure_distance() if rawdistance<1200: distance=rawdistance motor.servo(1,180) sleep(500) if distance<5: trashDetected=1 sleep(300) if distance>9 and trashDetected==1: trashDetected=0 motor.servo(1,90) sleep(500)
Abone olduğun için teşekkürler!
Bu e-posta kaydedildi!
Seçeneği Düzenle
Stok Bildirimi
Karşılaştır
Ürün | Stok Kodu | Değerlendirme | Açıklama | Kategori | Uygunluk | Ürün Tipi | Diğer Detaylar |
---|