Close

Beta Code

A project log for Star Trek Communicator Badge

In the true spirit of Star Trek, this communicator badge is completely autonomous, while fitting in the form factor of an original badge

joeJoe 03/28/2017 at 00:574 Comments

I have an example beta code that runs on two nodes. Each node can start/stop a transmission with all peripherals fully functioning.

I have changes the RFM69_stream library to inherit the original RFM69 library from LowPowerLab. This way you can download the original library and my library and they can exist in harmony together.

The files are here. Let me konw what you think so far.

https://cdn.hackaday.io/files/19700842844800/Communicator_Code_BETA_v1.zip

Discussions

Neo wrote 03/28/2017 at 10:15 point

I've done a quick test with just switching the old sketch (where it always sends/receives) to the new library. Before it worked just fine, but with the new library I'm just getting constant noise on the Rx (maybe some signal in but impossible to tell for sure on the scope). I can see the Tx is sending audio data on my SDR (tapping the mic changes the waterfall display), but the receiver is just getting a lot of noise. 

I haven't had time to analyze the new sketches much, but is there anything else that has to be changed to use the new version of the library? I removed the part in the Tx's loop where it kept sending the buffer every 200ms if the IRQ pin was high, that just changed the noise from mostly high to mostly low.

  Are you sure? yes | no

Joe wrote 04/04/2017 at 02:19 point

Sorry for the delay, I have been out of town. I have done some diffs of my RFM69 code to the newest lowPowerLab library on github. It looks like the newest version turns on Manchester encoding which does work in streaming mode. There are probably other settings that also need to be changed. I'll post my old version of the library just to get you going until I update my code to work with the old library.

  Are you sure? yes | no

Neo wrote 04/04/2017 at 12:39 point

Cool, thanks! I figured it might be something like that. I'll give it a shot and post back.

  Are you sure? yes | no

Neo wrote 03/28/2017 at 08:30 point

Thank you! Only had a brief look, but pretty cool so far.

  Are you sure? yes | no