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
B

brakc

@brakc
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Uno+ethernet shield = radio init fail [solved]
    B brakc

    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?

    Troubleshooting

  • pb compilation MEGA2560 + sketch W5100
    B brakc

    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?

    Troubleshooting

  • pb compilation MEGA2560 + sketch W5100
    B brakc

    @hek said:

    Development branch should be working for you.

    Branch development is same :disappointed:

    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?

    Troubleshooting

  • Building an Ethernet Gateway on an Arduino Mega
    B brakc

    @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 :sweat:

    Troubleshooting

  • pb compilation MEGA2560 + sketch W5100
    B brakc

    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

    Troubleshooting

  • pb compilation MEGA2560 + sketch W5100
    B brakc

    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.

    Troubleshooting
  • Login

  • Don't have an account? Register

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