Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 12-19-2008, 01:49 PM   #21 (permalink)
Master EcoModder
 
Funny's Avatar
 
Join Date: Apr 2008
Location: Massachusetts
Posts: 409

Eco-Fit - '13 Honda Fit Base
90 day: 37.06 mpg (US)
Thanks: 30
Thanked 18 Times in 18 Posts
I don't even have an EV and I find this facinating . I would think that you could mass produce these for a bunch of people on this forum .

Just kidding, though the instructions are in depth enough that once this is working, you may have something that goes mainstream! Good luck!

__________________
American by right
Ecomodder by choice
Hypermiler by necessity

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 12-19-2008, 02:17 PM   #22 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Thanks! I've been thinking that a highly modularized kit (not lots of skill needed to assemble, maybe just time) might be good. Once a program is written and works well for the controller, the ATMega8 chips are only about $1 each, and the STK500 programmer takes less than a second to program the chip, and software is free, but don't tell Microsoft that. Maybe if I assembled a bunch of logic boards (the low power half), and cut the bus bars (the heavy copper B-, B+, and M-) for the controller, and etched the heavy 4 ounce (per square foot) copper PCB that will be bolted to those bars, and maybe soldered the mosfets and capacitors to the heavy board, the rest would be maybe a couple hours of work assembling that someone without a lot of tools could do?

Update: Some anger! I programmed the chip, built the low power half of the circuit, and the dang LED didn't come on! It's hard to use a $2.99 volt meter to measure voltages that are going from 0 to 5 volts thousands of times a second. My oscilloscope will probably be here really soon, since the probes and power cord came yesterday! I need that thing to see what's going on!

Update 2: I found a mistake in the assembly of the circuit. I hope this fixes the problem.
Attached Thumbnails
Click image for larger version

Name:	DSCF2335.JPG
Views:	1896
Size:	85.6 KB
ID:	2420  
__________________
kits and boards
  Reply With Quote
Old 12-21-2008, 01:57 AM   #23 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Baby motor controller (5v 0.01amp) completed!

There were more than a few mistakes in both the circuit AND the program! It took HOURS to fix them all. ANGER! My beautiful oscilloscope came today. No plug that fit, but I had a spare computer plug that fit. With it, I could enter the world that I had been blind to until now.

So, I hooked up a throttle, and could control my pwm signal. Next, I need to send the pwm signal to a driver to amplify it, and then use the driver to turn on a few mosfets. Next step, 72v 40amp bike controller! Hold me back! Hold me back!

The picture of the oscilloscope with the green lines shows the pwm. It was about 80% of full throttle.

I think I'll install this version in my car and see what sort of acceleration I get. I'm guessing about the same as the forkenswift.
Attached Thumbnails
Click image for larger version

Name:	DSCF2365.JPG
Views:	1630
Size:	101.8 KB
ID:	2428   Click image for larger version

Name:	DSCF2366.JPG
Views:	1778
Size:	57.8 KB
ID:	2429   Click image for larger version

Name:	DSCF2368.JPG
Views:	1577
Size:	125.8 KB
ID:	2430   Click image for larger version

Name:	DSCF2369.JPG
Views:	1687
Size:	81.3 KB
ID:	2431  
__________________
kits and boards
  Reply With Quote
Old 12-21-2008, 10:42 PM   #24 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Ouch! Someone who lives close to Darin go over and pull that knife out of his back. I could feel that all the way from here...
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-21-2008, 11:28 PM   #25 (permalink)
EV test pilot
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435

Electric Cycle - '81 Kawasaki KZ440
90 day: 334.6 mpg (US)

S10 - '95 Chevy S10
90 day: 30.48 mpg (US)

Electro-Metro - '96 Ben Nelson's "Electro-Metro"
90 day: 129.81 mpg (US)

The Wife's Car - Plug-in Prius - '04 Toyota Prius
90 day: 78.16 mpg (US)
Thanks: 17
Thanked 663 Times in 388 Posts
I'm sensing an EcoModder Open Source Car Project™ coming on here.....

Paul, maybe you wanted to keep around the "baby PWM driver".

You could put it on your dashboard so that as you spin the engine up and down, the LEDs get brighter to indicate your power. Might be a cool motor indicator!
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 12-21-2008, 11:49 PM   #26 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,527

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 54.46 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car Mirage - '14 Mitsubishi Mirage ES (base)
90 day: 62.14 mpg (US)
Thanks: 4,078
Thanked 6,976 Times in 3,612 Posts
Anger! (So much anger in this thread...)

No, no, that's OK. You guys can have your copious extravagant power. And your acceleration. And your breaking of things from said power. Nya, nya.
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 12-22-2008, 12:04 AM   #27 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Quote:
Originally Posted by bennelson View Post
the LEDs get brighter to indicate your power. Might be a cool motor indicator!
Oooo! I'm likin' it even more. A controller, pack indicator, dc convertor, and tach all in one!!!

Soon, we'll all be saying it: "You have saved us from the Evil Fuel Lords. We are forever in your debt!"
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-22-2008, 12:05 AM   #28 (permalink)
EV test pilot
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435

Electric Cycle - '81 Kawasaki KZ440
90 day: 334.6 mpg (US)

S10 - '95 Chevy S10
90 day: 30.48 mpg (US)

Electro-Metro - '96 Ben Nelson's "Electro-Metro"
90 day: 129.81 mpg (US)

The Wife's Car - Plug-in Prius - '04 Toyota Prius
90 day: 78.16 mpg (US)
Thanks: 17
Thanked 663 Times in 388 Posts
Us 72V electric cars are pretty furious!

Whatever I brake, I just have to rebuild stronger!

__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 12-22-2008, 12:11 AM   #29 (permalink)
Master EcoModder
 
Funny's Avatar
 
Join Date: Apr 2008
Location: Massachusetts
Posts: 409

Eco-Fit - '13 Honda Fit Base
90 day: 37.06 mpg (US)
Thanks: 30
Thanked 18 Times in 18 Posts
Re-build the parts until they stop breaking for a month. Then mass produce the sucker. That's how the Big 3 does it... oh yeah... never mind .
__________________
American by right
Ecomodder by choice
Hypermiler by necessity

  Reply With Quote
Old 12-22-2008, 04:41 PM   #30 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Program with step by step instructions

Hello! OK, so I have carefully tested the small controller, and watched the results on the oscilloscope. Finally, the software appears to be without any errors, and is much simpler and easier to read now. I think I'll run the bike controller at 4kHz. It may irritate dogs in the neighborhood, but it will keep switching losses down, and it's just a first draft. Well, second draft if you count the 5v 0.01amp one.

To compile this program, download the FREE Atmel AVR Studio!
Atmel AVR Studio


To compile the program, change the file name to end with .c instead of .txt

It wouldn't let me upload it here unless it was in ".txt" format.

There are a lot of page references in PWMAndInputTest.txt. They refer to the PDF of the documentation for the ATMega8. It can be found HERE!
Also, the code assumes you are using the PDIP version of the chip (28 pin version).

Attached Files
File Type: txt PWMAndInputTest.txt (4.8 KB, 929 views)
__________________
kits and boards

Last edited by MPaulHolmes; 12-23-2008 at 12:13 AM..
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
faerietree (07-14-2012)
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3431 05-04-2022 06:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 05:10 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com