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

โปรเจกต์ ไฟจักรยาน Blinking ด้วย LED

กด button เพื่อเปลี่ยน program การ Blinking ของ LED ด้านหน้า 4 ดวงและด้านหลัง 3 ดวง: ON/BLINK1/BLINK2/OFF/

โปรเจกต์ ไฟจักรยาน Blinking ด้วย LED

อุปกรณ์ที่ต้องใช้

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

1x Resistor 75 Ohm
🔍 ค้นหา
3x Resistor 120 Ohm
🔍 ค้นหา
1x Resistor 10 kOhm
🔍 ค้นหา
1x Jumper wires (generic)
🔍 ค้นหา
1x Arduino Nano 33 IoT
🔍 ค้นหา
1x Solder Wire, Lead Free
🔍 ค้นหา
4x High brightness LED white
🔍 ค้นหา
1x Soldering iron (generic)
🔍 ค้นหา
2x Resistor 36 Ohm
🔍 ค้นหา
3x High brightness LED red
🔍 ค้นหา

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

I have a large cargo bike and I wanted to make sure that I can be seen from all sides during night. To be more visible I wanted to have blinking lights. But of course I also wanted to be able to turn off / on the LED lights.

By pushing one button it is possible to scroll trough 4 programs:

1. When the battery is connected all lights are turned on.

2. Program 2 is a blinking program. Here half the LEDs are turned off and the other half turned on. With that program the permanent current consumption is half. Blink period is 200 blinks/minut. (Can be adjusted in the program)

3. Program 3 is also a blinking program. Here all LEDs are turned on and off at the same time. Blink period is 200 blinks/minut. (Can be adjusted in the program)

4. All LEDs are turned off.

As mentioned above it is possible to get back to turn on all LED lights by pushing the button again and scroll trough the programs.

All LED's were found on the road, when cycling trough the city. You know the cheap silicione type with 3V flat batteries in it. The battery is often flat, but the LED's are great and for free.

To find the right resistor I actually used potentiometers. Max. allowable output current on a Arduino nano are 40mA. Depending on type of LED I used 20mA to 40mA. Of course livetime is shorter, when you run the LED with higher current. But until know all the LEDs I used managed the high current of 40mA.

ALL LED's on the hardware page are just for information. I did not test them with. I just "guessed" some resistors that could fit.

Code

🔒 ปลดล็อก Code

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

รหัสอ้างอิงโปรเจกต์: blinking-bicycle-light-with-led-847af1
299 บาท
PromptPay QR Code