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 10-04-2009, 03:24 PM   #2361 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 1,592

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 61
Thanked 26 Times in 17 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.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  Reply With Quote
Old 10-04-2009, 03:31 PM   #2362 (permalink)
EcoModding Apprentice
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 203
Thanks: 1
Thanked 21 Times in 18 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   #2363 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 1,592

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 61
Thanked 26 Times in 17 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?
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  Reply With Quote
Old 10-04-2009, 03:45 PM   #2364 (permalink)
EcoModding Apprentice
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 203
Thanks: 1
Thanked 21 Times in 18 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   #2365 (permalink)
EcoModding Lurker
 
bones007's Avatar
 
Join Date: May 2009
Location: Brampton, Ontario, Canada
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
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   #2366 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 1,592

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 61
Thanked 26 Times in 17 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.
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  Reply With Quote
Old 10-05-2009, 07:34 AM   #2367 (permalink)
EV Apprentice
 
Join Date: Jun 2009
Location: Romeo, Michigan
Posts: 41
Thanks: 3
Thanked 1 Time in 1 Post
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   #2368 (permalink)
EcoModding Apprentice
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 152
Thanks: 8
Thanked 5 Times in 5 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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- 1971 Corvette Coupe Conversion to all Electric!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Machining, CNC, Robotics and Electronics.
  Reply With Quote
Old 10-05-2009, 07:50 AM   #2369 (permalink)
EcoModding Apprentice
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 152
Thanks: 8
Thanked 5 Times in 5 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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- 1971 Corvette Coupe Conversion to all Electric!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Machining, CNC, Robotics and Electronics.
  Reply With Quote
Old 10-05-2009, 08:01 AM   #2370 (permalink)
EV Apprentice
 
Join Date: Jun 2009
Location: Romeo, Michigan
Posts: 41
Thanks: 3
Thanked 1 Time in 1 Post
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 223 03-18-2010 08:29 AM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 507 03-03-2010 08:28 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04:10 PM


car hire in orlando
Check out the advantages of car hire in Orlando and get more out of your trip. There's more than theme parks to see!



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
All content copyright EcoModder.com