Skip to content
  • 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
NuubiN

Nuubi

@Nuubi
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
61
Topics
4
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • Flickering problem with RGB leds and a simple solution
    NuubiN Nuubi

    I've noticed with some of the RGB nodes around the house an annoying flickering problem. It occurs when none of the R G B channels is driven at full brightness. This is especially disturbing when a lower light level is desired.

    Tried to find out a reason for this. It was not related to the Arduino used, whether it being a Nano, Uno, official or not. Also not related to using gw.wait or delay in the main loop. Or adding resistors to the fet data pins.

    Turns out it is related to the Arduino PWM not being very optimal. Tried to solve the problem by using a different approach, softPWM [e.g. https://github.com/Palatis/arduino-softpwm] but they conflicted with servo library (that uses various timers also, as soft pwms do).

    Jeelabs brought a solution; tweaking the frequency of some timers. Just tested it, and seems that the flickering is totally gone AND still the servos AND the MySensor communication works. Very happy with the result.

    This is the blog post describing the issue, the solution I used is in the comments http://jeelabs.org/wp-content/uploads/2011/11/8/fixing-the-arduinos-pwm/index.html.

    So, flickering fixed by adding TCCR2A = _BV(COM2A1) | _BV(COM2B1) | _BV(WGM21) | _BV(WGM20) to the setup. Will need to update a few nodes now!

    Troubleshooting

  • mysensors relay stops working after few hours
    NuubiN Nuubi

    "Classic" way to rule out the power source + relay related issues is to replace the relay with a led.
    Noise in power lines may stop the NRF module, but also Arduino can get messed up due to spikes in power supply.

    Troubleshooting

  • [contest] Yet another servo blind control project
    NuubiN Nuubi

    Excellent project report, Thanks!
    It made soo easy to order the required parts :-)
    I suppose I should post my project, once it's been done, too... these things just tend to take their time (ofter years---to infinity).

    My Project servo venetian blinds

  • 9+A 5V power supply?
    NuubiN Nuubi

    @hek said:

    Hard to say anything about quality, but the following is at least in proper casing.

    https://www.aliexpress.com/item/AC-DC-LED-Switching-Power-Supply-5V-10A-Adapter-AC100-240V-to-DC5V-50W-Transformer-for/32754255352.html?spm=2114.30010308.3.25.I0CMK2&s=p&ws_ab_test=searchweb0_0,searchweb201602_2_10091_10090_10088_10089,searchweb201603_1&btsid=c1de7d92-589e-459d-8ef8-7be21d5efe40

    Have bought couple of similar ones. They are veeery noisy.... just something (depending on the use case) that might require extra components to compensate.

    Hardware

  • Has anyone made a 2 or 4 channel relay , and is that worked correct ?
    NuubiN Nuubi

    Maybe using increment operator causes your problem [https://www.arduino.cc/en/Reference/Increment]
    Replacing pin++ with pin=pin+1 in your code should fix it.

    Troubleshooting

  • Example of V_CUSTOM
    NuubiN Nuubi

    Out of curiosity....what is your use case for this? [just thinking new ways to expand my system]

    Troubleshooting

  • mysensors relay stops working after few hours
    NuubiN Nuubi

    These are most often related to noise of the power supply or other transient noise/spikes in the circuit (due to a relay for example).

    To be more specific, I'd first remove the relay from the circuit and just use a led instead. If the node works then without problems for longer time, the reason indicates it's a noise issue from the relay section.

    Similar examples can be found, e.g. http://forum.arduino.cc/index.php?topic=186879.15

    Generally these are solved by separating the power supplies, or 'de-coupling'. A good read illustrating the situation, please read it through: http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html

    I have bunch of nodes that are troublesome. So fat it's been due to noisy somewhere in the circuit. Also, noticed that some nodes start to malfunction after few years due to low quality capacitors. And that is painful to cure...

    Troubleshooting

  • mysensors relay stops working after few hours
    NuubiN Nuubi

    To give a definite answer would require investigating the signals with an oscilloscope! Noisy signals can be seen quite easily, and also the effects of adding caps.

    Note, that often a combination of a larger and smaller cap is needed to solve these issues. Think that larger one smooths out the slower changes (in the power line) while smaller ones smooth out higher frequency components.

    I've ended up in some cases, depending on the power supply and the rest of the circuit, having a number of caps all over the circuit. Not pretty, not pro, but needed to stabilize the node sometimes..

    Troubleshooting
  • Login

  • Don't have an account? Register

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