Close

Got on the BUS

A project log for CAN-BUS/Arduino Site Automation

Using Arduinos and other small computers, connected by CAN-BUS, to monitor and automate simple tasks.

akajefmakajefm 07/29/2017 at 03:020 Comments

Been working with a lot of things, getting boards ordered, my workstation, and figuring out the Arduino online editor. Probably not going to build my own CAN-BUS interface for the demo. It'd be cool but I'm out of time, if I go live with the project after the demo I'll probably make something. A CAN interface is less then a dozen components, even less if you aren't being fancy.

Finding my feet again with Arduino, it didn't take long to start changing packets going over the CAN. But today was the first day a real world input had a real world output, basically checking a button, sending it's state over CAN, and turning an LED on or off on another controller. It's the simpler things, right? I must have blinked that LED dozens of times...

I'm not sure I need to complicate things with the masking or filtering that is part of CAN. For the size of my network, one byte is enough for a device number, a variable ID, and variable value. I have a few CAN shields, some good/some bad (that's a story on it's own) and have more Arduinos coming in the mail so I'm looking forward to making more addresses and getting things to pass data.

Discussions