Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamMatt_x89 wrote:After applying the 5V voltage to 8 the motor driver's foot starts without any problems. I checked all the legs you asked for and there is tension on them. The motor controller base is well soldered.
$regfile = "m128def.dat"
$crystal = 16000000
Config Pina.0 = Output
Config Pinb.5 = Output
Config Pinb.6 = Output
Config Pinb.7 = Output
porta.0=0
portb.5=0
portb.6=0
portb.7=0
Do
Set Portb.5
Wait 1
Set Portb.6
Wait 1
Set Portb.7
Wait 1
Set Porta.0
Wait 3
Reset Porta.0
Wait 1
Reset Portb.5
Wait 1
Reset Portb.6
Wait 1
Reset Portb.7
LoopTL;DR: A DIY HDDClock spins a hard-disk platter at ~60 Hz and draws ≈1 A @ 5 V to project a full-colour, 240-step clock face; “vibration is almost missing” [Elektroda, mb1988, post #6985675] Why it matters: this FAQ helps makers reboot or improve the viral RGB HDD clock with fewer pitfalls.
• Bill of materials: ≈ PLN 150 (≈ €35) excluding the donor drive [Elektroda, mb1988, post #6985675] • Power budget: 5 V, 1 A total; LEDs and motor are the main loads [Elektroda, mb1988, post #6986211] • Rotor speed window: 35–61 Hz gives stable 240-step display [Elektroda, mb1988, post #6986465] • Core parts: ATmega128 MCU, DS1307 RTC, TDA5140A BLDC driver, RC5 IR decoder TSOP34836 [Elektroda, mb1988, post #6984995] • Typical noise: “cooler level in a laptop” ≈ 25 dB(A) at 1 m [Elektroda, mb1988, post #6985675]
-U lfuse:w:0xFF:m -U hfuse:w:0x9F:m -U efuse:w:0xFF:m [Elektroda, mnemonic, post #17683505]python -m pip install pyserial bincopy.megaload.py --port COMx --file app.hex --reset at 38 400 baud (UART1).Page #n -> success messages; finish when “Flashing completed!” appears [Elektroda, mb1988, post #6984995]