After days of putting up this power supply board with everything soldered together. Now being happy and all after long working hours, I wrote a testing code for the board, and suddenly I got this error.
avrdude: stk500_getsync(): not in sync: resp=0x00
I know it means that my pc is not communicating with my arduino. but why? what is possibly the cause for this error?
I know it is not the problem from: 1, usb driver; 2, software; 3, the code; and I have not connected anything to pin tx, and rx.
there are my pin layout:
Outpin 10: CS Digital Potentiometer enable Pin
Outpin 9: swtich P-fet (Power OutPut)
Outpin 8: swtich NPF (discharger)
A0: button OK (Digital)
A1: Button → (Digital)
A2: Button <+ (Digital)
A3: Shunt Voltage (Analog)
A4: Temp Sensor (Analog)
A5: Battery Voltage (Analog)
A6: Power out Voltage (Analog)
A7: Discharge Battery Voltage (Analog)