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

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

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

Rolling Lemon - '02 Corolla S
Team Toyota
90 day: 40.94 mpg (US)
Thanks: 27
Thanked 13 Times in 13 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!


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
American by right
Ecomodder by choice
Hypermiler by necessity

  Reply With Quote
Old 12-19-2008, 01:17 PM   #22 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,554

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 373
Thanked 297 Times in 188 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 Images
File Type: jpg DSCF2335.JPG (85.6 KB, 482 views)
__________________
When I die, I would like to go peacefully, in my sleep, like my grandfather did. Not screaming and yelling like the passenger in his car.
  Reply With Quote
Old 12-21-2008, 12:57 AM   #23 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,554

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 373
Thanked 297 Times in 188 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 Images
File Type: jpg DSCF2365.JPG (101.8 KB, 328 views)
File Type: jpg DSCF2366.JPG (57.8 KB, 381 views)
File Type: jpg DSCF2368.JPG (125.8 KB, 300 views)
File Type: jpg DSCF2369.JPG (81.3 KB, 305 views)
__________________
When I die, I would like to go peacefully, in my sleep, like my grandfather did. Not screaming and yelling like the passenger in his car.
  Reply With Quote
Old 12-21-2008, 09:42 PM   #24 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 391

Quad Cam - '00 Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 13
Thanked 2 Times in 2 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, 10:28 PM   #25 (permalink)
"Crush"
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 3,863

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

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

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

The Wife's Car - Plug-in Prius - '04 Prius
90 day: 71.8 mpg (US)
Thanks: 4
Thanked 280 Times in 184 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, 10:49 PM   #26 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 12,538

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 125.37 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 85.75 mpg (US)
Thanks: 302
Thanked 1,021 Times in 569 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.
__________________
Latest project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


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-21-2008, 11:04 PM   #27 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 391

Quad Cam - '00 Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 13
Thanked 2 Times in 2 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-21-2008, 11:05 PM   #28 (permalink)
"Crush"
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 3,863

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

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

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

The Wife's Car - Plug-in Prius - '04 Prius
90 day: 71.8 mpg (US)
Thanks: 4
Thanked 280 Times in 184 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-21-2008, 11:11 PM   #29 (permalink)
Master EcoModder
 
Funny's Avatar
 
Join Date: Apr 2008
Location: Massachusetts
Posts: 407

Rolling Lemon - '02 Corolla S
Team Toyota
90 day: 40.94 mpg (US)
Thanks: 27
Thanked 13 Times in 13 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, 03:41 PM   #30 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,554

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 373
Thanked 297 Times in 188 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).


(Support Ecomodder.com & get rid of these annoying ads!)      
 
Attached Files
File Type: txt PWMAndInputTest.txt (4.8 KB, 365 views)
__________________
When I die, I would like to go peacefully, in my sleep, like my grandfather did. Not screaming and yelling like the passenger in his car.

Last edited by MPaulHolmes; 12-22-2008 at 11:13 PM..
  Reply With Quote
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 728 05-14-2012 07:44 AM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 529 03-12-2012 02:16 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04:10 PM




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