NGC Schematics
NGC Schematics
A A
J1
1
1
2 Programming header intended for the Microchip
2 PicKit3 debugger/programmer. According to
3
3 Microchip documentation, the PicKit2 will not work.
4
4 Other Microchip units could be used but will require
5
5 an adapter.
6 5V
6
1X6 PIN HEADER
5V is provided to the module by the charger. When the
module is installed in the charger, ensure that the C1 Ground/Common - Enough said.
PicKit3 is not supplying 5V power to the modle. The 5V GND 100nF
PicKit3 5V power can be used to operate the module
when not installed in the charger. TH1 TH28
This is called the soft start pin but can better be
The WDO pin should toggle the watchdog timer input WDO SOFT_START thought of as the charger enable/disable pin.
(WDI) pin of the charger's reset controller chip (U2). GND Setting soft_start to 0V enables charging, setting
TH2 TH27 it to 5V disables charging.
28
27
26
25
24
23
22
21
20
19
18
17
16
15
This pin turns on all system fans when set to 1 or 5V. Pullup resistors have been added such that all is
needed is a basic toggle switch to control the
FANS U1 input. These can be used to control the module
RB5/AN13
RB4/AN11
RB3/SDO2/AN9
RB2/SDI2/AN8
RB1/SCK2/AN10
VSS
RC7
RC6
RB6/PGC
RB7/PGD
VDD
RB0/SS2/AN12
RC5/SDO1/AN17
RC4/SDI1/AN16
PIC18F25K22-I/SS anyway someone might want, will just require
TH6 TH23
This is the chip select for the digital potentiometer. some very basic programming.
Don't do anything with this pin.
CS C1
TH7 TH22
This is the data output pin for the digital
potentiometer. Don't do anything with this pin.
SDI TP Pin 19 has a 0-5V voltage that is sampled by the
RC3/SCK1/AN15
This is the clock output pin for the digital chip's A/D and is proportional the battery
TH8 TH21
RA5/SS1/AN4
potentiometer. charging output current. The voltage that is
Don't do anything with this pin. detected here is a function of the current shunt
RA0/AN0
RA1/AN1
RA2/AN2
RA3/AN3
actual current.
RA4
RA7
RA6
RC0
RC1
RC2
VSS
NOT USED TH9 TH20
Pin 18 has a 0-5V voltage that is sampled by the
chip's A/D and is a variable fraction of the pack
1
2
3
4
5
6
7
8
9
10
11
12
13
14
voltage. The actual voltage detected here is a
TH10 TH19 complex function of the actual battery voltage,
NOT USED - Pin 11 is the master reset pin used by the CURRENT the settings of the analog (U) potentiometer, the
microcontroller on the original unit but does not VOLTAGE bias settings of the digital pot reference, and the
C provide any useful function to the new module. It also difference amplifier U12B. C
screws up the PicKit3 debugging if tied to the MCLR TH11 TH18
pin.
AUX2 NOT USED
This pin controls the AUX2 relay.
TH12 TH17
This pin detects a voltage related to an external
This pin controls the AUX1 relay. temperature sensor. This as not yet been
AUX1 EXT_TEMP implemented in code.
TH13 TH16
This pin controls the digital sounder. The output of this This pin detects a voltage related to the
pin should be a square wave inorder for the sounder to temperature of the controller. This has also not
actually make noise. SOUNDER OVER_TEMP yet been implemented.
TH14 PRI-CURRENT TH15
2
1
2
1
J2
22-03-2021 This circuitry should only be used if you want
to measure the primary input current at the
R4 point shown at D2 of the logic board
10K schematics, otherwise it should not be used.
Most people will not have any reason to do
this. For those who do, the values of R4, R5,
and C2 will have to be set accordingly for the
different chargers. Modules that are built will
C2 R5 not come with these components installed.
D D
100nF 10K
GND
Title NG Controller Module
Size: Tabloid Engineer: D. Mellick Revision: 1.1
Date: 1/20/2012 Time: 1:33:25 PM Sheet 1 of 1
File: NG3.SchDoc
1 2 3 4 5 6