Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. ronnyandre
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by ronnyandre

    • RE: Are folks here happy with Domoticz?

      @wergeld said in Are folks here happy with Domoticz?:

      Event scripting (lua? really?) needs more advanced features.

      You should check out dzVents which makes LUA-scripting much more powerful and even simpler.

      posted in Domoticz
      ronnyandre
      ronnyandre
    • RE: 💬 Building a Serial Gateway

      Is it possible to update the article with a code example for a gateway that also uses NodeManager?

      posted in Announcements
      ronnyandre
      ronnyandre
    • RE: 💬 NodeManager

      @mickecarlsson Thanks, I will try that later today 😃

      posted in OpenHardware.io
      ronnyandre
      ronnyandre
    • RE: 💬 NodeManager

      @Sergio-Rius Thanks man! I will definitely take a closer look. I just one silly last question....

      Trying to use a simple DS18B20 temperature sensor, and I get the following error:

      error: 'SENSOR_DS18B20' was not declared in this scope
      nodeManager.registerSensor(SENSOR_DS18B20,3);

      Seems like it doesn't like me declaring it. I have installed Dallas Temperature and One Wire through Arduino libraries.

      posted in OpenHardware.io
      ronnyandre
      ronnyandre
    • RE: 💬 NodeManager

      @Sergio-Rius I think I understood it correctly. Code goes on the sensors, not on the gateway itself? That means, the MySensors Serial Gateway I use is only a carrier of the messages that NodeManager receives on the sensors I implement the code?

      posted in OpenHardware.io
      ronnyandre
      ronnyandre
    • RE: 💬 NodeManager

      I have a hard time figuring out one simple thing... Is the NodeManager code supposed to be on the sensors? Or is it supposed to be on the Gateway? Or both??

      posted in OpenHardware.io
      ronnyandre
      ronnyandre
    • RE: Has anyone made their own lab power supply out of a PSU?

      Ah, thanks! I have actually seen that video ages ago 🙂

      I was wondering about what I need for parts in the case of resistors etc.

      posted in Hardware
      ronnyandre
      ronnyandre
    • Has anyone made their own lab power supply out of a PSU?

      I've been looking into making my own lab bench power supply out of the PSU of an old computer. I've seen a lot of videos on YouTube, but I just wanted to make a thread about it here just in case someone has already done it and can share some experiences.

      The idea came after I figured out it could be nice to easily switch between 3.3, 5 and 12 V power when testing out my Arduino components.

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: How to wire battery sensor with battery voltage reports...

      Would be awesome if you made a fritz sketch of this 🙂

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: Capacitors and switching power supplies

      @Oitzu Thanks! I'll try that one out :simple_smile:

      posted in General Discussion
      ronnyandre
      ronnyandre
    • RE: Electromagnetic field from step-up regulator interferes with NRF24

      Thanks to both of you @LastSamurai and @gohan, that seems to solve alot of issues regarding the noise.

      However I experience some strange values when connecting Arduino directly to the battery. The power to the LED not 0 volts (as it is when powering Arduino and radio from FTDI programmer), but 2.8 volts. And around 3 volts when pressing the doorbell button. I can't quite figure out why it acts like this. Not only that, but the digital pin connected to the anode side of the LED gives power to the Arduino itself.. Even when I disconnect VCC/Ground on the Arduino from the batteries, the Arduino gets power through the digital pin. I didn't even know that was possible.

      Not sure what doorbell type it is, but it's a cheap one bought at my local supermarket.

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: Capacitors and switching power supplies

      Wow @AWI that looked more advanced than I thought.. 😅

      posted in General Discussion
      ronnyandre
      ronnyandre
    • RE: Capacitors and switching power supplies

      @Oitzu do you have a recipe for making such low-pass filter?

      posted in General Discussion
      ronnyandre
      ronnyandre
    • Electromagnetic field from step-up regulator interferes with NRF24

      I am experiencing issues with the NRF24 radio module when powering the Pro Mini off a step-up regulator, stepping up from two 1.5 volts batteries to 3.3 volts. When I connect the Pro Mini to an FTDI programmer everything works as normal.

      A while ago I read that regulators created an electromagnetic field that could cause interference with the radio module. My tests seems to confirm this.

      Is there some way I could eliminate , limit or somehow "enclose" the electromagnetic field generated by the regulator?

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: [SOLVED] How to detect power current with Arduino Pro Mini in a doorbell?

      Thanks @gohan it works perfectly using a digital pin and the door sensor example.

      posted in Development
      ronnyandre
      ronnyandre
    • [SOLVED] How to detect power current with Arduino Pro Mini in a doorbell?

      I have a very simple wireless doorbell in my house, and I was thinking of making it notify me when someone rings in Domoticz.

      I have minimal with electronic components, but I do have the basics with resistors, wires, NRF24 etc.

      What I found out, is that when the doorbell button is clicked, it sends a wireless signal to the other unit, containing the speaker. This unit has a LED that lights up when it receives a signal, aka when someone rings the bell.

      I was thinking of connecting the Arduino to this LED, detecting when the LED is turned on. I connected the cathode on the LED to ground on the Pro Mini, and the LED's anode to an analog pin on the Pro Mini. Now I can read values around ~740 in standby mode, and around ~860 when the LED lights up.

      Is this a basic and "fail safe" method to check for power? Or is it varying too much? I want to use the door magnet sensor example to detect the doorbell, but not sure if I should use the Bounce library with analog signals.

      Thanks in advance!

      posted in Development
      ronnyandre
      ronnyandre
    • RE: Need help to figure out how to power 230 V to 5 V Arduino with relay

      @gohan Ah, yes of course. I feel stupid... 😏

      Thank you so much for your help. I will definitely look into Sonoff as well..... 😉

      posted in My Project
      ronnyandre
      ronnyandre
    • RE: Need help to figure out how to power 230 V to 5 V Arduino with relay

      @gohan Thanks for your help, it sure would have been easier to just buy a Sonoff, but I wouldn't learn as much 😄

      Were you thinking of something like this? (Don't mind me using a LED in replacement of a lamp).

      0_1490784339455_Untitled Sketch 2_bb.png

      posted in My Project
      ronnyandre
      ronnyandre
    • Need help to figure out how to power 230 V to 5 V Arduino with relay

      I am trying to build a relay actuator similar to this, however I have some trouble with figuring how to connect the 230 V power correctly.

      My project is run on a 5 V Arduino, with a 230 V to 5 V step down regulator. Everything is soldered on a prototype board. I have also solderen on a 3.3 V step down regulator and a NRF24L01 radio. The thought behind this project is to remote control ceiling lighting.

      This is how it looks like now:

      0_1490775586599_17521751_10158487676810381_1240987342_o.jpg

      0_1490775593937_17500367_10158487676960381_1619738280_o.jpg

      What I need help to figure out, is how to connect the 230 V to both the 5 V step down regulator AND the relay without breaking the power circuit to the Arduino when the relay turns off. I've seen projects like this before, but it seems like most of the projects only are USB powered.

      All comments are welcome!

      posted in My Project
      ronnyandre
      ronnyandre
    • RE: Office plant monitoring

      @mfalkvidd Thanks for the quick answer! I also read on the page for battery powered sensors that the step up generates alot of noise that can interfere with the radio, and that a solution might be to add capacitators (which I already tried), but also powering the radio directly from batteries. I'll try that later today. Thanks! 😃

      And thank you for the link to the troubleshooting. It's now bookmarked! 😉

      posted in My Project
      ronnyandre
      ronnyandre
    • RE: Office plant monitoring

      Thanks for this great solution @mfalkvidd! It works great when my Arduino Pro Mini is connected to the computer, but not when I try to run it off a battery pack.

      I have a Pro Mini 3.3v connected to a 0.8-3.3v step up from a battery pack (2xAA; 3v). And then I have connected the radio and sensor to VCC on the Pro Mini. When the Pro Mini is connected to my iMac, Domoticz receives everything as it should. However, when I disconnect it from the computer and connect the battery source, all LEDs light as they should, indicitating that they have power, but it won't connect to Domoticz over NRF24.

      I have used a multimeter to check the voltage and if the radio receives enough power, and it does. All power/ground pins show around 3.3v. Any ideas to debug what's wrong?

      posted in My Project
      ronnyandre
      ronnyandre
    • Domoticz sensor shows values when sensor is not sending

      Has anyone figured out how to make Domoticz show no values in the chart when the sensors stops sending data?

      In my case, I had a soil moisture sensor that stopped working. Domoticz notices that the sensor is not sending anymore, and the device block gets this red background color in the header in Domoticz. However, the chart still shows the last known value ever since it stopped working. Is is possible to stop the chart from plotting "false" values?

      posted in Domoticz
      ronnyandre
      ronnyandre
    • RE: Soil Moisture Sensor shows strange values

      @mfalkvidd Thanks for the careful and understanding explanation. Of course it makes sense that salt water is more conductive than tap water and distilled water. I will calibrate and map according to the specific soil I will use the sensor with. Thanks 😄

      @Yveaux I haven't tried that, but that was a good idea to see if the sensor itself has any issues with the conductivity. One can never completely trust cheap chinese hardware.. 😏

      posted in Hardware
      ronnyandre
      ronnyandre
    • Soil Moisture Sensor shows strange values

      I bought a cheap soil moisture sensor from Aliexpress that is simple and straight forward to use. The sensor reports 1023 when it is completely dry, which is correct. However when the sensor is submerged in water, it only reports around 380-400. One might think it should show a value much closer to 0?

      Does anyone have experience with this? Or is the simple solution just to map the values from around 400-1023 as 100%-0% moisture?

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: IKEA UTRUSTA

      @Blob Nice work, how is the how to guide going? I'm very interested to implement the IKEA Utrusta lighting in my home automation setup.

      posted in General Discussion
      ronnyandre
      ronnyandre
    • RE: Issue after updating from 1.5 to 2.1.1

      Any luck? I got the same error. Sitting debugging now, but can't seem to figure it out.

      posted in Troubleshooting
      ronnyandre
      ronnyandre
    • RE: Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

      @MrRikkie Did you solve this issue? I got the same error as you..

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

      @Scala I have the same error as you. Worked perfectly first time, and after reboot the "/dev/ttyMySensorsGateway: No such file or directory" error message appear. Did you solve this?

      posted in Hardware
      ronnyandre
      ronnyandre
    • RE: Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

      Thanks for this thorough guide, it works perfect 🙂

      posted in Hardware
      ronnyandre
      ronnyandre