garygid
Well-known member
OT also, what new A/CAN...?
TickTock said:Take a look at https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5 (be sure to note the different tabs at the bottom). It contains everything I could find that has been unearthed on the various canbus messages. The content came from the contributions of Turbo2ltr, garygid, and many others. If you discover anything useful (or not ) please let us know!
arsharpe said:TickTock said:Take a look at https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5 (be sure to note the different tabs at the bottom). It contains everything I could find that has been unearthed on the various canbus messages. The content came from the contributions of Turbo2ltr, garygid, and many others. If you discover anything useful (or not ) please let us know!
Do you mind if we include this specific link in the Leaf OVMS development forum in order to help the Leaf OVMS become a reality.
Probably going to publish a new rev soon with a easy-access mute button (for my wife ). It's already there but buried in the config screen.TickTock said:OK. Just publish a new rev. New features include:
1) Per-charge trip meter. Now there is a per-trip, per-charge, and user resettable trip meter displaying total miles, total kWh, and efficiency
2) Added time (all MY) and date (MY2011-2012) auto-sync option on car turn-on to keep the CANary internal clock synchronized with the GPS time from the nav unit. MY2013 will have to update the CONFIG.TXT to indicate the model year. Can be disabled in the config.
3) Added an audible battery power reversal indicator. When enabled, emits a short tone whenever the current flow reverses direction. Is enabled when the brake monitor is enabled so the Brake Monitor Mode can really be thought of as a Hyper-Helper mode. Chirps (800Hz) geiger-counter style proportional to the amount of applied friction braking as before, but also lets you know when you enter (400Hz) and exit (1600Hz) regen (or, more accurately, enter/exit battery charge/discharge) so you can optimize coasting without taking your eyes off the road or taking the car out of Drive.
4) Added a test screen with up to eight user-programmable watchpoints (MSGID & Byte) for analysis.
5) Added ambient temperature to main screen (doesn't exhibit the delayed response you get on the eyebrow display)
6) Added the battery series resistance to the trip log
High expectations! Let's hope I can live up to them...TickTock said:Lots of great stuff! I was going to build another that I could loan out but now I think I may wait until your CANary2000 is ready.
I found the schematic of the mbed LPC1768 module and it shows pretty clearly that the VU pin is not really good for anything but getting 5V specifically from the built-in USB port, when it is plugged in to a computer. Back-feeding it with 5V only makes you consume another 5mA through that 1kohm R15, and lets 5V get to the onboard LM1117's through two diodes instead of one. So, I will disconnect it and feed my 5V separately to VIN and the USB host port.TickTock said:I think how you connect the USB Vbus depends on the use model. Since CANary is the Host, it needs to provide 5V to the device (thumbdrive) so I connected the VU (5V out) to the USB connector. If we were using CANaray as a device (and it was drawing it's power from the host on the other end), I think we would connect the USB power to the VIN. If you are planning on feeding 5V into the Vin, then I think you can do what you say.
Hmm, I think I will use the flex cable after all then. I remember your scope traces with it being pretty good. I should probably test it with my ham radio transmitter before driving, though.TickTock said:I don't see any issue adding the holes to the OBD breakout. However, I *really* like the flex cable. It has very good signal integrity (as shown by the scope captures with and without earlier in this thread) but best of all slips under the trim without any danger of flex or wear. Others have shown that CAT5 can squish pretty flat and doesn't distort the dash much but, OK, so I'm a little OCD. Also, if you are going to use CAT6, you can omit the breakout all-together (only really need chokes on the main board since all the electronics in the LEAF have their own) and make a low profile connector.
Yes, the MCP2561 can accept any voltage from 1.8 to 5.5.TickTock said:Does the MCP2561 operate with 3.3V? I chose the VP230 simply because it was the first I found that operated at the native 3.3V levels of the mbed.
I'm curious where you got those parts. There are a lot of problems with counterfeit/incorrectly marked parts, and places like Mouser and Digikey aren't immune but better than most at keeping their supply chain clean. They will even replace parts if you get defective ones, and if you're lucky, the replacements will be from a different reel...TickTock said:That said, there have been some issues with the VP230 so it is worthwhile to look into alternatives. You read about the bad device that interfered with nanaleafman's car. I also have a batch that behaves like VP231 (Rs would disable the RX, too) although they are marked VP230.
Then what is JP-ETX for? I thought that was the jumper you pulled during bench testing to make it not transmit. When you pull that jumper, you need a resistor (pull-up or pull-down) on the RS pin to keep it from floating.TickTock said:I don't think I need a pullup on the Rs since I actually *drive* it to 3.3V when disabled (it is a digital output) so it already has a very strong pullup.
In the '230 part, pulling RS high disables the TX and switches the RX into a low-speed/low-power mode, enough to detect activity but with a time delay on the output. I wasn't sure if the Leaf's bus as fast enough for this to garble any packets, but if did, then you would want to leave the RX in high-speed mode (RS low) but still disable the TX. It sounds like this isn't really an issue since you guys are running with TX enabled pretty much all the time.TickTock said:I am curious why you thought disconnecting TD would be necessary to ensure RX operation, though. My understanding is Rs high should be sufficient to disable TX and should not interfere with RX.
Enter your email address to join: