Arduino Uno Code for EV Charger together with the design files etc
This project is documented in detail here: https://jamesfotherby.com/index-page/electric-vehicle-charger/
Arduino Uno Code for EV Charger
License: MIT License
Arduino Uno Code for EV Charger together with the design files etc
This project is documented in detail here: https://jamesfotherby.com/index-page/electric-vehicle-charger/
hi @fotherja,
great experiment btw, i happen to do the same thing with pico as a trial to see if i can make my own complete product out of it.
do you consider putting up a course about it? maybe on udemy or similar? that would be a killer i think and im gonna buy right in to it! :)
Hi.
I have copied your circuit part-for-part on your PCB and am having a few issues. Using resistors and a diode on the CP line, I can toggle between state A and state B, but cannot get into state C where charging begins.
If I connect my car (Tesla Model Y Perf) the car requests charging but the contactors never click. The car stops with "Ready to charge, waiting for charger power". The charger UART shows State A going into State B and stopping.
Just wondered where I should look first.
Thanks!
Can you select a license if you are intending this to be open source? Without a license, we can't use your materials even for private use or contribute to it.
Thanks, it looks great!
Hi James.
Do you know what changes if I wish to make a 3-phase variant of this? My understanding is that I just provision 2 more relays and adjust the GFCI to monitor all phases?
Is the protocol is the same, with the PWM indicating the current per phase?
First, thanks for your work and for sharing it! I was looking at the code and found something I would like to understand better. Is ADC working in the way, that it reads Pilot voltage once and then GFCI value for 255 times? Then "selector" overflows and repeats?
`// This code runs when the PWM signal is in the middle of its low period
ISR(TIMER1_OVF_vect)
{
static byte selector = 0;
if(ADCSRA & 0b01000000) // If the ADC is still performing a conversion (it shouldn't be) then return
return;
if(selector && 1) {
ADMUX = B01000000;
ADCSRA |= B01000000;
ADC_Channel = 0;
}
else {
ADMUX = B01000001;
ADCSRA |= B01000000;
ADC_Channel = 1;
}
selector++;
}`
I think it violates the standard where you need to "react" to any change from state C within 100ms. Correct me if I'm wrong.
Hi James. I’ve been eying up your project for a while and even got some PCBs printed. I just wanted to double check that it’s all working as expected a year or more after it looks like this was completed. Any additional thoughts since the project was last updated?
Cheers,
Olly
Hi James
I've flashed the pro mini and with no other hardware connected, just the mini connected via the serial-USB dongle, I get the following on the serial monitor:
Ground fault detection time: 19 ms
GFCI Test Successful
Starting in State A
FAULT: 5
I guess fault 5
is to be expected - no pilot voltage, but I wouldn't have expected it to pass the GFCI test. Would you expect it to do this if detached from the board?
Thanks
I couldn't see where you specify a part number for the transformer. Do you have a recommended part from AliExpress, eBay, etc.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.