Tag: Projects
2011
01.25

As some of you are aware, I am a member of the University of Manitoba SAE (Society of Automotive Engineers) Formula Hybrid team. The major project that I have been working on for a while now is a CAN bus controller Arduino shield. The system is based on the one designed by Mike Sefton last year. We are using the same CAN interpreter because the manufacturer was generous enough to donate some chips to us. These chips work well, but they are designed to be used with an OBDII reader, so we are using a few work arounds to get the system to work for us the way we need.

Aside from some simple changes to the circuit, there are two major changes to the system. First, I added a the NUP2105L chip to the CAN bus to give us some over-voltage protection. The major cause of failure last year was over-voltage, which is always a concern when dealing with electric vehicles. The second change was to allow an outside system to communicate with the CAN controller over a serial connection. Last year the CAN devices were controlled directly by the Arduino, but this year the Arduino is basically a middle man that can do some processing of commands if needed.

For the hardware design, I decided to try out a few open source tools. I first tried KiCad because it was more cross platform and a fully integrated suite. There were some things I didn’t like about it though (although I may have just been looking in the wrong place for the feature I thought was missing) so I decided to try out gEDA. I personally liked the feel of gschem better than KiCad’s schematic editor, and the PCB software seemed quite good to me too. The workflow between tools is a bit less intuitive, requiring a few terminal commands, but I am quite comfortable with the command line, so I can see myself using gEDA much more in the future.

The files for the hardware design are posted here: HARDWARE

The firmware for the Arduino is posted here: FIRMWARE

The firmware is currently a very basic repeater but will likely see changes once we start figuring out what specific features we will need. Feel free to post a comment or send me an email if you have any questions about the design.

2011
01.19

Those who have been reading my blog for a while will remember that I spent some time overseas working on my final year design project (aka. undergraduate thesis). We finally got our (unofficial) official grade back and we did pretty good. In the interest of sharing the knowledge we gained (as well as showing what we did) I am posting our final report and code here.

Final report
Code

The code was written to be used with the simulator that was supplied by the Budapest University of Technology and Economics. Since this simulator is not our property, it has not been posted. Hopefully the algorithms we used are understandable. If anyone has questions, feel free to contact me.

2009
12.27

This Christmas, my lovely girlfriend was kind enough to get me an Arduino Duemilanove. I’ll admit that I may have been somewhat specific about what I wanted as a gift, but she managed to still surprise me by buying an Arduino starter pack and wrapping every portion of the bundle in its own little box, including a whole box for all of the bubble wrap that the thing shipped in. I have a few project ideas for this thing, but I will save those for their own posts. Keep an eye out for some new micro-controller projects here.