kbr-net / sdrive-max

Arduino based Atari 8-bit Floppy Emulator with Touchscreen
http://www.kbrnet.de/projekte/sdrive-max/index.html
GNU General Public License v3.0
94 stars 22 forks source link

LED #20

Closed iCityWork closed 4 years ago

iCityWork commented 5 years ago

Are there any ports on the Arduino that I could hook LED's to in order to have a drive activity LED? Working on an 810 enclosure and would love to have the two LEDs on the front functional. Thanks, Gavin

kbr-net commented 5 years ago

Would be difficult, because all ports are in use.

iCityWork commented 5 years ago

There is no way to piggyback on one of them to drive the LED?

kbr-net commented 5 years ago

The only way i see, the PLCC-Version of atmega328 has 2 more ports, which are not assigned to pins, they could be used.

kbr-net commented 5 years ago

An other idea is to use the SD cards chip select line(Pin 10) to drive a led with, but this will be very short flashes.

Mi1ezDR commented 4 years ago

I'm still a circuit noob but couldn't you could use a capacitor to help keep the LED's lit for a little longer (milliseconds) until the capacitor has emptied out so that you have a visual chance to see it's been working?

kbr-net commented 4 years ago

Just try it!

TzOk83 commented 4 years ago

Actually the USER_LED, which is hooked to the PIN 13 (PB5), is nicely blinking when there is a drive activity. It is the SD-card's CLK line (SD_SCK).