Jump to content

Hansolo

Members
  • Posts

    1775
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hansolo

  1. Hi Calum, Thanks for the numbers. I have gotten hold of some PDSP1881. The character height is the same as yours but the spacing on mine are a little bigger and it 8 digits displays. There is a datasheet for mine here; http://www.mouser.com/ds/2/311/00036139_0-280291.pdf And the SLG2016 datasheet is here; http://www.mouser.com/ds/2/311/XY%20Stackable%200.180%20%20%20%20%204-Digit%205x7%20Dot%20Matrix_%20Alp-335281.pdf Cheers Hans
  2. Thank you very much for taking a look Ian. Much appreciated. I now figured out what the problem was. I got it to work this evening and then it stopped working after I had disconnected my laptop to the Slave board. Turned out that I had applied 5VDC to the Nano but in the Vin, i.e. before the voltage regulator :doh: After connecting 5VDC to a 5VDC pin it was working. Later on I plan to apply 12VDC to the Vin to ensure there is enough juice to the boards. I seem to recall that earlier had issues running LCD's on 5VDC. With regard to a logic analyser I have a Rigol oscilloscope DS1054Z. Can that be used for this? Thanks a bunch for the assistance Sir. Cheers Hans
  3. Ok moore noob questions as I simply can't figure out what I have done wrong. I now have the Mega running as master and two slave units i.e. 1 & 2. The two slaves unit both show pin13 as Master Caution. I use that to verify connection. Anyway I was trying to connect one of the boards as the Electrical Power Panel 'just' using the Slave example from the DCS-BIOS library and add the functions needed; /* The following #define tells DCS-BIOS that this is a RS-485 slave device. It also sets the address of this slave device. The slave address should be between 1 and 126 and must be unique among all devices on the same bus. */ #define DCSBIOS_RS485_SLAVE 2 /* The Arduino pin that is connected to the /RE and DE pins on the RS-485 transceiver. */ #define TXENABLE_PIN 2 #include "DcsBios.h" /* paste code snippets from the reference documentation here */ DcsBios::Switch2Pos eppBatteryPwr("EPP_BATTERY_PWR", 3); DcsBios::Switch2Pos eppAcGenPwrR("EPP_AC_GEN_PWR_R", 4); DcsBios::Switch2Pos eppAcGenPwrL("EPP_AC_GEN_PWR_L", 5); DcsBios::Switch2Pos eppEmerFlood("EPP_EMER_FLOOD", 6); DcsBios::Switch3Pos eppInverter("EPP_INVERTER", 7, 8); DcsBios::Switch2Pos eppApuGenPwr("EPP_APU_GEN_PWR", 9); DcsBios::LED masterCaution(0x1012, 0x0800, 13); void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); } While the Pin13 does light up with Master Caution the inputs don't do anything. I hooked up the toggle switches like in the DCS-BIOS user guide, i.e. pulling inputs down to GND. I have measured the voltage on the inputs just to be sure. Un-activated the voltage is 3.3VDC and activated it's zero. I am certain it is staring me right in the face. I even tried to run with both pull up and pull down resistors but no joy. I have tried above code on another board connected directly to SOCAT and there it works. A little hint would be highly appreciated :cry: Cheers Hans
  4. Couldn't agree more. Top work Calum :thumbup: Do you have a link to the two types of Osram's? I have some Osram's but they are all same size. Looking forward for more picture my good Sir Cheers Hans
  5. Thanks Warhog and thanks for spotting the missing "enable" pin. Forgot all about. I am still high for getting the RS485 up and running :megalol: I can think clearly :-) Cheers Hans
  6. Hi Baldawg, Disregard the previous nonsence :) The UNO doesn't have enough pins. You'll need a Mega ;) Cheers Hans Oh and I managed to get RS485 up and running after assistance from Ian :thumbup: Still in early trial phase of cause :smilewink:
  7. Very neat package you have build there Sir. Looks very professional :thumbup: Cheers Hans
  8. Very good looking build there WhoMadeWho :thumbup: Thanks for sharing and looking forward for more pictures along the way Sir Cheers Hans
  9. Spot on Ian :thumbup: I found that second solution didn't work all the times, so I increased to 2 seconds and now it I get the Mega to connected 10 out 10 times. Thank you very much for your swift support :thumbup: Much appreciated Sir. Cheers Hans ... must spread some rep arouns :-(
  10. Baldawg CDU question Got a question from Baldawg on DM's thread but in order not clutter his thread then I'll post the reply here. Baldawg, I have attached the pinout for that CDU. I think I managed to fry the potentiometer so I do not have the pin numbers for that, Sorry. I purchased this D-Sub connector http://www.ebay.com/itm/1pc-D-Sub-37-PIN-DB37-Female-Solder-Connector-Socket-/180688700516?hash=item2a11e2c464:g:0JIAAMXQhpdRvy6i I tried to utilize an Arduino board in order to implement it with DCS-BIOS later on. This is a small (poor quality) YT of a test running this Arduino library; http://playground.arduino.cc/Code/Keypad My idea was to use SWITCH CASE to identify the presses and then send it via DCS-BIOS. It may not work but then I can probably just use a joystick controller board and use the same matrix. I wouldn't even put in the diodes that are normally used in the matrix as only one button would be pressed at any time. NOTE! Pinout has been updated with Arduino pins for this particular CDU to ease understanding, https://forums.eagle.ru/showpost.php?p=3774588&postcount=24 Cheers Hans C-130 CDU pinout.pdf
  11. My turn for something very noob. I finally managed to get around to start using lastest DCS-BIOS. I wanted to start making a similar setup as to what Warhog is using, i.e. a Mega as RS485 Master and then cheaper/smaller UNO/Micro as RS485 Slaves. In order not to jump into a hole with too many variable I tried to do it baby steps, one thing at a time. This meant trying to hook up the Mega for the Master Caution example supplied with DCS-BIOS. Initially I had problems getting Socat to run but a lot of back and forth between previous posts, using DCS-BIOS interactive control reference I managed to get Socat up and running. However still no joy on running the Mega with Master Caution example. The pin 13 would be always on. Loaded a small standard blink sketch included with Arduino IDE (1.6.12) and that worked flawlessly with pin 13. Hooked up an Uno instead and could get pin 13 to light up when pressing master Caution was on in game. Tried to change the baud rate to 115200 after speaking to a senior member but that didn't solve the missing blink of pin 13 on the Mega. During investigation I found that the Uno works on baud 250000 but not 115200. Tried baud rates 115200, 250000 & 500000 for the Mega but it simply won't blink with Master Caution. I even tried to run them in parallel using two instances of Socat, same result; I am certain it's a pretty obvious fault on my side I simply just can't see it. Any help is appreciated :thumbup: Cheers Hans
  12. Hi Braeden108, Found them in the basement :-) Bought a bundle of toggle switces last year and the ones on the pictures were among them. The NATO supplier code I found here http://awin.aviationweek.com/wad/wad_pdf/wad_vendor_codes.pdf Cheers Hans
  13. Looking at the pictures here, https://forums.eagle.ru/showpost.php?p=1563654&postcount=70 These may look like some of them; The F0214 is as far as I could figure out the NATO supplier code for ECE The 610-5F (small bat) is an ON-ON toggle switch non-locking The 27.610.2n is an ON-ON toggle with locking in key way side Cheers Hans
  14. Some more mag switches from same seller although he has doubled the price; http://www.ebay.com/itm/1-EA-NOS-2-POLE-DOUBLE-THROW-TOGGLE-SWITCH-FOR-VARIOUS-AIRCRAFT-P-N-25ET21-T-/182349595968?&_trksid=p2056016.m2518.l4276
  15. Thank you very much for the info AMVI_Hawk. I'll spread the word in our little wing and see if we can muster some pilots. Been a while since we attended last time, but that was a very enjoyable and professional event :thumbup: Cheers Hans
  16. Mag switches Very good price on mag switches. 2 pieces available; http://www.ebay.com/itm/311733834376?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT
  17. Alternative locking toggle switches Decent price on an alternative locking toggle switches; http://www.ebay.com/itm/291904350970?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT New price on Mouser is $12. And the seller takes offers
  18. Thank you gents for the info. Much appreciated :thumbup: Cheers Hans
  19. Very nice Lukas and Bignewy :thumbup: I seem to recall seen those on Ebay.co.uk once in a while not too expensive. Do you need to pull it out to hange gear position? Cheers Hans
  20. That is very sturdy alu setup, Warhog. Very nicely reuse of the pedals :thumbup: I think this is probably more like the A-10 pedals than anything else I have seem. I seem to recall that the pedals mechanism in the A-10 it top hinged as well although on the outside, I think. EDIT found the picture Looks very good Sir. Cheers Hans
  21. I concur with Warhog. I had same lag problem when using potentiometers with Helios. I switched on something and then 10 seconds later it switched on in DCS. I did install some capacitors to even our the signal. It helped a bit but it was never perfect. I remember writting Ian about this in the very first DCS Bios Experimental bersion. I seem to recall that he said a that back in those days DCS Bios would suffer same overwhelming amount of data. There may very well be a filtering in later DCS Bios. I honestly haven't tried. Oh and very nice panel Sir :-) Cheers Hans
  22. Nice illustration squid509 :thumbup: deadlyfishes if I am not mistaken then the dotted line in the HUD on squid509's picture is indicating where the LST is pointing to. Not particularly helpful in this situation but just info Cheers Hans
  23. Really nice work there Calum :thumbup: And good to have you back in pit building again. One day you will have to give me a hint on how to get the Osrams working. Keep 'em comming Cheers Hans
  24. That is one nice caution panel pitbldr and also ClayM. Very nice jobs indeed. Think I have missed this thread before. Nice job Sir's Cheers Hans
  25. Welcome to the forum Nathan. Yes the Home Cockpit section as cichlidfan says would probably the best place to get an idea of what is wanted the most. I believe the panels I use the most are AAP, UFC, CDU and radios where as TigersharkBAS mentioned the latter ones are the most advanced ones. Will the panels be the ones from PCflights.com or will they be of your own design? IIRCC then the two other players in the same field are fine tuning their prototyping so be prepared for some competition down the line. In any case all the best of luck on your endevour. Cheers Hans
×
×
  • Create New...