What did you build today (Pictures) ?



  • Hi guys. I recently made a plant watering control sensor with an electronic paper display. Today I did my first tests, ..everything went well πŸ™‚

    IMG_20210112_155819.jpg

    IMG_20210112_180536.jpg

    Mini plant wattering sensor with e-paper display. First test of hardware and software. – 00:46
    β€” Andrew EfektaSB



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

    VEML6030

    Take a closer look at the max44009 light sensor and the lis2dw12 accelerometer. You can save a few microamps.



  • First attempt at a modular NRF52805 based board. The smaller board has a Si7021 temp + humidity sensor and a BH1750 light level sensor, both I2C. Ideally, I should be-able to make other sensor boards with the same footprint as long as the sensors are I2C.

    Also included:

    • CR2032 Battery (~1.5 years between battery changes)
    • 10P 0.5 FPC connector for programming and serial debugging
    • 2 LEDs with solderable jumpers
    • On/Off switch (I find this really useful, especially when fighting with coin batteries)
    • RST button
    • Secondary button that I use to force immediate readings
    • Footprint for centered button for alternative use as a remote button (my most common MySensors node)

    IMG_1323.jpg

    I'll post pictures of the enclosure when it's ready.

    I'm also waiting on delivery of a slightly larger version of this board that holds a 2477 battery and a SMD PIR motion sensor.



  • @ncollins
    Very, very beautiful project! I also already have several such radio modules from different manufacturers. Here are just these ebyte specifically, they are without dc-dc. ...I plan to transfer support from nordic sdk to sandeep mistry (just like I did with 52810 and 52811), but how do you flash them under mysensors? Maybe there is already some shorter way?



  • @berkseo Thank you!

    First, I made the compatibility changes to SandeepMistry. This was surprisingly easy. The SDK in SandeepMistry/nRF5-arduino does most of the heavy lifting. I had to modify a few of the precompiler conditions to exclude PWM, change some serial definitions, and update to new handler naming conventions: https://github.com/sandeepmistry/arduino-nRF5/pull/442

    Then, I defined a new Generic NRF52805 variant in mysensors/ArduinoHwNRF5 and handled one assumption of LPCOMP: https://github.com/mysensors/ArduinoHwNRF5/pull/12

    Last, I had to handle a few small assumptions in the MySensors library: https://github.com/mysensors/MySensors/pull/1461



  • Playing around with enclosure designs for my new node
    IMG_1327.jpg



  • @BearWithBeard Very nice indeed!



  • Sensor node on the left, button node on the right.

    IMG_1329.JPG


  • Hero Member

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

    10P 0.5 FPC connector for programming and serial debugging

    How many of the 10 pins do you actually use?



  • @NeverDie Currently using 6, [GND, VCC, SWDIO, SWCLK, - , TX, RX, -, -, -]
    Screen Shot 2021-01-16 at 1.35.18 PM.png



  • The latest addition to my coin cell nodes, a PIR motion sensor based on the Ebyte NRF52805 module.

    The PIR sensor is a Senba S16-L221D-2. I'm measuring around 24uA, which is higher than advertised, but with the 6-7uA from the NRF52805, should still get me 3-4 years on a single 2477.

    IMG_1343.JPG IMG_1344.JPG
    Screen Shot 2021-01-21 at 7.53.33 PM.png
    Screen Shot 2021-01-21 at 7.52.43 PM.png


  • Hardware Contributor

    Today i have assembled the latest revision of my Lighting X3 for DIN rail mounting.
    3.jpg 2.jpg 1.jpg
    5.jpg


  • Hardware Contributor

    Oh yes, I forgot to share photos of my new project - Multinetwork Mysensors Gateway. The main idea of this gateway is that it can at the same time serve up to four different networks (Lora - RFM9X, 2.4 GHz - NRF24 and ISM band RFM69). These networks can be assembled in separate modules and each user can build own set of modules. The incoming stream will be connected via Ethernet on various ports, for example, the gate will have the IP address 192.168.1.128, and each subnet will be served on ports 5003 - the first subnet, 5004 - the second, and so on ...

    7.jpg 6.jpg 5.jpg 4.jpg 3.jpg 2.jpg 1.jpg



  • @kalina looking great! Is it opensource?


  • Hardware Contributor

    @monte Not certainly in that way. In this project, everything is open source with the exception of the board with an ethernet (based on STM32). The ethernet board was developed by my partners and they are not ready to share it yet. But I hope I can persuade them to do it πŸ™‚1.jpg


  • Hero Member

    @kalina I like how it both consolidates and reduces wall-wart clutter all in one stroke. πŸ™‚

    I don't see any antennas though. Where do they go? And does having multiple radios packed close together like that create any noteworthy EMI? I knew a guy who had set up an RFM69 hat on his Raspberry Pi but later found that the raspberry Pi produced a lot of RF noise/EMI that reduced the effective range of his gateway. I don't know whether or not that might happen in your case, but I thought I'd mention it to help with your troubleshooting in the event you notice any unexpected range reduction.



  • @kalina I see. I have the same STM32 chip and was going to use it in one of my next projects, so I asked to get some inspiration πŸ™‚


  • Hardware Contributor

    @NeverDie EMI is a big topic. I think there will be no problems. I am going to do some tests of communication
    quality for various modules and antennas. As for the antennas, I am going to fixed them to the body through the holes, but I have not yet decided on the location. As for connection antenna to the module you can see the on photo ...
    1612440252148.JPEG



  • Hello everyone. I want to show you my new device, battery powered air quality sensor. The device also has light, temperature, humidity, and atmospheric pressure sensors. I am currently testing the software.

    1612636649207.jpg

    1612636649193.jpg

    1612636649221.jpg

    1612636649178.jpg

    1612636649186.jpg


  • Hero Member

    @berkseo I'm curious: which air quality sensor did you opt to build into your device, and what about it did you prefer over the other available air quality sensors that you might have picked, but didn't? Two or three years ago I looked into a few different sensors, but they looked bigger that what you've settled on and their capabilities were pretty narrow. Hopefully the sensor offerings have gotten better since then.



  • @NeverDie sgp40 sensor is used, I also test the bme680, but the results are worse there.





  • My first RFM69 Battery sensor: an ultrasonic sonar to measure the level of my fuel tank (don't laugh, winters can be cold in Burgundy πŸ™‚ )

    Many thanks to @sundberg84 and @mfalkvidd for advice to the Newbie i am and to @Gerator for the RFM69 gateway

    153401744_844840052759734_2548459228707031383_n.jpg

    154871988_184904573009910_6316928321751043541_n.jpg

    154754747_148962677049341_1067850157653395188_n.jpg

    Capture d’écran 2021-02-25 aΜ€ 20.59.13.png
    Capture d’écran 2021-02-25 aΜ€ 21.00.18.png


  • Mod

    Nice work @hlehoux!

    Electronics and fuel sounds like a scary combination to me 😨



  • @mfalkvidd You're right: For production i'm going to build isolation for the sensor not to be in contact

    Anyway: The flash point of domestic fuel oil is 55 Β° C, which means that fuel oil cannot ignite below this temperature. In addition, in its liquid form, fuel oil is non-flammable at room temperature.



    • Temperature and humidity sensor AHT-10
    • NRF52823 module
    • Power board CR2477
      Connected via MYSX connectors
      Firmware based on NodeManager library

    20210225_115217.jpg 20210213_211620.jpg



  • Hi guys,

    my last creation: the d-diot hub v.3.0

    20210123_205004.jpg 20210124_120658.jpg 20210124_120759.jpg 20210124_120909.jpg 20210214_100204.jpg 20210214_100225.jpg 20210214_100243.jpg 20210123_204437_HDR.jpg 20210123_204535.jpg

    The hub A (wood) is a dual MySensors gateway (RFM69 and NRF24) based on two ESP8266 modules and a BLE gateway + RGB controller thanks to an ESP32 module and ESPHome firmware.

    The hub B (grey and red) is an IR gateway and RC 433 Mhz gateway based on ESP32 modules with an ESPHome firmware. The hub B has also an integrated step-up and step-down voltage regulator based on Arduino Nano.

    To allow the maximum flexibility in placement inside the house, each module can be build as a stand-alone piece of hardware or combined in a single device (see pictures).

    The hub is meant to be used with Home Assistant, the case is 3d printable and as usual, if someone is interested, there is a dedicated wiki page with all the details and the build instructions.



  • I2S/IIC to MYSX converter
    20210303_013732.jpg

    20210302_231755.jpg

    Configurable via jumper matrix
    20210302_231506.jpg


  • Hardware Contributor

    @KooLru - very clever sollution for the lines.





  • @nagelc
    Wow, this is unexpected.



  • I made a simple board to use as a CR2032 battery simulator. It is actually two identical pcb's back to back. I added pins for applying power and another set for measuring current. Now I need a better ammeter. The uA scale works well when sleeping, but the mA scale doesn't seem to pick up the awake current.

    20210516_115836sm.jpg 20210516_115740sm.jpg



  • @nagelc Nice!
    What is the PCB you are measuring on? I'm actually looking for a NRF5 board to use with a coin cell.



  • @electrik

    It's actually at this link posted earlier in the thread: What did you build today (Pictures) ?:
    I mostly use it with BME280 modules for temperature and humidity, but I have tried some other I2C modules in it.
    I'm still experimenting with the motion detector. That will probably get it's own board at some point. It doesn't really fit the enclosure I designed this board for.



  • I think this open source project is finished. This is a small air quality sensor. Quite a useful thing turned out for our not simple time.

    https://github.com/smartboxchannel/EFEKTA-EINK213-AIR-QUALITY-SENSOR-NRF52840-V2-ED3

    IMG_20210524_220731.jpg

    IMG_20210524_220528.jpg

    a.png



  • Finished my Garage Door Node.
    It has open/close magnetic reed switch sensors, a DS18B20 temperature sensor, a PIR motion sensor and a bjt to trigger the door to open/close/stop.

    20210612_201851[1].jpg
    20210531_203447[1].jpg 20210531_203249[1].jpg



  • 20210612_201851[1].jpg



  • @KevinT Very cool.
    How does it respond to the PIR. Does it stop the door if it sees motion?



  • Thanks.
    The motion sensor is used to turn on the lights in the garage via a Sonoff mini.
    Also, I've had the garage door randomly open by itself (power glitches?) a few times over the years. So I'm adding an automation to close the door if no motion is present and it is after midnight.



  • A collection of the sensors and actuators I buit for my camper in the past year

    the power supply system under the dinette seat
    IMG_20210306_181846.jpg IMG_20200308_151728.jpg
    the battery management system (purchased) data are read via wifi by an ESP32, which reports the info to the GW via nRF24L01+.

    a closed look at 2 sensors.
    the one on the left reads voltage and current from the solar PV panel and to the battery management system
    IMG_20210306_181903.jpg
    the one on the right reads voltage and current from/to the start and service batteriers
    both sensors report instant power and energy.

    Fresh water sensor reads the water level, flow and temperature.
    has 4 optcoupled outputs to send the information to the 4 LEDs of the original control panel of the camper
    IMG_20210306_112850.jpg IMG_20210306_112844.jpg

    gray water tank sensor reports water level with an ultrasound sensor. has an optocoupled output to the "full" LED of the original control panel
    IMG_20210316_175523.jpg IMG_20210316_175427.jpg

    bettry supplied temperature and humidity sensor.
    I use it in the fridge but also at home, where I have also one with BME280.
    IMG_20210414_081625.jpg IMG_20210414_081617.jpg

    A fan controller to help the fridge to work better, controlling the condenser temperature using an optical thermometer sensor.
    I have 3 other units, one in the power supply system, one in the closet and one on the roof.
    They are all with a PID controller.
    IMG_20210503_095913.jpg IMG_20210313_153635 (2).jpg IMG_20210313_153612 (2).jpg



  • the display node for my camper, based on a Arduino Mega clone
    IMG_20210704_080638.jpg



  • This thread is really good, kind of addicting to scroll all time.
    Only problem though is the way it is structured. Its really hard to find the same post twice.

    Maybe the admins should consider having a separate section for this !!>?



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

    Ebyte NRF52805 module

    Hi, I see you integrated the E104-BT5005A BLE chip in this project.
    I’m trying to use it in a simple robot project and having difficulties to make the RX/TX connection with β€œRF Connect” IOS app.
    I already wired the chip to the Seeeduino board and I can find and connect the bluetooth on the RF scan list. But I just don’t know the Arduino code to make it send and receive simple massages on the Arduino serial monitor.

    Your help is very much appreciated.

    Amit



  • Some updates in almost one year.

    I moved all the gateways and controller part in a most suitable locationIMG_20220305_110252.jpg

    I've created a dual current sensor for the fuse box and the inverter. Each Current sensors can withstand 90A max, so I used both channels in parallel. The sensors are defined for both Channel 1, 2 and Sum(Ch1+Ch2) to handle this case easily
    IMG_20210824_172723__01.jpg
    Recently I made an updated version of my Photovoltaic monitor since the 20A that the old one could withstand are not enough now, so the new version is capable of 50A max. Still waiting the Hall sensors though...
    IMG_20220526_175957.jpg
    Finally, I cleaned up a bit the deployment under the bench
    IMG_20220527_161849.jpg but I am not done yet


  • Hero Member

    I made this CR2032 coincell powered locator beacon using an nRF52805:
    locator.JPG
    It was my first experience using a TAG-CONNECT to make the programming connections. It's for that reason that I haven't yet attached the battery holder. The TAG-CONNEC provides power during programming (and debugging as well if so desired).

    I have the antenna hanging out over the edge, as per Nordic Semiconductor recommendations, so that it doesn't hover over the ground plane. However, that makes the overall footprint a bit larger, somewhat defeating the point of powering it with a CR2032. I may try making a smaller version where the antenna doesn't overhang just to see how much difference it does or doesn't make. For a device like this, I mostly care about reception rather than transmitting, so maybe for receiving such a change won't make much of a difference.

    Who makes the world's smallest nRF5x module?



  • Finally I had the time to refine it:
    IMG_20220825_151637.jpg IMG_20220825_151528.jpg



  • @NeverDie It is my understanding, though I can't wrap my head around it, that it is the length of the conductor that makes the antenna tuned to a certain frequency. If this is the case, you could run your antenna around the edge of your circular pcb which would make the effective radius only slightly bigger.


  • Hero Member

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

    @NeverDie It is my understanding, though I can't wrap my head around it, that it is the length of the conductor that makes the antenna tuned to a certain frequency. If this is the case, you could run your antenna around the edge of your circular pcb which would make the effective radius only slightly bigger.

    You mean like this?
    alt text

    I get the impression that somehow the antenna positioning relative to the ground plane might figure into it as well:

    alt text

    Perhaps that stands in the way of wrapping the antenna completely around the circumference? I can't claim to have any deep understanding of how antennas are supposed to be designed. In the past I noticed that TI sold a sample set of canonical antenna designs, so then you could try them all out and see what suits you: https://www.ti.com/lit/an/swra161b/swra161b.pdf?ts=1661617962454&ref_url=https%3A%2F%2Fwww.google.com%2F



  • @NeverDie That isn't what I was thinking but after a bit of research, that's better than what I was thinking. πŸ˜‰

    PCB antennae work better at > 868MHz(pg 7). A 2.4GHz signal should have an antenna length of 3.1cm The nRFl01 spec shows a PCB with an antenna that is about that length but I measure the board I have and the antenna is about 4.6cm(?) Here(pg 10) you'll find a design, though I'm not sure for what frequency as the length adds up to 4.03cm. As you can see, you must not have the ground plane near the antenna.

    Here, RonM9 modifies an nRF24l01 making the antenna a dipole. I tried this and did show some improvement, but not the success he had. His wires were ~5.0cm, but bends them in the opposite directions at the edge of the pcb. Does that make the antenna length about 4cm?

    The antenna for a longer wave length (lower frequency) will be proportionally longer.

    I'd like to do the same testing as RonM9, but I've got some other pressing projects. πŸ˜‰

    I hope this helps your research.

    OSD





  • IMG_6840-2.jpg
    From left to right:

    • Home Assistant server with built-in NRF24 radio and OLED display based on Orange Pi Zero
    • MQTT Mysensors gateway with ESP8285
    • 4 channel triac dimmer with oled display and UI for operating in standalone mode.

  • Contest Winner

    @monte do you have a schematis for that dimmer? If so I'm interested in it



  • @TheoL there is nothing special in it πŸ™‚ In fact it's an old design that was waiting for the code to be written for a long time. And there are some issues with it. It seems that external interrupts for zero-crossing make NRF24 ACK fail most of the time. And if I were to make another one of this, I would add some low cost mcu to do the dimming part alone. I have dimmers with EPS8266 that uses Attiny13A for triac control, but I wouldn't try to make it control 4 channels.
    02645766-0242-40e3-a71f-28324574e869-image.png

    d91f7ac9-bbbd-4eb0-be0b-4188df8fec62-image.png

    Also the time of Atmega328 has passed, I guess. They are marked "Not recommended for new designs" by the manufacturer and I have struggled to fit everything I wanted (UI mostly) in it's memory. I ended up disabling serial output in mysensors and everywhere else, decreasing message buffer size and scraping bytes everywhere else I could to make it work stable without crashing.
    I'm not sure if I will continue to make new designs for mysensors, but I think I will use NRF51822, as they are so cheap now at aliexpress, and you can add PA LNA to help with signal strength (theoretically, I haven't tried it). Another way is to use NRF52840 for all new designs, even they are 4-5 times more expensive than 51822 but later you can write a firmware for it to use Zigbee of Thread/Matter and use the same design with new functionality.


  • Contest Winner

    As much as I love the 328 I think I should make the change to a different board πŸ™‚ for me they fit my needs as I try to keep the logic in my nodes as small as possible. I have one rule though: Manual first, for actuators my nodes need to support manual control.

    Thanx for the schematics, I'll have a look at. Can you control led light bulbs with this schematics?



  • @TheoL this is a basic triac control scheme, so it is leading edge type dimmer. I have led bulbs, that work with it, but they are clearly marked as dimmable. The downside of these bulbs is that they are very sensible to the slightest voltage fluctuations. I have not the most stable voltage on one of my phases, so it is very visible, unlike with the incandescent bulbs, that are connected to the same power source.


  • Contest Winner

    @monte I had a gut feeling about it, since dimmable led bulbs like trailing edge. I'll keep looking for a good 220v led bulb dimmer schematic.



  • @TheoL that's not the dimmer's fault a far as I am concerned. It behaves the same way at full brightness. It's just a cheap chinese driver in it.


Log in to reply
 

Suggested Topics

  • 4
  • 17
  • 9
  • 2
  • 8
  • 2

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts