I am new to this forum and to the marvels of the Arduino. I’ve spend several months fiddling around, trying different designs and getting boards fabricated to see how it goes. Now I’d like to get one to actually work as intended XD
The enclosed board / schematic is designed to work on my scooter (12-15VDC power) and basically to drive LEDs in the instrument cluster according to following inputs:
Battery voltage (BATT_POWERED input)
Input from a rotary encoder with included push-button to light up selected tell-tales (ENCODER_PIN1; ENCODER_PIN2; ENCODER_PB)
Cluster lighting is driven directly via 2 LM1117 power regulators, the third regulator powers the ATMega and a 74HC595 shift register. The LEDs won’t appear on this particular board, as they are attached to other PCBs in the cluster, hence the resistors connected to the headers.
Could some of you please have a glance at the board and help me answer the following:
I have included an ICSP header onto my board to update the program now and again: is it set-up correctly?
I have noticed I have to disconnect all output pins to program an Arduino Uno board to avoid ‘get sync’ errors, how can I do that on my project as everything is connected to the same ground plate?
Is the rotary encoder hooked-up correctly to the ATMega?
Have I forgotten any caps and whatnot to make my ATMega work standalone?
Of course, I’m more than willing to provide you with any further details you might need to answer all these questions!
Thanks A LOT for your help
PCBArduino6.brd (118 KB)
PCBArduino6.sch (236 KB)