Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Need help to understand basic communication API: send, receive, ACK

    3
    0 Votes
    3 Posts
    872 Views
    M
    @mfalkvidd that's helped me a lot to better understand what is happening during send! Thanks!
  • Which sensor type to use for my gate controller?

    4
    0 Votes
    4 Posts
    934 Views
    S
    I use a reed switch on my gates - when they are in contact the gate is closed. You could put more at the open points for fully open but I only cared about closed or not. I assumed for 20 secs after they started opening they are opening else they are open. When I close the gate I assume closing until the reed switch shows closed - of course opening the gate during closing will reopen (I also have IR to detect car so gate will not close onto a car).
  • Best solution for multiple frequencies?

    3
    0 Votes
    3 Posts
    1k Views
    nagelcN
    Another way to get multiple frequencies is to use network based gateways. Check out these projects: https://www.openhardware.io/view/457/Easy-Peasy-Amplified-MySensors-Serial-Gateway https://www.openhardware.io/view/394/Minimalist-LoRa-Ra-01-Shield-for-WeMos-D1-Mini https://www.openhardware.io/view/390/Minimalist-RFM69HCW-Shield-for-Wemos-D1-Mini I have serial gateways for NRF24 and RFM 69, but added a LoRa RA-01 Wemos-D1-Mini with no issues.
  • 0 Votes
    21 Posts
    4k Views
    alowhumA
    Getting closer.. I received a much better 'radar' sensor (the directional one). The only downside is that it has a bright green LED that turns on whenever it detects motion.
  • How to use additional SPI device with RFM69 repeater node?

    ade7763 rfm69hw spi
    5
    0 Votes
    5 Posts
    2k Views
    J
    @skywatch @mfalkvidd Thank you for your comments. I am using Moteino R4 and RFM69 connected to hardware SPI pins. I tried the same pin with softSPI, but I could not get success. Now I have altered the ADE7763 Arduino library to update SPI settings on every call. And added code to update the only flag on ADE7763 interrupt(like we have in RFM69_new library). Seems all look somewhat ok. I think for RFM69 we use a default clock speed. for ADE7763: SPI_CLOCK_DIV4 Are you using pull up resistors on the CS lines to each device - that might be worth a try too.... Yes, I have
  • RFM69HW RSSI / range problems

    9
    0 Votes
    9 Posts
    2k Views
    dell640D
    @mfalkvidd Thanks! That is almost the same as my readings. @scalz I have been working few years with ZigBee modules from TI (CC2530). I had dozens of different setups with integrated and also external antenna. RF values was not "just datasheet numbers", if there was written 20dBm output, it was there. But fully agree, that here is the problem mainly caused by non-optimized antenna... So there is a huge space to increase the range of modules... And one more update, whch I think can be very important for all others. My setup is running on OpenHab2 installed on OrangePi Zero with SerialGateway connected over UART. Just now I had realised, that OrangePi makes huge RF noise. If I will run setup normally, receiving sensitivity is very poor. Once I start setup without SD card inside of the system (OrangePi will not start up), Arduino gateway is receiving perfectly. I have just putted SerialGateway to the 50cm long cables, far from OrangePi and usable range is more than twice longer than before. Thans for your time guys. Appreciated. :clap:
  • 0 Votes
    2 Posts
    667 Views
    nagelcN
    I haven't bought anything lately, but saw a good discussion here: https://hackaday.com/2018/09/18/ask-hackaday-hows-that-capacitor-shortage-going/
  • Recommendation for PCB fab?

    71
    0 Votes
    71 Posts
    16k Views
    Nca78N
    @neverdie said in Recommendation for PCB fab?: Anyone try this? Sounds like a promising alternative: https://hackaday.com/2018/09/18/get-your-pcbs-made-at-the-mall/ Good idea but it's not really solving much, it's keeping the most annoying parts: using chemicals (can't do it in an appartment building), making the vias by hand.
  • Funny charachters at reset

    10
    1 Votes
    10 Posts
    2k Views
    sghazaghS
    It seems that I could fix the issue by making the pin 15, LOW at boot time as it triggers the SD BOOT option in ESP8266: void setup() { pinMode(15, OUTPUT); digitalWrite(15,LOW); }
  • Windows PopCom tool shows which USB serial ports are available

    10
    1
    7 Votes
    10 Posts
    2k Views
    mfalkviddM
    @neverdie said in Windows PopCom tool shows which USB serial ports are available: it must be hidden in plain sight Indeed :-D [image: 1536926095348-c387d1dd-f8f9-4a25-b4de-5e478f88b67d-image-resized.png]
  • Can I use MySensors without a Controller?

    6
    0 Votes
    6 Posts
    2k Views
    rejoe2R
    @tbowmo Thx for clarification. As I only use serial GW's, I didn't notice the difference until now.
  • How can I communicate with the Gateway exposing a Rest API?

    4
    0 Votes
    4 Posts
    950 Views
    mfalkviddM
    @ivan-fontanals yes you got it right. The controller can communicate with all MySensors nodes through the gateway. https://www.mysensors.org/about/network has an overview of how the different parts fit together. If anything is unclear, just post a question and we'll try to help.
  • Rs_485 change pins

    4
    0 Votes
    4 Posts
    914 Views
    P
    Would this help? https://forum.mysensors.org/topic/6502/how-to-use-softwareserial-library
  • Any success story on LoRa(RFM95) module and MySensors?

    lora rfm95
    22
    0 Votes
    22 Posts
    7k Views
    mfalkviddM
    High sensitivity: down to -148 dBm. From the datasheet. There probably needs to be some margin, but my experience with Sigfox shows that -130 is quite reliable. After that, packets start go missing. I would guess LoRa is similar.
  • For $555 you can buy an atomic clock

    4
    2 Votes
    4 Posts
    1k Views
    monteM
    @neverdie I mean the game. They have everything "nuke" and "atomic".
  • Do we have any option to enable queue in Gateway node?

    queue gateway gsm gprs
    2
    0 Votes
    2 Posts
    818 Views
    mfalkviddM
    @jkandasa the gateway is stateless, it has no concept of queue.
  • Air quality node

    30
    0 Votes
    30 Posts
    11k Views
    HeinzH
    @neverdie yes that is the plan
  • Did Wemos change its name to LOLIN?

    2
    0 Votes
    2 Posts
    954 Views
    mfalkviddM
    @neverdie yes. Same in latest esp8266 board versions in Arduino IDE.
  • Saving three bytes of memory with this crazy loop structure..

    18
    0 Votes
    18 Posts
    2k Views
    AffordableTechA
    Hi @mfalkvidd, Problem is, when your code can't compile because you are one (or several) bytes short of ram, nothing else matters. As to readability, I assume you know about that rarely used compiler feature called 'comments'? I hear they use zero Arduino RAM and even less ROM memory. :flushed:. Ok, I'm just being cheeky, so don't flame me, it just seemed a good opportunity for a reminder to everybody. Point being we are all guilty of not using enough comments in our code. You said you are worried about readability and maintainability - it's just like code backups, it's a problem only because we only worry about them 'after' a drive crash, or in the case of comments, two years later when we are trying to remember what the hell this weird code does.. THE REALITY: If we are really worried, we would add liberal comments and do regular backups - otherwise I say we're not really 'that' worried. Cheers, Paul
  • How to calibrate a gauge sensor

    gauge calibrate rain gauge rainfall
    14
    0 Votes
    14 Posts
    2k Views
    bgunnarbB
    @pierrot10 1 mm of rain over 1 square meter is 1 liter of water. Correct! One liter makes 358 tips so one tip is then 2,7932 milliliters that is correct. But rainfall mm/hr is 2,7932 * nbr of tips only if the area of the funnel is 1 square meter. Your funnel is only 55 square centimeters so you will only collect 55/10000 of the rain that falls on the whole square meter. The example you are using at the top of your post does not have the size of the funnel anywhere in the code.

14

Online

11.8k

Users

11.2k

Topics

113.2k

Posts