Skip to content

Development

Discuss Arduino programming, library tips, share example sketches and post your general programming questions.
1.5k Topics 13.5k Posts

Subcategories


  • 56 578
    56 Topics
    578 Posts
    HJ_SKH
    Hi2All! Surprising is here. After about 24hours I refresh HA and suddenly my motion sensor was integrated. There is also second entity > battery : 0 , have to look deeper into that for understanding. Need to change little in the sketch, because don't want every short time 'no movement' so only when there is motion and maybe once a hour indication sensor is alive. Meantime I found 3 other good threats: https://forum.mysensors.org/topic/11200/finally-progress-evidence-based-radio-testing-method-and-capacitors https://forum.mysensors.org/topic/1664/which-are-the-best-nrf24l01-modules/27 https://forum.mysensors.org/topic/9550/build-a-reliable-power-supply-chain Very usefull for me also finally progress because of lacking time in the past. Great jobs are done here! Thanks for this all of you guys or girls!
  • Sending battery level over MQTTClient Gateway

    3
    0 Votes
    3 Posts
    1k Views
    T
    Thanks! Now I need a Mega since the sketch is to large. Cheers, Thomas
  • Problem with Ethernet GW - W5100

    5
    0 Votes
    5 Posts
    2k Views
    T
    I am a complete idiot. When I continued my work the day before yesterday, I recompiled but forgot to enable SOFT_SPI. After it failed, I checked the wiring and re-wired wrongly. So SOFT_SPI was set but indeed the wiring was wrong then. It seems to be solved. Let's see how stable it will be. Thanks four your support!!! Cheers, Thomas
  • IR blaster for AC , TV etc.

    ir blaster
    17
    0 Votes
    17 Posts
    8k Views
    blaceyB
    @tbowmo said: @blacey I have seen an arduino library somewhere to control different types of AC units, I even think it was mentioned on the forum,( half a year ago). Indeed - this proves it is possible https://www.cooking-hacks.com/documentation/tutorials/control-hvac-infrared-devices-from-the-internet-with-ir-remote/ With a bit more legwork (e.g. https://github.com/r45635/HVAC-IR-Control), I am confident that IR Blaster will be able to support HVAC units. Heck (pun intended), it wouldn't be fun if there weren't any challenges ;) NOTE: Given that we plan to provide HVAC control in the IR Blaster, should we merge this discussion into the IR Blaster thread?
  • Getting an Error with Arduino help...

    3
    0 Votes
    3 Posts
    1k Views
    D
    @andlopez I'd watch Petes video https://youtu.be/TBvGrB094Co about 8 minutes in, it shows how to load up your library for the first time.
  • SceneController with Text possible?

    3
    0 Votes
    3 Posts
    1k Views
    BulldogLowellB
    I don't have any experience with your controller, but it is possible: like this or that
  • Pool automation showing up as Repeater

    3
    0 Votes
    3 Posts
    1k Views
    P
    I see. Thanks for you help. Great work!
  • Raw binary transmission

    5
    0 Votes
    5 Posts
    2k Views
    G
    Sorry for the confusion, this is using the SerialGateway - I have my own code server side parsing the serial responses. Everything after the 'mysensorsmqtt: serial recv -' is just dumps of the serial string received. Ill dig a little deeper into the code and look at the MyGateway side of the code, everything seemed in order but I will do some debugging.
  • 5v on 3.3 pro mini?

    3
    0 Votes
    3 Posts
    1k Views
    S
    The raw connector can handle about 3.3-12v (or 5-12v for a 5v arduino), so 5V should be fine. If you have a wall plug that should give "12V", it might give a whole lot more under low loads (such as a measly arduino) - I've burnt more than one regulator with that.
  • BBQ Temp Controller Build

    7
    1 Votes
    7 Posts
    9k Views
    T
    @5546dug That's an interesting build. I've come across several using a PID controller similar to that, however they have mostly been on electric smokers. My original intent was to do a PWM fan that could be speed controlled, but it was very hard (impossible) for me to find a blower type fan that was PWM-capable. My very initial testing showed that an on/off model would work as well but I haven't tried this on the Big Green Egg yet. My main concern is being able to feed a temp from my phone back to the arduino controlling this, and being reliable if for some reason wireless connectivity was lost from the arduino. I don't think this should be too hard, but will probably take some trial and error on my part.
  • Sketch works on Uno, but not pro mini

    3
    0 Votes
    3 Posts
    2k Views
    B
    For power, I'm using an LP2950 3.3v. I'm using a separate LP2950 5v to power the arduino and LCD. The 3.3v rail only powers the radio. Short answer, yes, I've tried radios both with and without the capacitor. Funny thing though... with my power arrangement, the power from the USB adapter provides the 5v rail, but not the 3.3v rail. Your answer made me think about that. So, I tried both the radio with the capacitor, and plugging in my external power supply. But never did both together. In this application, the external power was necessary to power the 3.3v rail, and the capacitor was also necessary. Thanks so much for guiding my thoughts in the right direction! To clear up any ambiguities: The capacitor was the key to solving this problem. That and the external power. The project now works as expected (minus any debugging I might still need to do).
  • Connect raspberry and arduino nano with USB

    11
    0 Votes
    11 Posts
    10k Views
    J
    It seems the driver module for the ftdi is missing. You could have a look at the raspian installation (lsmod) and see which module is needed. Don't knew Domoticz, but perhaps you can just add this module.
  • How to check if serial gateway is operational ?

    arduino serial gateway
    4
    0 Votes
    4 Posts
    2k Views
    J
    @fot said: Hi! I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case). It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working. That's a problem, right. I only ask the gateway if no other packages are received in $timeout seconds. /Magnus Of course ! Thank you for pushing my nose on it. Sometimes you don't see the most obvious ;-) Since my gateway is relatively close to the controller (Domoticz on a Raspi), I can do a hard reset of the gateway (via Raspi GPIO), which should resolve the issue. Cheers Josh
  • Gateway with LCD

    8
    1 Votes
    8 Posts
    5k Views
    BulldogLowellB
    @marceltrapman thanks for the information, I too like the milling capability, that seems like a great way to make PCBs!!! Keep us up to speed on your progress. This China printing is not working for me. :grimacing: P.S. If you want I'll give you €175 for your old one... a tidy profit! :laughing:
  • Garage port opener..

    6
    0 Votes
    6 Posts
    2k Views
    tbowmoT
    @Anticimex Actually I didn't plan on using security features at the moment for this one, as we can't lock the garage door anyways. But it might be changed at some point in time. Right now, it will only be a proof of concept though, to play around with..
  • Custom connection pin radio to pro mini

    3
    0 Votes
    3 Posts
    1k Views
    Руслан ЛобинцевР
    Thank you for answer. I find anover. May i use this examle: // PIN Radio #define RADIO_CE_PIN 9 // radio chip enable #define RADIO_SPI_SS_PIN 10 // radio SPI CS SS serial select ... MySensor gw(RADIO_CE_PIN, RADIO_SPI_SS_PIN);
  • Newbie Problem! Get Started with NRF24L01+

    55
    0 Votes
    55 Posts
    24k Views
    F
    Is it ok to have two gateways?
  • Newbie with arduino problems

    7
    0 Votes
    7 Posts
    3k Views
    C
    :thumbsup: thank you Jan Gatzke.
  • Anybody else seeing - unstable nodes - Need restart every ~24-48 hours?

    13
    0 Votes
    13 Posts
    4k Views
    G
    Maybe you can setup a RF sniffer as seen here http://forum.mysensors.org/topic/242/wireless-nrf24l01-sniffer-for-mysensors and observe what traffic you see when the system or node fails to give you some clues as to what is going on ?
  • RelayActuator problem - sometimes nothing happens

    14
    0 Votes
    14 Posts
    4k Views
    BulldogLowellB
    @madmax yes, so go to mutlti relay, add your libraries for simple timer and DHT. Thge relay code is non-blocking so you should be able to fold it in quite nicely.
  • Getting node id 0 after erasing eeprom

    5
    0 Votes
    5 Posts
    3k Views
    Moshe LivneM
    Thanks! that did the trick!!

23

Online

11.7k

Users

11.2k

Topics

113.0k

Posts