Jump to content

Hansolo

Members
  • Posts

    1775
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hansolo

  1. I use DCS-BIOS muself. A great system IMHO :thumbup: Very neat sir :thumbup: Cheers Hans
  2. No, the inputs on an incremental rotary encoder and a switch are quite different. The switch you have listed of cause only input when you preset. The incremental rotary encoder gives inputs on both but in a sequence, i.e. by rotating one way you don't just get pulses on one input but on both of them. This is illustrated here: https://en.wikipedia.org/wiki/Incremental_encoder#/media/File:Incremental_directional_encoder.gif I may misunderstand but the incremental rotary encoders (the ones we would buy) don't give their position at all. And only by rotating them and having software analyse the pulse sequence it's possible to determine the direction of rotation. You can get rotary encoder that give absolute position similar to a potentiomenter (absolute rotary encoders) but they are normally quite expensive. Here is a little more on the difference between absolute and incremental encoders; https://www.machinedesign.com/mechanical-motion-systems/article/21836107/whats-the-difference-between-absolute-and-incremental-encoders Cheers Hans
  3. Hello and welcome sir Interesting modular design you have there. Are you utilizing DCS-BIOS or something completely different. How would end-customer manage in case ED makes changes to the command setup for the A10C? Will you be able to support in such a case? I am slight surprised you're running wireless to the central receiver box. I would have thought it made the setup more complicated. Despite that it looks nice and I certainly wish you all the best of luck on your business, sir :thumbup: Cheers Hans
  4. Not an updated approach but I tried to use MCP23017 chips in the very first version on DCS-BIOS, but never got it to work later. I believe that Ian said it should be possible, however some of the easy commands with DCS-BIOS would get lost. ClayM tried to get it to work but unsure if he made it. https://forums.eagle.ru/showthread.php?t=169462 There is a link to the centipede shield in post #5, which was the version I had running many years ago. I eventually went for a different a approach with one Arduino per panel. Cheers Hans
  5. Hi Les, I deleted my message as it looks like you made own conclusion to something I didn't write. Good luck on your build Cheers Hans
  6. Irrelevant now but to the best of my knowledge you should Master RX flickering on when receiving data from DCS and Master TX flickering on when Master is sending data to DCS. Slave RX should be flickering when receiving data over RS485 from the Master. Slave TX should be flickering when sending data to Master over RS485. @lesthegrngo & @bad_turbulence kindly suggest you continue your discusion over at lesthegrngo's thread https://forums.eagle.ru/showthread.php?t=271340 as clutter up DCS-BIOS over RS485. And sorry for the late reply. Been quite busy at work. Stay safe. cheers Hans
  7. As far as I understand then the Arduino communicated with DCS-BIOS on the computer, which communicates with the Export.lua which in turns communicates with DSCW. As such I cannot see anything which should make the communication work only as in to-DCSW mode and not from-DCSW. Hence the reason I asked for a sketch. But granted I am still running the 'old' DCS-BIOS, not DCS-HUB. Have you tried another indication other than landing gear, like a master caution. Sorry have not been using the Viggen so unsure what's available. Could be a type in the core code. Cheers Hans
  8. Well you did write that the switch for the landing gear was working which would lead me to believe that there is communication between DCS and the Arduino, which is puzzling if the DCS-HUB writes something else :huh: Cheers Hans
  9. Which version of DCS-BIOS are you running? Do you have the file "BIOS.lua" at the location; C:\Users\Dawnplayer\Saved Games\DCS\Scripts\DCS-BIOS\ Possebly also let us know the Arduino code you are using. Cheers Hans
  10. Pin header female 2,54mm pitch, e.g. https://www.ebay.com/itm/20-PCS-Female-40pin-2-54mm-Header-Socket-Row-Strip-PCB-Connector-For-Arduino/264241393452?_trkparms=ispr%3D1&hash=item3d8603af2c:m:m05CcfqrwsSIu_uqGIY018w&enc=AQAEAAACUBPxNw%2BVj6nta7CKEs3N0qWISQl%2FwGSJAlCjjudiykge%2Bh0iIEr2qqZ9AyDucu3B0O4r2ry%2BBnPx8R3d3nuw5RwkTqeeK%2BxnMlWSLweGyha5RYBAffa%2B8NLQU1ZomI0hesHXRACLAhuz7jTE3ZgcHOqHSKlOnVr8KC9Q9mnZAwL93LZfKKy2%2F4p6ClmqGKrjvu0fSE2Mt2DLSsgrzOI1Ji3h3KNJh0cqej1CIL3sR93H8S6PfPLZ269em7H%2BnjBhhiGa2REV5I9orzalh79R0uYLCVFGWw0Sw7K9W%2BBArXaGtgdO9m8yMSRYAUr8BXCzF8pnaJvm5aGaaQfbDJjjRg65dH8le0%2Fw9b3ZWcf5ejCeCkPq8qAAhJxOLFjYUVLR3gJCdjCzzuLVwryiFJjciVndlQZQtfE%2BMENEYZjA6qtupmF%2FCAdCa35c3NaSdmUiHhdG67aC4v9hXxg2a2c9ZuEARwau6pcvTDXqNbokLF23FlHV%2Fr16kuoLR8D6PyEvKO%2FgULI7GZWeqb1LlLSPvVO8laGtsrBlddKZc0Y84vUrd0mTwWIkVyJfpgT5Vzdr122jYDA9ijzN1PycSnrSrhtLmNDhyLxga%2B05jR2ZhEWxU%2BeW6tFNDE%2BCAhXtxf8soWFeYHwbTF6L6kfaBtMumv4fAlVQ6zZdiKyFim61g2GvocCN8jvnsEFiOfwt820xBZlREIkTJzFTAIlW7yM8LWwndAgJuP4wkNPxAREs7e1rFBMnUexGdxdYDP8f86T07YNtdRTpD4TtzCAly5og78k%3D&checksum=264241393452d19dc1ec874347a5b9707aa92f3e7f31 You may find them cheaper. This was just the first hit I had on Ebay. cheers Hans
  11. Thanks DM. Back is getting a little better. Whoa that is impressive. That's more A/C than we have in RDAF :cry: All the best Hans
  12. That is the best looking SAS panel I have seen Calum. Very neat job sir Cheers Hans
  13. Nice find Deadman. Looks very similar to the one I purchased years ago. Works beatifully Cheers Hans
  14. Welcome back Calum. Looks like you have good progress sir. What is the switch type no? Cheers Hans
  15. I used to utilize Helios and Phidget led 64 board and it worked great. But the Phidget board is almost $80. I seem to recall that Simpit Software (https://forums.eagle.ru/showthread.php?t=179525) was able to support some output boards, but I may be mistaken Cheers Hans
  16. Many thanks for all the hard work you have put into DCS-BIOS over the years. None of my current pit project would have been done without it. So sinsere thanks from me to you. @BlackLibrary many thanks for continuing the hard work of supporting the older version. Much appreciated sir so many thanks to you as well. Cheers Hans
  17. This shoudl do it //LAnding gear lever DcsBios::LED handleGearWarning(0x1026, 0x4000, 4); //Landing gear SAFE DcsBios::LED gearRSafe(0x1026, 0x2000, 5); DcsBios::LED gearNSafe(0x1026, 0x0800, 6); DcsBios::LED gearLSafe(0x1026, 0x1000, 7); Cheers Hans
  18. The next slave needs it's own MAX487 chip. A & B pins on the new MAX487 needs to be connected to A & B lines on the setup you have already made The blue wire is is for RE/DE which serves similar function on both Master and Slaves You need three wires when connecting a MAX487 to an Arduino RX, TX & RE/DE. To inter connect the MAX487 you need two wires, A & B. Last but not least you need to apply power to both MAX487 and Arduino. Hope this answers your questions Cheers Hans
  19. No that is correct. You cannot load the Arduino while the MAX487 is connected. I do the same. I seem to recall using a pull down resistor somewhere but I need to locate that piece information on the forums. Glad you got it working, sir. Cheers Hans
  20. Hi shadowframe, Nicely obseved. That is because I am also forwarding a 5VDC line for future back lighting :-) Cheers Hans
  21. Yes that is the only way to run a DCS-BIOS Master. The DCS-BIOS Master board MUST be a Mega board because it has multiple communication lines. RX0/TX0 for the USB line RX1/TX1 & RX2/TX2 & RX3/TX3 for RS-485. When you upload the same sketch to the Mega you change the com port number in Arduino IDE, correct? Do you also change the DCS-BIOS communication to the same com port number? If not then you are trying to communicate to the Nano which is no longer attached. There shouldn't be anything different. As you may notice from my post the CMSP/EWMU is running on a Mega but via USB Cheers Hans
  22. Hi markjhall I use Nano's and Mega 2560 as slaves depending on different panels. As far as I remember I have following running of Mega 2560; IFF via RS485 UHF AN/ARC-164 via RS485 2x VHF AN/ARC-186 via RS485 TACAN via RS485 EWMU/CMSP in trial over USB Rest are Nano's over RS-485. Cheers Hans
  23. Hi BULLITT83, Try and look here https://forums.eagle.ru/showthread.php?t=187758 May be what you are looking for Cheers Hans
  24. No then that is not the source of your problems sir. Cheers Hans
×
×
  • Create New...