ca1989

ca1989

Hi all,

I would like to start playing with nerves at home (in the free time).

Where can I find ideas for small beginner friendly projects to realize in a tiny apartament?

Better if they don’t involve extremely expensive devices

Cheers!

Showing Posts 1 to 4

lucaong

lucaong

I think I wrote the same idea in other posts too, but one relatively simple and useful project is to implement an indoor air quality monitoring device. You can use a RPi and a sensor like the BME680, which measures temperature, atmospheric pressure, relative humidity and gas resistance (which is a proxy for concentration of volatile organic compounds, a common class of air pollutant).

You can either connect a display, or even simply run a Phoenix app on the device, so that you can check the air quality from your smartphone. For example and inspiration, this is how the UI of my old BME680 based project looks like:

In my project, I run a Phoenix app on Nerves, using the elixir_bme680 library to interface with the sensor (I had to write the library myself back then, but nowadays there is also the great BMP680 library). The UI is implemented with LiveView, rendering SVG (but standard HTML would work perfectly well if one does not need anything fancy). I also log the measurements on CubDB and provide a way to download the historical data.

If you need more guidance, another option is to purchase the book Build a Weather Station with Elixir, which also guides you through a similar project.

lucaong

lucaong

Another really fun project is to implement a low-cost thermal camera using the Melexis MLX90640 sensor. Long time ago I wrote elixir_mlx90640 to interface with it from Elixir/Nerves.

Here is an example project using it, using an old Nerves version, but as of a few months ago still functional.

ca1989

ca1989 OP

Thank you.

Have you advices about which hardware to buy?
I am in a very tight budget.
Is the Raspberry 3 enough, or do I need 4?
I see that the books use a Raspberry Zero, but I don’t know how it compares with the 3 and 4

Cheers!

lucaong

lucaong

I used a Raspberry Pi Zero W for both the two projects I mentioned above, and it works absolutely fine (just a bit slow for the thermal camera, but the library could be optimized to send frame pixels in a more efficient format than a JSON array). The RPi Zero is smaller and generally less powerful than both the 3 and 4, so definitely the RPi 3 is a good option too.

The thermal camera sensor is unfortunately a bit pricey (but professional thermal cameras are way more expensive, usually in the thousands of euro). The BME680 can be found from several sources, and has good prices.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New
AstonJ
This might be a bit disturbing for some but it’s happening - computers running on living human neurons. They’ve made them smart enough t...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews