2019-05-15 11:13:30 +00:00
|
|
|
# TwizyChargeThrottle
|
|
|
|
|
|
|
|
This is a very simple tool to limit the Twizy charge current if you don't have an OVMS.
|
|
|
|
|
2019-05-17 14:15:37 +00:00
|
|
|
It can limit the charge current to a fixed level (defined in the config file) or use a
|
|
|
|
coded rotary switch or simple DIP switch for dynamic level adjustment. It can signal
|
|
|
|
the charging state and active throttling by LEDs.
|
|
|
|
|
|
|
|
See [wiring scheme](extras/Wiring.pdf) for an example using a coded rotary switch.
|
2019-05-15 11:13:30 +00:00
|
|
|
|
|
|
|
The Arduino needs to be connected to the Twizy CAN bus during the charge process to be able
|
|
|
|
to actively overwrite the charge current control frames.
|
|
|
|
|
2019-05-17 14:15:37 +00:00
|
|
|
Note: using an interrupt capable CAN shield is highly recommended. No attempt at
|
|
|
|
reducing the Arduino current consumption is made, include a power switch or fork and
|
|
|
|
extend the code for sleep mode (and send me a pull request).
|
2019-05-15 11:13:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Info
|
|
|
|
|
|
|
|
Author: Michael Balzer <dexter@dexters-web.de>
|
|
|
|
|
|
|
|
Libraries used:
|
|
|
|
- MCP_CAN: https://github.com/coryjfowler/MCP_CAN_lib
|
|
|
|
|
|
|
|
This is free software under GNU Lesser General Public License (LGPL)
|
|
|
|
https://www.gnu.org/licenses/lgpl.html
|