What did you build today (Pictures) ?


  • Hardware Contributor

    @bjacobse said in What did you build today (Pictures) ?:

    @berkseo
    Clever idea to use SN74LVC1G00 as while both inputs are same voltage it only consume ICC = 10uA (10 mircoA) in whole voltage range 1.65V -5,5V

    Not when when you have a low power comparator available that runs with only 0.5Β΅A...



  • Wireless expansion module for very cheap soil moisture sensor from Aliexpress πŸ™‚
    0_1563480847357_IMG_20190718_030514.jpg
    0_1563480862720_IMG_20190718_023921.jpg
    0_1563480882939_IMG_20190718_030645.jpg

    MySensors | Wireless Module for Capacitive Soil Moisture Sensor v1.2 – 05:12
    β€” Andrew EfektaSB



  • Finally the round-tuit UPS got built after the last power cut clobbered the Controller/Gateway system, lesson learned...
    Meanwell AD-55A, 7.2Ah Acid gel battery, two usb 5v buck converters, a spare socket for raw volts, and a 15 euro IP66 box from the local shops.. Some drilling and filing to the lid, couple of brackets, spare bolts, banding, soldering and hot glue...
    A bit bulky, but disappears in a void under the stairs, two tiny drill holes let the buck converter leds shine threw...
    No monitoring as yet, but sailed through a power cut this morning and the Pi didn't skip a beat.. First up is the Pi's RTC then can put the cover back on the Controller...
    0_1563789698294_20190721_074129[1].jpg
    0_1563789869238_20190722_001114[1].jpg


  • Admin

    @zboblamont is the battery and switch mode psu just in parallel? Or do you have a switchover / charge circuitry?



  • @tbowmo The Meanwell AD-55A is a purpose made 12v UPS type with all controls onboard. There is an optional version with monitoring brought out to a connector block, but I couldn't find one.
    The photo angle is misleading - Channel 1 +/- is to load, Channel 2 +/- is trickle charge to battery, power failure switches seamlessly to the battery as source..
    It's a fairly comprehensive arrangement with an array of safety features including battery protection, eg - If during power failure you disconnect the battery, it's reconnection will not restore load power, and resets only on mains supply.
    Case ventilation made using a metal bracket with a matrix of holes as a drill through template so it looks neat, but as the PSU barely gets warm to the touch it proved to be overkill.



  • @zboblamont Do you have any more info on this? Components and schematic? I am looking to do this as well as Florida is now fully into storm season.



  • @wergeld Sure, but this is where I first read about it as part of a comparative link text when I was trying to decide on a UPS after a series of outages (frequent out here in the sticks).
    The dual buck converters were the only real variation (in case one blew). Following kind advice after querying buck converters on this forum, this is the type I ordered but off eBay, but this is very similar layout... link text
    I should explain that I would have gone for a commercial UPS had a decent USB supply been quoted, but the reality is that for most the USB is of secondary consideration to backup mains...
    I gets interesting when you consider the actual Ah capacity before the battery low cutout operates, I reckon well in excess of 12 hours...
    Have fun... πŸ˜‰


  • Hero Member

    not with mysensors, but could have been: CNY70 water sensor meter (rotating wheel) with extended wifi range, the heart of it is a Particle Photon pushing to domoticz

    0_1563895501049_1e1f491c-38c1-413e-89db-0d248b38f86c-image.png



  • Today I finished printing the case. Turned out to node with sensor bme280 and e-ink display, running on nRF52840 from SKYLAB

    In one of the photos still have the sensor with bme280 working on nrf52840 from EBYTE. ...This is the previous project.

    upd.
    0_1566869094492_IMG_20190810_190151.jpg

    1_1566869139460_IMG_20190803_134347.jpg

    0_1566869139439_IMG_20190809_020107.jpg

    4_1564616740093_photo_2019-07-31_23-46-16.jpg 3_1564616740093_photo_2019-07-31_23-36-20.jpg 2_1564616740093_photo_2019-07-31_23-35-07.jpg 1_1564616740093_photo_2019-07-31_16-23-05.jpg 0_1564616740092_photo_2019-07-30_20-24-08.jpg


  • Hardware Contributor

    I have soldered the first sample of "xRoom" board.
    TODO: testing and detail description of the project))

    1_1564750405850_xRoom_2.png 0_1564750405849_xRoom_1.png



  • @kalina That is some excellent solder work. Last time i tried to do SMD work it ended up being 110% solder, 5% PCB, and 0% component at the end.


  • Plugin Developer

    I didn't build this myself, but I did create the code. It's a MySensors CO2 sensor that is part of a 'privacy friendly smart home of the future' which will be launched later this year.

    0_1566575881300_Candle-CO2-sensor-by-Dinie-Besems.jpg

    It was made by artist and jeweler Dinie Besems. All her creations feature small 'skirts' that you can lift to see the data, or cover up the screen if you have visitors and don't want them to immediately see your data.



  • Etched and soldered a new gateway after the original one I had failed.

    0_1566894953439_IMG_1302.jpg
    1_1566894953440_IMG_1316.jpg
    2_1566894953441_IMG_1317.jpg
    3_1566894953442_IMG_1318.jpg


  • Hardware Contributor

    Meet Janus project, a premium USB dongle by Tekka and me 😎

    Dual RF gateway with external antennas.

    • nrf52840 with 20dB PA + SMA connector. So it can be compatible with MySensors, and/or zigbee..
    • rfm69hcw/rfm95 long range + SMA connector . module has all DIO pins routed for sw driver optimizations.
    • reset button
    • user button
    • RGB led
    • high PSRR RF/analog 700mA LDO
    • usb protected
    • 4layers board
    • enclosure size : 52x21 (thickness 11mm). compact!

    Enclosure is just a quick proto, I'll improve quality, or I would like to try online multijet service, I'm curious πŸ™‚

    0_1567798667614_IMG_20190906_212601.jpg

    0_1567798495014_IMG_20190906_212434.jpg

    It's very recommended, for better performance, to have some distance between antennas.
    So, for example, I'll use a shorter antenna (without cable) for 2.4ghz, and a "remote" antenna (with a cable) for 433/868/905Mhz, so it can be used with different kind of antennas.

    We choosed external antennas, because

    • versatile use
    • better range especially when dongle is close to lot of stuff which could affect range in case of a pcb antennas


  • @scalz ohh! Where can I order one?


  • Hardware Contributor

    Wow @scalz that's a badass gateway dongle, any pictures of the inside ?
    Do we have more chances to see that becoming available, than HALO and Aeos ? πŸ˜„


  • Hardware Contributor

    thx for interests guys πŸ™‚
    I'm just not sure if there would be enough interest for me to produce. I've not really thought about it! It's the first board of the batch.

    I call it a premium dongle because

    • it's 4layers. It's just a little bit more expensive than 2layers. But quality is a lot increased (better impedance, full gnd plane, better routing etc). It's also recommended by lot of rf module manufacturers for topnotch perf
    • I uses the high quality BT840XE module. As you know, it's a well documented and known module, and it's CE/FCC (better, as it includes a 20dB PA).
      Actually I just use a few pins on edges, and 18 pads under it..
      I had the choice to use this module, or to design mine with a frontend, but for once, I decided to go "simple" for a quick debug. And the price difference vs homemade, maybe +10€, is worth it imho, time saver, and I don't mind I just need one!

    Why did I make it? Because I can and would be pity to deprive myself πŸ™‚
    And we can have a nice and reliable dongle for the team, just in case.

    You're right I have others hobby projects, they're not dead.. πŸ˜…

    • just lost a bit of interest on Aeos release, I agree on this, because I prefer subghz for mysensors, and would like to keep 2.4 for others protocols.
    • Halo is not dead, actually it's one my favorite. I just need to find a way to include Janus in my "serverless" project which is mostly ethernet based (I made a full webapp, that I'm porting to true native crossplatform sw, android phone+tv, windows, linux, for better experience). "serverless" meaning optional rpi/computer

    Oki, I'll post others pics soon.


  • Hardware Contributor

    This evening I assembled another dongle (and a few other boards).
    @nca78 as you asked, here is a pic during tests. Tiny dual rf dongle board, isn't it πŸ™‚

    0_1568059742404_IMG_20190909_214158.jpg

    0_1568059839548_2019-09-09_21-44-48.png

    😎



  • @scalz How do you plan to use your dongle? Just as coordinator? or only as a gateway mysensors? Have you tried using it as a combo? zigbee quite unceremoniously uses the resources of the mcu.



  • @scalz said in What did you build today (Pictures) ?:

    This evening I assembled another dongle (and a few other boards).
    @nca78 as you asked, here is a pic during tests. Tiny dual rf dongle board, isn't it

    This customization boards adafruit? I've customized the Board Sandeep Mistry.
    0_1568618403712_1.png



  • Air particulate sensor.

    BTW, solder fumes seem to be bad for you........

    2_1568765899621_Photo 18-9-19, 9 57 10 am-1.jpg 1_1568765899621_Photo 18-9-19, 9 50 34 am-1.jpg 0_1568765899620_Photo 18-9-19, 9 44 38 am-1.jpg


  • Hardware Contributor

    @berkseo

    • like I said, MySensors bridge, combo . Yes I know about resources.
      Note: zigbee is out of MySensors scope (not arduino code), so for the moment some ideas and POCs will be local, not making money no ETA, still lot of WIPs and the daily job!
    • yes.

  • Hardware Contributor

    Modified a laser filament sensor (pat9125, used with Prusa mk3) to be used with an ESP32.

    Maybe I will use it as a filament stuck sensor with octoprint. Or a filament meter?

    0_1571850670675_IMG_4393.jpg



  • Very first attempt to solder smd components on pcb with hot air soldering station. lots of mistakes but i m learning...

    0_1571951970783_pihome_smd_temperature_sensors_02.jpg

    0_1571951948255_pihome_smd_temperature_sensors_01.jpg



  • First of the winter projects done, just the programming to finish and replacement temperature chips to get (broke the legs off both DS18B20s through clumsiness).
    With mains/battery backup and RTC, it will record boiler start/stop and run times as well as feed/return temperatures, and as an aside the inevitable power cuts which plague this part of the world.
    The MCU plugs into a socketed backplane hot-glued to the back of the box should removal prove necessary, but quite pleased it is sturdy and all fitted into a slim 25mm deep standard (cheap) box.
    0_1572107113418_20191026_182803[1].jpg



  • My brand new device on nRF52840. It is a light and shock(vibration) sensor.

    Two sensors are used, max44009 light sensor (1 ua) and lis2dw accelerometer (1 ua).

    The light sensor measures in Lux.

    The shock sensor has five levels of sensitivity.

    Two modes of operation: main (working) mode and command reception mode.

    The sensor accepts settings: the interval of sending data from the light sensor (in minutes), sending recalculated light data from Lux to watts per meter squared(on/off), the sensitivity level of the shock sensor(5 levels, 1 to 5)

    Depending on which sensors are installed on the PCB, it can be used only as a light sensor, only as a shock sensor or both.

    In the near future the project will be posted on openhardware.io

    0_1574960313498_IMG_20191128_151536.jpg

    video (inside view of the sensor, an example of working with a smart home, an example of setting): - https://youtu.be/I2ywIxp-RsE


  • Hero Member

    @berkseo this would also be good for monitoring when the trash cans get picked up by the garbage truck. If it has enough range that is. Of course that wouldn't apply to high rise dwellers, but for people in houses it would be a nice perk.



  • working on GPIO MySensors Gateway

    1_1575232762237_PiHome GPIO Gateway_v001.png 0_1575232762236_PiHome GPIO Gateway_v001 v3.png



  • An updated version of my temperature and humidity sensor with e-ink. Now on nRF52840. Now it is not a module but a device in the case.

    Replaced temperature sensor sht20 -- > > si7020
    Added accelerometer.

    In the near future the project will be posted updated on the website openhardware.io

    0_1575378097480_IMG_20191203_155259.jpg
    0_1575378120190_IMG_20191203_155152.jpg
    0_1575378162112_IMG_20191203_155111.jpg
    0_1575378180541_IMG_20191203_155221.jpg
    0_1575378193166_IMG_20191203_155241.jpg
    0_1575378206485_photo_2019-11-30_21-35-27.jpg
    0_1575378314466_photo_2019-11-17_21-14-04.jpg 0_1575378328998_photo_2019-11-17_21-13-56.jpg
    1_1575378360290_photo_2019-11-17_21-14-30.jpg 0_1575378360290_photo_2019-11-17_21-14-15.jpg

    Video: https://youtu.be/T66y83lF-xg



  • Amazing! πŸ˜ƒ

    The case is 3d printable?



  • @franz-unix
    This is made on SLA printer, but should normally print on FDM



  • @pihome just realized one big blunder, The NSS, MOSI and SCK are not 5V tolerant on RFM69. hence need level converter 😞
    i was wondering is there any one ic can can do instead i have to used BSS138 per pin.


  • Hero Member



  • @neverdie you can use this and this as a reference. No need to buy ready breakout board, if you know how to trace your own.



  • https://github.com/dkjonas/Wavin-AHC-9000-mqtt
    iron and toner transfer, then etched and soldered and finally acrylic spray on cobber so it won't corrode

    0_1575573660599_wavin_9000_mqtt.png


  • Hardware Contributor

    Hello, as it was getting seriously off topic, I moved the discussion related to SLA printing of enclosure to here :
    https://forum.mysensors.org/topic/10815/printing-enclosures-with-sla-printers

    Feel free to suggest a better title.



  • I've had surprisingly good luck buying cheap parts from Ali-express, but not this time. I bought an NRF52832 iBeacon that supposedly had an SHT30 temperature sensor and KX022 accelerometer. When the parts arrived, neither of those parts were populated. All the beacon has is a push button.

    I was able to program it to work with MySensors, however. With only SWIO and SWCLK (no txt out), I took @scalz advice (in another topic) and used a J-Link EDU Mini so I could use the RTT app to get printf style debugging. That worked nicely and I learned a new tool.

    Perhaps I can use the iBeacon button for a remote.

    0_1575856261737_20191208_203642.jpg



  • Yesterday I finished my new project. This is motion sensor (S16-L201D) + light sensor (MAX44009) + temperature and humidity sensor (SI7020). Π owered by nRF52840.
    4_1576062657237_photo_2019-12-11_00-53-37.jpg 3_1576062657236_photo_2019-12-11_00-44-25.jpg 2_1576062657236_photo_2019-12-11_00-44-25 (4).jpg 1_1576062657236_photo_2019-12-11_00-44-25 (3).jpg 0_1576062657235_photo_2019-12-11_00-44-25 (2).jpg

    ..upd
    video - https://youtu.be/cbJYam4jo2g



  • Another 8x8 matrix based display...
    This is not a real project, just a try to hide the LEDs for better WAF.
    Print still needs some impovements, but from a little distance you can't see the details.

    1_1576329826465_20191214_120617.JPG
    0_1576329826464_20191214_120524.JPG



  • My new project is finished today and put to the tests. This is a continuation of my other project - Wireless Module for Capacitive Soil Moisture Sensor v1.2.
    2_1576668929422_photo_2019-12-16_23-36-50.jpg 1_1576668929421_photo_2019-12-16_23-36-50 (2).jpg 0_1576668929421_photo_2019-12-16_23-36-49.jpg
    1_1576669149860_photo_2019-11-17_21-12-19.jpg 0_1576669149859_photo_2019-11-17_21-12-13.jpg

    video: https://youtu.be/2HM0y-D7QNo


  • Plugin Developer

    Wow. All these recent creations are so professional. Really nice!



  • Another project of mine, the second revision is finished today and put to the test. This is an encoder with accelerometer, powered by nRF52811 chip (datasheet).

    0_1577038260881_photo_2019-12-22_20-39-47.jpg
    4_1577038273150_photo_2019-12-22_20-39-47 (6).jpg 3_1577038273150_photo_2019-12-22_20-39-47 (5).jpg 2_1577038273150_photo_2019-12-22_20-39-47 (4).jpg 1_1577038273150_photo_2019-12-22_20-39-47 (3).jpg 0_1577038273149_photo_2019-12-22_20-39-47 (2).jpg


  • Hero Member

    @berkseo Cool!



  • @neverdie Thanks for rating. Especially pleased, so as nRF52 for me began with Your those on this forum.



  • @berkseo nice piece! Do you mean accelerometer for an encoder, or a physical one? And if the latter, what for is it supposed to be used?



  • @monte said in What did you build today (Pictures) ?:

    nice piece! Do you mean accelerometer for an encoder, or a physical one? And if the latter, what for is it supposed to be used?

    0_1577044140178_111.png
    I think the use cases quite a lot, I want to implement double tap. For example, there is a dimmable lamp with switching to cold and warm light. Here with the help of a double tap you can control the switch from cold to warm and back. In any case, I think this is a good extension of the functionality.


  • Hero Member

    @berkseo πŸ˜ƒ I'm glad it was helpful. And now you're inspiring me back! That's a virtuous circle if ever there was one.


  • Banned

    This post is deleted!


  • Another one of my brand new device is ready, today I finished the case for this device. This is a motion sensor on the S16-L221D-2. Also added a temperature and humidity sensor, it can be sht20-21, si7020-21, hd 1080, perhaps something else, now there are many sensors in such cases. Powered by a "nuclear" battery 2/AA (14250) 3.6 V. Powered by a chip nRF52811. I added support for this chip to the sandeepmistry boards.

    Soon this sensor will be available at openhardware.io

    0_1577561964003_IMG_20191228_220710.jpg
    0_1577561983260_photo_2019-12-28_20-18-44 (4).jpg 0_1577561989372_photo_2019-12-28_20-18-44.jpg 0_1577562008909_photo_2019-12-28_20-18-44 (3).jpg 0_1577562012521_photo_2019-12-28_20-18-44 (2).jpg 0_1577562018864_photo_2019-12-28_20-18-44 (5).jpg 0_1577562042372_IMG_20191228_221152_2.jpg


  • Admin

    Not hardware though, but I'm working on my dashboard solution for a wallmounted tablet.

    I kind of already have this working in angular, but lately I have switched to react (joined a new project at work where they use react for frontend development), so wanted to see how "easy" it would be to create a something similar to my angular dashboard, but in react instead.

    Made a small screencast of the dashboard, and are now playing around with "fully kiosk browser" on an old android tablet. Next step is to create a wooden frame, so it doesn't look like a tablet that is mounted on the wall (for WAF'ines).

    home automation tablet view – 02:07
    β€” Thomas Bowman MΓΈrch

    All data, except weather forecast and channel lists, is from my mqtt broker, where I use mqtt over websockets.I have a bunch of python scripts, and a node-red instance, to wrap things up for the display, and also do a lot of magical stuff, like turning on TV and amplifiers automatically when casting youtube, and then turn the TV etc. off again, when I haven't streamed anything for a couple of minutes. (So the kids doesn't forget to turn off the TV when they're finished watching cartoons)


  • Hardware Contributor

    Today i fired up my controller after 6 months houserenovation. Upgraded to new 2.3 version and instantly some old nodes started reporting again πŸ˜€. Yes, there were some without battery but several temp and binary nodes survived 6 months without supervision. 0_1577797816208_1577797801960606374482477635708.jpg



  • @sundberg84 Out of curiosity, did you have battery powered Nodes trying to contact a dead controller or did you shut them all down?

    When the Controller here died in June/July, the hit on Node voltage was quite spectacular compared to normal decay, in this instance the gas meter which was only supplying hot water and cooking...
    0_1577873440035_e578f6d4-0e46-4243-8c8a-7cbea0b812c6-image.png


  • Hardware Contributor

    @tbowmo said in What did you build today (Pictures) ?:

    Not hardware though, but I'm working on my dashboard solution for a wallmounted tablet.

    Sigh, this is on my todo list for a long time. I have a working solution with imperihome (gateway to imperihome implemented in node-red) but never get to mount the tablet. 😞

    I kind of already have this working in angular, but lately I have switched to react

    Second sigh.... popularity of angular seems to decrease. Do I have to learn another framework?

    (joined a new project at work where they use react for frontend development), so wanted to see how "easy" it would be to create a something similar to my angular dashboard, but in react instead.

    ...

    All data, except weather forecast and channel lists, is from my mqtt broker, where I use mqtt over websockets.

    Third sigh πŸ™‚ I like your chosen architecture except for the decision using websockets. (It is neither nice from a security standpoint nor is it proxy friendly, but who cares in a closed home enviroment.)

    I have a bunch of python scripts, and a node-red instance, to wrap things up for the display, and also do a lot of magical stuff, like turning on TV and amplifiers automatically when casting youtube, and then turn the TV etc. off again, when I haven't streamed anything for a couple of minutes. (So the kids doesn't forget to turn off the TV when they're finished watching cartoons)

    I really like your project. Maybe you can publish some react code? (Then I can try t understand another ui framework...)



  • After 4 months of finishing the new house, i finally started to build in my sensors πŸ™‚

    Do need to build a new repeater, since a part of the sensors are out of reach.

    0_1578221699371_20200105_114401_cp2.jpg

    0_1578221720439_20200105_114425.jpg

    0_1578221749668_20200105_114526.jpg


  • Mod

    A 3D printed hanger for dupont cables, mounted on the inside of the wardrobe that is my electronics lab.
    IMG_4639.jpg

    Found it on thingiverse, https://www.thingiverse.com/thing:3567126


  • Admin

    @FotoFieber

    I was forced over to react, as the new project I was assigned to is using it (one of the downsides / luxuries of being in a large corporation). But yes, "Another framework". I can't decide if react is better than angular though. It's not as strict as angular on how to design things, but then the "strictiness" could be one of the strengths of angular.. I have experienced it a couple of times, where there are a lot of different ways to accomplish the same thing in react, so it's a bit harder to find the "Best way (tm)", whereas for angular it's a bit more strict path to implementations.

    for the websockets, there might be security issues with it but if you want to have an open connection where you push data to the client, you don't have that many options available. I have thought about ditching mqtt for the frontend, and implement my own (websocket) protocol. Mainly to limit access to my mqtt broker, but there is only so many hours a day, and work, wife, kids etc. all want a part of them.. πŸ™‚

    The project is already on github, don't expect anything fancy though..



  • @mfalkvidd Neat! It's so obvious once you see it. This is something I need. I have a box full of dupont cables, but it always seems I can't find the right length gender combination.

    I also have a wide variety of USB cables hanging on hooks. Something like this with wider slots would be a better solution.

    Gonna have to get that 3d printer on day.



  • @Omemanti Looks really professional. Are these a commercial style of switch? Wonder if I could get something like that in the US.



  • @nagelc Its al from jung. Series AS500. Its hard for me to search for sellers in the US.. Google forces me to search in the Netherlands.

    My understanding that the standard inwall boxes in North America are pretty different than in Europe /Netherlands . The types I use always look like this

    But I'll share my kicad files on openhardware.io, only thing you have to do is change the backplate.

    This sensor : link

    Also made a repeater, but this one is fairly unsafe( I got zapped installing it 😁). I just got the PCB's for a safer version I hope I can post pictures when everything works.


  • Hardware Contributor

    A relatively basic board, based on a cheap CDEByte module, some leftover iTead power supplies (with not so-well aligned footprint) and a PCA9555 to drive the SSRs directly. I have suspended ceiling with many light spots so I want to be able to control them either one by one (in small rooms with less than 8 spots) or by groups/area in bigger rooms. This will be hidden in the ceiling in an electric box so I have no size constraint and it was easy to respect the creepage/clearance distance and include slots.

    IMG_20200117_175606.jpg
    IMG_20200118_133010.jpg
    Resistors are the pullups for the I2C bus that I stupidely forgot 😊 (and yes I fixed that ugly solder point for the middle SSR)

    Result in Things Gateway:
    d328e764-5ddf-45ec-9fc6-b06efdee7788-image.png


  • Hero Member

    @Nca78 Looked at another way, once installed and sealed up it will also be a sort of time capsule. πŸ‘


  • Hardware Contributor

    @NeverDie said in What did you build today (Pictures) ?:

    @Nca78 Looked at another way, once installed and sealed up it will also be a sort of time capsule. πŸ‘

    I said hidden and not sealed. Unless you have worked really hard on the FOTA for nrf52 ? πŸ˜›



  • Not so much a build as a case study in deploying Mysensors with Domoticz to solve a puzzle simply with heating.
    Having retrofitted insulation 2 years ago to my relatively modern house (2013), seeing gas consumption plummet to 55% of previously was a joy. The unknown thermostatic valves and heads were replaced with Heimeier Eclipse and Halo devices a year ago and an undersized Lounge radiator replaced (all paid for out of the first year's savings). The original intent of electronic zone control was abandoned when prices rocketed since the original goal was it being self-funded by first year savings, so a Honeywell multi$ was nowhere on the cards in any instance.
    As Honeywell and other modern valve manufacturers have manufactured for thermostatic control, the Eclipse is essentially a dual flow control valve, one part replicating the return or lockshield valve (which is left fully open), the other the thermostatic control. On paper the Eclipse offered the secondary advantage of being pressure agnostic per kW panel, you set the flow and it stays that way.

    Delighted though I was to break 50% savings over the original thereafter with rooms remaining within a 1.1c band, there were some rooms colder than were set which made me realise there was some imbalance which I didn't realise then was the transit time from boiler to radiator (or miscalibrated valves).

    First step was smart in but stupid out, monitoring the boiler by attaching DS18B20s to the connection nuts. Outgoing measured temperature being 10c below the boiler setpoint should have given a clue, but a week of running round like a lunatic with a laser thermometer and a notebook proved I was none the wiser other than the radiator was hotter than the boiler sensor.
    Hence deployed this, a temporary hookup of two DS18B20s on perfboard connected with Cat 5e and phone cable and held with hot glue, two G clamps and some cardboard to ensure they stayed put, and a roving Node...
    20200119_182618[1].jpg
    Not elegant but dysfunctional (hot glue struggled under heat and pressure including having to be levered off the radiator) but it enabled the problem to be identified, transit time... Being able to monitor both the top and bottom panel temperature in relation to the main rads helped nudge the time to get incoming temp close to that taken to hit the main rads +/- 1 minute within a cycle time of 18 minutes...
    Not elegant, and Domoticz is useless being built around 5 minute intervals, but it still enables readings to be taken with a notebook and pen in one hand with a glass of Rioja in the other πŸ˜‰ Creeping up on it.. The improvements are felt before they are observed.
    My point is, a temporary Node can serve a lot of useful purposes leading up to or supplementing the permanent structure.
    The screenshot is two different targets being tweaked...
    66257e34-38bc-409e-b71a-a592226088a9-image.png


  • Hero Member

    @zboblamont Ah, you got bit by my main reason for not liking Domoticz: Domoticz would be so much more useful without that 5 minute minimum between recorded datapoints. It's a wonder they've never fixed that.


  • Hero Member

    @Nca78 Just FYI, I looked into attempting a FOTA on the nRF52 but at the time I didn't feel as though I had enough easy-to-follow information to do it within the limited spare time available. I think adafruit may have some kind of FOTA for the nRF52 with their circuitPython project, but that language's runtime is awfully slow compared to C or FORTH.



  • @NeverDie I don't mind it so much as an overview, it's getting sense of the overview which is the problem as the detail is absent from the graphing.
    Simple enough for my purposes though, sitting in a kitchen with a glass of Rioja recording details is remarkably simpler than spilling a perfectly good wine dashing back and forth balancing a notebook, pen, laser thermometer and a clock..
    We work with the tools we have, which on balance are a lot more advanced than when I was your age when flints, candles and acetylene were all the rage...



  • @NeverDie I came to this idea after I read again about your trying to add FOTA to nrf52. What do you think about it?


  • Hero Member

    @monte I think it may run into the same barrier I encountered with both uPython and FORTH and uLISP. I got them all to do FOTA with nRF52, which is easier because they are interpreted, but in none of the cases could I easily leverage the wonderfully extensive arduino sensor libraries because those are written in C. Apparently there do exist ways to do it with linkers and such, but I wouldn't classify it as easily done. More like "easier said than done." uLISP would have been the easiest to adapt C-libraries, but it's a slow inefficient implementation of LISP, so that was a downside. Although practically anything can be made to work given enough time and effort, there's something to be said for staying within the Arduino framework so as to minimize time and effort.

    That said, maybe your idea is different. Sometimes it's hard to really know until you explore it a bit.



  • @NeverDie I mean, what exactly use scenario for FOTA update of a remote working node? What can you possibly want to change remotely without changing any hardware? I guess it can be some logic, or parameters that may require adjustment that can be made remotely, and that's how I think JSON can be used to specify those. I well may be overlooking the big part of a problem, so I ask to better understand it.


  • Hardware Contributor

    @monte said in What did you build today (Pictures) ?:

    @NeverDie I mean, what exactly use scenario for FOTA update of a remote working node? What can you possibly want to change remotely without changing any hardware?

    for example arduino core used for the firmware (sdk..), libraries updates (MySensors, sensors), etc



  • @scalz but why do you need this on an already working node? Mysensors has backward compatibility so far. Do you expect any improvements from updated sensor libraries for a working node? In this case, you of course would need proper FOTA.


  • Hardware Contributor

    @monte said in What did you build today (Pictures) ?:

    @scalz but why do you need this on an already working node? Mysensors has backward compatibility so far. Do you expect any improvements from updated sensor libraries for a working node? In this case, you of course would need proper FOTA.

    I don't think that a major fw release (MySensors in this case) always guarantees full backward compatibility.
    Perhaps not for a sensor lib (but who knows), still, if not for any core updates, do you expect any improvements from updated MySensors lib for a working node/network? If no, then you don't need fota πŸ˜‰
    app settings != app/fw update

    [edit]
    Examples when you may need to flash your fw (wirelessly or with a programming tool):

    • it was not possible to have backward compatibility between old and new rfm69 drivers (new driver brought lot of improvements for green rf like adaptive TX power, power consumption etc).
      So it required updating network (gw and all nodes). This can happen eventually for a major release (v2->v3 or v3->v4..), a major release could allow "controlled" breaking change if no other way.
    • bugs fixes in MySensors files (core, transport, security..)
    • new features updates if needed (in MySensors, or your own sketch), easy to imagine, so many things to improve
    • etc


  • @scalz as time goes I'm becoming more "Ain't broke, don't fix it" guy. Let's say, you've installed relay node somewhere outdoors, that has been working for a couple years. What exactly would you want to improve by reflashing it with updated library? Or maybe not a relay, but any other node, you have in mind, that could benefit from this action.
    Once again, I don't want to argue, just clearing things out for myself.
    Thanks πŸ™‚


  • Hardware Contributor

    @monte I get it. I think this is off topic here, maybe open a new thread if you need to ask people why/when they need to update their systems, reflash their devices etc
    ( I have edited my previous reply with a few more examples in case it would be more clear)



  • @scalz I agree that this conversation is off topic, and I indeed started a separate thread before I posted replies here. Fell free to express your thoughts here, if you want: https://forum.mysensors.org/topic/10895/modular-sketch-to-be-configured-with-json-idea/



  • Have finished RIB king gate opener/controller based on NRF52840 & MySensors.
    RIB king gate controller.jpg image url)


  • Hero Member

    @xmonika Nice work! I really like how you very artfully leveraged pre-made boards into such a compact assemblage. Is the backplane something that you self etched or CNC'd?



  • @NeverDie a big thank you as I was inspired by many of your post and this was my first Nrf5 project. The backplate is designed in KiCAD and then outsourced for etching to one local semi-hobby service. Modules are then connected via precision header pins (concept inspired by Ardumower)



  • Today I finally assembled some of my new PCB's

    2 New front PCB's (a repeater and a LED-Dimmer)
    1 New Back PCB that can be used as just an AC/DC power supply or as part of the AC current side of the LED-Dimmer

    The last inwall repeater I made was just one PCB, and during installation, I got zapped 😒 , so I tried to make a 3D design to counter that.
    The part that is the furthest in the wall is the AC side, and the microcontrollers, etc (DC-side) are at the front. Both are connected using 4 pins and are fastened by 4, 3m standoffs

    I think this is much safer when, for instance, the front cover is taken off. (i use the same design as: LINK)

    Pictures show the FL5150 dimmer at the front and its compatible backside.
    When the testing is done, I also want to connect a touch sensor to it, so the dimmer can be controlled remotely as well by touch.dimmer.png


  • Hero Member

    @Omemanti said in What did you build today (Pictures) ?:

    I also want to connect a touch sensor to it

    You may not need an extra sensor. I haven't yet tried it myself, but supposedly the nRF52 has capacitive touch sensing built in.



  • @sundberg84 Nice, I had hanging issues with Domoticz in the past, until I decided to switch to Home Assistant. Best decision ever.



  • Built a heat pump monitor based on mysensors on an Nano board and a few LM393 light sensors.

    It's simply reading the status LEDs and tells me if they're on or off, and it means I can correlate e.g the compressor or circulation pumps with the electricity usage read from the power meter.

    Also, which actually was the main driver behind the project, it allows me to send an alarm to my phone in case the alarm LED goes on. This is usually caused by incorrect pressure somewhere in the system and can be fixed by simply restarting the system. When the alarm triggers, it shuts down everything which is a bit annoying since it can take a few hours before I notice it (usually not until I go in the shower and there is no hot water). I now have to figure out how to deal with the fact that the alarm LED is blinking, which causes a stream of "alarm ON, alarm OFF, alarm ON, ... ." etc messages in Telegram πŸ™‚ There should be a way to fix this in Home Assistant I hope.

    An interesting thing was that I was not able to tune the sensors to give me an accurate on/off digital signal. I therefore have to read the analog signal, and in the sketch decide whether it's on or off depending on the value. The values are in the 0..1023 range and the threshold was somewhere around 1000, so I think it was too close to the end of the range for the adjustment potentiometer.

    photo_2020-01-28_22-19-25.jpg
    photo_2020-01-28_22-19-31.jpg
    photo_2020-01-28_22-19-34.jpg
    photo_2020-01-28_22-19-38.jpg
    photo_2020-01-28_22-19-42.jpg


  • Hardware Contributor

    @maghac said in What did you build today (Pictures) ?:

    I now have to figure out how to deal with the fact that the alarm LED is blinking, which causes a stream of "alarm ON, alarm OFF, alarm ON, ... ." etc messages in Telegram There should be a way to fix this in Home Assistant I hope.

    You should fix it by using a flag for alarm led on and the last time the alarm led went on :

    • when led gets on, set the "alarm on" flag in your code, save the millis() of last alarm led on in a "last alarm led on" variable
    • in the loop, check status of the alarm led: if off and "alarm on" flag is on, compare millis() with "last alarm led on" time. If the difference is higher than the duration of a blink interval then your alarm is really off.


  • @Nca78 You're probably correct. I first wanted to keep the sensor "dumb" and put all logic in the controller, but it makes sense that the sensor actually returns the true alarm state - which is ON if the LED is blinking.



  • It's s WS2812B LED strip driver using STM32 blue pill and RFM69HCW.
    I have made a few revisions previously, but this one fits an off-the-shelf enclosure and uses the pcb and enclosure lid for strain relief on the LED strip connector wires.
    I like the concept of using the enclosure slots to hold the pcb. Maybe a slightly smaller enclosure next time.

    20200202_132206.jpg


  • Hardware Contributor

    Today, a 5uA always on display with a PCF8553 LCD driver and a GDC1038 LCD from GoodDisplay. Power consumption varies with voltage but mostly with what segments are on/off, but at 3.3V with segments on to display data on all parts of display (2*4 digit numbers and 3 letters) it's always below 6uA.

    cbcf188c-16f4-4b62-be82-a6aaab2cbade-image.png

    Not sure why the Youtube video won't integrate as it should, but here it is for a more animated version:
    Arduino ultra low power LCD (5uA) – 00:21
    β€” NicolasVietnam



  • very first working Ethernet gateway πŸ™‚

    2020-01-31 18.56.26.jpg 2020-01-31 18.56.37.jpg 2020-01-31 18.56.53.jpg


  • Hardware Contributor

    Today I finished to fix failed soldering (too old solder paste made a mess 😒 ) on the "motherboard" of my air quality sensor.
    It's based on ESP32, uses a charging IC with power path so it can run on batteries for around a day or stay plugged without destroying the battery, step down from USB/battery to get VCC, storage on I2C EEPROM, flash and/or Β΅SD card (depending on use case), one SK6812 mini RGB led as indicator, a small 240*240 IPS LCD (backlight driven directly by ESP32 pin in high drive capability mode), a 3 way switch for basic user interface + footprint for PAJ7620 gesture recognition module, accelerometer and I2C IO expander to manage the 3 way switch and interrupts from sensor modules.
    Sensor modules will be added on top, connected using an FPC connector. At the moment I made only one sensor PCB able to manage usual PM, CO2 and formaldehyde sensors. Only one sensor per sensor board where an attiny841 manages the UART sensor and convert it to I2C, it also manages the 5V step up to power the sensor.
    On the main board I also added an NRF24 footprint so with the same PCB I will be able to make a gateway with integrated battery backup.

    I'm pretty happy with the relatively well aligned components (no, I don't have OCD πŸ˜„ ) , too bad I had to unsolder, clean and re-solder each component as it now looks botched up. But at least everything (except a missing connection on Β΅SD card, hence the blue wire) is working,
    475bc52b-5bba-450f-aaa0-74eac94a1fb3-image.png

    LCD test showing jpgs from SD card
    c6334b2c-acf5-480f-aca3-c7ad5f191def-image.png



  • My new mini multi device on nRF52810, nRF52811, nRF52832 chips. Designed specifically for a very small case from Aliexpress. It works!!!

    bme280, sht20/21, si7020/si7021, hdc1080, max40009, lis2dw12, lis2dh12, lmt01, reed switch, led + rgb led, user button and 6 analog pins, 6 digital pins with NFC.
    photo_2020-03-14_23-52-41.jpg
    photo_2020-03-14_23-52-42.jpg
    photo_2020-03-15_01-17-36.jpg
    photo_2020-03-15_01-17-41.jpg
    photo_2020-03-15_01-36-40.jpg
    photo_2020-03-15_01-17-39 (2).jpg

    VIDEO:
    Mini multi-sensor in a small case. New Happy node mode test. nRF52 – 03:29
    β€” Andrew EfektaSB


  • Hardware Contributor

    Today I designed a case for EasyPCB with 2xAA holder on the back.

    e63319a9-b160-47ea-be2b-6b3353636e06-image.png
    a7bd451f-72d7-4004-88b0-64c43dd0e192-image.png

    and a case that slides just over.

    269327e4-e5b7-4e28-85d6-183862119e61-image.png

    It works with 3x5 version so for this you accually have to use the more advanced option and reflash the fuses on your pro mini to make it 3x5. The normal EasyPCB with booster is 5x5, but Im thinking of just stretching this for another version.


  • Mod

    @sundberg84 just a suggestion; wouldn't it be good to move the batteries to the right (instead of the left) so they block the nrf antenna less?


  • Hardware Contributor

    @mfalkvidd - a great suggestion! It wont not block it completely but as you say, a little less.


  • Hero Member

    Here's another idea too: if you were to add a blank copper cladded FR4 between the batteries and the PCB above it, with a cut-out below where the antenna is, then maybe you'd have a much improved ground plane, making your radio awesome? You could have little drawer like grooves on the side of your case to slide the copper cladded FR4 into position, and, of course, you would want a ground connection to it.


  • Hardware Contributor

    Not sure about that groundplane @NeverDie - you are most probably right but I dont really understand the theory behind it but sounds really cool!

    3f1897f8-e82a-4554-92bf-ac16a9fe3045-image.png


  • Hero Member

    @sundberg84 Here's all the theory you need in one picture:
    alt text
    Most of the modules use a monopole antenna, and as near as I can tell, most of them, if not all of them, have insufficient ground plane. It still works, of course, but it's impaired over what it would be with a better ground plane. I think maybe that's why whenever someone switches to a dipole antenna they generally notice a huge improvement. So, there's always that, but your design is nice because it's so compact, and a dipole would spoil that.


  • Hardware Contributor

    @NeverDie - so a ground plane like in here? Like that mod Pete did in his video but you inmplement it into the 3d case?

    3214fd69-c25b-4aa6-a2df-fdd54de776ed-image.png


  • Hero Member

    Yeah, the flat piece that the red line points to. I'm not sure what those black spray painted things are, so I'm ignoring those.


  • Hero Member

    Made a dead-bug op-amp circuit to help measure open-circuit voltages created by nano-amp currents generated by a solar cell illuminated by just 1 lux of very dim light:
    alt text
    This picture is actually just the LDO part of the op-amp circuit, where I was able to solder the prescribed surface mount capacitors directly between its pins. The larger circuit is described on this thread: https://forum.mysensors.org/topic/10812/the-harvester-ultimate-power-supply-for-the-raybeacon-dk/122
    Why dead-bug you ask? Since the circuit depends on the correct measurement of the effects of mere nanoamps, I didn't want any leakage currents that might happen on a protoboard, which can be significant when it's just a small number of nanoamps and their effects that's under scrutiny.


  • Hardware Contributor

    Updated my GW with the code @mfalkvidd provided to monitor OK and NACK

    a2a53f2e-6227-451f-baf6-bc2ed2d66111-image.png



  • I got tired of twisting DuPont cabels to get from different programmers to different boards.
    This is an adapter that lets me connect the programmers I commonly use (Jlink-mini, BMP, STLink clone) with the boards I commonly program with straight through wires. I left a couple unpopulated for future in and out.

    jlink_adapter.jpg


Log in to reply
 

Suggested Topics

  • 4
  • 17
  • 9
  • 3
  • 4
  • 9

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts