Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
ronnyandreR

ronnyandre

@ronnyandre
About
Posts
29
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Are folks here happy with Domoticz?
    ronnyandreR ronnyandre

    @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.

    Domoticz

  • 💬 Building a Serial Gateway
    ronnyandreR ronnyandre

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

    Announcements

  • 💬 NodeManager
    ronnyandreR ronnyandre

    @mickecarlsson Thanks, I will try that later today :smiley:

    OpenHardware.io contest2017 arduino newbie mysensors battery sensor

  • 💬 NodeManager
    ronnyandreR ronnyandre

    @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.

    OpenHardware.io contest2017 arduino newbie mysensors battery sensor

  • 💬 NodeManager
    ronnyandreR ronnyandre

    @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?

    OpenHardware.io contest2017 arduino newbie mysensors battery sensor

  • 💬 NodeManager
    ronnyandreR ronnyandre

    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??

    OpenHardware.io contest2017 arduino newbie mysensors battery sensor

  • Has anyone made their own lab power supply out of a PSU?
    ronnyandreR ronnyandre

    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.

    Hardware

  • Has anyone made their own lab power supply out of a PSU?
    ronnyandreR ronnyandre

    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.

    Hardware

  • How to wire battery sensor with battery voltage reports...
    ronnyandreR ronnyandre

    Would be awesome if you made a fritz sketch of this :)

    Hardware

  • Capacitors and switching power supplies
    ronnyandreR ronnyandre

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

    General Discussion

  • Electromagnetic field from step-up regulator interferes with NRF24
    ronnyandreR ronnyandre

    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.

    Hardware

  • Capacitors and switching power supplies
    ronnyandreR ronnyandre

    Wow @AWI that looked more advanced than I thought.. :sweat_smile:

    General Discussion

  • Capacitors and switching power supplies
    ronnyandreR ronnyandre

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

    General Discussion

  • Electromagnetic field from step-up regulator interferes with NRF24
    ronnyandreR ronnyandre

    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?

    Hardware

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

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

    Development

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

    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!

    Development

  • Need help to figure out how to power 230 V to 5 V Arduino with relay
    ronnyandreR ronnyandre

    @gohan Ah, yes of course. I feel stupid... :smirk:

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

    My Project

  • Need help to figure out how to power 230 V to 5 V Arduino with relay
    ronnyandreR ronnyandre

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

    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

    My Project

  • Need help to figure out how to power 230 V to 5 V Arduino with relay
    ronnyandreR ronnyandre

    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!

    My Project

  • Office plant monitoring
    ronnyandreR ronnyandre

    @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! :smiley:

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

    My Project
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular