08-08-2010, 10:45 PM
|
#3671 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Ya, but there were a couple mistakes. I think I fixed it. I just now emailed the fixed version to you. Now get to work, slave! hahahaha Well, spend time with friends and family first. then when you are all rested up, GET TO WORK SERF! haha. Well, make sure you eat something first. Then... GET TO WORK, PERSON WITH REGULAR PAYING JOB! (Things are improving!)
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
08-10-2010, 08:36 PM
|
#3672 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
SR controller software almost done! I had 4 hours today to program while the people in the math classes took extra long tests. Is it wrong to make a quiz take the whole period just so I can program?
|
|
|
08-10-2010, 09:39 PM
|
#3673 (permalink)
|
AC-DC enthusiast
Join Date: Nov 2009
Location: Long Island, NY
Posts: 282
Thanks: 123
Thanked 54 Times in 37 Posts
|
Quote:
Originally Posted by MPaulHolmes
SR controller software almost done! I had 4 hours today to program while the people in the math classes took extra long tests. Is it wrong to make a quiz take the whole period just so I can program?
|
NOT, what so ever.
__________________
. .. .. . .......
Prius Absolutum Dominium . ..........KOPPER
PHEV conversion since Dec 2006.. . .... .Future EV
. . . . . . . .CALCars # 27. . . . . . . . . . ..on the works now !!
. . . . . . . . . . . . . . . . .. . ........
|
|
|
The Following User Says Thank You to mrbigh For This Useful Post:
|
|
08-11-2010, 01:46 AM
|
#3674 (permalink)
|
EcoModder Student
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 14 Times in 13 Posts
|
Quote:
Originally Posted by MPaulHolmes
SR controller software almost done! I had 4 hours today to program while the people in the math classes took extra long tests. Is it wrong to make a quiz take the whole period just so I can program?
|
Gee, I had this sterling image of Paul, the dedicated teacher of young minds.....guiding lost souls out of the dark woods of ignorance into the warm glow of enlightened thinking..........
........Like I said "Gee, I HAD this sterling image...."
Eirc
__________________
1995 BMW 318i EV in the making
|
|
|
08-12-2010, 11:52 AM
|
#3675 (permalink)
|
EcoModding Lurker
Join Date: Jun 2009
Location: Seattle, Wa
Posts: 71
Thanks: 7
Thanked 31 Times in 26 Posts
|
Paul has a plan, a long arduous test to challenge the minds of the young and prepare them for a future where questions will arise, the answers for which he now toils away his life in search of.
Or something like that…
;-)
|
|
|
08-12-2010, 05:46 PM
|
#3676 (permalink)
|
EcoModding Lurker
Join Date: Mar 2009
Location: Florida
Posts: 37
Thanks: 0
Thanked 2 Times in 2 Posts
|
Paul,
If I recall correctly, you are using a dsPIC for the microcontroller. Are you writing the code in assembly or some form of basic?
Thanks...
Rick
|
|
|
08-12-2010, 05:46 PM
|
#3677 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
haha, very funny you little stinkers. Hey! They shipped the boards just 2 hours ago! Hurray! So, UPS ground from Colorado to Washington State takes I don't know how long! But it better be quick, or I'm going to be super mad! I want to get them. The parts to the prototype board arrived from Mouser today. I'm getting the baseplate today for the SR controller prototype too. I"m going to mill a mirror-smooth finish on it where it will contact the 1"x2"x10" aluminum heat spreader. The heat spreader has already had the top and sides milled to a mirror shine. I predict 100% contact! ya!
The software for the prototype is DONE! The details for the CANbus communication are partially done, but I'm not assuming the prototype is going to be run with Lithium batteries and my bms, so I just commented out most of it. I would hate for the controller to open the main contactor because it didn't receive a CAN message from the bms that isn't there. haha
|
|
|
08-12-2010, 06:03 PM
|
#3678 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Hi Rick! I'm using C. The build environment is MPLab:
MPLab Integrated Development Environment
Student Compiler
The microcontroller is the dsPIC30F4011. You can use the student version of the software, which I guess isn't quite as fancy as the $800 version, but works just fine. I think it doesn't allow the optimizations to be turned on, but it doesn't seem to matter at all. The chip is only like 8% full, and there's not much to compute.
Last edited by MPaulHolmes; 08-12-2010 at 06:35 PM..
|
|
|
08-12-2010, 06:25 PM
|
#3679 (permalink)
|
EcoModding Apprentice
Join Date: Feb 2010
Location: Northern Wisconsin
Posts: 137
Thanks: 32
Thanked 39 Times in 23 Posts
|
Quote:
Originally Posted by MPaulHolmes
|
I see where you can download the software,but is the student version (C compiler) down loads bundled in that download or actual links to them... I could just use the assembly language but have now got a strong dislike to 100's of lines of code . and thinking with that much register movs! I am on dialup (choke,gag) here in the sticks so THAT even that download will be fun!
"Keep mentoring students time - I do it all the time"
__________________
Dave ...
|
|
|
08-12-2010, 06:35 PM
|
#3680 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
|
|
|
The Following User Says Thank You to MPaulHolmes For This Useful Post:
|
|
|