Hacker News new | past | comments | ask | show | jobs | submit login

What kinds of cool things are people doing with this?



Here in Japan, we have a elixir nerves group. It isn't too active, but have made some stuff.

https://www.google.com/url?sa=t&source=web&rct=j&opi=8997844...


My friend made his own Nerves powered sprinkler system: https://www.youtube.com/watch?v=MS3Iap-2umQ

I believe he's still using it to this day.


I once built a firmware for the Pimoroni Keybow with it: https://xn--gckvb8fzb.com/projects/kiwi/


Beautiful webpage!


Thank you!


Interestingly enough it’s actually super nice for making touch screen kiosks. Not to say it can’t do much, much more.


I (author) have been dealing with the ReTerminal DM from Seeed Studio which in spite of being industrial is a fairly fun device:

https://elixirforum.com/t/bringing-up-cool-hardware-with-ner...

I have also done a bunch Nerves stuff on that blog as well as my YouTube. Some of it cool.

I know the Nerves Meetup recently posted a video covering a rotary telephone using Nerves: https://youtu.be/U4hetzVpjmo?si=Wc7QZ1SG0TPyjnaJ


I once wrote a system to interface with Mettler-Toledo postal scales, with the goal of replacing an ancient vbscriot based interface we were using at work.


I built a few hobby projects, and have another one in the pipeline for when I have time. All of them are based on Raspberry PI Zero kits from Pimoroni (shop.pimoroni.com) and sadly some of them are not in stock, and won’t be stocked again according to their support.

I built:

- a clock with an internal task scheduler (e.g. send me an email digest every morning), based on https://shop.pimoroni.com/products/scroll-bot-pi-zero-w-proj...

- a lamp that follows the solar cycle for the given location (e.g. it turns purple at twilight), based on https://shop.pimoroni.com/products/mood-light-pi-zero-w-proj...

I’ve also got some impression (https://shop.pimoroni.com/search?q=impression&stock=true) kits that I want to program for a family photo tree kinda thing.

A summary of my experience:

- these are not complex projects, and required (in the worst case scenario) some porting of the original python examples provided by pimoroni to interface with the hardware.

- deploying via ssh is fast and reliable

- can quickly experiment by pasting a new version of a module in the device shell. Got an editor keybinding to do that by targeting a tmux pane.

- OTP constructs help structuring code beyond the standard infinite loop that you have in other languages. And you can have pub-sub and state machines just with the standard library.

- it’s easy to abstract the hardware bits away using dependency injection, so that you can work on the host machine if needed.

- working with time and time zones is possible thanks to the ecosystem packages.

- any dependency with native extension can be a problem if not built with cross compilation in mind, and if it crashes on device that’s where debugging becomes a bit harder (might need a serial cable).

- if needed, I usually add a simple web yo for config/customization.

- there are great tools in the ecosystem to troubleshoot memory issues etc.

- sometimes I have WiFi issues and I suspect it’s related to power management, but I haven’t checked thoroughly yet.


Not sure if they still do, but farm.bot was using Nerves.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: