Navigation

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

    Tris

    @Tris

    7
    Reputation
    18
    Posts
    530
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Tris Follow

    Best posts made by Tris

    • RE: MySensors 2.1.0 Released

      I guess everyone else is waiting for their RFM95 radios to arrive in the post from China?!?

      I can confirm that MySensors 2.1 works on ProMini (W5100 MQTT Gateway & ProMini Node) using RFM95/LoRa.
      I used the wiring and edited the W5100.h file (not sure i needed to, i tested RFM69 working first) as in this post in the forum - [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      The node didnt connect to the gateway at first but after adding capacitors, stating the RFM Frequency and reducing the transmit power to 2 (gateway and node were 1m apart), it came to life.
      Just tested with door switch but all looks good.

      Thanks MySesnors!!

      posted in Announcements
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      Jonathan Caes - i used your amended #else code in W5100.h file, along with wiring/pinout from Frédéric Grandjean, and example Mysensors MQTTClientGateway sketch and got a ProMiniMQTTW5100Gateway working.
      You are trying Ethernet gateway (not MQTT like me), but i think you may have a radio problem - i used 10uF and 1uF caps for the RFM69 radio and separate 3.3V supply (havent tried powering radio directly from ProMini VCC though.

      posted in Troubleshooting
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      The Ethernet and MQTT wiring is the same (according to main MySesnors instructions).

      As far as protocols go, I choose the MQTT route because its simple and lightwieght, tipped to be a big player in IoT.

      Im not a Mysensors expert, more of a hardware guy, but briefly looking at your diagram - i havent grounded the reset pin on the RFM69 like you have.
      Try cutting that track so it floats

      posted in Troubleshooting
      Tris
      Tris

    Latest posts made by Tris

    • RE: Dragnio LG01 LoRa gateway

      @lafleur Great find, im tempted to test one out...

      posted in General Discussion
      Tris
      Tris
    • Driveway Alarm / Vehicle detection

      After extensive googling i found others who had successfully used a HMC5883 magnetometer/compass to detect metal vehicles - AKA cars.

      The use cases are around car parking (detect when car space is free) and car counting (counting number of cars that use a road).

      I would really like to use this HMC5883 sensor to detect a car moving past the sensor, to act as a cheap driveway alarm.

      I am hoping to use a battery powered node for this, and i think a big induction is too power hungry loop and i would like to avoid digging and placing a sensors in the road.

      Existing driveway alarms seem to use a (magnetic field change?) probe to detect a car, but i cant find just the probe available, and kits are quite expensive and defeat the point of MySensors - DIY!!
      The HMC5883 solution would be low power and i could maybe get away with the sensor/node beside the road and not underneath it.

      I discovered this: https://gitlab.com/ColoradoSchoolOfMines/parking_sensor/commit/cca7b040654297fd06bc806e0ca8cef844f8d456
      which works - serial prints CAR in or CAR OUT when a car moves past the sensor.
      I tried to blend the above sketch with a MySensors sketch (and failed) - the gitlab code is way over my head and i think it uses memory that MYS also uses....

      Has anyone played with the HMC5883 for a similar purpose?

      @fleinze can you please share your code from your "Fun with magnetometer / digital compass sensors" post?

      Anyone else interested in this car detection idea?

      posted in Hardware
      Tris
      Tris
    • RE: MoteinoMEGA on 2.0.1 error compiling

      I think i still get the same "digitalPinToInterrupt" compile error as @lafleur (has 2.1.1 fixed this for you?) with MoteinoMega but im now on Mysensors 2.1.1
      Im trying a RFM95MQTTGateway.

      In the sketch i have defined:

      #define MY_RFM95_SPI_CS            4
      #define MY_RFM95_IRQ_PIN           2
      
      In file included from C:\Program Files (x86)\Arduino\libraries\MySensors/MySensors.h:304:0,
      
                       from C:\Users\somewhere..........Node101Motion_rfm95v1test.ino:54:
      
      C:\Program Files (x86)\Arduino\libraries\MySensors/drivers/RFM95/RFM95.cpp: In function 'bool RFM95_initialise(float)':
      
      C:\Program Files (x86)\Arduino\libraries\MySensors/drivers/RFM95/RFM95.cpp:165:60: error: 'digitalPinToInterrupt' was not declared in this scope
      
        _SPI.usingInterrupt(digitalPinToInterrupt(MY_RFM95_IRQ_PIN));```
      posted in Development
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      Try adding the pins to the sketch

      #define MY_RF69_SPI_CS 10
      #define MY_RF69_IRQ_PIN 2
      
      posted in Troubleshooting
      Tris
      Tris
    • RE: MySensors 2.1.0 Released

      @hek @tekka do you know if MySensors 2.1 will work with the higher power RFM95PW?
      http://www.hoperf.com/upload/RFM98PW_RFM95PW RF Transmitter and Receiver Module Datasheet REV1.1.pdf

      posted in Announcements
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      Only thing i can think of, is quite basic but i do it myself quite often.
      Remember to put the // lines back infront of the soft spi line in MyConfig.h file.
      You only need that for NRF24 W5100 setup

      Also define the new MI/MO/SCK pins in the sketch

      #define MY_SOFT_SPI_SCK_PIN 13
      #define MY_SOFT_SPI_MISO_PIN 12
      #define MY_SOFT_SPI_MOSI_PIN 11```
      posted in Troubleshooting
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      The Ethernet and MQTT wiring is the same (according to main MySesnors instructions).

      As far as protocols go, I choose the MQTT route because its simple and lightwieght, tipped to be a big player in IoT.

      Im not a Mysensors expert, more of a hardware guy, but briefly looking at your diagram - i havent grounded the reset pin on the RFM69 like you have.
      Try cutting that track so it floats

      posted in Troubleshooting
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      I THINK with the W5100.h file amended.

      try using Mysensors ClearEepromConfig too

      posted in Troubleshooting
      Tris
      Tris
    • RE: [SOLVED] W5100 Ethernet gateway with RFM69 Radio fails at init

      For W5100 shield on Uno with RF69 as a Gateway, i used:
      DI00 - Pin 2
      NSS - Pin 4 (3.3v level shifter)
      MOSI - Pin A1 (3.3v level shifter)
      MISO - Pin A2
      SCK - Pin A0 (3.3v level shifter)

      Leave as pins 14/15/16 in MyConfig.h file - the Uno uses digital pins 14-16 physically as A0-A3.

      Using a level shifter makes the ProMini more viable as it is 3.3v and you dont need a shifter.

      posted in Troubleshooting
      Tris
      Tris