Fully Open CCS Charge Controller (FOCCCI)

From openinverter.org wiki
Revision as of 18:18, 21 March 2024 by Uhi22 (talk | contribs)
Jump to navigation Jump to search

Disclaimer: This Page is still work in progress! Any information written here is a draft only and should be handled as such. Contributions more then welcome. If you have questions please ask them in the discussion section of the page or in the OpenInvert Forum.

Foccci (v3) pinout


This page is about FOCCCI. FOCCCI is an open source CCS Charge Controller started by Uhi and developed by the OpenInverter Community.

Here you will find documentation on the Hardware, where to get it (or how to build it yourself), News regarding the development and many more great things.


On Foccci runs the reference software CCS32Clara (also referred to as Clara).


Foccci on Github.

Foccci in the OpenInverter Forum.

Pin description

External connector ("Deutsch Header")

Pin nr Short name Description
A1
A2
A3
A4
A5 IN_U_HV Analog input 0 to 5V, with pull-down-resistor. Can be used to measure the charge port voltage, using a converter board, e.g. the "muehlpower board"
A6
A7 SW2_LS Low-side switch for charge port contactor 2.

Controls one of the contactors to make the connection between the HV battery and the vehicle inlet. One side of the contactor is usually connected to 12V, the other side to A7, which is pulled pulled to ground by Foccci to turn-on. The output can drive inductive load without additional circuits. It will clamp the turn-off voltage to ~40V. The driver has protection against shortcut and thermal overload. The output can be configured to be just digital on/off, and can also be configured to use PWM. BUT: In Foccci versions 4.2 and 4.3 (maybe more) the output driver is only capable of slow PWM, which is hearable and may cause trouble with the contactors. So it is recommended to NOT use the PWM feature, and instead use contactors which do not require economizing or use external economizers. In case you want the PWM nevertheless, you need a external freewheeling diode.

A8
A9
A10
A11
A12
B1
B2
B3
B4
B5
B6 SW1_LS Low-side switch for the charge port contactor 1. See description of SW_LS2.
B7
B8
B9
B10
B11
B12

Internal connectors

short name description
UART TX Provides logging information, 921600 Baud. See also https://github.com/uhi22/ccs32clara/blob/main/doc/clara_user_manual.md#serial-logging
UART RX Not used
SWCLK for flashing with STLINK
SWDIO for flashing with STLINK

Hardware detection

3.3v Addressing Voltage Divider.png

To allow software to reliably detect which version hardware it runs on, in HW version 4.1 a version indication resistor was added. As opposed to some other boards that run at 5.3V, the voltage here is 3.3V.

Variant R1 R2 voltage ADC -3% +3%
- 47 2,7 0,179 222 216 229
- 47 3,3 0,217 269 261 277
- 47 3,9 0,253 314 304 323
- 47 4,7 0,300 372 361 383
- 47 5,1 0,323 401 389 413
- 47 5,6 0,351 436 423 449
- 47 6,8 0,417 518 502 533
- 47 7,5 0,454 564 547 580
4.0 with economizer 47 8,2 0,490 608 590 627
- 47 9,1 0,535 664 644 684
4.2 47 10 0,579 718 697 740
4.3 47 12 0,671 833 808 858
4.4 47 15 0,798 991 961 1020
4.5 47 18 0,914 1134 1100 1168
47 22 1,052 1306 1266 1345
47 27 1,204 1494 1449 1539
47 33 1,361 1689 1639 1740
47 39 1,497 1857 1801 1913
47 47 1,650 2048 1986 2109
47 56 1,794 2226 2160 2293