__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad. www.evbmw.com
Actually, I'm the spanish dessert (the flan). hahaha. Well, I tested the circuit for the isolated DC-DC, and I made a booboo with the design. I was talking with Flan about it (or was it Fran?), maybe I'm just hungry... He explained why I was only getting half the voltage on the output side. Man, I'm such a stinker sometimes. Also, the 555 timer is a piece of crap. You can't do 50% duty, so I discovered, so I'm switching to an ATTiny for doing the 50% duty pulses. yay! It will work this time! First try, 50% of the way there, 2nd try, 100%!!! hahaha. I found an ATTiny that's like $1.20. That's cheap, man! dang! fo' sheezee feta cheezee.
Here's a few pics of the mostly completed unit. Just got to fit the solid state relay and freewheel diode for my pesky shunt field
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad. www.evbmw.com
Last edited by jackbauer; 05-22-2011 at 01:03 PM..
Here's a few pics of the mostly completed unit. Just got to fit the solid state relay and freewheel diode for my pesky shunt field
Can you please clearly label the buss bars to everyone to see?
I had more than one inquire about them but never posted a picture of my controller build near finish yet.
Thanks, Jack
__________________
. .. .. . .......
Prius Absolutum Dominium . ..........KOPPER PHEV conversion since Dec 2006.. . .... .Future EV . . . . . . . .CALCars # 27. . . . . . . . . . ..on the works now !! . . . . . . . . . . . . . . . . .. . ........
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad. www.evbmw.com
I'll post my code in the next few days, and I'm designing a PCB in Eagle for a small plug in board. I've never been a fan of AVR's. They're just more of a pain to program, but I understand why Paul choose it.
I find the AVR very easy to write code for, and the environment is the least painful to set up of all microcontrollers. Under Ubuntu you just load the Arduino package and it pulls in everything you need. You can run one of the canned Arduino programs, verify that it works, and then move onto real programming in C.
The PIC isn't a big step up in any respect. What is the motivation for choosing it? The availability of through-hole DIP parts?
We switched to the STM32 processor, which has an ARM core. It's has far more capable hardware, but it is a super PITA to get started with.
I find the AVR very easy to write code for, and the environment is the least painful to set up of all microcontrollers. Under Ubuntu you just load the Arduino package and it pulls in everything you need. You can run one of the canned Arduino programs, verify that it works, and then move onto real programming in C.
The PIC isn't a big step up in any respect. What is the motivation for choosing it? The availability of through-hole DIP parts?
We switched to the STM32 processor, which has an ARM core. It's has far more capable hardware, but it is a super PITA to get started with.
Then you've had better luck than me. I've been working with PIC's and other micro controllers for many years, and I've never accidentally locked a controller until I messed with the AVR. Those stupid fuse bits. Why call them fuses? They're configuration bits. I've also never been happy with Arduino. For someone getting started it's fine, but I like having lower level control to my bits.
As far as capabilities, your right the AVR and PIC line of processors are very similar. I just prefer PIC's.
I'm putting the finishing touches on my code today. I'll post it later today. I'd like to see what others make of it. Hopefully catch any mistakes I've made.
The Following User Says Thank You to Camaro For This Useful Post:
The endless problem of which is the best micro!
I know the answer: Its the one that has the functions you need, you have all the tools for and know how to write programs for.
I've been using both Atmel and Microchip for quite a while and they both have good and bad points. I couldn't find an Atmel 8 pin device with both a UART and 4 ADC channels, but Microchip have such a beast and that's what I needed so my latest project (Cell top BMS) is using a PIC12F1822.
__________________
Sometimes I sits and thinks and sometimes I just sits.
The Following 2 Users Say Thank You to harlequin2 For This Useful Post:
Agreed, I'm not saying Microchip is better, its just what I'm using.
Speaking of which, I've got revision 1 of my controller code done. It should be attached. I've also attached photos of my setup testing it. It works, but its definitely not done.
Please give me comments on my code. It's probably not written the best but I try and make it understandable.
I do have questions about the thermal resistor and the current sensor. What's the volts per degree and volts per amp for the two sensors? Looking at the data sheet for the LEM HASS 300 it looks like 0.625 v/a
The Following 2 Users Say Thank You to Camaro For This Useful Post: