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
Thar0lT

Aleksei

@Thar0l
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @abmantis You can just solder ISP wires to arduino without disconneting NRF. It's programming well (I've already tested this solution with my network)

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @tekka @jkandasa
    Thank you.
    I've added

    #define MY_REPEATER_FEATURE
    

    line in Node code, and it is working now.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @jkandasa I've tried and it didn't help.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @jkandasa
    I have this:

    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006202
    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:010002006302801481E090E00F90DF91CF910895FC01
    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006302
    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020064021382128248EE53E060E070E044835583
    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006402
    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020065026683778385ED91E09183808308951092
    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006502
    

    And yes, it has been updated.
    Thanks, OTA works now, allthought remote reboot doesn working.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @jkandasa said:

    @Алексей-Гусаров It looks like your node is not in the range!

    It sends messages it really in is 0.5 meters from gw.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @jkandasa I've tried to reboot and have such rsponce:

    Apr 28, 2016 02:49:44 PM	serial   0:GatewayNode Received Internal [Log message] send: 0-0-1-1 s=255,c=3,t=13,pt=0,l=0,sg=0,st=fail:
    Apr 28, 2016 02:49:44 PM	serial   1:SensorNode	Sent Internal	[Reboot]
    
    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @tekka OK, I'll try to do it tomorrow.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @tekka I'm using mycotroller.org instead of myscontroller. It writes that "firmware update initiated" and nothing happens.

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @tekka
    boards.txt:

    ######## settings for ext XTAL 16Mhz, EESAVE, BOD1V8, no lock
    proMYSBL16.name=ATmega328 external 16Mhz with MYSBootloader
    proMYSBL16.upload.tool=avrdude
    proMYSBL16.upload.protocol=arduino
    proMYSBL16.upload.maximum_size=30720
    proMYSBL16.upload.maximum_data_size=2048
    proMYSBL16.upload.speed=115200
    proMYSBL16.bootloader.tool=avrdude
    proMYSBL16.bootloader.low_fuses=0xFF
    proMYSBL16.bootloader.high_fuses=0xD2
    proMYSBL16.bootloader.extended_fuses=0x06
    proMYSBL16.bootloader.unlock_bits=0x3F
    proMYSBL16.bootloader.lock_bits=0x3F
    proMYSBL16.bootloader.file=MySensors/MYSBootloaderV13pre.hex
    proMYSBL16.build.mcu=atmega328p
    proMYSBL16.build.f_cpu=16000000L
    proMYSBL16.build.board=AVR_UNO
    proMYSBL16.build.core=arduino
    proMYSBL16.build.variant=standard
    
    ######## settings for 8Mhz internal clock, EESAVE, BOD1V8, no lock
    proMYSBL8.name=ATmega328 internal 8Mhz with MYSBootloader
    proMYSBL8.upload.tool=avrdude
    proMYSBL8.upload.protocol=arduino
    proMYSBL8.upload.maximum_size=30720
    proMYSBL8.upload.maximum_data_size=2048
    proMYSBL8.upload.speed=57600
    proMYSBL8.bootloader.tool=avrdude
    proMYSBL8.bootloader.low_fuses=0xE2
    proMYSBL8.bootloader.high_fuses=0xD2
    proMYSBL8.bootloader.extended_fuses=0x06
    proMYSBL8.bootloader.unlock_bits=0x3F
    proMYSBL8.bootloader.lock_bits=0x3F
    proMYSBL8.bootloader.file=MySensors/MYSBootloaderV13pre.hex
    proMYSBL8.build.mcu=atmega328p
    proMYSBL8.build.f_cpu=8000000L
    proMYSBL8.build.board=AVR_UNO
    proMYSBL8.build.core=arduino
    proMYSBL8.build.variant=standard
    

    MyConfig.h:

    #ifdef MY_DISABLED_SERIAL
    #undef MY_DEBUG
    #endif
    
    #ifndef MY_BAUD_RATE
    #define MY_BAUD_RATE 115200
    #endif
    
    //#define MY_DISABLE_REMOTE_RESET
    
    //#define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    //#define MY_RS485
    
    #ifndef MY_NODE_ID
    #define MY_NODE_ID AUTO
    #endif
    
    #ifndef MY_PARENT_NODE_ID
    #define MY_PARENT_NODE_ID AUTO
    #endif
    
    // #define MY_REPEATER_FEATURE
    
    #ifndef MY_SMART_SLEEP_WAIT_DURATION
    #define MY_SMART_SLEEP_WAIT_DURATION 500
    #endif
    
    //#define MY_OTA_FIRMWARE_FEATURE
    
    #ifndef MY_OTA_FLASH_SS
    #define MY_OTA_FLASH_SS 8
    #endif
    
    #ifndef MY_OTA_FLASH_JDECID
    #define MY_OTA_FLASH_JDECID 0x1F65
    #endif
    
    #ifndef MY_GATEWAY_MAX_RECEIVE_LENGTH
    #define MY_GATEWAY_MAX_RECEIVE_LENGTH 100
    #endif
    
    #ifndef MY_GATEWAY_MAX_SEND_LENGTH
    #define MY_GATEWAY_MAX_SEND_LENGTH 120
    #endif
    
    #ifndef MY_GATEWAY_MAX_CLIENTS
    #define MY_GATEWAY_MAX_CLIENTS 1
    #endif
    
    //#define MY_LEDS_BLINKING_FEATURE
    
    //#define MY_WITH_LEDS_BLINKING_INVERSE
    
    //#define MY_DEFAULT_ERR_LED x
    //#define MY_DEFAULT_TX_LED x
    //#define MY_DEFAULT_RX_LED x
    
    //#define MY_INCLUSION_MODE_FEATURE
    
    //#define MY_INCLUSION_BUTTON_FEATURE
    
    #ifndef MY_INCLUSION_MODE_FEATURE
    #undef MY_INCLUSION_BUTTON_FEATURE
    #endif
    
    #ifndef MY_INCLUSION_MODE_BUTTON_PIN
    	#if defined(ARDUINO_ARCH_ESP8266)
    		#define MY_INCLUSION_MODE_BUTTON_PIN 5
    	#else
    		#define MY_INCLUSION_MODE_BUTTON_PIN 3
    	#endif
    #endif
    
    #ifndef MY_INCLUSION_MODE_DURATION
    #define MY_INCLUSION_MODE_DURATION 60
    #endif
    
    #if defined(MY_INCLUSION_BUTTON_EXTERNAL_PULLUP)
    #define MY_INCLUSION_BUTTON_PRESSED HIGH
    #else
    #define MY_INCLUSION_BUTTON_PRESSED LOW
    #endif
    
    //#define MY_SIGNING_ATSHA204
    
    //#define MY_SIGNING_SOFT
    
    //#define MY_SIGNING_REQUEST_SIGNATURES
    
    #ifndef MY_VERIFICATION_TIMEOUT_MS
    #define MY_VERIFICATION_TIMEOUT_MS 5000
    #endif
    
    //#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
    
    #ifndef MY_SIGNING_ATSHA204_PIN
    #define MY_SIGNING_ATSHA204_PIN 17
    #endif
    
    #ifndef MY_SIGNING_SOFT_RANDOMSEED_PIN
    #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
    #endif
    
    #ifndef MY_RS485_BAUD_RATE
    #define MY_RS485_BAUD_RATE 9600
    #endif
    
    #ifndef MY_RS485_MAX_MESSAGE_LENGTH
    #define MY_RS485_MAX_MESSAGE_LENGTH 40
    #endif
    
    //#define MY_RF24_ENABLE_ENCRYPTION
    
    #ifndef MY_RF24_CE_PIN
    	#if defined(ARDUINO_ARCH_ESP8266)
    		#define MY_RF24_CE_PIN 4
    	#elif defined(ARDUINO_ARCH_SAMD)
    		#define MY_RF24_CE_PIN 27
    	#else
    		#define MY_RF24_CE_PIN 9
    	#endif
    #endif
    
    #ifndef MY_RF24_CS_PIN
    	#if defined(ARDUINO_ARCH_ESP8266)
    		#define MY_RF24_CS_PIN 15
    	#elif defined(ARDUINO_ARCH_SAMD)
    		#define MY_RF24_CS_PIN 3
    	#else
    		#define MY_RF24_CS_PIN 10
    	#endif
    #endif
    
    #ifndef MY_RF24_PA_LEVEL
    #define MY_RF24_PA_LEVEL RF24_PA_MAX
    #endif
    
    #ifndef MY_RF24_CHANNEL
    #define MY_RF24_CHANNEL	76
    #endif
    
    #ifndef MY_RF24_DATARATE
    #define MY_RF24_DATARATE RF24_250KBPS
    #endif
    
    #ifndef MY_RF24_BASE_RADIO_ID
    #define MY_RF24_BASE_RADIO_ID ((uint64_t)0xA8A8E1FC00LL)
    #endif
    
    //#define MY_SOFTSPI
    
    #ifndef MY_SOFT_SPI_SCK_PIN
    #define MY_SOFT_SPI_SCK_PIN 14
    #endif
    
    #ifndef MY_SOFT_SPI_MISO_PIN
    #define MY_SOFT_SPI_MISO_PIN 16
    #endif
    
    #ifndef MY_SOFT_SPI_MOSI_PIN
    #define MY_SOFT_SPI_MOSI_PIN 15
    #endif
    
    #ifndef MY_RFM69_FREQUENCY
    #define MY_RFM69_FREQUENCY   RF69_868MHZ
    #endif
    
    //#define MY_IS_RFM69HW
    
    #ifdef MY_IS_RFM69HW
    	#define MY_RFM69HW true
    #else
    	#define MY_RFM69HW false
    #endif
    
    #ifndef MY_RFM69_NETWORKID
    #define MY_RFM69_NETWORKID     100
    #endif
    
    #ifndef MY_RF69_IRQ_PIN
    #define MY_RF69_IRQ_PIN RF69_IRQ_PIN
    #endif
    
    #ifndef MY_RF69_SPI_CS
    #define MY_RF69_SPI_CS RF69_SPI_CS
    #endif
    
    #ifndef MY_RF69_IRQ_NUM
    	#if defined(ARDUINO_ARCH_ESP8266)
    		#define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
    	#else
    		#define MY_RF69_IRQ_NUM RF69_IRQ_NUM
    	#endif
    #endif
    
    //#define MY_RFM69_ENABLE_ENCRYPTION
    
    //#define MY_GATEWAY_W5100
    //#define MY_GATEWAY_ENC28J60
    //#define MY_GATEWAY_ESP8266
    
    #ifndef MY_PORT
    #define MY_PORT 5003
    #endif
    
    //#define MY_USE_UDP
    
    #ifndef MY_IP_RENEWAL_INTERVAL
    #define MY_IP_RENEWAL_INTERVAL 60000
    #endif
    
    #ifndef MY_MAC_ADDRESS
    #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
    #endif
    
    //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254
    
    //#define MY_NODE_LOCK_FEATURE
    
    #ifndef MY_NODE_UNLOCK_PIN
    #define MY_NODE_UNLOCK_PIN 14
    #endif
    
    #ifndef MY_NODE_LOCK_COUNTER_MAX
    #define MY_NODE_LOCK_COUNTER_MAX 5
    #endif
    
    

    In node scetch:

    #define MY_DEBUG
    

    I have no logs from node because serial isn't working at all. Which logs should I attach?

    Development ota myscontroller mysbootloader

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    Thar0lT Thar0l

    @tekka Serial not working after uploading MYSbootloader v1.3pre. ArduinoProMini 5v16Mhz. Is it normal?

    Development ota myscontroller mysbootloader
  • Login

  • Don't have an account? Register

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