It is time to start working on the circuit, I had an Idea to try print the PCB at home but most of the components are still on the way from China ![]()
Luckily I did got some drivers for other project and can use them:
- In order to separately control 2 LEDs (Flood and Spot) I have to use both PWM pins of the MCU. (pin 5 and pin 6).
- Pin 2 (PB3) will be set as a pull up input and be connected to GND by a Momentary NO switch.
- Pin 3 (PB4) will be set as a digital output and connected to a blue (red is in the lost package) LED for battery indication.

Since I have to use a Nanjg 105C and a 1.4A single mode Drives, the control of the 2nd driver will be connected to Star2 (pin5 - OC0A) of the Nanjg.
The blue led will be connected to Star3 (pin3 - PB4)
And the switch to Star4 (pin2 - PB3)
