lucaong

lucaong

Elixir library for MLX90640 Far Infrared Thermal Camera

Hello,
I am playing a bit with the MLX90640 far infrared thermal sensor array, and I wrote an Elixir library to interface with it. It is published on Hex as elixir_mlx90640, and it is designed to work on Linux platforms, such as Nerves. So far, I tested it on a Raspberry Pi Zero W.

The MLX90640 is an inexpensive thermal camera. It has a low resolution (36 x 24 pixels), but it is quite precise, and a nice sensor for the price. I found that interfacing it with micro-controllers or with Linux using the provided C++ libraries is a bit tricky and error prone (lots of gotchas), so I hope I made it easier to use it with this Elixir library.

Let me know what you think :slight_smile:

Most Liked

lucaong

lucaong

I made a few fixes for Nerves, and created this example project for the Raspberry Pi (demo image on the repo page): GitHub - lucaong/nerves_thermal_camera: Thermal camera imaging with Elixir, Nerves, Raspberry Pi, and a MLX90640 sensor · GitHub

I have to say, it’s a really fun sensor to work with :slight_smile:

Matt

Matt

That is a really cool library. Great work :+1: That sensor might be low resolution, but I can think of many real-world applications for it!

holder66

holder66

Here are instructions for setting up the raspi as a wifi access point: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md
Best to do this using wired access!
If you want the raspi to auto-detect your home wifi network and use that if available, and become a wifi access point only if your home wifi network is unavailable, the instructions here work: Raspberry Connect - Raspberry Pi - Auto WiFi Hotspot Switch - Direct Connection
Caveat: I did this on a raspi 3, and using Raspian, not the Nerves-installed OS.

Where Next?

Popular in Discussions Top

sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

We're in Beta

About us Mission Statement