fklement
Vehicular libraries/projects written using Elixir (e.g. OBD-II logger etc.)
This is a thread to gather some information about the efforts of using elixir in combination with cars or vehicular systems in general.
I’m really interested in this area and would love to use elixir and its eco system (e.g. Raspberry PI running nerves).
So far I’ve found the following:
Libraries:
- NgCAN (a simple elixir library to read from and write to a CAN bus. since it uses socketCAN, it only runs on Linux.)
Talks:
Maybe some of you have some more links, libraries, or information.
That would be really great ![]()
Most Liked
mlainez
Small update, OBD2 support was just added to Cantastic.
I’ll explain how to use it in my upcoming NervesConfEU talk: A Nerves Car, and I’ll work on the cantastic documentation afterwards. It’s not a full OBD2 support but it handles the request response scheme, accepts multiple PIDs,… so it’s already good enough to get started.
mlainez
And here it is, Cantastic 1.0.x is now released, with OBD2 request/response support and some documentation: cantastic | Hex
AleksandarFilipov
I’ve been using elixir professionally in the automotive industry for a few years. One of the artifacts was open sourced and be found here GitHub - AleksandarFilipov/signalbroker-server: Development tool to read and write CAN/LIN/flexray and other buses using gRPC which allows usage of preferred language. - it was previously hosted by and automotive company.
Today I’m working on a derivate (which is closed source) which is located here GitHub - beamylabs/beamylabs-start (yep it’s a shameless plug) but nevertheless it might be fun knowing that stuff is ongoing.
I would have assumed that the mentioned open source project would be easy to find given that I’ve populated it will loads of automotive buzzwords.
mlainez
Just found this thread while searching for folks using elixir for OBD, in case you aren’t aware, with two other folks, we’ve worked on a side project that allows to make parts from different manufacturers to talk together in the same vehicle. We used it to retrofit an old VW Polo and make it remote controled: Driving a car powered with Nerves and Elixir
We’ve also created a new library to interact with the CAN bus: GitHub - open-vehicle-control-system/cantastic: An Elixir library to interact with CAN/Bus via lib_socket_can
We are looking into adding OBD support so we can allow anyone to get started with the components we created by simply plugging them to their car’s OBD plug. If there are elixir libraries to easily interact with OBD, we’d love to check them out.








