Live data from Hacker News

Build your own IoT/MQTT node for less than $2

albert-david.blogspot.com

1–10 of 44 posts

Re: Build your own IoT/MQTT node for less than $2

#3
post #2

For those new to this, you can get little esp8266 based modules with usb, header pins etc for about the same price. https://en.m.wikipedia.org/wiki/NodeMCU Arduino software compatible too.

Those are really cool. Here's an esp8266 framework primarily intended for home automation: https://github.com/xoseperez/espurna

Re: Build your own IoT/MQTT node for less than $2

#4
post #2

For those new to this, you can get little esp8266 based modules with usb, header pins etc for about the same price. https://en.m.wikipedia.org/wiki/NodeMCU Arduino software compatible too.

> Arduino software compatible too.

The Moddable JavaScript (ES2017) runtime[1] works great on ESP8266 and ESP32 microcontrollers as well.

[1] https://github.com/Moddable-OpenSource/moddable

Re: Build your own IoT/MQTT node for less than $2

#5
Is there an hobby equivalent for Bluetooth Low Energy (BLE)? Wifi tends to be power hungry for battery-operated devices. With BLE, you can get months of lifespan while still being able to connect to it with your phone.

I was looking at the micro:bit, but it's still $15. Anything in the $2 range for BLE?

Re: Build your own IoT/MQTT node for less than $2

#6
post #5

Is there an hobby equivalent for Bluetooth Low Energy (BLE)? Wifi tends to be power hungry for battery-operated devices. With BLE, you can get months of lifespan while still being able to connect to it with your phone. I was looking at the micro:bit, but it's still $15. Anything in the $2 range for BLE?

There are some cheap nRF51822 modules from China which come close to that price range. You might even be able to get them working with the open source Apache Mynewt stack, though I never got around to trying.

Re: Build your own IoT/MQTT node for less than $2

#7
post #3
post #2

For those new to this, you can get little esp8266 based modules with usb, header pins etc for about the same price. https://en.m.wikipedia.org/wiki/NodeMCU Arduino software compatible too.

Those are really cool. Here's an esp8266 framework primarily intended for home automation: https://github.com/xoseperez/espurna

I use this in about ten devices (one of which is a custom-built dog feeder) and love it. I hate using closed-source IoT devices and this is a perfect alternative.

Re: Build your own IoT/MQTT node for less than $2

#8
post #5

Is there an hobby equivalent for Bluetooth Low Energy (BLE)? Wifi tends to be power hungry for battery-operated devices. With BLE, you can get months of lifespan while still being able to connect to it with your phone. I was looking at the micro:bit, but it's still $15. Anything in the $2 range for BLE?

ESP32 does BLE

Re: Build your own IoT/MQTT node for less than $2

#9
post #5

Is there an hobby equivalent for Bluetooth Low Energy (BLE)? Wifi tends to be power hungry for battery-operated devices. With BLE, you can get months of lifespan while still being able to connect to it with your phone. I was looking at the micro:bit, but it's still $15. Anything in the $2 range for BLE?

Try the ESP32, it might fit the bill, although I've never worked with its Bluetooth capabilities and don't know much about them.

Re: Build your own IoT/MQTT node for less than $2

#10
post #2

For those new to this, you can get little esp8266 based modules with usb, header pins etc for about the same price. https://en.m.wikipedia.org/wiki/NodeMCU Arduino software compatible too.

I would go with the Lolin D1 mini, it's better designed and has a more convenient form factor, in my opinion.
Post reply on HN