User:1sfoerster/enes-100/fall2014/Can Bus/sfoerster-weeklyP1report

Week 1 Report
Task:Go through Xlinix IP configuration screens and hypothesis what ever configurable parameter is about

Found pdf files describing in detail the Xilinix Intellectual Property (IP) in the Xilinix documentation: In the notes, it says this will work with Spartan3E FPGA hardware, but can not implement in hardware without writing them and getting licensing.
 * Getting Started Guide
 * Version 3.2 Specifications

The latest version of CAN BUS is version 2.0 published in 1991, so version 3.2 must refer to a Xilinx version. There are also Xilinix documents for versions 4.1 and 4.2, but these refer to different automotive FPGA hardware (not Spartan3E).

From looking at the wire names, these are similar to chips found on the arduino. Would have to add serial I/O chip and then add connections to a physical device. So need to wait until have a device specified that want to add to a CAN Bus before attempting the FPGA. Perhaps look for a simple device like light turning off and on?

Found files associated with DARPA sponsored research into Hacking CAN Bus
 * pdf tutorial
 * folder containing captures of CAN bus communication in a 2010 Prius and 2010 Ford Escape
 * Phython and C code used

Other resources:
 * Darpa sponsored hack 2010 prius video
 * lots of talking video
 * pdf presentation .. mentions elevators, hospital equipment and coffee pots using CAN Bus
 * coffee pot with CAN bus in it

Next Steps:
 * Develop presentation from reading the two documents linked above
 * Look for CAN bus tutorials: best so far
 * compare Xilinix IP module wire names with the wire names from ECU found in 1996 Izzu pickup
 * Work on specifications for a CAN bus controlled light (like head light) and build one with the FPGA
 * work on purchasing female ODB bus connector
 * Write Xilinix and ask how to get license for this project

Week2
Task: Explore the Arduino CAN Bus shield purchased last semester


 * vendor documentation
 * download software from GitHub
 * Downloaded zip, unzipped, renamed folder CAN_Bus, put in Arduino Libraries folder
 * Comments in the Arduino code are not very helpful

Looking at the schematic can see the following pins described: CAN H and CAN L descriptions are derived from this presentation. The D shell can either give power or take power from the CAN Bus.
 * CANH .. CAN dominate High
 * CANL .. CAN dominate Low
 * GND .. ground
 * V .. power from 12 V or 5 V supply

The terminal connects just low and high. There appears to be a terminator on each board of 120 ohms connecting the high and low. If more than 2 devices, the middle devices should have the 120 ohm resistor cut.

There are four LED's Transmit, Receive, Interrupt and Power.

There is lots of CAN Bus to USB hardware, but the problem is the software.

Either the software is too limited, not supported or is an API that is not a good starting point for the intro class.

Existing hardware already purchased should be investigated.

Next Steps:
 * Look through DARPA information about specifics of transmission speed, header information, interrupts, etc. to see if the language is the same as the CAN Bus connector implies.
 * Find CAN Bus in non-car product can purchase .. CAN Bus in a consumer product that can hack instead of car

CAN Bus
Task: Getting Arduino's with CAN Bus shields talking to each other

Using Send on arduino #1 (left hand one in the picture) and Recieve_Check on Arduino #2 (right hand one in the picture), the serial monitor recieved something, but not text has was indicated in the SEEED instructions .. video

Had success when changed the baud rate on the serial monitor to 115200 from 9600. Then the receive arduino looked like what the SEEED instructions said it would.

Next Steps:
 * figure out how to hook odb scanner to the can bus ..
 * find other things besides cars with can bus in them can purchase and experiment with
 * change baud rates, framing .. go through the other can bus examples
 * look for can bus devices in wrecked cars

Turbine
Looks like [jetspec is software dealing with how gas is exploded. Gas explodes so hot it melts the turbine. So it is exploded in enclosures or tubes (flametubes) that are cooled by cold air. The resulting mixture is what is expelled out the back. There is a second "after burner" which can heat up all the air for a few seconds before the metal melts which can provide a temporary boost in power.

There is an active DIY Gas Trubine group who publishes video all over youtube.