Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.3k Posts
  • Flood/water leak sensor

    2
    0 Votes
    2 Posts
    2k Views
    mfalkviddM
    @jocke4u The moisture example could be used to detect leaks This project on openhardware: https://www.openhardware.io/view/534/Extremely-Simple-Arduino-Pro-Mini-LoRa-Water-Leak-Detector The following forum threads might be of interest: https://forum.mysensors.org/topic/1761/water-leak-detection https://forum.mysensors.org/topic/9070/water-leak-sensor https://forum.mysensors.org/topic/7736/water-leakage-sensor-using-thin-ribbon-cable-testing-reliability/ https://forum.mysensors.org/topic/4651/my-basement-flooding-alarm
  • Antenna for the RFM69

    3
    0 Votes
    3 Posts
    1k Views
    scalzS
    @joaoabs said in Antenna for the RFM69: I'll be connecting a single core wire to act as an antenna to the RFM69 module. I could understand that it should be exactly 164.7mm long for 434Mhz. I could also understand that having the most accurate lenght makes all of the difference in the antenna efficiency. Now my question is: Since I'm going to solder it in the RFM69 hole, should I consider a few mm more, for the part that goes through the hole? In other words, is the 164.7mm the size from the PCB surface (and therefore needs a few mm extra to get into the hole), or what matters is having a 164.7mm wire soldered (and having some mm out in the other PCB surface). this exact antenna length is in an ideal world, but it's a good start. There are some points here that can also modify rf performance too https://forum.mysensors.org/post/91880 In short, pcb shape and its gnd size including battery (called the antenna gnd counterpoise, wider for 433mhz), antenna shape, bent or not, can have effects on bandwidth, efficiency etc. when you don't have tools for checking rf, you could empirically experiment by adding/removing few millimeters and see how it affects rssi for example. And better checking it with your node in final setup (in enclosure with battery, as it can also affect perf). This is fine tuning but sometimes depending on the node build it can improve range, then needs less TX power for same job, less TX power = less batt used.. and "greener" RF/less loud
  • Multiple switch inputs

    13
    0 Votes
    13 Posts
    3k Views
    zrom69Z
    yes you can change you go on switch press edit after a window that opens you go to Switch Type and you find motion safeguard
  • Sensor compatibility with Arduino

    2
    0 Votes
    2 Posts
    534 Views
    mfalkviddM
    Hi @gabriel-vian, welcome to the MySensors community. Unless the data sheet explicitly mentions Arduino, there is no way to know from the data sheet. The best way is usually to search for the sensor's name in the Arduino Library Manager, or search for the sensor's name + "arduino library" using your favorite search engine. Adding "github" to the search can sometimes help.
  • Sensor for measuring sensitive touch

    4
    0 Votes
    4 Posts
    769 Views
    B
    @gal-shtendel Maybe you have to do some (internet) research on how the screens of smartphones or tablets work. something like this. Ok it's a little bit over the edge for a Arduino, but it gives some direction I hope. BR Boozz
  • My first board (Arduino Pro Mini Shield for RFM69)

    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • Pressure sensor board.

    6
    0 Votes
    6 Posts
    3k Views
    YveauxY
    @pa3gmi said in Pressure sensor board.: Yes it works :+1: I just beginning with it and I am almost 70. I will use the Nano and NRF24L01 and the Sensbender gateway for it. You're never too young to start programming ;-) Just come back when you need help!
  • RFM69(H)W Arduino Mini Pro Shield to offer

    10
    0 Votes
    10 Posts
    2k Views
    M
    @jlaraujo 3 or 4 if possible
  • MOSFET as relay to keep ESP on until GPIO is low

    9
    0 Votes
    9 Posts
    2k Views
    E
    @edsteve as per datasheet VGS Gate-Source Voltage - Continuous = ±8 V and Gate Threshold Voltage is Max 1,0V and Min 0,4V, this is working(conducting) voltage. So, according to above datasheet maximum voltage to gate can be ±8 V. About the resistor, you could also try 30K or 100K.
  • using ESP8266 as NRF24 ?

    2
    0 Votes
    2 Posts
    800 Views
    YveauxY
    @easy the esp8266 radio is not compatible with the nrf24 radio. You can use the esp8266 as a gateway with sensors connected, but that will use wifi to connect to the rest of the world.
  • STM32 and RS485

    2
    0 Votes
    2 Posts
    877 Views
    mfalkviddM
    Hi @bignik, welcome to the forum! Using hardware serial should work. Did you use this? If so, what were the results? // Enable this if RS485 is connected to a hardware serial port //#define MY_RS485_HWSERIAL Serial1
  • Battery life for Motion Sensor

    24
    0 Votes
    24 Posts
    7k Views
    alexsh1A
    @popsyann said in Battery life for Motion Sensor: When I load the motion sensor sketch, it start properly, finding the right "parent" and immediately after this, there is a flow of info going out of the Arduino+sensor, sending 0s or 1s, constantly (like if there was an issue with the interrupt process). And what I do not understand is that this (these) sensor(s) has(have) been working well for a while. Please search for sleep() function - it has changed the way it works at some stage in MySensors 2.* https://forum.mysensors.org/topic/1088/battery-powered-pir https://forum.mysensors.org/topic/5807/interrupt-and-sleep/26 https://forum.mysensors.org/topic/5552/pin-change-interrupt-not-firing-with-mysensors/28 Another reason could you that your PIR is not settling properly - this is why it sends out 1s and 0s to the GW. Try to insert sleep(20000); into void setup() at the end to settle the PIR
  • Looking for reliable PIR human detection sensors

    17
    0 Votes
    17 Posts
    6k Views
    bjacobseB
    @ehome If you need a minimum range of 5-7m have you thought of radar? https://forum.mysensors.org/topic/3568/microwave-radar-module-as-pir-replacement/36
  • AC dimmer

    7
    0 Votes
    7 Posts
    4k Views
    G
    This is the AC light dimmer on the picture. I wonder how to use interrupts to detect cross-zero voltage and manage radio communication.
  • Sensor + Interrupt questions

    14
    0 Votes
    14 Posts
    2k Views
    CrankyCoderC
    not sure about in sleep mode. But here is the sensor i am using. https://smile.amazon.com/gp/product/B00Q9YBIJI/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
  • INA219 DC Current Sensor

    ina219
    23
    1 Votes
    23 Posts
    18k Views
    jeremushkaJ
    @mainali said in INA219 DC Current Sensor: MySensor gw; I am building similar system. However, i am facing a lot of difficulties to make the ACS712 working. I have tried your code as well without success. The effective value of the current is always 0 mA even if the light is ON. For the moment, i am testing with 5V current and i switch on a LED. maybe the current is too low to make working my 20A ACS712? If anyone has some ideas, it will be very greatful :) Thanks a lot.
  • Power used by the LED on pin 13 with a nRF24L01L01+

    9
    0 Votes
    9 Posts
    2k Views
    pihomeP
    @yveaux thank you for reply, i dont have any arduino with led to test this :) all boards are in use and without led may be i'll order few to test this at some stage.
  • CC1101/CC110L modules outdoors losing range over time

    3
    0 Votes
    3 Posts
    2k Views
    T
    @janerik I'm not sure what you mean by "a CC110x module without RF stage", as the CC110x is the RF part (for panstamps as well as other systems). Do you only use the driver or do you use panstamp HW as well ? Do you use SWAP ? I've been using panstamps with SWAP for more than 5 years now, indor but in a humid environment (pool), and I didn't notice this. My DHT22 sensor (on "sensor" board, going 6 month with a single AA cell !) stopped measuring humidity a few months ago, but the board (and the temp part) is still working without any hiccup.
  • Ikea Molgan Hack with Wemos D1 mini or NodeMCU (WIFI, ESP8266)

    17
    0 Votes
    17 Posts
    3k Views
    gohanG
    but that is a mqtt gateway sketch. That is not a normal node. Have you tried making a normal node with nrf24 radio only, no gw functions?
  • Uninterruptible power supply for the node

    3
    0 Votes
    3 Posts
    1k Views
    NeverDieN
    This: https://www.amazon.com/gp/product/B00NTQYUA8/ref=oh_aui_search_detailpage?ie=UTF8&psc=1 I use it as the UPS for a Raspberry Pi running Octoprint. The built-in 5v USB connector is enough to run the Raspberry. And you get surge protection too. Ooops. I just noticed that you meant for the nodes, not for the gateway. Sorry. A lot of sensor nodes can run for many years, maybe even decades, on just two or three AAA's. It's rarely an issue if they're well designed.

18

Online

11.7k

Users

11.2k

Topics

113.1k

Posts