Simple sketch for testing communication

Started by LCSteve, December 04, 2018, 02:33:11 PM

LCSteve

I want to preface this post with I'm still kinda "level 1" with Arduino and coding but have been reading tons especially lately. I bought some Moteino's RFM69CW's to be specific about a month ago to coincide with the automated blinds project that @Blebson and find myself having a lot of the same issues @Blue2Swing had in this thread https://lowpowerlab.com/forum/moteino/beginner-looking-for-advice/. While I'm going to use many of the steps he used in that post to test why my components aren't working I wanted to also look at making sure the WeMos and the Moteino are chatting correctly. I've successfully flashed the Gateway and Node sketches on my 2 units and based on the serial output they seem to work fine. So what I want to do is make a small sketch that doesn't put the Moteino in low power mode yet while on my breadboard and have it light up an LED attached to one of the pins (versus the on board LED). This way I can test for every command from the WeMos the Moteino receives it'll flash.

Is anyone aware of a sample sketch somewhere that I could build from doing something like this? I went through nearly 20 pages of this forum looking for something similar and reading many many posts with good info as well.

I appreciate any help, I'm trying my best to research and learn through this and why it's not working without bugging Blebson to much :)

Steve

sparky

@LCSteve,

I'm probably less than level 1 so I apologize if I'm wrong here..  At least it will give you something else to read until someone that knows what they are talking about comes along..  :P

Have you looked at the TxRxBlinky sketch?  It's written to use the onboard LED but possibly you can change to another pin.

https://github.com/LowPowerLab/RFM69/blob/master/Examples/TxRxBlinky/TxRxBlinky.ino

LCSteve

Thanks for that, I used the out of the box and was sending and receiving just fine so things are working so far! I appreciate the help.

Now to figure out whats going on with that shield.

Steve