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
P

pierrot10

@pierrot10
About
Posts
39
Topics
7
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • Adafruit Feather RFM9X LoRa Radios
    P pierrot10

    Dear Frank,
    I do not know if I can help because I do not know mysensors script.
    If you can send pictures of your board and how you connected the wire it can help.

    From Arduino IDE, make sure, you select the correct board. Go to Tool -> Board and select the 'Adafruit Feather MO' board

    2 weeks ago, I sent you a picture of my connection. I do not think it will work for you, because I am using LoRaWAN with Arduino LMIC library.

    Apparently you do LoRa with a client and a server (radiohead). Thoses examples should help you

    Hardware

  • Adafruit Feather RFM9X LoRa Radios
    P pierrot10

    @frank-c Hello. That's correct, MO has ATSAMD21.
    The main difference is the clock and first of all the Flash

    At the Feather M0's heart is an ATSAMD21G18 ARM Cortex M0 processor, clocked at 48 MHz and at 3.3V logic, the same one used in the new Arduino Zero. This chip has a whopping 256K of FLASH (8x more than the Atmega328 or 32u4) and 32K of RAM (16x as much)! This chip comes with built in USB so it has USB-to-Serial program & debug capability built in with no need for an FTDI-like chip.

    I am not sure but with the LMIC library you may just have enough space with Adafruit RFM95W LoRa Radio. With my project I using other library and the MO is necessary.

    Yes you code will work with MO.

    If you are a beginer, look at this .

    I use a Adafruit Feather M0 Adalogger with RFM95 but the connection is a bit tricky and I can not find the web page which helped me, some year ago but may this can help
    0_1569800354019_Screenshot 2019-09-30 at 01.38.47.png

    RFM95 => Feather MO board
    CS => 24
    RST => 29
    DIO_1 => 25
    DIO_2 => 28
    IRQ => 27
    MISO => MISO
    MOSI => MOSI
    SCK => SCK

    But if do not need to work with an SD car, you should bette user an MO radio board .

    Any way, look at this It should be a good start (look at Prepare the Device)

    Good luck

    Hardware

  • Adafruit Feather RFM9X LoRa Radios
    P pierrot10

    @frank-c Could you send pictures of your board?
    Which Feather board are you using? I recommand you a Feather MO
    Adafruit Feather M0 Basic Proto
    Adafruit Feather M0 Adalogger
    Adafruit Feather M0 RFM69HCW

    with a such radio module?

    [https://www.adafruit.com/product/3072](Adafruit RFM95W LoRa Radio)

    I am looking for a web page which help me a lot, but unfortunately I can find it for the moment.

    But here is alink which may help
    Prepare the Device

    Hardware

  • How can I monitor the humidity of a wall (house)
    P pierrot10

    Dear All
    I am very sorry for the late reply but I did not give up that project. (I do not get a e-mail when you posted a message. (I will check my preferences).

    First I would like to tanks you for all of you suggestion and specially to @AffordableTech for his great proposal.

    I have some BME280 and I can use one to measure the room humidity as suggested Paul.

    I also red a suggestion to put another sensor on the wall (not into) the wall. I am a bit suspicious about that, because as long as it on the surface of the wall, the humidiity of the room will interfer with the measure of the wall.

    I am agree with Paul, to drill the wall is a good idea.

    But will the the wall have the same moisture in all of it surface? That the reason why, I though more easier to have some Stainless steel nail as the hole would be small.

    By the way:

    But something else, why is the father not finding the rootcause for the wall to become wet?

    he needs to put the energy in fixing the wall, permanently

    Yes of course, this should be done once, but now the request is to find where is the most wet zone of the wall, but first to obeserve how to wall get wet during the winter season.

    No body compared the nails idea!
    I could have 9 pair of nails (3 at the bottom, 3 at middle and 3 at the top of the wall). With a LMC555 . I already developped a such solution to measure the Soil Water Potential in soil, with Arduino and LoRaWAN. The nail hole are very smaller than a 20mm hole :)

    I have to assembled two PCB for that projects and I will do over the week-end. I am not sure if I will have time to try the discussed suggestion (Paul's suggestion and Stainless steel nail), but I will keep you informed about the progress

    @AffordableTech if you are still around, how would you compare your suggestion and the Stainless steel nails idea?

    here is how I plan to do. I already have a PCB ready for that working with a LMC555.
    LMC555

    The nails will be connected to the J21. I think, the pair of nails, will be at 2-3cm each other. When P1 is Low, the LMC55 is powered with 3.2V for 2-3 sec. This circuit is designed to have a frequency in response on A1. More the frequency is high, more the zone is wet. More the frequency is low, more the zone is dry. For now, if I can analyse the zone with frequencies, is fine. I will have to adapt my Arduino code of course, but I think interesting to try. On my PCB , I have a LoRaWAN module to send the value to a gateway. Where is the house there is no GSM coverage, Then the gateway will be connected to a neighbour WiFi network. The two house are close, then no issue about distance and transmission. I will get the measure on my server (graph) in real time. That circuit is for Soil moisture, but as the Watermark sensor works with two electrod in a granular sand, I believe the 2 nails could be the two electrond but in a wall. Isn't? I will try it and see if I am a dreamer or nor (laugth). Can it be a good idea?

    Note: my module is based on Adafruit boards (feather MO)

    In any case, I will also try to drill the walls of my mother house, in the cave, as suggested me Paul. But I am not sure yet, how I will protect the BME280 (or other) to be damage after some months of measurement.

    I will keep you inform about the progress in the following weeks (I am employed during the weeks)

    I am still novice about that project and looking for experience and suggestion. Then feel you free to give me your point of view about nails idea and of course, I will consider all @AffordableTech suggestion. there are very interesting, for sure.

    Let's see.
    Thank a lot

    Development

  • How can I monitor the humidity of a wall (house)
    P pierrot10

    @kimot said in How can I monitor the humidity of a wall (house):

    Stainless steel nail knocked into wall or drill hole and put carbon rod from disassembled AA battery into it

    I already have an good experience with Soil Water Potential sensor and I have the code. The Stainless steel nail seem to be a good idea but I do not understand what you means with

    drill hole and put carbon rod from disassembled AA battery

    I could try to connect the Stainless steel nail into my module and see which kind of result I have. My module apply an alternate voltage and return frequences, but I can easly modify to get a resistance value of a zone of the wall.

    My worries is the sensors (or electrod) to insert into the wall, but Stainless steel nail seem to be a good start.

    Development

  • How can I monitor the humidity of a wall (house)
    P pierrot10

    Hello,

    The parent of a friend of my, have an house in France. We are based in Switzerland.
    In winter, the wall get very very humid and each sprint his father repair the wall, which is creasy job.

    I do have soil moisture sensor, but it only work in soil. He asked me how he can monitor the wall of the most humid room, to watch the evolution of humidity during the cold season.

    I wonder, if there are electrod / sensor, I can connect to Arduino and RFM95 (LoRaWAN) module to get the measure in realy time.

    My concern is now the sensor. Do you know some thinks can help me?

    I suppose, I could insert into the wall some electrod big as the nails and as I do with my soil sensor, apply an alternate voltage to get the resistance of the zone where are insert the electrod.
    I could insert serveral couple of electrod into different location of the wall and monitor the resistance of the different location.

    But which kind of electrod? which kind of sensors?
    Do a infrared camera can help?
    (I do have an infrared temperature sensor, as well)

    Many thanks for your suggestion

    Development

  • How to monitor the foliage Evapotranspiration with arduino
    P pierrot10

    Good day all,

    I actually monitor the amount of water of some appale tree in a orchard with 3 Watermark sensors.
    In order to have better result on how and when to watering the apple orchard, I would like to monitor the evapotranspiration of the crop or better, the foliage.

    I once saw an evapotranspiration sensor but I can not find anymore.

    Someone would have a recommandation to monitor the evapotranspiration of the plants, with Arduino? (sensor, how to?...) Is there sensore for that purpose?

    Many thank for any tips and hints to start my task

    General Discussion irrigation evapotranspiration sensor

  • How to read frequency and SWP output from watermark sensor
    P pierrot10

    @suhaila96 Hello I have not seen your question since I reviewed this topics, today.
    What do you mean about "setup your circuit"? How did you connected you watermark sensor and to what?

    Development arduino watermark frequency moisture pulse

  • How to measure freezing on buds
    P pierrot10

    This can be very interesting to meaure surface temperature
    SI-111. but what's the price?

    Hardware bug freeze sensor

  • How to measure freezing on buds
    P pierrot10

    Thank for all of your replies
    @gohan and @sglue Yep, it's was I found here radiation frost
    So, normal temperature is not enough

    Question is, why would you want to "watch and measure the buds" freeze?
    It would be too late to save your crops.

    The idea is to alert the owner before the critical point. But now, if there is only 2-3 degree of difference with the air temperature, will the owner interrested to watch the bud temperature. If he has a fun as show @mfalkvidd on the picture, we may better have a soli temprature which will turn on the wind turbine when the soil is close to 1-2C?.

    In any case, if the owner crop is alerted when the temperature is closed to 1-2C, will he have time for an action? I guess, he will prepare the protection for the winter. Isn't?

    (I am not farmer)
    Thank to all. I will continue investigating with

    Google "how to measure bud freezing point" lots of info.

    Hardware bug freeze sensor

  • How to measure freezing on buds
    P pierrot10

    @yveaux Hello.
    How would you put a temperature sensor into a buds and be certain that the sensor will only monitor the bud temperature and not the ambiant temperature?

    bud

    Then I am not an expert as well, but one of my friend told me, they can spray a product over the bud and keep the bud temperature at 1-2C while the ambiant temperature goes below 0C

    He told me, an equation exist, which take in consideration the humidity and the ambiant temperature to know the bud status.

    But I was wondering if there is existing solution to monitor specially the buds temperature?

    Hardware bug freeze sensor

  • How to measure freezing on buds
    P pierrot10

    Hello!
    I hope your are well.
    I work on a nice project to measure moisture soil of crops /horchad. It work fine now! and I am very happy even if there still something to improve.

    Now, I am thinging about the winter and specially in February, when the buds grow before the fruits appear, ... and the freez.

    If the buds freezes, there is no flower, no fruit.

    I wunder, if one of you know how can watch and measure the buds. I heard the the ambient temperature is now enough to prevent the buds to be freezed.

    Some of you has an experience how to have a sensor which measure the buds?
    Some tips and hints?

    many thank

    Hardware bug freeze sensor

  • How to read frequency and SWP output from watermark sensor
    P pierrot10

    @hard-shovel
    Dear Hard-shovel.
    In any case, thank a lot for your great help. Your participation helped me a lot and I would like to thank you again.
    Now I am very happy with the result. I still keep an eye on it.

    First I planted them in 3 different level: 15cm, 30cm and 45cm. Then I replanted them to try to observe the bulb of water: I planted them at (distance/deepth) 15cm/30cm, 15cm/60cm and 30cm/30cm from the point where drop the water. (I also make sure that all sensor have a distance of 30cm from each other to avoid interfrences). But as the ground is tilted, the drop do not fall where I expected.
    Badly planted
    Next step, I am going to change the position of my 3 watermark, making sure that the drop falls on the line of the sensor, as the following:
    correct

    When I planted them into the soil and see the difference of the result.

    Do you have any suggestion to plant the 3 sensor?

    In any case, tanks a lot. You helped me a lot.
    Enjoy the end of sommer!

    Cheers

    Development arduino watermark frequency moisture pulse

  • How to read frequency and SWP output from watermark sensor
    P pierrot10

    @hard-shovel
    Hello, Yes. Thank a lot to follow my topic :)
    This morning I soaked it again the sensor into water for about 1 hour and I let it dry under the sun. It looks now really better ( See Station 3 ). I am happy with the result specially for Station 1 and 2 since yesterday 12h (UTC). Thanks a lot.

    Development arduino watermark frequency moisture pulse

  • How to read frequency and SWP output from watermark sensor
    P pierrot10

    @hard-shovel said in How to read frequency and SWP output from watermark sensor:

    the red line on the chart is showing an error in the processing as it should not jump in stages.

    Hello, what do means by jump in stage with the red line?
    Twice, the node could not send data but this due to a small error from me. Today, all data have been sent. Today, I left the node and the sensor outsite under the sun and I juts brang it back inside and the RWM went a little bit down. I am going to upload the code with your change, That great because right now the RWM is 88

    Development arduino watermark frequency moisture pulse

  • How to read frequency and SWP output from watermark sensor
    P pierrot10

    Hello Hard-shovel !
    Are you still around?
    I ma still doubting about my SWP value returning by my sensor and by the code to calculate it.

    Until last week, I was used to use the great code you provide to me

    resistanceCalc(frequency, wrm);
            Si.sprint(F("WRM: "),2);
            Si.sprintln(wrm,2);
            kPaCalc(wrm, Tsoil, swp);
            val = swp;
    

    But I was always suspicous about the SWP value. I also bout a WATER digital reader and the values never matched.
    All the graph/line of Station3 is calculate with a temperature of 24Celcul. As sensor is in a room where the temeparture is between 24C and 28C, a small tolerence must be "accepted" :)

    Last week I used this to get the WRM (Watermark resistance)

    wrm = map(frequency,48,13233,27950,550)
    

    but never use it. The result is wrong. I compared with datsheet of the Isometer and the result never matches.

    However, your table works fine

    //---------------------------------------------------------------
    void resistanceCalc(float frequencyInput, int32_t &wrm){
      wrm=0;
      // Convert from freqency to Resistance measurement
      // From SMX.pdf datasheet, page 6
      // 48 Hz    = 10,000,000 Ohms
      // 76 Hz    =    262,144 Ohms
      // 13233 Hz =          0 ohms 
      // using lookup table held in the array  RESISTORarray   
    
      //frequencyInput = constrain(frequencyInput,50, 13233);
      //float newVal;
      if (frequencyInput <= RESISTORarray[0]) {     // Minimum value
        wrm = RESISTORarray[0+1];
      }
      if (frequencyInput >= RESISTORarray[74]) {     // Maximum value
        wrm = RESISTORarray[74+1];
      }  
      for (int i=0; i<74; i=i+2) {
        if ((frequencyInput >= RESISTORarray[i]) && (frequencyInput <= RESISTORarray[i+2]))
        {
          wrm = RESISTORarray[i+1] - ((RESISTORarray[i+1]-RESISTORarray[i+3]) * ((frequencyInput-RESISTORarray[i]) / (RESISTORarray[i+2]-RESISTORarray[i])));
          break;
        }
      }
      Si.sprint(F("WRM: "),2); Si.sprintln(wrm,2);
    }
    

    In order to be fixed this question, I used my LoRa node to send the wrm, swp and a second swp to my server and observe the diffrence.

    Look at this web page (go to Station 3)
    Station 3 (Teste)

    Note:
    Station 1 and 2 are two station on fields.
    Station 3 is a node I have at home. I put a little of water on matrix of the watermark until the SWP go to 8kpa and left it dried 1,5 day until the the SWP is 200kps. one hour ago, I put the watermark sensor into water for one hour, and I am going to leave it drying under the sun and compare the graph. Today afternoon (15.9.2018), I am going to update the code of station 1 and 2 to get the SWP value with the equation of Shock

    The red line is the WRM in Ohm and not ml/h (I have not change the unit).
    The yellow line is the SWP return with the equation of Shock

    swp = (int16_t)(3.213 * (wrm/1000) + 4.093) / (1 - 0.009733 * (wrm/1000) - 0.01205 * Tsoil);
    

    and the violet line is the SWP return by

    void kPaCalc(int32_t ResistanceInput, int16_t FTemperatureInput, int16_t &swp){
      // Convert from Resistance to SWP kPa measurement
      // From SMX.pdf datasheet, page 7
      //   550 Ohms =  0 SWP kPa
      //  6000 Ohms = 35 SWP kPa
      // 28075 Ohms =200 SWP kPa
      // using lookup table held in the array  SWPkPAarray   
      // table valid for temperature of 75F, 24C
      // for increase of 1°F increase resistance by 1%.
      // ** this function accepts temperature in Fahrenheit units **
      //float newVal;
    
    
      // Adjust compensate resistance for temperature and cpnvert celculs to Fahrenheit
      // per page 8 of SMX.pdf 
      swp=0;
      float ResistanceCompensated =  ResistanceInput *(1 + 0.001*((FTemperatureInput * 1.8 + 32)-75));
      Si.sprint(F("WRMc: "),2); Si.sprintln((int16_t)ResistanceCompensated,2);
      
        if (ResistanceCompensated <= SWPkPAarray[0]) {     // Minimum value
        swp = SWPkPAarray[0+1];
      }
      if (ResistanceCompensated >= SWPkPAarray[16]) {     // Maximum value
        swp = SWPkPAarray[16+1];
      }  
      //for (int i=0; i<SWPkPAarray.length-2; i=i+2) {
      for (int i=0; i<16; i=i+2) {
        if ((ResistanceCompensated >= SWPkPAarray[i]) && (ResistanceCompensated <= SWPkPAarray[i+2])) {
          swp = SWPkPAarray[i+1] - ((SWPkPAarray[i+1]-SWPkPAarray[i+3]) * ((ResistanceInput-SWPkPAarray[i]) / (SWPkPAarray[i+2]-SWPkPAarray[i])));
          break;
        }
      }
      //return newVal;
    }
    

    It's interresting to see that the kPaCalc() progress as a step and stop at 100kpa and jump at 200kpa only when the wrm is 27950.

    I used

    constrain (wrm,550,27950)
    

    so the wrm will not be display higher than 27950 even if it can go over 27950 as say the doc.

    The equation of Shock look perfect and I controlled it with Watermark data reader. The result is similar with a tolerance of 5-10kpa.
    From graph (See Station 3), I also compare the WRM and the SWP from the doc (see page 7) and SWP value matches.

    I wonder why, in the array

    long SWPkPAarray[18]{
    // Watermark Sensor SMX interface Resistance to SWP kPa lookup table per SMX.pdf page 7. 
    // this table is valid at temperature of 75F, 24C  
     550,  0,
    1000,  9,
    1100,  10,
    2000,  15,
    6000,  35,
    9200,  55,
    12200, 75,
    15575, 100,
    28075, 200,
    

    you do not consider a SWP between 100kpa and 200kpa.
    I thing it's very interresting to have value from 100kpa and 200kpa, as 100kpa is the moment when soil need to be irrigate and more we come close to 200kpa, more is dangerous.

    In any case, your function kPaCalc2() from the code you provided to me, 3 mounth ago seems to be best.

    Thank for all
    Cheers

    Development arduino watermark frequency moisture pulse

  • How to calibrate a gauge sensor
    P pierrot10

    @pierrot10
    I make easier. If one liter make 358 tips. One bucket has a value of 2.7932

    rain fall [mm/h] = 2.7932 * nb of tips
    
    General Discussion gauge calibrate rain gauge rainfall

  • How to calibrate a gauge sensor
    P pierrot10

    @mfalkvidd said in How to calibrate a gauge sensor:

    You are pouring everything into the funnel, right?

    Hello, yes that right, I poured the litre from my bottle into the funnel.

    If you take a regular drinking glass and pour 1 litre into it, will the height of the water in the glass be 1mm?

    Yes, of course, that make sense!

    I forgetten, but my 3 gauge are in the filed and I can neasure the area surface, unfortunately, but let's say, it 0.05m*0.11m = 0.0055m2 or 55000mm2. I do have the same as below
    alt text

    So in my case, each tips will be egal to
    0.2794mm of high over 0.0055m2 of surface

    If I know I need 358 tips for 1 liter of water (is egal of 1mm over 1m2) within 1 hour. How can I make sure that 0.2794mm is the correct value of my bucket?

    0.2794*358=100.02mm/h
    

    But 100.02mm/h is over 0.0055m2 of surface.

    But how can I calculate the high if I poured the same amount of water in 1m2
    It should be 1mm because we know that 1 liter over 1m2 has a hight of 1mm

    But how calculate it in order to make sure that 0.2794 is the correct value of the bucket?

    General Discussion gauge calibrate rain gauge rainfall

  • How to calibrate a gauge sensor
    P pierrot10

    @pierrot10 Other stupid question, does 1liter of water from a bottle, will cover 1m2 of surface with a high of 1mm?

    I red, 1mm/h is egal to 1liter over 1m2 with a high of 1mm

    For sure, I missundertand something :confounded:

    General Discussion gauge calibrate rain gauge rainfall

  • How to calibrate a gauge sensor
    P pierrot10

    @mfalkvidd Ok, but if the diameter of the hole of the funnel does not change, dot it really make a difflrence?

    What is unclear for me,

    • I which to display the result in mm/h.
    • If I full up 1 liter of water into a bottle, I got about 353 toggles.
    • If divide 1000ml by 353 I get 2.832mm

    Let's say, I wrongly counted the tips of the buncket (I may missed 2or 4 tips over 353) and there were 358 tips then

    1000/358=2.793 => 2.794
    

    Are you agree with my reasoning?

    Should I conclude that bucket is 2.794 and not 0.2794?

    BUT, I oft read this

    The rain gauge is a self-emptying 
    tipping bucket type.  Each 0.011” 
    (0.2794 mm) of rain causes one mo
    mentary contact closure that can 
    be recorded with a digital counter or
     microcontroller interrupt input
    

    I am a bit frustrated because I oft read the number of 0.2794 and I have the same gauge meter as the above picture.

    Then if within one hour, my bucket tips 358 time because I poured 1 liter of water, the calcul is

    358*0.2794mm=100.02mm/h
    

    BUT, 1mm/h is egal to 1liter of water (for 1m2)

    So I guess my problem is a mathematical issue :sweat_smile: , or conversion. Isn't? I missed something :fearful:

    If I make an error of conversion and specially, if I forget to take in consideration the area of the funnel surface.

    I am bit confuse :)

    I am not at home yet, and I can not calculate the surface of my funnel yet but I will do as soon as possible (it should be around 50mm*110mm=5500mm2)

    General Discussion gauge calibrate rain gauge rainfall
  • Login

  • Don't have an account? Register

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