Navigation

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

    Topics created by epierre

    • epierre

      1.5.1 to 2.3.2 issues
      Troubleshooting • • epierre  

      4
      0
      Votes
      4
      Posts
      25
      Views

      epierre

      intermediary result: I have started a second gateway and now the nodes do communicate... puzzled... I remove the extra gateway... same situation... so reprogram gateway with: #define MY_RF24_PA_LEVEL RF24_PA_LOW so it seems this was the responsible for this ! thanks !
    • epierre

      Ebyte nRF24L01P Wireless rf Transceiver E01-2G4M27D 27dBm SPI 2.4GHz Transmitter
      Troubleshooting • • epierre  

      12
      0
      Votes
      12
      Posts
      70
      Views

      ejlane

      @epierre Yay, good job!
    • epierre

      radio failure ?
      Troubleshooting • • epierre  

      4
      0
      Votes
      4
      Posts
      1090
      Views

      gohan

      you could setup a secondary gateway with lib 2.2 and do a node by node upgrade
    • epierre

      Debugging radio coverage...
      Troubleshooting • • epierre  

      6
      0
      Votes
      6
      Posts
      1863
      Views

      NeverDie

      Since z-wave is a different frequency band (not sure where you are, but 908.4Mhz in the US), you may have a wideband interference source. The easiest way to troubleshoot and possibly find the source would be with an inexpensive RTL-SDR.
    • epierre

      Mysensors on Mega ?
      Development • • epierre  

      2
      0
      Votes
      2
      Posts
      1013
      Views

      hek

      In the 2.0.0-beta development branch you just define the following in sketch: #define MY_RF24_CE_PIN xx #define MY_RF24_CS_PIN yy In 1.6 you have to create a Transport class with the pin definitions https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MyTransportNRF24.h You can see an example of this here: https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/examples/SerialGateway/SerialGateway.ino#L62
    • epierre

      LiPo Batteries
      Hardware • • epierre  

      4
      0
      Votes
      4
      Posts
      2033
      Views

      epierre

      found the issue, the polarity was wrong...
    • epierre

      gw.send for float
      Feature Requests • • epierre  

      6
      0
      Votes
      6
      Posts
      3704
      Views

      epierre

      @mfalkvidd thanks a lot !
    • epierre

      Water meter : grey scale sensor
      Hardware • • epierre  

      8
      2
      Votes
      8
      Posts
      7249
      Views

      zboblamont

      @epierre Plus presumably it can be universally applied whether a wet or dry register?
    • epierre

      Solar Pannel and LiOn or Lipo
      Hardware • • epierre  

      52
      0
      Votes
      52
      Posts
      44860
      Views

      ceech

      Of course you can. Use voltage dividers to scale down voltages that you would like to measure if they are above your VCC. And you can also read the current from TP4056 charger board. Tap to Prog pin (pin 2) and measure its voltage. Here is the correlation between voltage and current: Ibat = (Vprog /Rprog) x 1200 Adapt the above code with your hardware values, current formula and measure away.
    • epierre

      Air Quality: CO2 Sensor MH-Z14
      My Project • air quality gas sensor co2 • • epierre  

      28
      1
      Votes
      28
      Posts
      28155
      Views

      alowhum

      Go with the Z19. Here's some ready made code: https://forum.mysensors.org/topic/6528/mh-z19-co2-sensor/5
    • epierre

      Soil Humidity and temperature sensor - Watermark / Davis granular matrix sensor
      My Project • • epierre  

      4
      0
      Votes
      4
      Posts
      12248
      Views

      epierre

      discussion follow up: http://forum.mysensors.org/topic/990/soil-tensiometer-sensor-network/28
    • epierre

      Soil Humidity and temperature sensor - DHT1010
      My Project • • epierre  

      3
      0
      Votes
      3
      Posts
      2286
      Views

      epierre

      @Yveaux you are right, the worse is when I open it... I see this is not waterproof at all and...
    • epierre

      Logic Analyzer - oscilloscope
      Hardware • • epierre  

      8
      0
      Votes
      8
      Posts
      3053
      Views

      Anticimex

      @ServiceXp Well, I am considering a TSO1202 in addition to that one. At some time. Looks at least on visual inspection like good value.
    • epierre

      CCD Line scanning sensor
      My Project • • epierre  

      4
      0
      Votes
      4
      Posts
      2388
      Views

      Yveaux

      @epierre had a quick look at the data sheet. The sensor has a 64 bit shift register which uses a clock signal and serial input. You need to clock in the 64 bits one by one and generate a clock pulse for each bit. Then read out each bit as an analog value on AO, and continue with the next bit. This thing is not i2c, spi nor i2s (audio only), but defines its own protocol. Connect your logic analyzer to clk and si if you like, but you also need an oscilloscope or so if you want to see the analog output values.
    • epierre

      Solar/battery powering
      Hardware • • epierre  

      16
      0
      Votes
      16
      Posts
      3550
      Views

      rejoe2

      @skywatch said in Solar/battery powering: @zboblamont said in Solar/battery powering: @rejoe2 Anti-freeze. But then the hot water would not be suitable to shower/cleaning/pool etc and you then have to go to a heat exchange tank, somewhere to put it and insulate it and pipe to it. I am sure is can be done, but the fact that it is not 'standard' hints at it being costlly or impractical or both. In fact, imo it's highly recommended to use a seperate circle for the "transport medium" (typically: antifreeze liquid)! Otherwise you will at some point in time get problems with corrosion or deposited dirt particles if media would be continuously renewed. Dependent on the needed amounts of (potable) warm water, it might even be a good idea to have three circles (medium for panel, heating water, potable water). But tanks, heat exchangers and so on (including steering electronics ) are (relatively inexpensive) standard components - at least here in Germany. So imo technical complexity isn't a thing to worry about too much. But as already mentionned: I really doubt, if you will have a financial benefit out of such an installation, if you have to built it from scratch nowerdays. Additionally: have a close look, how big the need for hot water really is - in most cases, e.g. 5m² panel size for a family of 4 persons should be enough for hot water supply in middle Europe (+300l tank volume). As soon as heating is involved, you'll need much higher tank volumes - with no benefit in summer, but not sufficient capacity on roof top or tank volume in winter times? @rejoe2 Agreed! - But it's not OT as you could mysensors the hell out of such an installation! Indeed, buiding one's own MySensors-based controller for such a hybrid heating ecosystem would be right on topic - but not in this thread here... Fyi: One of my very first things to get done with MySensors had been around my (gas based) central heating system; we have some tubes installed that would allow medium transport from roof to cellar. But to be honest, atm. I'm not willing to invest in tanks etc.; it's just not cost efficient, even if I would do a lot of the installation work myself....
    • epierre

      node var request issue
      Troubleshooting • • epierre  

      12
      0
      Votes
      12
      Posts
      3137
      Views

      epierre

      @Yveaux @hek in fact it has to be debounced for it vibrates on rising and falling so it is important to see. maybe the bling delay would do it simply but someoone may remove the led... Also through trial and error here is the way to manage it: // Setup the reed pinMode(DIGITAL_INPUT_SENSOR,INPUT); // Activate internal pull-up digitalWrite(DIGITAL_INPUT_SENSOR,HIGH); attachInterrupt(INTERRUPT, onPulse, FALLING); you have to power the pin to get the signal when both sides are connected.
    • epierre

      Soil Humidity and temperature sensor - SHT1x
      My Project • • epierre  

      6
      0
      Votes
      6
      Posts
      5450
      Views

      epierre

      ok found, you need the Sensirion Version 2.0 - 10Dec2010 !!! Temperature: 26.12 C, Humidity: 61.71 %, Dewpoint: 18.19 C Temperature: 26.10 C, Humidity: 61.70 %, Dewpoint: 18.17 C Temperature: 26.10 C, Humidity: 61.76 %, Dewpoint: 18.19 C Temperature: 26.10 C, Humidity: 61.82 %, Dewpoint: 18.20 C Temperature: 26.09 C, Humidity: 61.88 %, Dewpoint: 18.21 C
    • epierre

      Leaf Wetness
      My Project • • epierre  

      45
      0
      Votes
      45
      Posts
      33117
      Views

      epierre

      Hello, I guess it is the same as Vinduino : with their test code: // This program tests 3 soil sensor inputs and prints bias caused by galvanic effects // Copyright (C) 2015, Reinier van der Lee // www.vanderleevineyard.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. #include <math.h> // Conversion equation from resistance to % // Setting up format for reading 3 soil sensors #define NUM_READS 10 // Number of sensor reads for filtering long buffer[NUM_READS]; int index; typedef struct { // Structure to be used in percentage and resistance values matrix to be filtered (have to be in pairs) int moisture; long resistance; } values; const long knownResistor = 1500; // Constant value of known resistor in Ohms int supplyVoltage; // Measured supply voltage int sensorVoltage; // Measured sensor voltage values valueOf[NUM_READS]; // Calculated moisture percentages and resistances to be sorted and filtered int i; // Simple index variable void setup() { // initialize serial communications at 9600 bps: Serial.begin(115200); // initialize the digital pins as an output. // Pin 6,7 is for sensor 1 pinMode(6, OUTPUT); pinMode(7, OUTPUT); } void loop() { measure(1,6,7,1); Serial.print ("\t"); Serial.println (average()); long read1 = average(); measure(1,7,6,0); Serial.print ("\t"); Serial.println (average()); long read2= average(); long sensor1 = (read1 + read2)/2; Serial.print ("resistance bias =" ); Serial.println (read1-read2); Serial.print ("sensor bias compensated value = "); Serial.println (sensor1); Serial.println (); delay (3000); } void measure (int sensor, int phase_b, int phase_a, int analog_input) { // read sensor, filter, and calculate resistance value // Noise filter: median filter for (i=0; i<NUM_READS; i++) { // Read 1 pair of voltage values digitalWrite(phase_a, HIGH); // set the voltage supply on delayMicroseconds(25); supplyVoltage = analogRead(analog_input); // read the supply voltage delayMicroseconds(25); digitalWrite(phase_a, LOW); // set the voltage supply off delay(1); digitalWrite(phase_b, HIGH); // set the voltage supply on delayMicroseconds(25); sensorVoltage = analogRead(analog_input); // read the sensor voltage delayMicroseconds(25); digitalWrite(phase_b, LOW); // set the voltage supply off // Calculate resistance // the 0.5 add-term is used to round to the nearest integer // Tip: no need to transform 0-1023 voltage value to 0-5 range, due to following fraction long resistance = (knownResistor * (supplyVoltage - sensorVoltage ) / sensorVoltage)-457 ; delay(1); addReading(resistance); Serial.print (resistance); Serial.print ("\t"); } } // Averaging algorithm void addReading(long resistance){ buffer[index] = resistance; index++; if (index >= NUM_READS) index = 0; } long average(){ long sum = 0; for (int i = 0; i < NUM_READS; i++){ sum += buffer[i]; } return (long)(sum / NUM_READS); } and my hall of fame and shame of sensors I've tried :
    • epierre

      Viration sensor
      My Project • • epierre  

      1
      1
      Votes
      1
      Posts
      1037
      Views

      No one has replied

    • epierre

      Sharp dust sensor
      My Project • aiq • • epierre  

      12
      0
      Votes
      12
      Posts
      6887
      Views

      epierre

      I prefer we close this thread, for another one exist... http://forum.mysensors.org/topic/291/dust-sensor-1-4/9
    • epierre

      Arduino Mega + sensor shield 2
      Troubleshooting • • epierre  

      7
      0
      Votes
      7
      Posts
      5623
      Views

      epierre

      ok this time I plugged myself on the 5V and it works !
    • epierre

      Sensor freeze after a variable get...
      Troubleshooting • • epierre  

      5
      0
      Votes
      5
      Posts
      1765
      Views

      epierre

      @hek not sending from a vera... I recompiled the sketch without serial print and it works again... good lesson for later....
    • epierre

      Sound Sensor
      My Project • • epierre  

      31
      0
      Votes
      31
      Posts
      24720
      Views

      gigaguy

      @epierre thanks. I do have 4 pins, and im using the analog one. I noticed the increasing value you mentioned. I tried to get raw and got a value, but when taking into the mic, the value doesn't appear to change. Does yours?
    • epierre

      Door Bell usage detection / AirFlow usage detection/cutting
      My Project • • epierre  

      9
      0
      Votes
      9
      Posts
      6644
      Views

      bjornhallberg

      @epierre I'm afraid I haven't gotten around to it yet. Partly because I have my CCTV that automatically feeds me images of whoever has the misfortune of stepping on the porch and triggering the motion detection so I haven't been in any great hurry exactly. I have all the components around here somewhere though. Don't know if the ACS712 + logic level conversion is still the easiest approach or if we're over-complicating things here.
    • epierre

      raspi as a sensor
      My Project • • epierre  

      8
      0
      Votes
      8
      Posts
      3178
      Views

      daulagari

      @epierre said: yes this is my idea but I'm unsure about having the raspi writing to serial port ? I think on RPI, you can just do a echo "Message" > /dev/ttyAMA0. See also Serial port programming.
    • epierre

      gw to node: isalive ?
      Development • • epierre  

      17
      0
      Votes
      17
      Posts
      5746
      Views

      epierre

      @marceltrapman @hek that would mean sketched upgrade, but I plus it !
    • epierre

      New sketches: UV, WaterMeter for Reed sensors, Air quality ...
      Development • • epierre  

      3
      3
      Votes
      3
      Posts
      2974
      Views

      epierre

      Hello, first the pot is only for the digital output, it has no effect on the analog one. second, check your wiring, the analog should always report something, make sure the analog you use in the sketch is the one wired ... basic mistake... same for the 5V and ground. there is also a led on the board, if the board is correctly powered at some moment the led should turn up.
    • epierre

      Air Quality Sensor
      Hardware • air quality gas sensor calibration aqi hcho • • epierre  

      270
      0
      Votes
      270
      Posts
      308569
      Views

      rayzyzy

      Hi, Working with tgs2602 , tgs 2620 and tgs2611 . I've read the replies from top to bottom but haven't understood how exactly i take data from the graph in datasheet and use it with power regression .
    • epierre

      serial reading
      Troubleshooting • • epierre  

      34
      0
      Votes
      34
      Posts
      16677
      Views

      epierre

      @jendrush mysql is only a small conf change (replace dbi:SQLite:dbname=mysensors.db by DBI:mysql:database=$database;host=$hostname;port=$port