Navigation

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

    Topics created by fhenryco

    • fhenryco

      Best way to power nano and relay?
      Hardware • • fhenryco  

      7
      0
      Votes
      7
      Posts
      73
      Views

      fhenryco

      i tested that if the relay is powered directly and not through the aduino and for all my usb chargers, the switch is 100% responding. dont know really why but it seems better.
    • fhenryco

      Diy Awake signal sensor
      Development • • fhenryco  

      9
      0
      Votes
      9
      Posts
      1456
      Views

      gohan

      well yes, I know that, I am just saying he needs to be pointed in the right direction on how to retrieve values from controller
    • fhenryco

      voltperbits and reference voltage
      NodeManager • • fhenryco  

      2
      0
      Votes
      2
      Posts
      975
      Views

      No one has replied

    • fhenryco

      GPS and GSM
      Development • • fhenryco  

      21
      0
      Votes
      21
      Posts
      4526
      Views

      Thucar

      @fhenryco for me, the benefit of the A6 is that I have one on my desk @gohan I'm not fixed on using a MQTT gateway. Not after learning that a regular Ethernet Gateway can be used as a Client. Actually I would very much prefer using it as an Ethernet Gateway if I can. So far I have not managed to get MySensors to play ball. Even though I have an internet connection up and running and a port to connect to, I'm not seeing any incoming connections. Must dig deeper.
    • fhenryco

      Which 12V solar charger solution ?
      Hardware • • fhenryco  

      5
      0
      Votes
      5
      Posts
      3070
      Views

      Uhrheber

      For the charger: http://www.ebay.com/itm/MPPT-Solar-Controller-3S-12-6V-Lithium-Battery-Charging-18650-Charger-Module-zhn-/332313023330 For the battery: http://www.ebay.com/itm/1-3S-11-1V-25A-W-Balance-Li-ion-Lithium-18650-Battery-BMS-PCB-Protection-Board-/272761561101 You need a balancer to charge Li-Ion batteries in series, hence the addon board. It also protects against overcharging, over-discharging and overcurrent. You could also buy a battery pack with integrated balancer/protection: http://www.ebay.com/itm/Portable-DC-12V-20000mAh-Li-ion-Super-Rechargeable-Battery-Pack-US-Plug-Lot-MU-/162662798231
    • fhenryco

      Distance sensor power
      Hardware • • fhenryco  

      10
      0
      Votes
      10
      Posts
      2973
      Views

      zboblamont

      @fhenryco Yes to the first. The 5v supply will give a 5v logic output from the sensor on the echo pin. That must be reduced. Below a good 5v supply these sensors has been found to give unreliable results, although there are many different model numbers which look identical, so it is a bit of a minefield. No to the second, this particular sensor will not work reliably at other than a good 5v supply. The 3v3 is sufficient to give a logical high to the sensor to initiate measurement on this 5v device, a 5v trigger would also work from a 5v board. The echo output is at the sensor voltage of 5v level. If I recall one past thread on this, the poster was getting weird readings using a 3AA supply over time, the booster gave him rock solid readings until the batteries reached 1v.
    • fhenryco

      3.3V step up regulator voltage monitoring
      Hardware • • fhenryco  

      14
      0
      Votes
      14
      Posts
      3979
      Views

      mfalkvidd

      @fhenryco then the method recommended by scalz and flopp will be great.
    • fhenryco

      GPS and GSM
      Development • • fhenryco  

      5
      0
      Votes
      5
      Posts
      1895
      Views

      mfalkvidd

      @gohan I use PubNub and MapBox. Example: https://www.pubnub.com/developers/eon/map/flight/ and https://github.com/pubnub/eon-workshop/tree/master/lesson3 Publishing to PubNub can be done directly from Arduino, either through MQTT or REST.
    • fhenryco

      reporting battery to domoticZ
      Troubleshooting • • fhenryco  

      47
      0
      Votes
      47
      Posts
      13146
      Views

      AWI

      @Rene046 A 3.6-4.2 V battery with 3.3V ldo is perfectly suited to power the sensors you mentioned . I would replace the DHT22 with a (much better) I2C sensor (si7021/ BME280 /... ). If the measured voltage is not stable then in most cases the power supply or the measured voltage is unstable.
    • fhenryco

      GPS not recognized
      Troubleshooting • • fhenryco  

      4
      0
      Votes
      4
      Posts
      1133
      Views

      tbowmo

      @fhenryco This appears to be a domoticz problem.. So it will not be solved by using a newer mysensors library.
    • fhenryco

      How to Reestablish lost NRF24 connection
      Troubleshooting • • fhenryco  

      5
      0
      Votes
      5
      Posts
      1567
      Views

      gohan

      If I remember well there is a function that returns if you are connected or not and if not you can call the initialization to get connection back
    • fhenryco

      several channels mode
      Feature Requests • • fhenryco  

      1
      0
      Votes
      1
      Posts
      740
      Views

      No one has replied

    • fhenryco

      dht11 CR2032 longevity
      Hardware • • fhenryco  

      21
      0
      Votes
      21
      Posts
      5889
      Views

      Nca78

      @fhenryco I agree with you, I find it more simple to just remove the led. Cutting trace can lead to mistake (like you did on your first board) and there are a bunch of different promini clones, some might have traces using different paths than on the example.
    • fhenryco

      conflicting libraries ?
      Troubleshooting • • fhenryco  

      2
      0
      Votes
      2
      Posts
      743
      Views

      mfalkvidd

      @fhenryco you'll need to completely uninstall the old (1.5) MySensors library before you install MySensors 2.0. Sketches that require third party libraries have been moved to https://github.com/mysensors/MySensorsArduinoExamples Download and install that entire repository and you'll get the correct versions of the third party libraries (including DHT) as well.
    • fhenryco

      USB gateway for 433MHz
      General Discussion • • fhenryco  

      3
      0
      Votes
      3
      Posts
      1913
      Views

      janvier123

      Take a look at this, works pretty good for me // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 // Enable repeater functionality for this node //#define MY_REPEATER_FEATURE #include <SPI.h> #include <MySensors.h> #include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); #define RELAY_1 1 // Arduino Digital I/O pin number for first relay (second on pin+1 etc) #define NUMBER_OF_RELAYS 18 // Total number of attached relays #define SLEEP_BETWEEN_ALL_ON 100 #define SLEEP_BETWEEN_ALL_OFF 100 void before() { for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS;sensor++, pin++) { // Then set relay pins in output mode //-----------pinMode(pin, OUTPUT); // Set relay to last known state (using eeprom storage) //-----------digitalWrite(pin, loadState(sensor)?RELAY_ON:RELAY_OFF); } } void setup() { // Transmitter is connected to Arduino Pin #10 mySwitch.enableTransmit(8); // Optional set pulse length. // mySwitch.setPulseLength(320); } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("RF 433Mhz", "1.0"); for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS;sensor++, pin++) { // Register all sensors to gw (they will be created as child devices) present(sensor, S_BINARY); } } void loop() { } void receive(const MyMessage &message) { // We only expect one type of message from controller. But we better check anyway. if (message.type==V_STATUS) { // Switch on: // The first parameter represents the setting of the first rotary switch. // In this example it's switched to "1" or "A" or "I". // // The second parameter represents the setting of the second rotary switch. // In this example it's switched to "4" or "D" or "IV". // 1 = channel A // 2 = channel B // 3 = channel C // 4 = channel D switch (message.sensor-1+RELAY_1) { case 1: if(message.getBool() == 1){mySwitch.switchOn(1, 1);}else{mySwitch.switchOff(1, 1);} break; case 2: if(message.getBool() == 1){mySwitch.switchOn(1, 2);}else{mySwitch.switchOff(1, 2);} break; case 3: if(message.getBool() == 1){mySwitch.switchOn(1, 3);}else{mySwitch.switchOff(1, 3);} break; case 4: if(message.getBool() == 1){mySwitch.switchOn(1, 4);}else{mySwitch.switchOff(1, 4);} break; case 5: if(message.getBool() == 1){mySwitch.switchOn(2, 1);}else{mySwitch.switchOff(2, 1);} break; case 6: if(message.getBool() == 1){mySwitch.switchOn(2, 2);}else{mySwitch.switchOff(2, 2);} break; case 7: if(message.getBool() == 1){mySwitch.switchOn(2, 3);}else{mySwitch.switchOff(2, 3);} break; case 8: if(message.getBool() == 1){mySwitch.switchOn(2, 4);}else{mySwitch.switchOff(2, 4);} break; case 9: if(message.getBool() == 1){mySwitch.switchOn(3, 1);}else{mySwitch.switchOff(3, 1);} break; case 10: if(message.getBool() == 1){mySwitch.switchOn(3, 2);}else{mySwitch.switchOff(3, 2);} break; case 11: if(message.getBool() == 1){mySwitch.switchOn(3, 3);}else{mySwitch.switchOff(3, 3);} break; case 12: if(message.getBool() == 1){mySwitch.switchOn(3, 4);}else{mySwitch.switchOff(3, 4);} break; case 13: if(message.getBool() == 1){mySwitch.switchOn(4, 1);}else{mySwitch.switchOff(4, 1);} break; case 14: if(message.getBool() == 1){mySwitch.switchOn(4, 2);}else{mySwitch.switchOff(4, 2);} break; case 15: if(message.getBool() == 1){mySwitch.switchOn(4, 3);}else{mySwitch.switchOff(4, 3);} break; case 16: if(message.getBool() == 1){mySwitch.switchOn(4, 4);}else{mySwitch.switchOff(4, 4);} break; // ALL ON case 17: mySwitch.switchOff(1, 1); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(1, 2); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(1, 3); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(1, 4); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(2, 1); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(2, 2); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(2, 3); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(2, 4); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(3, 1); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(3, 2); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(3, 3); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(3, 4); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(4, 1); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(4, 2); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(4, 3); delay(SLEEP_BETWEEN_ALL_OFF); mySwitch.switchOff(4, 4); break; // ALL OFF case 18: mySwitch.switchOn(1, 1); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(1, 2); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(1, 3); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(1, 4); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(2, 1); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(2, 2); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(2, 3); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(2, 4); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(3, 1); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(3, 2); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(3, 3); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(3, 4); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(4, 1); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(4, 2); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(4, 3); delay(SLEEP_BETWEEN_ALL_ON); mySwitch.switchOn(4, 4); break; default: Serial.println("Unknown Status"); break; } saveState(message.sensor, message.getBool()); // Write some debug info Serial.print("Incoming change for binary switch: "); Serial.print(message.sensor); Serial.print(", New status: "); Serial.println(message.getBool()); } }