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 refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

TeensyMaestro

1101112131416»

Comments

  • NZ0P
    NZ0P Member ✭✭

    @KD0RC i do have a display but I see nothing happen on the display, on SSDR, and no events on the com port for any of the 5 input pins. The TUNE input does work as expected, tunes and creates text events on the com port.

    Could I make a feature request? Id be interested in an input debug mode that just prints the value of all inputs, possibly once a second to see the current state and make sure they are being read.

    Its interesting that the TUNE button works but the other 5 inputs on the same header don't.

    Thanks for the note about the encoder pulse count, I will change when the encoders arrive

    @Lasse SM5GLC i have pull ups and debouncing caps on all MUX inputs. Im using the PCB design thats in the github and its populated except for the power supply section

  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Hi Derek, did you try changing the Button Debounce parameter in the MMConfig.ini file?

    One other builder had a bad button bounce such that pushing it bounced and caused another push which immediately turned off the feature that was just turned on. If you haven't already, give that a try to see if it helps.

    I will think about some additional debugging. Maybe I will make it controllable with the config file.

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭✭

    I'm the that did the PCB design…. but really you should see the display come alive!

    It looks as if yoiu did use sockets, why not remove all modules except the display? It should start to show signs of life. If not then maybe a tiny tin-blob shorting?

    /Lasse SM5GLC

  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Hi Lasse, I think he means that pressing the buttons does not change anything on the display.

  • NZ0P
    NZ0P Member ✭✭

    @KD0RC wouldnt you expect to see two button events in that case? I also can hold down firmly multiple times in a row and see nothing on the serial console

    I will try changing the debounce setting and also try using a wire with dupont connectors on both sides

    @Lasse SM5GLC I apologize! Im very thankful for your contribution! My display is working very well! I am merely having issues with the buttons registering.

    I only have the display, two mux boards, teensy, and one button installed when testing. No encoders, no other buttons.

  • NZ0P
    NZ0P Member ✭✭

    I am busy today with family chores and will try to take some photos of my pcb later and post them

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭✭

    @NZ0P

    Sorry I misunderstood what you wrote.

    How about swapping the MUX-boards around to see if it migh a an issue with one?

  • NZ0P
    NZ0P Member ✭✭

    @Lasse SM5GLC i tried swapping MUX boards this morning, no change in functionality. Since the TUNE input is functional I have to assume the MUX chip works

    I would consider blaming solder joints, but its five inputs not just one or two

  • NZ0P
    NZ0P Member ✭✭
  • NZ0P
    NZ0P Member ✭✭

    User error! I flipped my header upside down, so I was switching pins 1 and 7 around. The TUNE input worked because I was connecting TUNE to GND, then the others weren't because I was connecting them to TUNE by accident.

    I tried using the ground pin on another header and everything started working… checked the kicad PCB file and immediately saw my issue.

  • KD0RC
    KD0RC Member, Super Elmer Moderator
    edited January 25

    Hi Derek, are you sure that it isn't working? I see that RIT on Slice A is lit up (Yellow) indicating that you either turned it on using SmartSDR or using the RIT A button. Try grounding the switch pin on the VOL A control to see if it mutes the audio. A cliplead or plain piece of wire can be used to test it.

    Another test is to use a wire to ground one of the C0 - C15 points on the MUX 0 board. That will verify that board itself is OK.

    Use an ohmmeter to verify that you are using ground and not another input pin when closing your switch.

    EDIT: Sorry, I was writing this response when you posted yours. I'm glad you got it figured out!

  • NZ0P
    NZ0P Member ✭✭

    PS - Any interest in adding my DWG drill template to the github? I'm trying to use the original aluminum panel, I might use my wife's cricket to cut some vinyl or just use a label printer, we'll see how it goes as I find time.

    I haven't drilled mine out yet, but I use AutoCAD occasionally at work and decided to try out NanoCAD Free. I forgot how many things are already setup in the autocad templates at work, so I didn't have as many things like dotted lines, etc.

    All of the measurements are slightly different from your MS Word template and the Front Panel Express file, I moved things around since I didn't have exact measurements to go off of

  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Wow, that would be great. I would cut holes in a piece of cardboard first and check the clearances with the components installed in the cardboard. The board for the display is not perfectly symmetrical. The left side is a bit wider which crowds the controls a bit on that side.

    Dave, W4WKU has a template in FrontPanelExpress format that you might want to compare yours to.

    https://github.com/KD0RC/Teensy-Maestro-for-Flex-6000-radios/blob/master/TeensyMaestro_Front_Panel_12-27-2020.fpd

  • NZ0P
    NZ0P Member ✭✭

    I used his template for my layout but moved some stuff around.

    Im going to cut the display holes first and mount it then check clearances

    While i dont want to buy another bud box, ive made far more costly hobby mistake than needing to buy another $21 box

  • NZ0P
    NZ0P Member ✭✭

    Sharing:

    https://github.com/gx1400/pcb_teensymaestro_accessory

    laid this out this evening to make wiring switches a little simpler

  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Very cool Derek. I wonder if you should expand it to cover all of the unused I/O pins of MUX 1 to future-proof your layout.

    If you are good at board layout, a front-panel board with no circuitry, just holes, display cutout and silk-screen labels for the controls would probably be pretty popular.

  • NZ0P
    NZ0P Member ✭✭

    I am by no means good at PCB layout.

    This is an adapter board aimed specifically at @Lasse SM5GLC 's PCB which has a 7 pin Molex KK254 style header for the buttons. It shares all ground pins on a single pin and I didn't want to loop a wire between all of the switches on the panel.

    I ordered some from JLCPCB, I still have a lot of work and very little free time to work on it, so progress is slow going

  • NZ0P
    NZ0P Member ✭✭

    @Lasse SM5GLC do you have your kicad project available anywhere other than the zip file in @KD0RC 's github repo

    the pcb file is very helpful, but it's missing the linked schematic and any symbol/footprint libraries

    I think I would like to be able to modify it and add some labels to the schematic, export some pdfs, etc

  • Lasse SM5GLC
    Lasse SM5GLC Member ✭✭✭

    Sure… where do I send it?

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.