Hi folks, I'm currently designing an open-hardware 32 port 1wire bus master for part of my home automation system, and would like your input.
The design is based around an STM32F412ZG microcontroller, with MOSFET active pullups & drive transistors. It will present as a hat for the Orange Pi Prime (other Pis may also fit). My plan is to connect over the serial port, but I've also wired through I2C & SPI just in case. I'm currently considering how the device should present to OWlib: Option 1: Maintain an internal hashtable mapping devices to ports, and present as a single bus master. This has the downside of limiting the potential number of devices, as well as monopolising all the buses during long events, such as a firmware update. This would be annoying, as my light switches won't respond across the whole house if I have to update the firmware on any device. Option 2: Present as a single multi-bus master. I'm not sure if OWlib has such a concept, if not, there may be significant infrastructure work required. If it does, great, as hopefully OWlib will keep track of which bus a device belongs to. Option 3: Present as many bus-masters. I think this would be a reasonable solution, as other buses should continue to operate even if one is monopolised by a firmware update. In this situation, only a single room will stop responding, rather than the whole house. I'm open to any suggestions too. PS. Would it be possible to get my current work reviewed? I'm not quite ready to push it upstream, but it would be good to know early if there is anything there that would prevent it from being merged. My repo is here: https://github.com/InfernoEmbedded/owfs/tree/infernoembedded Cheers, -- Alastair D'Silva mob: 0423 762 819 skype: alastair_dsilva msn: alast...@d-silva.org blog: http://alastair.d-silva.org Twitter: @EvilDeece ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers