หน้าแรก ดูโปรเจกต์ทั้งหมด
Intermediate

โปรเจกต์ Shaking Dice

เมื่อเราเขย่ากล่องนี้ มันจะสุ่มตัวเลขได้สูงสุดถึง 6 Digit ทำให้มันทำงานเหมือน Dice และสามารถนำไปใช้งานได้หลากหลายรูปแบบเหมือนกับที่เราใช้ Dice ปกติ

โปรเจกต์ Shaking Dice

เครื่องมือและเครื่องจักร

1x Hot glue gun (generic)
🔍 ค้นหา
1x 6 DOF Sensor - MPU6050
🔍 ค้นหา
1x Breadboard (generic)
🔍 ค้นหา
1x LED Dot Matrix Display, Red
🔍 ค้นหา
1x Arduino Nano R3
🔍 ค้นหา
1x Jumper wires (generic)
🔍 ค้นหา

รายละเอียดและวิธีทำ


Vcc:- this pin is used for powering the MPU6050 module with respect to ground
GND:- this is ground pin SDA:-SDA pin is used for data between controller and mpu6050 moduleSCL:-
SCL pin is used for clock inputXDA:- This is sensor I2C
SDA Data line for configuring and reading from external sensors ((optional) not used in our case)
XCL:- This is sensor I2C SCL clock line for configuring and reading from external sensors ((optional) not used in our case)
ADO:- I2C Slave Address LSB (not applicable in our case)
INT:- Interrupt pin for indication of data ready.
VCC -> 3.3 V / 5 V(better)
GND -> GND
SCL -> A5
SDA -> A4
//Pins der LED-Matrix
//Pins of the LED matrix
int PinCLK = 7;
int PinCS = 6;
int PinDIN = 5;

Code

🔒 ปลดล็อก Code

สนับสนุนเพื่อรับ Source Code หรือแอปพลิเคชันสำหรับโปรเจกต์นี้

รหัสอ้างอิงโปรเจกต์: shaking-dice-5dacc6
299 บาท
PromptPay QR Code