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-24-2009, 12:28 PM   #2481 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: texas
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Paul were you looking over my sholder? i installed L1 backwards and took out R1 last night. cahaged it this morning. hooked up some 1k resistors and now i have a solid idle light on. but the out put on the gate resistors still dont look right.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 10-24-2009, 12:37 PM   #2482 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,750

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,338
Thanked 1,066 Times in 697 Posts
The gate resistor output will NOT look like a pwm signal because the software is wanting to get feedback from the LEM. You might see something weird if you are lucky, since I think you have Joe's code, so it's not purely throttle proportional to current.. The only way you will know if it's working is if you either put software on that is purely throttle proportional to pwmDuty, or build a whole power section and run a smallish motor. hehe. I'll mail you a chip asap.
__________________
Mathematical magic:
Add 1 to your age. Then, subtract 1 from the result. The result is your age...
kits and boards
  Reply With Quote
Old 10-24-2009, 12:41 PM   #2483 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: texas
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
paul
can i change the software with the program that jack is using as i did not install a socket on the avr>
  Reply With Quote
Old 10-24-2009, 12:57 PM   #2484 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,750

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,338
Thanked 1,066 Times in 697 Posts
Well cool! That saves me $0.45 on shipping! hehe. Jack made a little piece of hardware for programming it. I think it was pretty easy. Then you can upload a new program that contains the bootloader, and from that point on, you can just use the serial port to program the chip.
__________________
Mathematical magic:
Add 1 to your age. Then, subtract 1 from the result. The result is your age...
kits and boards
  Reply With Quote
Old 10-24-2009, 01:00 PM   #2485 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: texas
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
which program do i load into the avr for the software change? the one off the wiki
  Reply With Quote
Old 10-24-2009, 01:14 PM   #2486 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,750

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,338
Thanked 1,066 Times in 697 Posts
Actually, I have a pre-compiled .hex file that just needs to be transferred to the chip. Fran made it. It has the bootloader and the program all wrapped up into one! I'll email it to you.
__________________
Mathematical magic:
Add 1 to your age. Then, subtract 1 from the result. The result is your age...
kits and boards
  Reply With Quote
Old 10-24-2009, 01:16 PM   #2487 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: texas
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
cool
  Reply With Quote
Old 10-24-2009, 02:11 PM   #2488 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 674
Thanks: 24
Thanked 253 Times in 145 Posts
Paul yeah the rainy season has started in Ireland. It will probably last well into june 2010! I'm happy enough with the params right now but its great to know they can be altered. Motor i have in the car is compound wound so will probably need some tweaking. I'm thinking of wiring the shunt field in parallel with the series field/armature for testing. Then i'll try a seperate shunt power supply. Do you reckon i'll have a problem with the esr of the bus caps? I have 2x 3900uf 400v and 2x 1500uf 400v in parallel.

Mike the software you need is called ponyprog and you can make a little header circuit to talk to the micro via the icsp port.
AVR Programmer
PonyProg - Serial device programmer
  Reply With Quote
Old 10-24-2009, 04:48 PM   #2489 (permalink)
EcoModding Lurker
 
Join Date: Aug 2009
Location: texas
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Jack
Iam a hardware type of guy and learning software. with the programer that you showed all of the pins are available at J4 (isp port) except for the 2 that go to 7 and 8 how did you get around that? are you just using the traces on the board to get back to them?
sorry for all the ?
Thanks
Mike
  Reply With Quote
Old 10-24-2009, 05:00 PM   #2490 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 674
Thanks: 24
Thanked 253 Times in 145 Posts
Mike pins 7 and 8 are just power (+5v) and ground. No need to connect to those as the control board provides power. I socketed my micro so just built the programmer on a piece of stripboard but i see no reason that it wont work in circuit. I'm on a learning curve myself. Up to a few weeks ago i knew nothing about atmel micros or c programming having used pic micros and assembler both at work and for hobby projects. Are you building your own power section?

  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 3138 07-05-2017 08:07 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.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com