Author Topic: M0 hangs on Weather Station example  (Read 1373 times)

wb7abp

  • NewMember
  • *
  • Posts: 2
M0 hangs on Weather Station example
« on: December 21, 2019, 08:41:12 PM »
Hi, I've just started experimenting with Moteino, having received a couple Moteino-USBs and an M0 this week.  Then after testing the Moteino USBs in the gateway/node examples, I moved on to the weather station, installing the PiGateway in one and a BME280 in the other.  All works fine. 

Then I ordered a M0 to put a BME280-breakout directly on the Moteino for a more compact envelope.  After downloading the same weather station sketch into the M0, there is an apparent hang after the initial sendwithretry().  I soldered the RFM69, flash and breakout myself and can't see a issue with them under microscope.

I'm using the latest arduino IDE, and I've installed the latest Board definitions and libraries.  Attached are several images showing the rev of IDE,libraries, board definitions and a couple screencaptures of the PiGateway terminal comparing the Moteino-USB with M0 results.  This is my first try with the Moteino's and I'll admit to not being an experienced programmer.

Any help would appreciated, Lynn wb7abp

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: M0 hangs on Weather Station example
« Reply #1 on: December 22, 2019, 06:59:23 PM »
Was this ordered with the radio module soldered? Or did you add that?
That right top pad doesn't seem to be soldered on, or have very little solder.

wb7abp

  • NewMember
  • *
  • Posts: 2
Re: M0 hangs on Weather Station example
« Reply #2 on: December 22, 2019, 07:54:39 PM »
Hi Felix,

Thanks for the reply.  Yes, I soldered it myself and it could use a little more, so I touched it up.  That's a ground connection and the new attachment shows what it's like now.  But the results are the same, only one packet, the 'start',  is received at the gateway.   

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: M0 hangs on Weather Station example
« Reply #3 on: December 22, 2019, 09:29:58 PM »
In that case you'll have to start by checking all the connections, for shorts or open. Not the easiest job, but without that, you're left assuming all solder joints are good, and maybe add a bunch of serial prints to see where the code halts and see if that helps point at the problem. It does sound like if you can get the START packet across, then maybe it's not the radio module.
I would run the basic Node/Gateway examples and if that works then maybe its something with the BME breakout. FWIW they are all tested of course, after they are SMD assembled.