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 06-05-2009, 11:27 AM   #1561 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Australia
Posts: 109
Thanks: 0
Thanked 2 Times in 2 Posts
I was just glancing over the schematic and noticed that pins 4 & 5 of J1 have the same net name, my PCB cad package would tie them together. Hope that is not an issue with yours.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-05-2009, 12:03 PM   #1562 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by MazdaMatt View Post
quick googling turned up nothing... are the atmel users just not interested in interrupt driven communication? Every uart code snippet I saw had a while(blah blah){sit here with your thumb up your...}
....
Code:
FUNCTION Main
  Enable Global Interrupts

  LOOP FOREVER
    {Do Stuff}
    Transmit_Data(Data)
    Sleep
  END LOOP
END FUNCTION

FUNCTION Transmit_Data(Data)
  Store Data into RingBuffer
  Enable TX Buffer Empty Interrupt (instead of Dean's TX Complete Interrupt)
END FUNCTION

ISR TX_BUFFER_EMPTY_ISR
  IF RingBuffer NOT EMPTY
    UDR = RingBuffer.Next
  ELSE
    Disable TX Buffer Empty Interrupt
  END IF
END ISR
More about that, including a link to a ringbuffer implementation fond in the same place as the (pseudo)code above: View topic - [TUT] [SOFT] Using the USART - Interrupt driven serial comms :: AVR Freaks
  Reply With Quote
Old 06-05-2009, 02:28 PM   #1563 (permalink)
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 Posts
Thanks, Charlie. It is pretty easy when you aren't going to be receiving and you aren't using any kind of proper data encapsulation.
  Reply With Quote
Old 06-05-2009, 07:51 PM   #1564 (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
An update from our friendly neighborhood engineer...



Installed all connectors and the input components only (see pic). Here is where I start to test:
-Reverse polarity protection
-Overvoltage clamping @19V
-Common mode filtering of noisy +12V input (I'll attach a +12V brushed motor in parallel with input to verify spikes don't get through)
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
mpgmike (01-12-2022)
Old 06-05-2009, 08:07 PM   #1565 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 14 Times in 13 Posts
Beauty....beauty.....beauty!!

A long way from a radio skank bread board.

Thanks for the progress report. It does a body good.

Eric
__________________
1995 BMW 318i EV in the making
  Reply With Quote
Old 06-05-2009, 08:28 PM   #1566 (permalink)
EcoModding Apprentice
 
Join Date: Feb 2009
Location: UK
Posts: 162
Thanks: 2
Thanked 2 Times in 2 Posts
For a "cheap motor controller" Its looking great.

Just curious, but what is the minimum voltage this controller would be able to run / control a car at?
  Reply With Quote
Old 06-05-2009, 08:49 PM   #1567 (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
The minimum voltage that you can give the controller for driving the car is 0, and the maximum is about 150v. At 0 volts, your top speed will be pretty low. hehe. But the controller would be perfectly happy with, say, a AA 1.5v battery as the power source for the motor. That's the beauty of powering the controller with the 12v auxiliary battery (but using an isolated DC-DC converter inside the controller). Absolute flexibility with the pack voltage! ya! And if someone uses 600v IGBTs, diodes and caps? Then the allowable battery pack voltage would be 0 to about 550v or so. Otmar, the Zilla maker, suggested to me that isolated DC-DC that we're using.
__________________
kits and boards
  Reply With Quote
Old 06-05-2009, 10:56 PM   #1568 (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
As for cheap motor controller Oh, ya... I believe in bulk, that those control boards would cost around $8 each! ya! 2 Radio Skank boards (hehe, that was really funny Eric) cost $8!

I just bought the aluminum plate for the base of the controllers. It will be shipped here in a few days, then I'll drill the appropriate holes in it. The plate is 3/8"x7.875"x38.375", so I can hack that up to whatever it needs to be. That will be a nice solid base, and a pretty dang good heatsink too. So, Hondo, could you make those enclosures so that the fins stick out so that the total width of the enclosure is around 7.875" wide or so? hehe. I only need to really settle on the internal height and length now. It will be around 3.5" high or so inside I'm thinking, and maybe 10.5" long ERRRRRRR SOooooo! I really need to figure that out! I wasn't sure how tall the control board would end up being, but now I have an idea of that. I am so sorry that I've slacked in that department! I'm such a internal dimensions slacker!
__________________
kits and boards

Last edited by MPaulHolmes; 06-06-2009 at 09:59 AM..
  Reply With Quote
Old 06-05-2009, 11:28 PM   #1569 (permalink)
Master EcoModder
 
Join Date: Sep 2008
Location: Texas
Posts: 632
Thanks: 0
Thanked 26 Times in 24 Posts
For the power stage, what about oil cool it? Put it in a sealed container, seal up the power and control lines, connect a cooling system with a pump and transmission cooler, and fill it with transformer oil. Something like one of those speciality PC power supplies. JonnyGURU.com - Power Supply Reviews and more! - Reviews - Koolance PSU-1200ATX-12S Liquid Cooled 1200W power supply
__________________
If America manages to eliminate obesity, we would save as much fuel as if every American were to stop driving for three days every year. To be slender like Tiffany Yep is to be a real hypermiler...

Allie Moore and I have a combined carbon footprint much smaller than that of one average American...
  Reply With Quote
Old 06-06-2009, 01:17 AM   #1570 (permalink)
MAD Modder
 
Join Date: May 2008
Location: NorCal
Posts: 70
Thanks: 0
Thanked 3 Times in 3 Posts
Quote:
Originally Posted by MPaulHolmes View Post
An update from our friendly neighborhood engineer...

[IMG] http://i419.photobucket.com/albums/p...components.jpg

Installed all connectors and the input components only (see pic).





I love it!


Last edited by nubie; 06-06-2009 at 01:47 PM.. Reason: Clarification
  Reply With Quote
Reply  Post New Thread




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