Re: The F-1 (aka "I Was Too Excited to Draft the UART Circui
Posted: Wed Aug 11, 2021 9:13 pm
So, of course, I'm planning the next revision! The circuit is not going to change significantly, mostly I'm trying to slim the layout down, make a more useful control header, and add a power switch.
I am considering replacing the DS1813. Mouser has the DS1813 for ~$2.30USD (depending on the tolerance you choose). An ATtiny14 is ~$1.40USD.
Attiny14 proposed pinout:
1- RESET pushbutton
2- External Oscillator In
3- NMI Pushbutton
4- GND
5- CLK/PHI2 Out (generated from OC0A timer compare out)
6- /RESET Out (pulse emitted upon reset of the AVR)
7- /NMI Out (debounced pushbutton)
This (as you could infer) provides debounced /RESET & /NMI, as well as a timer driven clock source (adjustable through reprogramming, not on board).
I'm guessing the brownout detector on the attiny14 is not quite as sophisticated as the power supervision in the DS1813, but I do believe that it will still reset the AVR until the power supply is stable. The only problem is that the actual RESET signal for the 6502 wouldn't be emitted until the AVR finishes reset (instead of being brought into reset as soon as brownout is detected). I think for hobby purposes this may be fine?
I haven't specc'd a DS1813 for my NMI line yet, but I know many folks have talked about it as an option. It seems convenient that the one cheaper attiny could replace the two DS1813s...
Any thoughts on this line of inquiry?
I am considering replacing the DS1813. Mouser has the DS1813 for ~$2.30USD (depending on the tolerance you choose). An ATtiny14 is ~$1.40USD.
Attiny14 proposed pinout:
1- RESET pushbutton
2- External Oscillator In
3- NMI Pushbutton
4- GND
5- CLK/PHI2 Out (generated from OC0A timer compare out)
6- /RESET Out (pulse emitted upon reset of the AVR)
7- /NMI Out (debounced pushbutton)
This (as you could infer) provides debounced /RESET & /NMI, as well as a timer driven clock source (adjustable through reprogramming, not on board).
I'm guessing the brownout detector on the attiny14 is not quite as sophisticated as the power supervision in the DS1813, but I do believe that it will still reset the AVR until the power supply is stable. The only problem is that the actual RESET signal for the 6502 wouldn't be emitted until the AVR finishes reset (instead of being brought into reset as soon as brownout is detected). I think for hobby purposes this may be fine?
I haven't specc'd a DS1813 for my NMI line yet, but I know many folks have talked about it as an option. It seems convenient that the one cheaper attiny could replace the two DS1813s...
Any thoughts on this line of inquiry?