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 10-04-2009, 03:24 PM   #2351 (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,368
Thanked 1,202 Times in 765 Posts
Holy cow, I wish I knew about that sucker before. I can supply you with the .HEX files, and you can do your worst! I don't know what software you can use to transfer the .HEX files. Maybe AVR Dude? I don't know. AVR Studio only lets you transfer files from specific devices made by Atmel I think.

Yes, you can program it in circuit. That's the 6 pin header on the control board. Pin 1 is MISO, Pin 2 is Vcc (5v), Pin 3 is SCK, Pin 4 is MOSI, Pin 5 is RESET, and Pin 6 is GROUND.

The AtMega8 is FLASH.

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 10-04-2009, 03:31 PM   #2352 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
I'll build up that little programmer during the week and get you to email the .hex files.it uses a program called ponyprog. I used it in the past for reading eeproms. I noticed a little ringing on the gates during switch on today. Have to nail down the cause for that.
  Reply With Quote
Old 10-04-2009, 03:42 PM   #2353 (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,368
Thanked 1,202 Times in 765 Posts
ringing on the gate during switch-on. hmm... Does it do it when you are driving a single IGBT? How about at various gate resistor sizes? How long is the path from driver output to gate input?
__________________
kits and boards
  Reply With Quote
Old 10-04-2009, 03:45 PM   #2354 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
I havent really investigated it at all just thought i'd mention. It a crazy layout on the bench as you could see with power and signal wires mixed up everywhere. I can look into it once the power stage is more tidy.
  Reply With Quote
Old 10-04-2009, 11:26 PM   #2355 (permalink)
EcoModding Lurker
 
bones007's Avatar
 
Join Date: May 2009
Location: Brampton, Ontario, Canada
Posts: 15
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by jackbauer View Post
I'll build up that little programmer during the week and get you to email the .hex files.it uses a program called ponyprog. I used it in the past for reading eeproms.
That little programmer looks super simple and requires only a few components.

If it works, could future versions of the controller board incorporate those components "on board" such that the controller can be re-programmed from any computer with a standard serial port? Or is there a compelling reason to separate the programmer from the controller that I haven't considered?
  Reply With Quote
Old 10-04-2009, 11:46 PM   #2356 (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,368
Thanked 1,202 Times in 765 Posts
Hey Bones007! I have never thought of that! There will be a bootloader soon so people will be able to program the microcontroller through the serial port with any computer, and no programmer.
__________________
kits and boards
  Reply With Quote
Old 10-05-2009, 07:34 AM   #2357 (permalink)
ReVolt Enthusiast
 
Join Date: Jun 2009
Location: Michigan, USA
Posts: 239
Thanks: 98
Thanked 47 Times in 40 Posts
USB bootloader ???

Hey Pual,

How much harder would it be to make the bootloader you are talking about use a USB connection to program the microcontroller ? It seams that most of the computer communications today use a USB interface. My laptop does not have a serial port.

- Mark
  Reply With Quote
Old 10-05-2009, 07:46 AM   #2358 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 183 Times in 94 Posts
Hi Mark,

This is the programmer I use for my boards :SparkFun Electronics - STK500 Compatible USB Programmer

I love it. Its USB and has isp leads for 6 and 10 pin connections. It works on a mac and windows, and I've read it works on linux too. The only problem is that whoever laid out the connector on the revolt control board, laid the signals to pins that are not the isp standard. so a little bit of flipping the wires on the end is necessary to make the signals line up.

I also cant wait to see your controller design.

-Adam
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
Old 10-05-2009, 07:50 AM   #2359 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 183 Times in 94 Posts
O, I also forgot, To add USB to the controller might not be worth it. You would have to source an FTDI serial converter chip, and there not all the same. Some work better then others, and drivers are usually necessary. Also, Im don't think I have ever seen one that wasn't surface mount. I dont mind soldering that, but it is tough to solder 40 pins around a square 1/2".

-Adam
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
Old 10-05-2009, 08:01 AM   #2360 (permalink)
ReVolt Enthusiast
 
Join Date: Jun 2009
Location: Michigan, USA
Posts: 239
Thanks: 98
Thanked 47 Times in 40 Posts
Hi Adam,

Good to hear from you again. How is the testing of your new power PCB going ?

Hey would this work for a USB bootloader ? fischl.de - USBasp - USB programmer for Atmel AVR controllers



- Mark

  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 3480 05-04-2022 05:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 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.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com