CAN Polling network

I added a variable to Kevin Smith’s library, the remote frame bit requests a response from other nodes on the buss.  With this I was able to implement a polling scheme. The master requests a data update every 10 seconds and only then will the remote transmit routine readings.  This cuts down chatter on the buss.  I also partitioned the 11 bit id field into a 5 bit node identifier and a six bit data type indicator.  Each remote station will be assigned a unique identifier, in this photo, the remote is number 31.

Remotes can still broadcast autonomously, for instance a notification that a door is opened will be sent immediately to all master nodes.

Wish I knew more about C++ to deal with these libraries.

CAN Polling network

Master polling the remote for data

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: