fklement

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 :+1:t3:

Most Liked

mlainez

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

mlainez

And here it is, Cantastic 1.0.x is now released, with OBD2 request/response support and some documentation: cantastic | Hex

pay64k

pay64k

Hey, for reading the vehicle data maybe you wanna checkout my latest project here :slight_smile:

AleksandarFilipov

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

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.

Where Next?

Popular in Discussions Top

New
stefannovak
Hi all, I’m going to be giving a little 20 minute tech talk at my company which uses .NET C# across all of our 100ish size IT team. I’m ...
New
josefrichter
Has anyone tried Github Speckit or similar projects like AgentOS, BMAD, etc.? They basically offer a bit more structure in context windo...
New
billylanchantin
If you’re not familiar with this fun bit of math lore, Paul Erdős, the famously eccentric, peripatetic and prolific 20th-century mathem...
New
ryanrasti
Hey everyone – after coming off of 3 years building with Ecto, I’ve been working non-stop on Typegres, a new query builder that strongly ...
New
Morzaram
Hey everyone. I’m feeling a bit conflicted. I’ve learned Flutter and built a somewhat MVP of this app. I’m a solo dev and throughout this...
New
wanton7
Our company has used virtual actor framework called Orleans that is for C#/.Net Framework. There are clones of it in Erlang GitHub - erle...
New
ronindev
Hey everyone! :waving_hand: I just wanted to recommend https://seenode.com/ for deploying Phoenix apps. I’ve been using it recently and ...
New
gushonorato
Hey everyone, I’ve been working with Elixir for over 5 years and I’m a big enthusiast of the language. However, when starting new projec...
New
isaacsanders
When I try to run my applications and I haven’t updated the dependencies, the output tells me to run mix deps.get. Why doesn’t the binar...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement