Jump to content

pappavis

Members
  • Posts

    654
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by pappavis

  1. FYI. A short update. The very early WIP designversion of the fuelpumps on righthandside of MiG-21bis. After >=25hrs of youtube vids, and latenights the reuslt below can be seen. Tooling used: KiCAD, FreeCAD.
  2. Leuk initiatief :).
  3. yes, correct, this is for an Arduino UNO.. but may change to MEGA. My desire indeed is to have it as PCBs to save on ugly wires, i'm already busy.. why not make it look good under the hood.. which saves ugly wiring and the PCB printing is hopefully affordable. below: my Arduino UNO shield in KiCAD; BTW, do u get fully assembled PCBs including the mounted switchs/LEDs ?? Which service do you use? more Q's * What would above arduino shield be costing approximitley? -- Only for the PCB, and me soldering components onto it * What is the min. quantity of boards one may order? * What if... i want a fully assmbled PCB with the LEDs and everything..? I saw EEV-blog mentioned sumthing about reels and pick-and-place. Thats why i was excited abt that $4k printer :P
  4. Oke, so i did some soldering. Its a chore.. too many wires :(. I know very little of electronics, but learning on the way. Questions; 1. Does every on-off switch need a resistor? 2. What if I add a resistor for each row of buttons, would that break something? 3. On some rows there are 3x on-off switches. If i use 1x resistor per row and 1x switch is off would that cause harm anywhere? This is my very-first attempt, yes its really ugly.. It should resemble this from MiG-21bis and this wired backside WIP on a plastic floortile scraper Any other tips appreciated.
  5. BTW, for sum1 like me with 2x righthands.. a PCB printer *WITH* pick-in-place. Just dont mind the $2999 pricetag ;) [ame=https://www.kickstarter.com/projects/botfactory/squink-the-personal-electronic-circuit-factory]Botfactory Squink[/ame].
  6. I got the idea for solderless PCBs by wathcing a youtube vid, see below. And yes soldering i did do.. but its a pain, and since I wanna build a complete cockpit its gonna take me AGES to solder everything together. I do have small protoboard, but havent used it yet. Going solderless is also kinda a way of learning myself more about the possibilities aroudn arduino. My next project could be a solar power backup for our remote waterpump installation in South Africa.. with 3g connections etc etc. The possibilities are endless. As for solderless after some googlin' found something like this.. That comes kinda close to what i wanna do. Except that i dont want any wires running all over the proto/PCB. Below youtube uses seeedstudio.. and yes its expensive if u have it wrong ;). [ame] [/ame]
  7. Working on a MiG-21bis pit. When it comes to soldering I have two right hands :P. Why not have a pre-fabbed PCB which allows one plugin pushbuttons, toggle switches, potentiometers etc etc onto it? note; 1. I am a n00b at Arduino, soldering, and learning in the go. 2. I havent designed any PCBs yet, experimenting with Sparkfun EaglePCB, Fritzing. It would save me WEEKS of frustration if i can just have my MiG-21bis fuel pumps-thingys PCB printed, then plugin the on-off switches onto the PCB. No soldering. I am sure sum1 has already tought of this.. and did it. But WHERE? Which supplier can create such PCBs for me? If i deliver the PCB design, WHO can create that PCB? For example, this is my prototyping.
  8. Hi Leatherneck, Please can you disclose the dimensions of the MiG-21bis so we cockpit builders can make a sort-of realistic cockpit? As much info, or size as possible will be appreciated. Evena scaled 3DS-max will be most appreciated. Where to put knobs, buttons, how about spacing between them etc etc. Any1 else here have these data, or knows a website/pdf with details?
  9. Helaas was de 159th Aviation Regiment afwezig.. had to cancel our squad presence bcs of personal reasons.
  10. My wife suggested we factor the cockpit building into the household budget, under the section 'hobbies' :smartass:.
  11. how about Mirage F1-CZ.. Suid-Afrikaanse Lugmag :). Wouldnt it be moremlogical for Razbam to make an Mirage F1?
  12. for me, it worked first time perfect. No firewall issues. Windows 10. Dunno if this helps; 1. Have u tried an abolute minimal "Hello World" sketch which only sends data via the serial port at example 9600 baud? -- then use the serial Monitor to check if u get Hello World. 2. In your sketch, verify the serial baudrate which is sent from Arduino sketch. it should be 500000. 3. Do u have a codeline.. void setup() { Serial.begin(500000); } void loop() { while (Serial.available()) { parser.processChar(Serial.read()); } // poll inputs DcsBios::PollingInput::pollInputs(); }
  13. LOL, ja ik probeer het voor het eerst. Its my first attempt.. my cost estimate is based on components and materials which i could source from (affordable) sources. Its built around an Arduino Uno R3 and DCS-BIOS. For parts, bought most locally from Hobbyelectronica.nl & martoparts.nl Its fun :). I spend more time on this cockpit than flying MiG-21bis.
  14. Leapmotion + oculus Rift? Maybe. That tech is still in its newborn baby stage. Though using a VR-device in DCS likely is a challenge. I dont have a Oculus so cant comment. Exactly. Its taken me many hours of research to get a LED from the cockpit to protptype board working.. Pricepoint is about €50 for testers. And then its no commercial thing. I.e. wont be making any money from this whatsoever. This project justifys investing into a 3D printer, laser cutter and CNC mill (the wife.. :P :P) €50 gives you.. The righthandpanel with switches for fuel pums, gyros, ROKOT etc.
  15. Would you invest in a DCS: MiG-21bis cockpit project? Initially, only righthand switches to be built. Its a proof. Plug 'n Play. No external drivers needed. Stick the USB cable into a USB port, start DCS world and enjoy. Its to be all custom built in my 'man cave', each unit soldered, assembled individually & tested by hand. I need a few volunteers willing to buy it from me.. Short planning; 1. R&D. I bought components. Have some things working, such as RSBN-channel 2. Have to 'sell' this idea to my wife. She said conditionally agreed but must have pre-orders & financing. I dont want a divorce :noexpression:. 3. First batch of testunits. Build them. Send to alpha testers., get feedback. 4. Build a few more testunits. Ship them to beta testers 5. Go on to phase 2.. more complex buttons. Initially, only the righthand fuel pumps, AC/DC, ROKOT and floodlights would be built. To keep complexity to minimum only on/off switches will be supported. Later on greater things such as ARC-channel selecter, radio, and other switches on righthand. any takers? questions/suggestions are apprecaited.
  16. hi! I'm wanna build a a MiG-21bis cockpit, and learning with Arduino + DCS-BIOS along the way. My electronics knowledege is like.. near nothing :P Now just sorta getting the hang of it, but have some questions.. 1. Wiring 7 segment displays; 1.1. A 7 segment display for RSBN-channelNr display.. however its a NIGHTMARE with all the wires. I do have a 74HC595 shift registerchip. Which still requires an ungodly number of wiring. Does anyone know of an I2C solution for 7-segment displays, relieving me of the over-wiring? I bought a 'switchdoclab' GPIO-boardwhich is I2C. However its got 6 IO-pins which probably isnt enough.. 1.2. Could a (realtime) clock display perhaps be misused as 7-segemnt display? 1.3. How would i wire a 4-digits 7-segment display which has 12-pins? 2. Weapon selector dial, ARK-station selector? This seems rather complicated. const byte wpnSelPins[11] = {PIN_0, PIN_1, PIN_2, PIN_3, PIN_4, PIN_5, PIN_6, PIN_7, PIN_8, PIN_9, PIN_10}; DcsBios::SwitchMultiPos wpnSel("WPN_SEL", wpnSelPins, 11); SUGGESTION: maybe misuse a potentiometer with stepper values? 3. A 3-position tiltswitch.. navigation mode, weapon mode-selector. Which switch can i use? DcsBios::Switch3Pos irSarNeu("IR_SAR_NEU", PIN_A, PIN_B); What does it look like? What values can be read from it? Any partnumers? TIA!
  17. I bought my Arduino as 'experimentation kit' from China. Included was LCD-screen, unknown manufacture. Its something like this:
  18. yes, the POT-meter works, thanx to the fix on your dropbox. PROBLEM: The screen goes on, but not showing anything. I use an I2C-scanner code from internet. The I2C was soldered onto the back of 16x2 LCD. It was my first attempt at soldering >20rys. :noexpression: Wire connections; I2C SCL pink --> Ardiuno SCL (analog port=A5) I2C SDA yellow --> Ardiuno SDA (analog port=A4) I2C VCC red --> Ardiuno +5v I2C GND Gray jumper jumper --> Arduino GND and this is my LCD-test code. text is NOT appearing :doh: This is how it was soldered/connected to my Arduino UNO.
  19. Small update, this is my MiG-21bis work-in-progress prototyping. Some note; * The tilt-switch powers the SRZO-IFF decoder * The knob sets TRGT_SIZE parameter * Push button, is for ENG_START just cant get the LCD to display text yet, i'm using a I2C-interface. Probably mis-soldered something?
  20. Are there thigs modeled such as; * engine overspeed inflight ('the need for speed') * Is it possible to preset programmed navation routes, targets such as the A-10C and Ka-50 using its computer? * possibilities for cockpit builders, i.e exporting of data, buttons to click etc to use with DCS-BIOS?
  21. YES :) this solved it. I did this; 1. Quit Arduino IDE 2. Opened Windows explorer, then into directory C:\Users\XXX\Documents\ 3. Deleted C:\Users\XXX\Documents\Ardiono directory. 4. Started Ardiono IDE, it complains about missing library. CLick OK, and quit close the IDE. 5. Downloaded the latest Arduino lib.. https://github.com/dcs-bios/dcs-bios-arduino-library/releases/download/v0.1.3/dcs-bios-arduino-library-v0.1.3.zip 6. Downloaded the fixversion from nasty76' dropbox --> https://www.dropbox.com/s/9jf695eszcj3t3k/dcs-bios_potFix_Nasty.rar?dl=0 7. Opened the zip-file using 7zip, unpacked it. 8. Opened dcs-bios-arduino-library-v0.1.3.zip using 7zip. 9. Replaced the files from Nasty76' fix into dcs-bios-arduino-library-v0.1.3.zip. 10. Started Ardiuno IDE, used menu Schetsch --> manage library --> add zip-library. 12. Recompiled & uploaded to my Arduino Uno R3. 13. Started DCS: Ka-50.. and VOILA!! it works :thumbup::pilotfly: Suggestions; * @nasty76, perhaps you should submit your Poteniometer fix to the DCS-bios github? Now.. only (small) thing is, that the pot isnt synced to DCS. For example in Ka-50 misison start; * pot knob is totally to the left = 0 * the ABRIS Brightness = <>70% (at mission start). What can i do, so the DCS controls are synced to the external potentiometer/servo etc?
  22. I've connetced a potentiometer to set MiG-21bis' "TGT_SIZE"-parameter. It crashes the serial transfer between DCS-Arduino. The polarity seems right, and its connected to GND, 5V and A0 on my arduino Uno. Original posted HERE --> http://forums.eagle.ru/showpost.php?p=2508806&postcount=125 Sorry for a possible cross post :noexpression: All tips appreciated.
  23. I reversed the GND/5v, then the seial transfer stopped even faster. any tips? UPDATE: Solution here --> http://forums.eagle.ru/showpost.php?p=2511167&postcount=4
  24. Potentiometer in MiG-21bis hi! I've connetced a potentiometer to set MiG-21bis' "TGT_SIZE"-parameter. It crashesh the serial transfer between DCS-Arduino. Something weird happens; 1. When I put my hands closeby :joystick: to the potentiometer the serial output would go wild reporting TGT_SIZE like this: TGT_SIZE 0 TGT_SIZE 64 TGT_SIZE 0 TGT_SIZE 192 TGT_SIZE 0 TGT_SIZE 64 TGT_SIZE 0 TGT_SIZE 64 TGT_SIZE 0 2. When I turn the potentiometerknob from 0 position, to something more, it would really go WILD.. increasing the TGT_SIZE to 5893, This rapid increase happens with me just barely turning the meterknob. Then, withing like 1 second, then the serial output stops. The pushbutton for engine start then also stops responding. > 2015/10/07 16:59:56.403753 length=62 from=101148 to=101209 UUUU....21....+. .....:"....."..]I..\b..?.wi......"............< 2015/10/07 16:59:56.409254 length=1890 from=71939 to=73828 TGT_SIZE 2562 ... etc etc TGT_SIZE 5957 TGT_SIZE 5893 TGT_SIZE 5957 TGT_SIZE 5893 TGT_SIZE 58> 2015/10/07 16:59:58.517070 length=50 from=102084 to=102133 UUUU....Bi....Lv..*"......."..EI."\b.Gw............> 2015/10/07 16:59:58.521068 length=54 from=102134 to=102187 UUUU\b...s.....+. ......"......."..DI."\b.Jw............ DCS Version=1.2.16 DCS-BIOS version=0.4.0 potentiometer setup, left=GND, right=5V, middle=A0 What am i doing wrong? here is my sketch; #include <DcsBios.h> #include <Servo.h> int pot_a0 = A0; int pot_midway = int(1023/2); int led_intern = 13; /* Instantiate a ProtocolParser object to parse the DCS-BIOS export stream */ DcsBios::ProtocolParser parser; // ****** DCS: MiG-21bis ****** DcsBios::Potentiometer tgtSize("TGT_SIZE", pot_a0); void setup() { Serial.begin(500000); } void loop() { // DCS-bios. feed incoming data to the parser while (Serial.available()) { // Read the pot and set the LED. --> https://arduino-board.com/tutorials/potentiometer if (analogRead(pot_a0) > pot_midway) { digitalWrite(led_intern, HIGH); } else { digitalWrite(led_intern, LOW); } parser.processChar(Serial.read()); } // poll inputs DcsBios::PollingInput::pollInputs(); } potentiometer setup, left=GND, right=5V, middle=A0 regards, 159th_pappavis
  25. The advantage of few independant devs; * Know-how is spread across the community i.e. >=1 person knows the technical ins & outs * If a dev stops, temporarily or forever the community can jump over to the alternative. This, more of the same = in our case = good.
×
×
  • Create New...