Navigation

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

    AdamAnt

    @AdamAnt

    3
    Reputation
    12
    Posts
    548
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    AdamAnt Follow

    Best posts made by AdamAnt

    • RE: ISR not in IRAM error

      @mfalkvidd Yeah, I reflashed the node & gateway each time to match.
      The gateway has the same sketch as in post 1, just with #define MY_RFM69_NEW_DRIVER added, and the sensor node is the simple repeater sketch:

      /*
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2018 Sensnology AB
       * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik Ekblad
       *
       * DESCRIPTION
       * Example sketch showing how to create a node that repeats messages
       * from nodes far from gateway back to gateway.
       * It is important that nodes that has enabled repeater mode calls
       * process() frequently. Repeaters should never sleep.
       */
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER
      
      
      // Enabled repeater feature for this node
      #define MY_REPEATER_FEATURE
      
      #include <MySensors.h>
      
      void setup()
      {
      
      }
      
      void presentation()
      {
      	//Send the sensor node sketch version information to the gateway
      	sendSketchInfo("Repeater Node", "1.0");
      }
      
      void loop()
      {
      }
      
      
      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: ISR not in IRAM error

      Hello,
      Just jumping in here to say that a combination of using the new driver, and downgrading to ESP8266 ver 2.5.0 has fixed this for me. The other issue I was having was total user error, a bad solder joint was giving me strange results.

      Thanks for your help!!

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: Node not being assigned an ID.

      Oh damn, I feel thick right now. Thanks, that is totally obvious in hindsight.

      posted in Troubleshooting
      AdamAnt
      AdamAnt

    Latest posts made by AdamAnt

    • Voltage Divider to measure battery charge

      I'm currently in the process of designing a custom mysensors board to use with an RFM69 radio and an atmega328p, and I've come unstuck working out the values needed for the resistors for the voltage dividers. The MySensors page on batteries is unfortunately clear as mud on the matter.

      I'm using the internal 1.1v voltage reference of the atmega, so by my understanding I can't measure more than 1.1v on the analog inputs. The atmega & RFM69 board will be powered from 4v - 6v depending on the application, via a 3.3v regulator. Based on these values I've come to the conclusion that resistors of 1M ohm & 200k ohm will be the best bet. Theres also a circuit diagram below of how the circuit is wired. Is this the easiest way to measure the battery?

      b1d70165-4534-4d94-9e72-1685ce4daff6-image.png

      posted in Hardware
      AdamAnt
      AdamAnt
    • RE: Node not being assigned an ID.

      Oh damn, I feel thick right now. Thanks, that is totally obvious in hindsight.

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: ISR not in IRAM error

      Hello,
      Just jumping in here to say that a combination of using the new driver, and downgrading to ESP8266 ver 2.5.0 has fixed this for me. The other issue I was having was total user error, a bad solder joint was giving me strange results.

      Thanks for your help!!

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • Node not being assigned an ID.

      Hello again,
      I've got past the issues with the ISR not in IRAM error as in my last thread.

      I'm now using a gateway with ESP8266 firmware ver 2.5.0, as per the workaround in the last thread. The node is a Moteino (using an RFM69 radio).
      I am using the new RFM69 driver.
      However, the node is not managing to get an ID from the gateway. Below, I have included the logs & scripts from the gateway and node.
      If I define a static node ID using #MY_NODE_ID, it works perfectly, but I would quite like the dynamic assigning to work.
      I have been using the EEPROM clear sketch in between tests on both the gateway and the node, so I don't think thats at fault.

      Gateway (ESP8266):

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
      #define MY_BAUD_RATE 9600
      
      
      // For RFM69
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER
      
      #define MY_RFM69_FREQUENCY RFM69_868MHZ // Set your frequency here
      #define MY_RFM69_IRQ_PIN 4
      #define MY_RFM69_IRQ_NUM MY_RFM69_IRQ_PIN
      #define MY_RFM69_CS_PIN 5 // NSS. Use MY_RFM69_SPI_CS for older versions (before 2.2.0)
      
      #define MY_GATEWAY_ESP8266
      
      #define MY_WIFI_SSID "<snip>"
      #define MY_WIFI_PASSWORD "<snip>"
      
      // The port to keep open on node server mode
      #define MY_PORT 5003
      
      // How many clients should be able to connect to this gateway (default 1)
      #define MY_GATEWAY_MAX_CLIENTS 2
      
      #include <ESP8266WiFi.h>
      #include <MySensors.h>
      
      void setup()
      {
      	// Setup locally attached sensors
      }
      
      void presentation()
      {
      	// Present locally attached sensors here
      }
      
      void loop()
      {
      	// Send locally attached sensors data here
      }
      
      52 MCO:BGN:INIT GW,CP=RPNGE---,REL=255,VER=2.3.1
      103 TSF:LRT:OK
      119 TSM:INIT
      133 TSF:WUR:MS=0
      151 TSM:INIT:TSP OK
      172 TSM:INIT:GW MODE
      194 TSM:READY:ID=0,PAR=0,DIS=0
      227 MCO:REG:NOT NEEDED
      scandone
      255 TSM:READY:NWD REQ
      290 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      755 GWT:TIN:CONNECTING...
      1282 GWT:TIN:CONNECTING...
      1810 GWT:TIN:CONNECTING...
      2338 GWT:TIN:CONNECTING...
      2866 GWT:TIN:CONNECTING...
      scandone
      state: 0 -> 2 (b0)
      state: 2 -> 3 (0)
      state: 3 -> 5 (10)
      add 0
      aid 10
      cnt 
      
      connected with <snip>, channel 9
      dhcp client start...
      ip:192.168.43.133,mask:255.255.255.0,gw:192.168.43.1
      3394 GWT:TIN:CONNECTING...
      3422 GWT:TIN:IP: 192.168.43.133
      3456 MCO:BGN:STP
      3474 MCO:BGN:INIT OK,TSP=1
      pm open,type:2 0
      14074 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      14137 TSF:MSG:BC
      14155 TSF:MSG:FPAR REQ,ID=255
      14186 TSF:PNG:SEND,TO=0
      14212 TSF:CKU:OK
      14229 TSF:MSG:GWL OK
      15195 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      16143 TSF:MSG:READ,255-255-0,s=0,c=3,t=3,pt=0,l=0,sg=0:
      18209 TSF:MSG:READ,255-255-0,s=20,c=3,t=3,pt=0,l=0,sg=0:
      20276 TSF:MSG:READ,255-255-0,s=41,c=3,t=3,pt=0,l=0,sg=0:
      22342 TSF:MSG:READ,255-255-0,s=62,c=3,t=3,pt=0,l=0,sg=0:
      

      Node (Moteino R4):

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      //#define MY_RADIO_RF24
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER
      //#define MY_RADIO_RFM95
      
      // Enabled repeater feature for this node
      #define MY_REPEATER_FEATURE
      
      #include <MySensors.h>
      
      void setup()
      {
      
      }
      
      void presentation()
      {
      	//Send the sensor node sketch version information to the gateway
      	sendSketchInfo("Repeater Node", "1.0");
      }
      
      void loop()
      {
      }
      
      16 MCO:BGN:INIT REPEATER,CP=RPNRA---,REL=255,VER=2.3.1
      26 TSM:INIT
      27 TSF:WUR:MS=0
      29 TSM:INIT:TSP OK
      31 TSM:FPAR
      36 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      1160 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      1165 TSF:MSG:FPAR OK,ID=0,D=1
      2045 TSM:FPAR:OK
      2046 TSM:ID
      2048 TSM:ID:REQ
      2108 TSF:MSG:SEND,255-255-0-0,s=0,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      4115 TSM:ID
      4116 TSM:ID:REQ
      4175 TSF:MSG:SEND,255-255-0-0,s=20,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      6184 TSM:ID
      6185 TSM:ID:REQ
      6245 TSF:MSG:SEND,255-255-0-0,s=41,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      8253 TSM:ID
      8254 TSM:ID:REQ
      8313 TSF:MSG:SEND,255-255-0-0,s=62,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      10322 !TSM:ID:FAIL
      10323 TSM:FAIL:CNT=1
      10326 TSM:FAIL:DIS
      10328 TSF:TDI:TSL
      

      Thanks again for your help!

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: ISR not in IRAM error

      @mfalkvidd Yeah, I reflashed the node & gateway each time to match.
      The gateway has the same sketch as in post 1, just with #define MY_RFM69_NEW_DRIVER added, and the sensor node is the simple repeater sketch:

      /*
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2018 Sensnology AB
       * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik Ekblad
       *
       * DESCRIPTION
       * Example sketch showing how to create a node that repeats messages
       * from nodes far from gateway back to gateway.
       * It is important that nodes that has enabled repeater mode calls
       * process() frequently. Repeaters should never sleep.
       */
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER
      
      
      // Enabled repeater feature for this node
      #define MY_REPEATER_FEATURE
      
      #include <MySensors.h>
      
      void setup()
      {
      
      }
      
      void presentation()
      {
      	//Send the sensor node sketch version information to the gateway
      	sendSketchInfo("Repeater Node", "1.0");
      }
      
      void loop()
      {
      }
      
      
      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: ISR not in IRAM error

      @yveaux Hello, thanks so much for your help on this!

      Changing those functions has helped me get past the error, however I now have a different issue.
      Using the the same sketch and setup, on the old driver the gateway crashes with a Soft WDT reset shortly after it initializes the radio:

      50 MCO:BGN:INIT GW,CP=RRNGE---,REL=255,VER=2.3.1
      101 TSF:LRT:OK
      117 TSM:INIT
      131 TSF:WUR:MS=0
      156 TSM:INIT:TSP OK
      177 TSM:INIT:GW MODE
      199 TSM:READY:ID=0,PAR=0,DIS=0
      231 MCO:REG:NOT NEEDED
      scandone
      259 TSM:READY:NWD REQ
      
      Soft WDT reset
      
      >>>stack>>>
      
      ctx: cont
      sp: 3ffffc40 end: 3fffffd0 offset: 01b0
      3ffffdf0:  000003e7 3ffee488 00000a91 402017ee  
      3ffffe00:  3ffee319 00000001 00000040 40201664  
      3ffffe10:  3ffee319 000000ff 3ffee488 000003e7  
      3ffffe20:  3ffee319 000000ff 3ffee488 40201bd5  
      3ffffe30:  00000a8a 00000007 00000001 00418937  
      3ffffe40:  00000000 3ffee71c 4023d1ac 000009c2  
      3ffffe50:  000000ff 3ffee488 00000002 40201428  
      3ffffe60:  3ffee319 00000007 00000005 000000c8  
      3ffffe70:  3a4d5354 44414552 574e3a59 000000ff  
      3ffffe80:  3fffdad0 3ffee46c 3ffee319 40201ced  
      3ffffe90:  6d616461 37393931 00000100 402022d7  
      3ffffea0:  00000001 3ffef9fc 00000000 40207afc  
      3ffffeb0:  000003fd 4023202b 00000000 40100584  
      3ffffec0:  00000001 3ffee317 00000001 40202754  
      3ffffed0:  e260f400 00f2597d 3fffff00 3ffffef0  
      3ffffee0:  00000000 4bc6a7f0 3fffff10 3fffff00  
      3ffffef0:  00000004 00000000 4bc6a7f0 00000000  
      3fffff00:  6d616461 00418937 00000000 3ffee2c0  
      3fffff10:  3fffdad0 3ffee319 000000ff 40202420  
      3fffff20:  3fffdad0 00000103 3ffee35c 402028d4  
      3fffff30:  00000000 00000000 000001f4 40201dc5  
      3fffff40:  3fffdad0 00000103 000001f4 4020364d  
      3fffff50:  00000000 00000103 000001f4 402039df  
      3fffff60:  3fffdad0 00000103 000001f4 40203a03  
      3fffff70:  3fffdad0 3ffee317 3ffee6cc 40203a62  
      3fffff80:  3ffee470 3ffee317 00000000 402036a4  
      3fffff90:  600002ff 00020000 3ffee470 3ffee2c0  
      3fffffa0:  3fffdad0 3ffee317 3ffee6fe 40203b50  
      3fffffb0:  feefeffe 00000000 3ffee2b8 40203bb4  
      3fffffc0:  feefeffe feefeffe 3ffe851c 40100129  
      <<<stack<<<
      

      However, using the new driver, I get past that point and the gateway initializes fine. But unfortunately, the sensor node never connects. It just constantly sits waiting to find a parent node:

      16 MCO:BGN:INIT NODE,CP=RPNNA---,REL=255,VER=2.3.1
      26 TSM:INIT
      27 TSF:WUR:MS=0
      29 TSM:INIT:TSP OK
      31 TSM:FPAR
      36 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2045 !TSM:FPAR:NO REPLY
      2048 TSM:FPAR
      2054 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4061 !TSM:FPAR:NO REPLY
      4063 TSM:FPAR
      4069 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6076 !TSM:FPAR:NO REPLY
      6078 TSM:FPAR
      6083 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8091 !TSM:FPAR:FAIL
      8092 TSM:FAIL:CNT=1
      8094 TSM:FAIL:DIS
      8096 TSF:TDI:TSL
      

      I'm pretty confident my antenna setups are correct - single core wire, each one a straight piece 82mm long.

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • ISR not in IRAM error

      Hello,
      I'm trying to setup an ESP8266 (bare ESP-12E) based gateway using the RFM69 radio module.
      However when I start the gateway, I get the error message ISR not in IRAM

      I'm using mysensors 2.3.1, with versio 2.5.2 of the ESP8266 board library.

      I'm wiring it up to an RFM69W exactly as in the wiring diagram on the Connecting the Radio page, with the exception of NSS being connected to pin 5 not 15.
      The power supply I'm using has more than enough headroom, its a bench supply and shows about 60mA pulled at startup.

      My gateway sketch & serial output is below.

      Any ideas greatly appreciated!!

      SDK:2.2.1(cfd48f3)/Core:2.5.2=20502000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1-7-g82abda3/BearSSL:a143020
      53 MCO:BGN:INIT GW,CP=RRNGE---,REL=255,VER=2.3.1
      211 TSF:LRT:OK
      226 TSM:INIT
      240 TSF:WUR:MS=0
      ISR not in IRAM!
      
      Abort called
      
      >>>stack>>>
      
      ctx: cont
      sp: 3ffffd00 end: 3fffffd0 offset: 01b0
      3ffffeb0:  00000000 00000000 4bc6a7f0 00000000  
      3ffffec0:  00000000 00000080 40100246 00000031  
      3ffffed0:  00000000 00000105 3ffee590 4010054e  
      3ffffee0:  00000000 00000105 3ffee590 40202e6d  
      3ffffef0:  00020401 40040203 33060305 0008d907  
      3fffff00:  42190009 07264025 dc291028 2d2f882e  
      3fffff10:  90376430 8f3c4238 306f123d 400000ff  
      3fffff20:  00000064 00000246 00000246 40208120  
      3fffff30:  00000000 4bc6a7f0 000000f0 00000102  
      3fffff40:  3ffee578 3ffee41f 00000000 40202ef0  
      3fffff50:  00000000 00000000 4bc6a7f0 40202f13  
      3fffff60:  00000000 00000000 00000000 40201db5  
      3fffff70:  00000000 00a7fd40 00000000 4020363d  
      3fffff80:  3ffee578 3ffee41f 00000000 4020368b  
      3fffff90:  600002ff 00020000 3ffee578 3ffee3c8  
      3fffffa0:  3fffdad0 3ffee41f 3ffee806 40203c45  
      3fffffb0:  feefeffe 00000000 3ffee3c0 40203cac  
      3fffffc0:  feefeffe feefeffe 3ffe8524 4010010d  
      <<<stack<<<
      
      Repeats here ad infinium...
      
      /*
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2018 Sensnology AB
       * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik EKblad
       * Contribution by a-lurker and Anticimex,
       * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de>
       * Contribution by Ivo Pullens (ESP8266 support)
       *
       * DESCRIPTION
       * The EthernetGateway sends data received from sensors to the WiFi link.
       * The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
       *
       * VERA CONFIGURATION:
       * Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin.
       * E.g. If you want to use the default values in this sketch enter: 192.168.178.66:5003
       *
       * LED purposes:
       * - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used.
       * - RX (green) - blink fast on radio message received. In inclusion mode will blink fast only on presentation received
       * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
       * - ERR (red) - fast blink on error during transmission error or receive crc error
       *
       * See https://www.mysensors.org/build/connect_radio for wiring instructions.
       *
       * If you are using a "barebone" ESP8266, see
       * https://www.mysensors.org/build/esp8266_gateway#wiring-for-barebone-esp8266
       *
       * Inclusion mode button:
       * - Connect GPIO5 (=D1) via switch to GND ('inclusion switch')
       *
       * Hardware SHA204 signing is currently not supported!
       *
       * Make sure to fill in your ssid and WiFi password below for ssid & pass.
       */
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
      #define MY_BAUD_RATE 9600
      
      
      // For RFM69
      #define MY_RADIO_RFM69
      //#define MY_RFM69_FREQUENCY RFM69_868MHZ // Set your frequency here
      #define MY_RFM69_IRQ_PIN 4
      #define MY_RFM69_IRQ_NUM MY_RFM69_IRQ_PIN
      #define MY_RFM69_CS_PIN 5 // NSS. Use MY_RFM69_SPI_CS for older versions (before 2.2.0)
      
      #define MY_GATEWAY_ESP8266
      
      #define MY_WIFI_SSID "<snip>"
      #define MY_WIFI_PASSWORD "<snip>"
      
      // The port to keep open on node server mode
      #define MY_PORT 5003
      
      // How many clients should be able to connect to this gateway (default 1)
      #define MY_GATEWAY_MAX_CLIENTS 2
      
      #include <ESP8266WiFi.h>
      #include <MySensors.h>
      
      void setup()
      {
      	// Setup locally attached sensors
      }
      
      void presentation()
      {
      	// Present locally attached sensors here
      }
      
      void loop()
      {
      	// Send locally attached sensors data here
      }
      

      Edit:
      Below is a screenshot of my current upload options
      arduino upload opts

      posted in Troubleshooting
      AdamAnt
      AdamAnt
    • RE: Cannot flash atmega328 on new custom board

      The crystal and caps are only needed if you are pulling an atmega from an arduino. By default, bare atmega's straight from the factory use an internal 8mhz oscillator, no crystal needed. And the reset line is connected, the schematic is just not that clear in that regard. the RESET label means its connected to the reset pin on the ISP header

      posted in Hardware
      AdamAnt
      AdamAnt
    • Cannot flash atmega328 on new custom board

      Hello,
      I've designed and made PCBs for a new custom board, one that can fit inside the space of a AA battery. However, I can't seem to flash it. Both the arduino IDE, and avrdude on its own can't talk to the board. avrdude either says the device initialization failed, or gives a random device signature. I've also tried two different programmers, a USBasp and an Arduino UNO as an ISP.

      I am trying to program to the board before adding the radio, as I realize the ISP and NRF radio share pins and would interfere with each other. The only components on the board at this stage are the ATMEGA328, C1, C2, R1 and the ISP header. The ATMEGA chips themselves are sourced from Arrow, and are brand new, however have been sitting on my shelf for a year or so. I wanted to check with the community before resorting to ordering fresh parts, as I'm not convinced the problem is in the chips themselves.

      I've been over both the schematic and physical PCB with a fine tooth comb, and have come up stumped. I even built a 2nd board just to eliminate any issues with a single component, or my soldering work.

      The schematic, and pictures of the finished board are below.
      Excuse the potato photos. The chip does actually have writing on it. The soldering isn't amazing, but a continuity test shows its all making good connections to where it should go.

      Thanks.

      the schematic

      the front of the board the back of the board

      Ninja edit: The output from avrdude
      avrdude output

      posted in Hardware
      AdamAnt
      AdamAnt
    • RE: Home Assistant not assigning Node IDs

      A ha, that fixed it. Thanks very much! If you don't mind, what is the difference between the MySensors eeprom clearing sketch vs the stock arduino one? From first glance it seems as if the Arduino one would actually clean more, since it iterates over the whole eeprom rather than just the bits relevant to MySensors.

      posted in Home Assistant
      AdamAnt
      AdamAnt