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
HonkH

Honk

@Honk
About
Posts
20
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • nRF24L01+ missing capacitor aka "magic finger"
    HonkH Honk

    Just looked at my modules and the capacitor is also not there. Only on my ebyte module
    https://www.cdebyte.com/Uploadfiles/Picture/2021-12-21/202112211521171309.jpg

    this Module seems to have the capacitor to ground in place. There are more expensive and I used them when the cheap ones did not work.

    Hardware

  • 💬 AC-DC double solid state relay module
    HonkH Honk

    thanks for the design.
    I did build a unit in 2018.
    Today I build one to control the light on my front door. It will be triggered by the IR Motion sensor.
    The Switch indoors will be just to power the light (and the arduino) off completly.
    Because of the IR Sensor VCC near the PIN 4 GND GND PIN7 Header.
    I routed my own with a wire.

    Never have I soldered a slow blow fuse in one go :)

    OpenHardware.io hlk-pm01 solid state relay light switch light acdc

  • Can I power arduino (or other mcu) from PIR output?
    HonkH Honk

    It might be possible to power the Arduino off the output pin. Since they are dirt cheap I would just test it.
    But like the others I would suggest to use the interrupts of pin 2 and 3.
    For my battery powered 3.3v pro mini I use 3.3v pir sensors without the voltage regulator. The standard 5v pir needs at least 4.5v just to step it down internally to 3.3V. On these I had problems with voltage stability because I stepped it up to 5V. Also the battery lifetime was poor.
    With the 3.3v pir version this thing runs for months. With the solar panel on top maybe forever.

    Troubleshooting power supply pir

  • What multimeter should i wish for?
    HonkH Honk

    I bought this one:
    US $24 47%OFF | RM109 Palm-size True-RMS Digital Multimeter 9999 counts Square Wave Backlight AC DC Voltage Ammeter Current Ohm Auto/Manual
    AliExpress

    It is Dave Jones approved and served me very well.
    Here is his review:
    Youtube, Dave jones, review

    General Discussion

  • Best 3d printers
    HonkH Honk

    I bought the ender 3 (non pro) from gearbest. So far I'm very satisfied with it. For 180$ it is a very good printer.
    The bed surface I upgraded for a PEI one. This thing is awesome. Very clean bottom surface and the prints are easy to remove.
    Later I will add a bltouch for automatic bed leveling. Then I want to replace the board. In embedded stepper motor drivers are a bit to noisy. No need for in terms of quality. Mostly for silence reasons. Another great addition is a raspberry pi with octoprint. With this you can run your printer wirelessly over WiFi.
    200$ is already very cheap. I wouldn't by a cheaper one than the ender 3.
    If you need more build volume you might better go with the 10s from creality.

    Enclosures / 3D Printing

  • Assign sensor ID so it never changes
    HonkH Honk

    If you want to force the ID for the Sensor node you can add

    #define MY_NODE_ID 200
    

    before

    #include <MySensors.h>
    

    This will overwrite the Node ID in the Arduino EEPROM. If the Unit is powered up and connected to the Gateway you can remove the define. The ID should now be stored in the EEPROM.

    Troubleshooting

  • What did you build today (Pictures) ?
    HonkH Honk

    Nothing fancy. Got my new ts100 today and I pre-soldered some V10 easyPCBs with 3.3v Arduino pro minis.
    The iron is pretty good. It is Louis Rossmann approved. Now I need a good 24V power source to drive this thing.

    alt text

    General Discussion

  • Landis & gyr infrared energy meter reader
    HonkH Honk

    @sullivan-buchs how did you get 7e1 mode on an uno working?
    I have some Energy Meters working with Meter-Bus and the IEC1107 protocol. Couldn't find a proper working software lib for serial communication. I solved the problem using the hardware Serial ports on my Mega.

    My Project

  • SmartSleep and FHEM - does it work?
    HonkH Honk

    There is a new maintainer for the module in fhem. He implemented a lot of new stuff and also the smartsleep feature. For example nodes are now showing if they are sleeping.
    Also messages to the node are delayed till it wakes up the next time.

    FHEM

  • [Solved] Nodes having trouble reconnecting to gateway
    HonkH Honk

    @flyingdomotic thank you. I also had some problems with some nodes which worked very nice on 2.1.1. When I worked on some of the nodes and updated to 2.3.1 I noticed, that communication wasn't so great anymore.
    On first glance this fix works on my plant sensor node. Hope it stays that way now.

    Some people are saying with debug on it works and without it, it doesn't maybe the Debug line before the ce(low) does the same thing as your delay.

    Troubleshooting

  • Powering the nano with a battery
    HonkH Honk

    I wouldn't power it from battery. To consuming.
    Had one powered with two AA batteries. It lasted for one week.
    Changed the nano with a pro mini 3.3v and now it runs forever.

    Hardware

  • how add watchdog to my sensors?
    HonkH Honk

    @Reza this is a #define MY_RECONNECT 5000
    just put a time in ms into the wait function.

    Development

  • how add watchdog to my sensors?
    HonkH Honk
    if (!isTransportReady())
          wait(MY_RECONNECT);
    

    your node just needs to be awake to reconnect to the gateway.
    I've set MY_RECONNECT to 5000 (5sec).
    So far this works for my sleeping battery node.

    isTransportReady could also be isTransportOK. depends on the version you are using.

    Development

  • Arduino Not Responding -- NEWBIE Help
    HonkH Honk

    make really sure that the pins are connected right
    alt text
    yours seems to be mixed around. turn it around
    alt text

    Troubleshooting

  • Controller developers news for 2.0.x
    HonkH Honk

    I've found some typos on the serial api page.

    S_DIMMER	4	Dimmable device of some kind	V_STATUS (on/off), V_DIMMER (dimmer level 0-100), V_WATT
    

    V_DIMMER needs to be V_PERCENTAGE

    S_HVAC	29	Thermostat/HVAC device	V_HVAC_SETPOINT_HEAT, V_HVAC_SETPOINT_COLD, V_HVAC_FLOW_STATE, V_HVAC_FLOW_MODE, V_HVAC_SPEED
    

    V_HVAC_SETPOINT_COLD needs to be V_HVAC_SETPOINT_COOL

    Announcements

  • FHEM
    HonkH Honk

    @Daniel-Lienhard @ntruchsess
    i have updated MY_SENSOR_DEVICE.pm and Constants.pm

    would be nice if these files can be cheked and then submitted to the FHEM SVN.
    I've only added constants.

    1_1471334476177_Constants.pm 0_1471334476176_10_MYSENSORS_DEVICE.pm

    FHEM

  • Dallas Temp failure to compile
    HonkH Honk

    why not put the function millisToWaitForConversion into the example.
    I like to have the latest libary available for sensors. It can be loaded with the arduino studio.
    Read the min wait time is pretty easy. it is just a switch case based on the datasheet.

    // returns number of milliseconds to wait till conversion is complete (based on IC datasheet)
    int16_t DallasTemperature::millisToWaitForConversion(uint8_t bitResolution)
    {
        switch (bitResolution)
        {
        case 9:
            return 94;
        case 10:
            return 188;
        case 11:
            return 375;
        default:
            return 750;
        }
    }
    
    Troubleshooting

  • Dallas Temp failure to compile
    HonkH Honk

    @tlpeter
    This is my function to read all Sensors. You have to give the Sensor time to do the measuring and make the result available.
    I've commented everything out to get the min wait time. It is defined in the Datasheet of the Sensor
    alt text
    If you wait or sleep for 750ms you are save. Depending on the resultion of the sensor you can wait a bit less.

    void readDallasSensors()
    {
      // Fetch temperatures from Dallas sensors
      TempSensors.requestTemperatures();
      // query conversion time and sleep until conversion completed
      //int16_t conversionTime = TempSensors.millisToWaitForConversion(TempSensors.getResolution());
      // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
      sleep(750);
      // Read temperatures and send them to controller
      for (int i = 0; i < numTempSensors && i < MAX_ATTACHED_DS18B20; i++)
      {
        // Fetch and round temperature to one decimal
        float temperature = TempSensors.getTempCByIndex(i);
    #ifdef DEBUG
        SPrint(Temperature: );
        Serial.println(temperature, 1);
    #endif
    
        // Only send data if temperature has changed and no error
        if (abs(lastTemperature[i] - temperature) >= 0.1 && temperature != -127.00 && temperature != 85.00)
        {
          // Send in the new temperature
          send(msg.setSensor(i).set(temperature, 1));
          // Save new temperatures for next compare
          lastTemperature[i] = temperature;
        }
      }
    
    Troubleshooting

  • FHEM
    HonkH Honk

    @ntruchsess Will the Module in FHEM be updated for Version 2.0.0?
    If there are only new Constants I could try to do it and make it available to be published in the FHEM SVN.

    FHEM
  • Login

  • Don't have an account? Register

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