Jump to content


  • Posts

  • Joined

  • Last visited

1 Follower

About Vinc_Vega

  • Birthday 09/27/1972

Personal Information

  • Flight Simulators
  • Location
  • Interests
    too much

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes, you have to connect them by USB, the RS485 bus probably will not do it. If you want to use PWM functionality (e.g. for LED dimming or servo motors) you should be aware of the difference in signal processing between the Atmel chips and the ESP32. Regards, Vinc
  2. Yes, if using the DCS-Bios library the pullups should already be activ for standard inputs. Regards, Vinc
  3. I've reworked the above sketch to work with the A-10C UHF string output only (and not the selectors). Now it shows correctly all frequencies, including guard frequency and presets and the test mode. If the UHF radio is not electrical powered, e.g. switched to OFF or BATT and generators are OFF, the displays are blanked. LED brightness can be dimmed by the LCP Signal Lights switch, variables are adjustable (default: led_intensity = 5). Edit: To show preset UHF frequencies, push the status button when in PRE mode . Than you can see the selected preset a while. Regards, Vinc
  4. It took a while to get those cheap displays from China. I confirm the problem of the rolling numbers and unfortunately the above proposed function "showString_new" is not working. Here is a sketch to display the UHF radio frequency of the A-10C on a LED display of the TM1637 type. Like requested above, the display is blanked while the switch is in the OFF position or no electrical power is supplied. If "GRD" is choosen for the Frequency Mode Dial the 243.000 MHz are displayed, but proper display of pre-programmed frequencies (presets) still have to be checked. As all LED displays only have seven segments, the number 888.888 will be shown in test mode (***.***). Feel free to use the sketch or parts of it! Edit: the display can be dimmed by the LCP SignalLights switch Regards, Vinc
  5. As the Mega pins 50 to 52 may be "reserved" for ICSP connections, try another pin for output. Regards, Vinc
  6. Have a look at the older postings for a connected digital clock If you like, I also could share the adapted version for the round 1.28 display. Regards, Vinc
  7. Edited post: After updating DCS my Mega works fine again. I have no idea what happened. I herewith confirm the below sketch running on an original Mega2560, using the attached library and the waveshare board. Before connecting to DCS, try to read the switch state by using a simple input example from the MCP library. You are right, when setting up the pullups High within the Setup loop, than switches have to be connected to Ground. If pullups work for you, should be documented in your library. As the original resistors seem to be weak, the module at Amazon is recommended to be used with additional pullup resistors for the I2C connection. Regards, Vinc MCP23017.rar
  8. Confirmed: 1) sketch running on a NANO and an UNO. 2) sketch not running on the Mega2560 Sorry for that! Edit: must be something different to the sketch, my Mega is not connecting to DCS-bios. Even the Master Caution example is no longer working PS: In my sketch on previous page (2/18/2022 at 10:26 AM), within the Loop-section the DcsBios::loop(); statement is missing. I corrected that. Nevertheless the MCP connection to DCS should work without the statement. Regards, Vinc
  9. Yes, the switch should move. What MCP23017 chip or module do you use? Are you able to read the switch, using the input example from the MCP library? Regards, Vinc
  10. Hi Kenpilot, If you mean the display on the Main Panel, you have to look for the CMSC within the control reference. There are 3 messages to display (C/F Amount, JMR status and MWS status). What type of OLED display do you want to use? Are you able to display some plain text from a library example? Regards, Vinc
  11. see 6 postings above Edit: use Pins 20 and 21 for I2C connection with the Mega (SDA / SCL)
  12. Yes, with the hub version. You only have to change the statement #define DCSBIOS_IRQ_SERIAL into #define DCSBIOS_DEFAULT_SERIAL Most of the libraries should do thier job on the other Arduino boards too. Regards, Vinc Edit: unfortunately they will not work in connection with the RS485 bus.
  13. I copied the code from your reply and it compiled without errors. Maybe it's on the library. I use a WaveShare MCP23017 IO Expansion Board (its smaller than a self made PCP for a 28 pin chip) and their MCP23017 library. Regards, Vinc
  14. Hi Kenpilot, you still want code for a button matrix? I adapted the code from that forum (credits within the source code below) to my needs. Don't know if the internal pullup is already / still on by DCS-Bios, but that worked fine for me. Regards, Vinc
  15. This is pretty cool and inspiring! Regards, Vinc
  • Create New...