Navigation

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

    brakc

    @brakc

    mysensor newbies

    0
    Reputation
    6
    Posts
    1238
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location France Age 47

    brakc Follow

    Best posts made by brakc

    This user hasn't posted anything yet.

    Latest posts made by brakc

    • RE: Uno+ethernet shield = radio init fail [solved]

      Hello,

      I get same message in the serial : 0;0;3;0;9;radio init fail

      • IDE 1.6.4 on Yosemit

      • MEGA2560

      • Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)

      • NRF24L01+ (1436AH)

      • MySensors Arduino Library v1.5

      • I uncommented #define SOFTSPI in MyConfig.h

      // Enable SOFTSPI for NRF24L01 when using the W5100 Ethernet module
      #define SOFTSPI
      #ifdef SOFTSPI
      	// Define the soft SPI pins used for NRF radio
      	const uint8_t SOFT_SPI_MISO_PIN = 50;
          const uint8_t SOFT_SPI_MOSI_PIN = 51;
          const uint8_t SOFT_SPI_SCK_PIN = 52;
      #endif
      
      • EthernetGateway.ino
      #define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled
      #define INCLUSION_MODE_PIN  3 // Digital pin used for inclusion mode button
      
      #define RADIO_CE_PIN        5  // radio chip enable
      #define RADIO_SPI_SS_PIN    6  // radio SPI serial select
      
      #define RADIO_ERROR_LED_PIN 7  // Error led pin
      #define RADIO_RX_LED_PIN    8  // Receive led pin
      #define RADIO_TX_LED_PIN    9  // the PCB, on board LED
      
      // NRFRF24L01 radio driver (set low transmit power by default) 
      MyTransportNRF24 transport(RADIO_CE_PIN, RADIO_SPI_SS_PIN, RF24_PA_LEVEL_GW);  
      

      CE & CSN pin are différents configuration in MyConfig.h & EthernetGateway.ino. Can I change this?

      Other idea please?

      posted in Troubleshooting
      brakc
      brakc
    • RE: pb compilation MEGA2560 + sketch W5100

      compilation OK !!!

      In fact I move in directory /Volumes/Data/Documents/Arduino

      • DigitalIO
      • list itemMySensors (branch development)
      • list itemPinChangeInt

      ping OK

      but I have fail msg in serial : 0;0;3;0;9;radio init fail

      One suggestion please?

      posted in Troubleshooting
      brakc
      brakc
    • RE: pb compilation MEGA2560 + sketch W5100

      @hek said:

      Development branch should be working for you.

      Branch development is same 😞

      MyConfig.h

      // Enable SOFTSPI for NRF24L01 when using the W5100 Ethernet module
      #define SOFTSPI
      #ifdef SOFTSPI
      	// Define the soft SPI pins used for NRF radio
      	const uint8_t SOFT_SPI_MISO_PIN = 50;
          const uint8_t SOFT_SPI_MOSI_PIN = 51;
          const uint8_t SOFT_SPI_SCK_PIN = 52;
      #endif
      

      And I use default example EthernetGateway.ino

      Other suggestion please?

      posted in Troubleshooting
      brakc
      brakc
    • RE: Building an Ethernet Gateway on an Arduino Mega

      @bruno-araripe said:

      hy guys,
      i have a mega bord, and wiznet ethernet shield, and i want to use this whith ethernet getway. i try many configs, but nothing work. please help me.

      Hy,

      I have a same project and same problem.

      please 😓

      posted in Troubleshooting
      brakc
      brakc
    • RE: pb compilation MEGA2560 + sketch W5100

      Hello,

      DigitalIO
      /Volumes/Data/Documents/Arduino/libraries/Arduino-master/DigitalIO

      MySensors
      /Volumes/Data/Documents/Arduino/libraries/Arduino-master/MySensors

      I don't have utilities directory in MySensors

      For information, if I use EthernetGatway exemple in mysensor site : http://www.mysensors.org/build/ethernet_gateway

      If I comment "#include <DigitalIO.h>" I have a same problem with other include : MySigningNone.h, MyTransportRFM69.h ...

      Only SPI.h is OK

      Thanks for your help

      posted in Troubleshooting
      brakc
      brakc
    • pb compilation MEGA2560 + sketch W5100

      Hello,

      I'm Mysensors user newbie 😉 and I want create Ethernet Gateway

      I use:

      • Arduino 1.6.4 on Yosemit
        --> IDE in System/Applications
        --> library are in /Volumes/Data/Documents/Arduino/Arduino-master (or Arduino-development)
      • MEGA2560
      • Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
      • NRF24L01+ (1436AH)
      • MySensors Arduino Library v1.5

      Pin configuration:
      CE : 10
      CSN : 11
      MISO : 50
      MOSI : 51
      SCK : 52

      I uncommented #define SOFTSPI in MyConfig.h

      But compilation doesn't work. Can you help me please?

      EthernetGateway.ino:59:90: fatal error: DigitalIO.h: No such file or directory
      compilation terminated.

      For information:

      • I tryed master and development branch and it's the same
      • I tryed without Ethernet Shield W5100, same again

      Thank you for your help,

      Fabrice.

      posted in Troubleshooting
      brakc
      brakc