Posted on

#22: AXA Electric Window Motors Controlled By LIN Bus And Arduino

Electric window motors allow your home automation system to open and close your windows as required. This could be useful for opening windows to allow ventilation, or to make sure all windows are automatically closed and locked when you leave home.

I recently got my hands on some AXA electric window motors that include a LIN bus interface so they can be linked to a home automation system, but I’ve never used LIN before so I needed to learn a bit about how it works. I designed my own LIN interface module that allows me to connect my laptop to LIN devices and manually send messages, and the module also allows an Arduino to control the window motors.

Parts used

Source code

Simple example that provides a menu and sends commands to a single LIN interface: AXARemoteSerialLinbus

More complex example which includes MQTT, DHCP, reading a MAC address ROM, 4 LIN interfaces, a watchdog timer, and a temperature / humidity sensor: AXAWindowMQTT

Instructions and explanation

More details to follow! I’ll update this after the video is ready.

4 thoughts on “#22: AXA Electric Window Motors Controlled By LIN Bus And Arduino

  1. Hi,

    What motors/equipment are you using to control the Shades in the conservatory?

    I’ve seen there is AXIS (Coming soon) and MOVEZ (Coming soon) but wanted to know which ones you used and I couldn’t see a post / reference to it elsewhere.

    Thanks.

    T

  2. Gracie University! Represent!

  3. Hello Jonathan,
    I can see that on the LIN BUS CHIP you have chip select on them, why are you not using that to select the individual chip you want to communicate to, bridge all the serial TX and RX to an UNO RX and TX so that you can cut down the cost of the project. I see that you need CS to be connected to VCC, so connect the with pull down resistor to ground and then using a current limiting resistor you connect the CS to digital ports on the UNO and then select the CHIP to receive commands. if 12V is required on the CS then transistors can be used to drive that. I feel a MEGA is an over kill for this what do you think?

    1. Yes, you’re absolutely correct. When I designed the LINMOD board it was just as a simple breakout to experiment with connecting to the motors, and I expected that I’d be able to use a single bus to communicate with all the motors with just one module. It was only after I began controlling a motor that I discovered I would need to use one module per motor.

      I could hack the modules to use CS to select them individually. I also happen to make Mega type boards though so it’s not a problem using them 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *