Navigation

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

    lafleur

    @lafleur

    40
    Reputation
    122
    Posts
    1308
    Profile views
    1
    Followers
    1
    Following
    Joined Last Online

    lafleur Follow

    Best posts made by lafleur

    • Multi-sensor soil moisture node

      This is a work in progress! , but most everything works.

      0_1487524799943_Screen Shot 2017-02-19 at 9.17.43 AM.png

      Heavy rain lately, so soil is at 100% saturation...

      This was developed with MySensor 2.1.1  https://www.mysensors.org/
      IDE 1.81
      SAMD 1.6.11
      RocketScream M0 with RFM95 radio
      

      Data from the sensor to MQTT-gateway to MQTT to (Telegraf to InFluxdb to Grafana)
      Controller function via NODE.RED connected via MQTT.

      It measures soil moisture from 1 to 4 sensors, has options for soil and air temperature.
      Support MCP9800 or Si7021 (humidity also) or temp sensor in DS3231 for air temp
      DS18B20 for soil temp
      Support of a water pressure sensor via an analog port
      Has a DS3231 Real Time clock to wake up processor at designated hour
      Has support on the board for a flow meter and pressure sensor (but no software in this code base)
      Solar, battery Powered or via 8 to 28v AC or DC
      Sleep's most of the time and just wakes up to see if its time to send a report.
      Support for requesting and receiving time of day for setting RTC
      Support for updating sensor tx schedule via V_VAR1
      (Board is designed to fit in a Hammond 1554 case)

      https://github.com/trlafleur/Soil_Moisture_Sensor_MS_R1.1-RFM95

      http://www.rocketscream.com/blog/product/mini-ultra-pro-with-radio/

      Sensor are made from plaster of paris (gypsum)

      http://vanderleevineyard.com/1/post/2012/07/the-vinduino-project-2-making-and-installing-gypsum-soil-moisture-sensors.html
      http://www.irrometer.com/sensors.html#wm
      https://www.amazon.com/Delmhorst-GB-1-Gypsum-Sensor-Moisture/dp/B0002IKRUS (pkg of 10 each)

      Based on the work of: Reinier van der Lee, www.vanderleevineyard.com

      0_1487526137636_IMG_5178.JPG 0_1487526144517_IMG_5177.JPG 0_1487526150950_IMG_5308.JPG

      posted in My Project
      lafleur
      lafleur
    • RFM95 Soil Moisture Sensor

      This is a work in progress! , but most everything works.

      It measures soil moisture from 1 to 4 sensors, has options for soil and air temperature.
      Support MCP9800 or Si7021 (humidity also) or Temp sensor in DS3231 for air temp
      DS18B20 for soil temp
      Support of a water pressure sensor via an analog port
      Has a DS3231 Real Time clock to wake up processor at designated hour
      Has support on the board for a flow meter (but no software in this code base)
      Uses a RocketScream Mini-Pro M0 CPU with an RFM95 radio
      Solar, battery Powered or via 8 to 28v AC or DC
      Sleep's most of the time and just wakes up to see if its time to send a report.
      (Board is designed to fit in a Hammond 1554 case)

      https://github.com/trlafleur/Soil_Moisture_Sensor_MS_R1.1-RFM95
      

      Sensor are made from plaster of paris (gypsum)

      http://vanderleevineyard.com/1/post/2012/07/the-vinduino-project-2-making-and-installing-gypsum-soil-moisture-sensors.html
      
      http://www.irrometer.com/sensors.html#wm
      
      https://www.amazon.com/Delmhorst-GB-1-Gypsum-Sensor-Moisture/dp/B0002IKRUS
      

      Based on the work of: Reinier van der Lee, www.vanderleevineyard.com

      posted in Development
      lafleur
      lafleur
    • RE: Sensor IDs, best practices?

      I solved the issue by using extra I/O pins and assign a static node address from a base address + ID bits... In my case below, I used 3 ID pin's.

      /* **************************************************************************** */
      /*                                Before                                        */
      /* **************************************************************************** */
      
       // Before is part of MySensor core 
      void before() 
      { 
      
       
       // need to set up pins prior to reading them...
           pinMode(ID0, INPUT_PULLUP);
           pinMode(ID1, INPUT_PULLUP);
           pinMode(ID2, INPUT_PULLUP);
           
           myNodeID  = !digitalRead (ID0);                     // ID bit are 0 = on, so we invert them
           myNodeID |= (!digitalRead(ID1) << 1);           
           myNodeID |= (!digitalRead(ID2) << 2);
      
           myNodeID += NodeID_Base;                            // set our node ID
      
           // We no longer need these pins, so remove pullups to save power
           pinMode(ID0, INPUT);
           pinMode(ID1, INPUT);
           pinMode(ID2, INPUT);
      }
      
      
      posted in Development
      lafleur
      lafleur
    • RE: [Solved] MQTT ESP8266 Gateway 1.6

      This has been fixed.... It was an error on my part, I had a unlisted device with the same IP address as the GW... it was a pain to find this as GW would work for 3 to 4 hours.

      I have tested removing access point and GW re covers
      I remove MWTT broker and GW recovers

      posted in General Discussion
      lafleur
      lafleur
    • Apex-Ademco-Honeywell D6100 Alarm interface

      This is a MySensor program to control, interface with an APEX Destiny 6100(AN) Alarm panel. This is an older alarm panel, but its capability exceed what can be found on current Honeywell-Ademco panels.

      Apex was bought by Ademco who was bought by Honeywell. Its is NOT compatible with current Honeywell-Ademco panels, but has the framework to be adapted.

      My system has 63 active zones, most are using wireless Ademco-5800 series sensors

      It read's and parses serial data from the alarm and format them into MySensor messages.

      This is running on a MoteinoMEGA, and connect to the D6100 via a TTL serial interface
      Radio is 915MHz RFM69HW
      Tested with MySensor 2.0.0 beta
      Tested with D6100 firmware 8.07

      https://github.com/trlafleur/Sensor_D6100
      
      posted in My Project
      lafleur
      lafleur
    • Sensor PWB, with analog digital I/O, relays, MCP9800, Si7021

      Sensor 1
      This device was designed to be a remote sensor in a MySensor or LowPower network, but can be adapted to any network that uses RFM69W(H) radios and a Moteino ATmega328 processor.
      Basic functions:

      1. Carrier for a Moteino processor with a RFM69W(H) radio
      2. Power supply 8 to 24V AC or DC
      3. Condition pulse counter with 1st order pulse filtering
      4. 2 Relay outputs, that can be converted to FET output with a jumper
      5. 3 Analog input with scaling and filtering, can be converted to digital I/O
      6. 4 LED’s for device status
      7. An MCP9800 temperature sensor, and or
      8. An Si7021 temperature and humidity sensor
      9. Designed to fit in a Hammond 1554C water resistant case

      The power supply is designed to be run from a standard irrigation 24V AC power source, but can be run from 8 to 24V AC or DC. Input power is fused with a PTC and then connected to a bridge rectifier, filtered with a large capacitor and then connected to a Pololu D24V6F5 ($6), 5V 600ma switching power supply or a 300ma version, D24V3F5 ($4), or there is also space to use a TI TL720M05 three terminal regulator in a TO252 package.

      The pulse input provides a 1st order filtering of pulses from mechanical (reed) switch as found in many water meters. Switch de-bouncing-filtering is done by R7, D3, R9, C7 and U1. The 74AHC14 inverter has a Schmitt trigger input to help with noise immunity and will provide high voltage isolation on the input. (See the reference below on how it works.)

      The output of the 74ACH14 is connected to the T1, 16bit counter on the ATmega328 processor. This can be used with simple code to count pulses without the need for interrupts. This method also continues to operator during processor sleep.

      This input can be converted to a conventional, input circuitry by selection components. IE: to use a hall effect sensor, you could remove R7, D3, C7 and replace R9 with a zero ohm resistor as needed.

      http://www.ganssle.com/debouncing.htm

      Relays are driven by a N-FET from the Moteino I/O pins. Diodes across the relay coils are for back EMF. An optional jumper connected across pins 6 and 7 of the relay bring the FET outputs to the “C” pin on J3 for direct FET connection.

      
      On the analog inputs, two input resistors and the capacitor do analog input, filtering and scaling. Again, these components can be replaced as needed to provide a direct connection to the Moteino as analog or digital I/O pin.

      If you don’t need all of the input pins on J2, you can stuff smaller connectors on the board.
      Options for an MCP9800 temperature and/or a Si7021 temperature-humidity sensor. The I2C module of the processor controls these devices.

      PCB files, schematics are on Github... I use Seeed Fusion for board.
      (also located here is my Raspberry PI2 to Moteino gateway board)

      https://github.com/trlafleur

      posted in Hardware
      lafleur
      lafleur
    • Water flow and pressure Sensor

      WaterMeter-MS-3.0i-RFM95

      Data from the MySensor node to MQTT-gateway to MQTT to Telegraf to InFluxdb to Grafana.
      Controller function via NODE.RED connected via MQTT.

      0_1488549650584_Screen Shot 2017-02-21 at 6.29.37 AM.png

      It measures water flow from a Dwyer WMT2 water meter in pulse per gallon.

      Used a 0 to 100PSI pressure sensor (from ebay), via an analog port.

      Support MCP9800 or Si7021 (humidity also) for air temp.

      Two relay outputs

      3 Analog inputs

      MAX6816 or analog filter for contact de-bouncing for water meter

      Powered via an 8 to 28v AC or DC external power source

      (Board is designed to fit in a Hammond 1554 case)

      Processor is a Moteino R4 LoRa with a RFM95

      Sends:

      • Gal per minutes
      • Gal per hour
      • Gal per day
      • Gal of current flow
      • Total gallons
      • Air Temperature
      • Humidity
      • Water pressure
      • Excessive Flow Message

      https://www.dwyer-inst.com/Product/Flow/WaterMeters/SeriesWMT2

      https://lowpowerlab.com/shop/product/99

      design file are located at:

      https://github.com/trlafleur/WaterMeter-MS-3.0i-RFM95
      

      1_1488551446939_IMG_5072a.jpg 0_1488551446939_IMG_5073a.jpg

      posted in My Project
      lafleur
      lafleur
    • 8Bit or 32Bit processors

      A number of people have ask me about why I'm using 32bit processors when an 8bit will do. Well its simple, for small development projects of less that a few hundreds unit, the larger flash, larger ram, faster CPU, lower power devices, and cheaper raw devices, allow for faster code development... no time wasted on how to save flash or ram space.. seldom having to concern myself about CPU speed.

      If I'm doing a project that requires very large volume, or special needs, I will again consider an 8 or 16bit processor, but again, these days often the 32bit devices are cheaper and more functional.

      Below are a number of CPU boards with RFM69 or RFM95 Radios attach that can be used with MySensor.

      In MySensor space, for my projects, my favorite 32bit processor board is:
      RocketScream M0 ultra pro Ver2, RFM69 or RFM95 radio, battery connector/charger, USB port, EUI64 chip, large external flash, very low power, u.FL or SMA connector, great support...
      http://www.rocketscream.com/blog/product/mini-ultra-pro-v2-with-radio/

      Other 32 Bit:
      Adafruit Feather LoRa M0, NO EUI64, No External flash, battery connector
      https://www.adafruit.com/product/3178 RFM95
      https://www.adafruit.com/product/3176 RFM69

      Non 32 bit processors:
      MoteinoMega LoRa, ATmega1284P, RFM69 or RFM95, EUI64 chip, large external flash, u.FL or SMA connector
      https://lowpowerlab.com/shop/product/119

      Moteino LoRa, ATmega328P, RFM69 or RFM95, large external flash, NO EUI64 chip
      https://lowpowerlab.com/shop/product/99

      Adafruit Feather LoRa, ATmega32U4 CPU, NO EUI64, No External flash, battery connector, RFM69 or RFM95
      https://www.adafruit.com/product/3078

      posted in Hardware
      lafleur
      lafleur
    • API and core documents in .pdf format

      It would be great if the core documents for this project were available in .pdf format on the web site....
      This would make it easy to have a local copy on a tablet or equivalent device for reference...

      Thanks

      posted in Feature Requests
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      @Nca78

      1.27mm headers 5x2 (.05in) Mouser 855-M50-3500542 made by Harwin

      posted in Hardware
      lafleur
      lafleur

    Latest posts made by lafleur

    • RE: 💬 STM32 Sensor Node

      It would be nice if you could post a .pdf of the schematic.... not everyone has the tool to see the board from the .sch file.

      posted in OpenHardware.io
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      @Nca78

      1.27mm headers 5x2 (.05in) Mouser 855-M50-3500542 made by Harwin

      posted in Hardware
      lafleur
      lafleur
    • RE: 💬 Sensebender Micro mk2

      Well, that news to me. I've always use the HCW variant and did NOT noticed the pin change. My error for not looking at the detail... (This was not the case with the RFM69W and HW radios, both shared the same pin-out)

      but again, using the HCW allow one to also use the RFM95 radios, and if you keep power below +13, power consumption is about the same... also the new RFM69 radio driver in 2.2b use adaptive power control as an option, this keep power use to a minimum saving power.

      I just re-checked the data sheets, RFM95 and RFM69HCW do share the same pin-out.

      posted in OpenHardware.io
      lafleur
      lafleur
    • RE: 💬 Sensebender Micro mk2

      Yes, The H = High Power version, C = Compact version 16x16mm pkg, vis 16x19mm pkg

      My error, RFM69CW and RFM69HCW are available, also note that if you do not use the power over +13dbm, power consumption is about the same between the radios.

      https://lowpowerlab.com/forum/rf-range-antennas-rfm69-library/rfm69w-and-rfm69hw-current-consumption/
      
      
      [0_1496604219131_RFM69CW-V1.1.pdf](/assets/uploads/files/1496604221362-rfm69cw-v1.1.pdf) 
      
      
      posted in OpenHardware.io
      lafleur
      lafleur
    • RE: 💬 Sensebender Micro mk2

      Both the RFM69HC and RFM69HCW are available in the smaller package.... again, this would allow RFM95 to be used.

      Thanks...

      [0_1496601875842_RFM69HC_DataSheet_v1.1.pdf](/assets/uploads/files/1496601877634-rfm69hc_datasheet_v1.1.pdf) 
      
      
      posted in OpenHardware.io
      lafleur
      lafleur
    • RE: 💬 Sensebender Micro mk2

      Is this board using the RFM69HCW footprint so that one could also use an RFM95??
      If not, please consider this change and you might want to consider as an option for DIO-1 connected to an I/O pin on the CPU.. (this would also make it compatible with LoRaWan network)

      Thanks

      posted in OpenHardware.io
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      I use the standard Arduino IDE for most things but moving to PlatformIO as it's editor is so much better that the brain dead one in the Arduino IDE

      posted in Hardware
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      @gohan Pro-mini, is a great part, but sometime you need a lot more! 32 bit is the future for me, less power, less cost, more resources....less hassles...

      posted in Hardware
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      @lafleur

      You should also add this to your test code to see debug messages from the MySensor stack.. Also add to gateway, so that you can see what happening on both ends....

      /*  Enable debug prints to serial monitor on port 0 */
      #define MY_DEBUG            // used by MySensor
      #define MY_DEBUG_VERBOSE_RFM69 
      
      posted in Hardware
      lafleur
      lafleur
    • RE: 8Bit or 32Bit processors

      @Nca78

      As manufacturing of chips goes to smaller and smaller die size, chip cost go down and preformance goes up..... older processors cost more to build that newer parts!

      It all means better performance, less power and more features for less money...

      The intel 8080 when it was introduced was $360, power hungry, no ram, no storage, no I/O, needed a lot of support chips.... we have come a long way!!!!

      posted in Hardware
      lafleur
      lafleur