Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

TeensyMaestro

12346»

Comments

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    I finally figured out how to key a Flex 6000 over a LAN connection, so I have added that functionality to the TeensyMaestro. I have not released the code to GitHub pending a WAN test this week. I will take my laptop, TeensyMaestro, Key and cell phone on a fishing trip this coming week. If I can get good enough cell service at the campsite, I should be able to test this thing out under fairly poor network conditions.

    I have been testing it on the LAN for the past couple of days, and it works flawlessly (kind of like having a Maestro hard wired to the router). If I can get it to perform reasonably well over the WAN, I will release the firmware to GitHub when I get back later in the week. If this works, I will finally have a complete remote solution, including CW!

    Stan and Lasse, any progress to share on your builds?

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    Nothing to report here, weather too good to sit indoors... Still awaiting delivery from Bodnar, they admitted they did foul up on customs declaration, so they are resending, but nothing yet. But I hope to get going this week as I found some cheap encoders in my junk box to start playing with, and summer vaccation has started :)

    /Lasse

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Well, the remote keying functionality of the TeensyMaestro works! I am up at fishing camp where there is RIDICULOUSLY poor cell coverage. I have a cell booster in my camper that allows this to work at all, but Internet latency is just crazy bad.

    Nonetheless, I was able to break a couple of 13 Colonies special event pile-ups on CW this afternoon and did not get requests for fills. They got my call right the first time, so all seems well. I do need to set 20 - 30 ms of delay so that the PTT (MOX button) doesn't flicker on and off with the keying. Without enough delay, the keying gets very choppy and has occasional dropouts. With enough delay (I just set it to 30 ms to be safe), it sounds really good. I need to do a bit more experimentation to see what delay values are needed for different internet latency, keyer speeds, etc. before I release this version to the wild.

    I cannot confirm the CW quality at my current location, so at some point, I will bring my little RSP-1A SDR receiver with me to monitor my own signal from whatever remote location I am operating. I just wish I had thought of that thing when I loaded up for this trip,,,

  • John KB4DU
    John KB4DU Member ✭✭✭

    Len;

    would listening on sdrweb receiver work?

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Hi John, not always. The problem is very limited BW such that I often can't open a web site while operating. I can't even open a second slice sometimes without crashing. I tend to camp where there is extremely poor cell service, so for it to work at all is a miracle. Sometimes I have reasonable cell service, then web based receivers work just fine.

  • John KB4DU
    John KB4DU Member ✭✭✭

    I understand. I have the same problem at my house.

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    TeensyMaestro V1.017 is now available on GitHub:

    https://github.com/KD0RC/Teensy-Maestro-for-Flex-6000-radios/releases/tag/V1.017

    ***************************** V 1.017 ***************************

    Fixed blank profile menu

    Added ability to key CW over ethernet (finally!!)

    Added menu item to choose local or ethernet CW keying

    Added config item to default to local or ethernet keying

    Added a 5000 Hz Step to the step selection

    Changed menu select so short press goes back to last used menu, long press goes to menu 0

    ***************************************************************

    The big news is the ability to key the rig from the TeensyMaestro keyer over ethernet (LAN or WAN). I had my remote setup in my 5th wheel this past week and had absolutely terrible cell phone service (even with a 50 dB cell booster). Good fishing usually means bad cell service... Despite this, the whole setup worked great, and I was able to operate CW from my camper. My fear was choppy CW due to the horrible latency created by the poor network connection. I expected dropouts and requests for fills, but had none of that. I was able to bust a 13 colonies special event pile-up on 20 and heard my call come back perfectly and no requests for fills. YAY!

    I believe that I am using the same command set that the Maestro uses to key the rig, but since I don't have one, I can't really be sure. In any event, it works, so I feel like I finally have a complete solution to remote operation.

    A big THANKS to Flex for such a robust, well-engineered API! CW over a WAN connection is very tricky business, and despite atrocious network conditions, the Flex API worked great.

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    Finally parts start to show up!

    As a starter I tried to load the new 1.07 hex file, and I think it did work OK (have not started to get the RJ-45 jack connected nor display) but the programmer complains of not finding the Teensy41.elf file. Is this normal? Now have to hook up display and the TCP/IP :)

    And yes I did begin with a charge-only USB -cable, but after rereading the first two pages here, I got back on track.

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Hi Lasse, glad to hear you are finally getting the parts!

    Hmmm... I don't have a Teensy41.elf file anywhere on my computer, so I am not sure what that is.

    If you wire up the RJ-45 and connect it to the same LAN segment as your radio, upon powering up the Teensy board, you should get a little SmartSDR pop-up saying that you are connected:

    This should work whether or not you have the display connected. It is a good test that the firmware actually loaded and is executing.

    If you don't get the pop up, let me know and we can start researching the possible load issue.

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    It was just mentioned in the "logfile" from teensy.exe, apparently the hex-file did load properly.

    Should know as soon as I get the magjack hooked up :) Nothing is easy... the PJRC-board was not stocked over at this end of the pond, so I have to just do hook up the magjack to the pins. It looks pretty doable, only a 4 wires.

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Oh, OK that is good. Well, I think there is a .1 uf capacitor in there as well. I am not sure where it goes, but you might want to check that out. My jack has a 6 pin header connecting the differential pairs, R+, R-, T+, T- and the LED and ground connections.

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Hi Lasse,

    Here is the magjack schematic from the PJRC website:


  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭
    edited July 12

    Thanks Len,

    yes I did check PJRC's pages and noticed the .1 uF, guess it helps to balance the transformer.

    See if I can get some spare time to play with this tomorrow, far to good weather to be hiding in the shack :)

    73

    /Lasse

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    Slowly getting there... far to hot to play in the shack and no A/C :)


    Try get the display running next....

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Excellent! Now you have a known-working base to build on. I am looking forward to seeing your display in action.

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    Finally managed to get some time in the Lab :) Display works nice... but my current problem is that the Teensy refuses to boot if I have a SD card mounted. The card is low formatted as ****-32 and it was the smallest I had, 8 GB. Tried on an frugal Teensy, and it shows the same problem so it seems related to the SD card. Pretty impossible to find smaller cards, all seems to be 16 GB or even bigger. Will try a new card tomorrow.


  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Excellent! Nice to see it working.

    My SDcard is a 32 GB that I picked up at an office supply store. Nothing fancy or expensive.

    I think I did a F.A.T -32 format on it, but don't really remember. If you continue to have problems with the card, I will do some looking around to see what I can find out about the library functions that I used.

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭

    After a good night sleep and a cup of coffee I had one more go at the SD card issue. It turned out to be my own fault. The card had been used in a RPi and thus hade two partitions. A format using "SD Card Formatter" wiped the card and removed the partitions. Just loaded my modified ini-file and all looks good. Now to do a temporary front panel so I can start play with the thing. I want to try out some various layouts before comitting to the final design. I rather have look more like a Maestro in form factor, I think :)

  • k3pw
    k3pw Member ✭✭

    Hi Len,

    I just saw your post on the 4th - an indication of how busy the summer is here in Bar Harbor. I complicated my situation here by soldering the 2x3 header for the ethernet kit crooked then messed it up trying to fix it. Once I realized it was 2.0mm pitch instead of 2.54mm, I ordered a replacement header. So annoying needing such a small part! Anyway, it's here and I should be back on track soon.

    The slow progress is not an indication of lack of enthusiasm for the project. I'm excited to get moving on it soon.

    Stan, K3PW

  • KD0RC
    KD0RC Broomfield, COMember, Super Elmer Moderator

    Very cool Lasse! I'm glad that the SD card was so easy to fix. I will be very interested to see what layout you come up with.

    Sounds good Stan! Glad to see that you are still on it. The cool thing about homebrewing equipment is doing it on your schedule.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.