lincomatic / open_evse

Firmware for Open EVSE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MOSI output for Type 2 socket locking actuator

DariusPL opened this issue · comments

Hi Folks,

I've experienced the following issue testing the EVSE + Type 2 socket locking actuator

Unlocking works fine being activated while the EVSE is turning off what it is an expected behaviour.
12V DC motor is supplied via the univ. H-bridge DC motor driver with 5V (0,1) logic inputs for turning direction control. For unlocking purpose it is triggered from MISO (ISP1).

An issue is while locking. I was not able to get high signal "1" on MOSI (ISP1) regardless of the EVSE state (A,B,C). Based on the source code as a default MOSI should provide high signal in State B.

In order to simulate expected funcionality the DC motor driver has been triggered from LED RGB v2 (yellow LED) instead of MOSI with positive result --> the locking actuator has turned in the right direction (oposite to unlocking) and locked the cable plug corectly.

I am wondering if the locking function is enabled as an EVSE default settings or the source code to be modified to enable locking function.
The EVSE has loaded V5.0.1 US firmware. Same behaviour and issue with V5.1.0.EU.

May I ask you Gents to share your expertise

Regards
Darek,

Follow up to the above issue. Measurements on the ISP1 pins taken while EVSE in state B (LCD shows Connected) are as follows:
GND - 5V = 4,92V
GND - MOSI = 0,02V
GND - MISO = 0,02V
GND - RESET = 4,94V
GND - SCK = 0,0V

Isssue closed, root casue caused by my own mistake while re-writing part of source code. manually.