View Single Post
Old 12-01-2015, 09:09 PM   #2435 (permalink)
Thalass
Modding for Eris
 
Thalass's Avatar
 
Join Date: Dec 2007
Location: North Bay, Ontario, Canada
Posts: 129

SilverCivic - '08 Honda Civic
90 day: 28.69 mpg (US)
Thanks: 39
Thanked 11 Times in 8 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Once it is initialized CAN is very easy to use. You can set up each node to ignore or accept whatever types of messages you want. Then, everybody just willy nilly blasts whatever the crap they want with no regard to concern about collisions. And they just accept whatever messages are for them. I have used it between a charger and several bms boards. Each board sent a packet of 8 bytes long, which were the 8 voltages of that bms module's 8 batteries. There were 6 modules just blasting their 8 bytes randomly and each ignored each others 8 bytes. The charger would pick up all the packets. No problems with noise and no missed packets (i dont think). And the data was never corrupted. You just use a little 8 pin $1 part along with the dspic CAN module.
Sounds a bit like MQTT, which I've been using for a home automation project. Though MQTT needs a central broker to receive published messages from devices and to distribute them to subscribed devices. So probably not that close now that I think about it. >.<
__________________
Making do with a Honda Civic. Tesla Model 3 reserved. Still kinda want an SVX for fun, though.

  Reply With Quote
The Following User Says Thank You to Thalass For This Useful Post:
MPaulHolmes (12-01-2015)