DIY Multisensors – what are the options?


Let’s get one thing out of the way. Wireless vs. wired? One of my favourite YouTubers Andreas Spiess released a vid this week about PoE on the ESP32. Andreas touched on the discussion of Wireless vs Wired for IoT devices and I agree with his comments. I’ll leave this here: wireless is fantastic but not for devices integrated into the fabric of the building:

The two devices Andreas showed seem to slightly fall-short of my requirements though. (I’ve added a third below as well.)

ABOVE: The Olimex ESP32-PoE looked great, but was a bit expensive for me. (I imagine making 20 multisensors, that’s £400 plus housings, sensors, etc.) Also – I bought ONE and it was not functioning properly.
ABOVE: Lilygo’s TTGO is far more reasonable at £13.50 but I dislike the form factor, it’s too big, don’t need SD card, no onboard programmer
wESP32 | Crowd Supply
ABOVE: The WESP32 has a superb form factor but price point way too high for me at £41.99. (Not saying it’s poor value, but it’s not in the right range for me.)

Onto the main question consuming my mind at the moment.

Should I make “passive” sensors which report back via a (potentially long) cable to a central controller (Arduino or whatever), or embed the microcontroller into each ceiling point, and wire each cable into an ethernet switch? (Using either passive PoE or 802.3af?)

Passive” Sensors

e.g. individual sensors like the DHT22, located in ceiling, wired back to Arduino in a central location. Or sensors connected to a 1-Wire network.

  • Feels a bit “old school”
  • Smaller sensor housings: no need for buck converter or microprocessor inside each sensor
  • 1-Wire temp sensor DS18B20 very cheap indeed (£0.30)
  • 1-Wire addressable switch can be used to interface with PIR / microwave sensors. The DS2413 is £0.68 + shipping. The DS2406 is £0.26 + shipping.
  • A lot cheaper

“Active” Sensors

By this I mean each sensor node has its own microcontroller and network interface.

  • May not be a good idea to send 5V to power each device because of voltage drop, therefore we need buck converters at each node. These can get hot, die, and could even be a fire hazard?? (Although these devices would be very low load at 5V, so maybe not.) Also they take up space.
  • Less concern about interference or noise if we use ethernet
  • DIY passive or “proper” PoE (the latter pushes the cost up by about £9)
  • Bigger and more expensive (still cheap)

From this basic analysis, 1-Wire definitely seems a good way to go, but I have a hunch that as we begin to introduce our own sensors to the 1-Wire network using the relevant 1-Wire interface chip (e.g. the DS2406 for basic digital IO or the DS28E18 for SPI interface), things might become complicated and difficult to troubleshoot, and I fear ending up in a rabbit hole of having to fully understand the 1-Wire protocol.

My strong preference is that each sensor has its own microcontroller, ethernet connection, and buck converter. Are my fears of fire risk justified? I have for many years used a Fulree buck converter inside a wall controller I made.

CPT/Fulree DC-DC Converter

One died after 3 years, but no visible damage. It is only switching 20V (from a Dell charger) down to 5V and the things are encased in resin so perhaps my concerns are over the top?







3 responses to “DIY Multisensors – what are the options?”

  1. James McBride avatar
    James McBride

    Hi Mat, I hope you’re well and glad to see you’re still going with this!

    My 2p’s worth, I’ve been using onewire sensors on their own long onewire network in a couple of deployments since around 2014 with near enough zero issues (there was one time in the summer when one of the sensors incorrectly reported it was -214c and made the heating kick in, but other than that it’s been rock solid.

    In my deployment the onewire network goes back to an arduino which converts it to MQTT

  2. Craig Williams avatar
    Craig Williams

    Hi, just found your blog and was wondering where you ended up with the ceiling multi-sensor idea in the end? I am working on something similar and would be interested in your thoughts! Thanks!

  3. admin avatar

    Hi Craig – I have put the project onto Github, check out – see you over there? I would be interested in discussing ideas!

Leave a Reply

Your email address will not be published. Required fields are marked *