Skip to content

Hardware

1.8k Topics 18.4k Posts

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.

  • Open Hardware Licensing

    Pinned
    8
    6 Votes
    8 Posts
    10k Views
    S
    Im leaving this here for the future. An interesting way/discussion to license and share open source hardware. https://www.eevblog.com/oshw/ https://youtu.be/5wrSXCBdalc
  • 14 Votes
    168 Posts
    206k Views
    mfalkviddM
    @ricorico94 welcome to the MySensors commu ity! All you need to do when switching from raspberry pi gateway to ethernet gateway is change the "hardware" configuration in Domoticz. However, if you are just starting out, don't use this gateway. It works for MySensors 1.x only. Use the new raspberry pi gateway instead.
  • PCB Boards for MySensors

    Pinned
    56
    7 Votes
    56 Posts
    67k Views
    S
    I would like to have some kind of "donate-to-hardware-creator" functionality... anyone here who knows paypal apis and in-and-out? (maybe i'll just contact them directly for the options available).
  • Sensor to detect marijuana vape/smoke

    7
    0 Votes
    7 Posts
    6k Views
    V
    I have a severe allergy too, so I get it. For quick detection, look for industrial or school-grade THC detectors instead of basic air quality sensors.
  • Radiation Patter for NRF24L01?

    4
    1
    0 Votes
    4 Posts
    61 Views
    G
    Found some info (link below) while sniffing around - looks to be relevant ( pages 10-13 ) as it discusses the same MIF antenna design used on the NRF24 boards and the frequency is 2.4 GHz. Interesting read for newbies like me. My interpretation of the data is that the best gain/sensitivity is in/from the direction that the leg at the end of the squiggle is pointing. Might do some open air testing when the rain stope and I work out how to extract received signal level info :| https://www.infineon.com/assets/row/public/documents/cross-divisions/42/infineon-an91445-antenna-design-and-rf-layout-guidelines-applicationnotes-en.pdf?fileId=8ac78c8c7cdc391c017d073e054f6227&utm_source=cypress&utm_medium=referral&utm_campaign=202110_globe_en_all_integration-files&redirId=File_1_3_1152
  • Home Assistant Green Controller with Sensebender gateway?

    10
    0 Votes
    10 Posts
    1k Views
    OldSurferDudeO
    Glad to help. Cursing is pretty much required, especially if you've done something stupid.
  • Support for CC1101 radios

    9
    3 Votes
    9 Posts
    2k Views
    OldSurferDudeO
    nice! I'm happy that there is another radio to use
  • DIY an RF power meter Based on STM32F103 + MAX4003

    rf power meter
    2
    0 Votes
    2 Posts
    2k Views
    OldSurferDudeO
    As we all know, the nRF24 works pretty well, but there is a lot of device-to-device variation. This would be a nice thing to have when debugging the network. @juliefen will you be creating a github project with schematic, board layout, code, construction tips, theory of operation, calibration and operating manual, examples, etc.?
  • Piezzo siren/alarm

    32
    4
    0 Votes
    32 Posts
    8k Views
    T
    Can't give you a 100% answer. I've noticed with FETS I sometimes have a low leak Voltage. But I've seen Chinese designs that gave a negative voltage when the FET was turned off haha
  • Time to move to ESPHome?

    7
    0 Votes
    7 Posts
    2k Views
    OldSurferDudeO
    I have learned the hard way, many times, "If it's not broken, don't fix it". MySensors fills a niche, very low power, very low cost, sensors (albeit, DIY). The range is about the same as Bluetooth. The data is usually a boolean or an integer. So let us not say, abanddoned but at a development plateau. A mature technology that still has legs.
  • Any European alternatives for PCB Manufacturing?

    5
    2 Votes
    5 Posts
    2k Views
    T
    @monte thank you for that one. Although almost 2.5 times the price it's cheaper than other European options.
  • Drive household SSR with SSR and Arduino

    7
    2
    0 Votes
    7 Posts
    2k Views
    B
    Quick update: i wanted to hide and protect the Nano in a housing. Aliexpress supplies very nice enclosures that fits on Din rails. https://fr.aliexpress.com/item/1005005505247992.html They fit in electrical cabinets thanks to standard dimensions. [image: 1771086807073-a.png] [image: 1771086818359-b.png] One 3Dprinted part later (glued inside enclosure) and the Arduino is safely held in place! [image: 1771086835896-c.png] [image: 1771086853317-d.png] [image: 1771086860801-5.png] stl file of adapter : dinRailEnclosureMountForNano-revE.stl
  • nRF24L01+ missing capacitor aka "magic finger"

    10
    2 Votes
    10 Posts
    2k Views
    T
    @ben999 Yes I have 3 gateways 1 nfrf and 1 rm for production. And 1 nrf gw for test. The test gw is on a separare PI I might run a 4th gw. Also an rfm on the test machine.
  • Problem with LGT-RF-Nano

    9
    0 Votes
    9 Posts
    2k Views
    A
    I’ve had similar trouble with the LGT RF Nano — the radio part is a bit picky. What fixed it for me was lowering the data rate in the sketch and giving it a proper capacitor on VCC (even a small 4.7µF helped a lot). Also worth trying a different CE/CSN pin setup; these clones don’t always match the “standard” wiring perfectly. After that mine started talking to the gateway without any drama.
  • Sleeping with RFM95 ?

    8
    1 Votes
    8 Posts
    2k Views
    T
    I learned my lessons about bread boards. Slowly replacing my cheap AliExpress ones with good quality ones. I blew up 2 nano's and 1 nrf this week because of a bad breadboard
  • LGT8F328P and MySensors

    6
    0 Votes
    6 Posts
    1k Views
    Boštjan FerličB
    Hello I still didn't figure it out exactly, what is the issue with LGT8F328P and arduino, but for start, it can work, if you define 4x faster baud rate. So I define MY_BAUD_RATE 76800 and connect terminal with 19200, and it works. LGT is started in 8 MHz by default, and it looks like this is not corrected with mysensors. But this only helped for serial port, because later I had issues with DHT library timings. If I later change speed to 16 MHz and start serial port again, it works as expected: noInterrupts(); CLKPR = 0x80; CLKPR = 0x01; interrupts(); Serial.begin(19200);
  • Measuring gas concentration with an MQ sensor in MySensors setup?

    2
    0 Votes
    2 Posts
    1k Views
    E
    as I experienced, MQ sensors are not really gaz sensitive, they are more particle size sensitive when hot enough and when not totally scrap. I would not rely my life on them, if you have an alcool spray use it around and any MQ will to go the sky...
  • Which are the *best* NRF24L01+ modules?

    310
    1 Votes
    310 Posts
    330k Views
    C
    Hi everyone, bumping this thread because I could read some of you were interested in packet loss (@NeverDie and someone else) and my findings could help fix it partially or completely via software. It's certainly a hardware problem, though I can't figure out if it's due to the components physical positioning, the power supply, or both (and/or more issues like wiring, proper PCB traces, etc). Also, even the same modules from the same manufacturer, say EByte E01 PA+LNA modules in my case, have shown different performances, so it might be something bound to the variability of the SMD components used as well. Let's get straight to the point. I am the developer of rf24tunlink, a radio network bridge which uses primarily nRF24 modules. During R&D, I found that around 30% of packets from my modules were dropped due to a couple corrupted bytes, which was constant even in close range. That does indicate a hardware problem already, but the distribution of the bit flips is an even stronger indicator. [image: eb505750-d741-45b2-aba1-57d26913c786] All flips are in the first bytes! You might be getting at least one flip in most packets, resulting in ALL of them being dropped automatically because this invalidates the CRC. In this scenario ShockBurst can fail, or you might get duplicates, might not get ACK payloads or simply get a slow link because the same packet can be sent up to 15 times with a wait between each retry. Not coming here unarmed: how to fix it? Easy in principle, you: Disable CRC -> ShockBurst off, no ACK payloads, essentially your module will be RX only. Implement RS ECC: sacrifice just enough bytes to fix all the corrupted bytes. (in my case, 2/32 was enough!) That's how I turned a 30% packet loss into a 100% flawless reception, see this result: [image: 43bcccb9-9b9d-4ae8-ac4b-c9ed1f8fc320] There is more to it, as the link gets worse, of course this situation also gets worse. Finding out how many errors are in a packet can help you estimate signal quality and potentially take preventive measures. Now, if you only care about sending a specific packet, you either receive it or not at all and that's it. But if you want more like I did, then things get more complicated. In this case I wanted a full duplex link -> a second pair of nRF24 modules was mandatory I also wanted to send network data (iperf, ping, ssh, realtime video, audio, telemetry, control, anything really) -> frames needed to be split into radio packets, sent, corrected and stitched back into a frame. That is a HARQ algorithm. After all of this, I could get a usable network speed of 1.2Mbps (determined via iperf). Used a Pi 4, Pi zero 2 W and 4 nRF24 PA+LNA modules. You could use this same metric to evaluate your components, some modules could do better and some could do worse. Would be cool to fix this hardware for all and get closer to that 2Mbps max speed. Some people declared a speed of 1.7Mbps and I have seen a 1.5Mbps peak during development, so there is definitely room for improvement. [image: 1bd38d37-7a09-49e1-b92b-7d0838d1c436]
  • Cannot find the board: "Arduino Mini pro MYSBootloader"

    3
    0 Votes
    3 Posts
    1k Views
    J
    @OldSurferDude Thanks! I didn't touch the Arduino IDE for a while and forgot that the MYSBootloader doesn't come included in the Mysensor's library... My bad. Thanks for the link! I should had searched first... I use the OTA feature since 2017... It works well. So well that I forgot how to load the bootloader... Regards!
  • Hey I am new here

    3
    0 Votes
    3 Posts
    1k Views
    OldSurferDudeO
    Check out My Projects to see what can be done. Then decide what you want to do. Come back here for help -OSD

11

Online

12.1k

Users

11.2k

Topics

113.4k

Posts