Files

Last update 4 years 3 weeks by Collin Kidder
Files
Shield
docs
.cproject
.gitattributes
.gitignore
.project.copy
BLE_Characteristics.txt
BatteryManager.cpp
BatteryManager.h
BluefruitConfig.h
BrusaMotorController.cpp
BrusaMotorController.h
CANIODevice.cpp
CANIODevice.h
CKMotorController.cpp
CKMotorController.h
CMakeLists.txt
CanBrake.cpp
CanBrake.h
CanHandler.cpp
CanHandler.h
CanPIDListener.cpp
CanPIDListener.h
CanThrottle.cpp
CanThrottle.h
CodaMotorController.cpp
CodaMotorController.h
DCDCController.cpp
DCDCController.h
DMOC.txt
Device.cpp
Device.h
DeviceManager.cpp
DeviceManager.h
DeviceTypes.h
DmocMotorController.cpp
DmocMotorController.h
ELM327Processor.cpp
ELM327Processor.h
ELM327_Emu.cpp
ELM327_Emu.h
EVIC.cpp
EVIC.h
FaultCodes.h
FaultHandler.cpp
FaultHandler.h
GEVCU.h
GEVCU.kdev4
GEVCU.sln
GEVCU.vcxproj
GEVCU.vcxproj.filters
GEVCU6.ino
Heartbeat.cpp
Heartbeat.h
LICENSE
Logger.cpp
Logger.h
MemCache.cpp
MemCache.h
MotorController.cpp
MotorController.h
OBD2Handler.cpp
OBD2Handler.h
PotBrake.cpp
PotBrake.h
PotThrottle.cpp
PotThrottle.h
PowerKeypad.cpp
Powerkeypad.h
PrefHandler.cpp
PrefHandler.h
README.md
RMSMotorController.cpp
RMSMotorController.h
SerialConsole.cpp
SerialConsole.h
Sys_Messages.h
TestMotorController.cpp
TestMotorController.h
TestThrottle.cpp
TestThrottle.h
ThinkBatteryManager.cpp
ThinkBatteryManager.h
Throttle.cpp
Throttle.h
ThrottleDetector.cpp
ThrottleDetector.h
TickHandler.cpp
TickHandler.h
VehicleSpecific.cpp
VehicleSpecific.h
adafruitBLE.cpp
adafruitBLE.h
config.h
constants.h
eeprom_layout.h
gearsandopstates.txt
paramcache.h
readme.eclipse.txt
sys_io.cpp
sys_io.h
workinprogress.txt
README.md

GEVCU

Generalized Electric Vehicle Control Unit

Our website can be found at : <![CDATA[]]>http://www.evtv.me<![CDATA[]]>

NOTE: This branch is quite old and not really supported at this point. Use the DEV branch of this project if at all possible. It is newer and better supported. Eventually the DEV branch will be merged back into this master branch.

A project to create a fairly Arduino compatible ECU firmware to interface with various electric vehicle hardware over CANbus (and possibly other comm channels)

The project now builds in the Arduino IDE. So, use it to compile, send the firmware to the GEVCU hardware, and monitor serial. It all works very nicely.

You will need the following to have any hope of compiling and running the firmware: - A GEVCU board. This version supports hardware 6.23c and later. - Arduino IDE 1.5.4 - or later - due_can library - There is a repo for this under github.com/Collin80 - can_common library - Also under Collin80 repos - due_rtc library - Also under Collin80 - due_wire library - once again - DueTimer library - and again - Microsmooth library (Also in repos: <![CDATA[]]>https://github.com/collin80/Microsmooth<![CDATA[]]>) - Adafruit_BLE_SPI library - You need the development branch from my repos: <![CDATA[]]>https://github.com/collin80/Adafruit_BLE_SPI/tree/development<![CDATA[]]>

All libraries belong in %USERPROFILE%\Documents\Arduino\libraries (Windows) or ~/Arduino/libraries (Linux/Mac). You will need to remove -master or any other postfixes. Your library folders should be named as above.

The canbus is supposed to be terminated on both ends of the bus. If you are testing with a DMOC and GEVCU then you've got two devices, each on opposing ends of the bus. GEVCU hardware is already terminated internally.

This software is MIT licensed:

Copyright (c) 2014 Collin Kidder, Michael Neuweiler, Charles Galpin, Jack Rickard

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Report a bug