Jump to content

moken

Members
  • Posts

    166
  • Joined

  • Last visited

Everything posted by moken

  1. Where can download? the download link is dead. Thank you
  2. Hi, i don't understand how to connect from arduino to easydriver shield, I want to learn from yours, I found the example page in example 4 for multiple stepper motor , if it can helpful for you, please let me know, I will follw your step. Thank you http://www.schmalzhaus.com/EasyDriver/Examples/EasyDriverExamples.html
  3. Hi guy, now I provide the following material on cheap price, any body have interested, please let me know. 360 VID29 Stepper motor USD 4 (no need cut anything and modify) 360 Servo motor USD 4 (no need cut anything and modify) OSRAM I am not sure use which model is best on CMSP, Fuel .... Please let me know which model for each panel and then I will quote the price to you. The below link is information for each model http://www.pdp-11.nl/viperpit/fqi/fuel-quantity-ind.html Some model as below OSRAM SLG2016 USD 12 AVAGO HCMS-3907 USD 40 Not including shipping fee, I also have no any revenue. Please teach me the Stepper motor and osram of arduino code at DCS-Bios if you can, because my purpose is all people and me can make it work. I am apologize my English is not good. Thank you.
  4. VFD brightness Hi all friend, I need help, Now I use Potentiometer (0~1023) and arduino uno and VFD 20 x 2 for my CMSP but I have the following problem, I independently find the arduino code ( DSC-Bios to VFD, control VFD brightness), How to merge the Potentiometer (0~1023) with VFD brightness code for DSC-Bios to VFD), and the VFD brightness code that have 4 degree for 100%, 75%, 50% and 25% brightness, may I use Potentiometer's range (0~255) for 25%, (256~511) for 50%, (512~767) for 75% and (768~1023) for 100% brightness? or any idea for 4 degree brightness with Potentiometer that similar as real cmsp's brightness function. And may I control the turn on or off the Display used the code? I have attached some VFD menu and red high light it may useful. :helpsmilie: Please help, Thank you independently code as the following << DSC-Bios to VFD >> #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void onCmsp1Change(char* newValue) { lcd.setCursor(0, 0); lcd.write(newValue[9]); lcd.write(newValue[0]); lcd.write(newValue[1]); lcd.write(newValue[2]); lcd.write(newValue[3]); lcd.write(newValue[4]); lcd.write(newValue[5]); lcd.write(newValue[6]); lcd.write(newValue[7]); lcd.write(newValue[8]); lcd.write(newValue[9]); lcd.write(newValue[9]); lcd.write(newValue[10]); lcd.write(newValue[11]); lcd.write(newValue[12]); lcd.write(newValue[13]); lcd.write(newValue[14]); lcd.write(newValue[15]); lcd.write(newValue[16]); lcd.write(newValue[17]); lcd.write(newValue[18]); lcd.write(newValue[19]); } DcsBios::StringBuffer<19> cmsp1Buffer(0x1000, onCmsp1Change); void onCmsp2Change(char* newValue) { lcd.setCursor(0, 1); lcd.write(newValue[0]); lcd.write(newValue[1]); lcd.write(newValue[2]); lcd.write(newValue[3]); lcd.write(newValue[4]); lcd.write(newValue[5]); lcd.write(newValue[6]); lcd.write(newValue[7]); lcd.write(newValue[8]); lcd.write(newValue[9]); lcd.write(newValue[9]); lcd.write(newValue[10]); lcd.write(newValue[11]); lcd.write(newValue[12]); lcd.write(newValue[13]); lcd.write(newValue[14]); lcd.write(newValue[15]); lcd.write(newValue[16]); lcd.write(newValue[17]); lcd.write(newValue[18]); lcd.write(newValue[19]); } DcsBios::StringBuffer<19> cmsp2Buffer(0x1014, onCmsp2Change); void setup() { DcsBios::setup(); lcd.begin(20, 2); lcd.clear(); } void loop() { DcsBios::loop(); } << control VFD brightness >> /* LiquidCrystal Library - demo Extension to control brightness VFD */ // include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // Adds definitions for VFD: #define VFD_25pc 0x03 #define VFD_50pc 0x02 #define VFD_75pc 0x01 #define VFD_100pc 0x00 void vfd_brightness(int brightness) { // unfortunately lcd._displayfunction is private so we've to redefine it int _displayfunction = LCD_4BITMODE | LCD_2LINE | LCD_5x8DOTS; lcd.command(LCD_FUNCTIONSET | _displayfunction | brightness); } void setup() { // set up the LCD's number of rows and columns: lcd.begin(2, 16); lcd.print("hello, world!"); } void loop() { vfd_brightness(VFD_100pc); delay(200); vfd_brightness(VFD_75pc); delay(200); vfd_brightness(VFD_50pc); delay(200); vfd_brightness(VFD_25pc); delay(200); vfd_brightness(VFD_50pc); delay(200); vfd_brightness(VFD_75pc); delay(200); } ========================== VFD menu as the following 4-4-6. FUNCTION SET RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 0 0 0 0 1 DL N × BR1 BR0 ×=don’t care This instruction sets the width of the data bus for the parallel interface modes, the number of display lines, and the luminance level (brightness) of the VFD. DDRAM, CGRAM, and AC contents are not affected by this instruction. DL = 0 :Sets the data bus width for the parallel interface modes to 4-bit (DB7-DB4). DL = 1 :Sets the data bus width for the parallel interface modes to 8-bit (DB7-DB0). N = 0 : Sets the number of display lines to 1 (this setting is not recommended). N = 1 : Sets the number of display lines to 2 BR1, BR0 = 0,0: Sets the luminance level to 100%. 0,1: Sets the luminance level to 75%. 1,0: Sets the luminance level to 50%. 1,1: Sets the luminance level to 25%. 4-5 RESET CONDITIONS After a power-up reset, the module initializes to the following conditions: 1) All DDRAM locations are set to 20H (character code for a space). 2) The AC is set to DDRAM address 00H (i.e. sets cursor position to 00H). 3) The relationship between DDRAM addresses and character positions on the VFD is set to the non-shifted position. 4) Entry Mode Set instruction bits: I/D = 1: The AC increments after each DDRAM or CGRAM access. If S=1, the information on the display shifts to the left by one character position after each DDRAM write. S = 0: The display shift function is disabled. 5) Display On/Off Control instruction bits: D = 0: The display is off (display blank). C = 0: The cursor is off. B = 0: The blinking character function is disabled. 6) Function Set instruction bits: DL = 1: Sets the data bus width for the parallel interface modes to 8-bit (DB7-DB0). N = 1: Number of display lines set to 2. BR1,BR0=0,0: Sets the luminance level to 100%. Thank you for your help.
  5. May I ask you that the ratio wthether is 1:1 with original size of cockpit?
  6. Ok, thanks again :thumbup:
  7. I want fuel select knob, since your firstly product line is not including this one. Thanks
  8. Thank you DM I think your price is fair and good quality.:thumbup:
  9. Hi DM, Wow :thumbup: I am appreciate for your great work. Could you painted for us?
  10. DM, Thank you for your contribution!
  11. Sorry all, i back, my mean I think that 1TL62-7 is not original for fire exting disch and seat up down
  12. Hi DM, May I ask you that based on your reference A-10C need 2 units 1TL62-7 switch but when I got those switch it may different from original A-10C used, please see following attached photo. Are you sure 1TL62-7 is original for A-10C? However, this 1TL62-7 switch is also look good.
  13. Why have not including me? I have pm you already. I need all.
  14. Hi Flim Do your Aces II have function? for instance, left side switch x 2, eject..... Thanks
  15. I updated my DDR2 800 to 8GB, now I am normal performance in all of module including Mi-8, I think the game need more ram for running, thanks all
  16. Really thank you for your advise, I just upgrade the DDR2 RAM, the price of 4GB 800 or 2GB 1066 that is same low price, I will not invest more money in my old system, I will waiting faster new CPU price drop for my new system. And I will wait MI-8MTV2
  17. Hi all, My mother board is Asus P5QPL-AM CPU E6500 2.93Gz Asus GTX570 WD SATA 320GB X 2 Window 8 64bit Now I use Kingston DDR2 2GB 800 x 1 but more stagnancy I want to upgrade the ram but the mother board only have 2 socket of ram, each socket mixmiun support 4GB DDR2 and 667 / 800 / 1066 My modules as following. A-10C Recommended system requirements: Operating system 64-bit: Windows Vista and 7; Processor: CPU: Core 2 Duo E8400, AMD Phenom X3 8750 or better; Memory: 4GB; Hard disk space: 7 GB; Video: Shader 3.0 or better; 896MB NVIDIA GeForce GTX260 Black shark 2 Recommended system requirements: Operating system 64-bit: Windows Vista and 7; Processor: CPU: Core 2 Duo E8400, AMD Phenom X3 8750 or better; Memory: 4GB; Hard disk space: 7 GB; Video: Shader 3.0 or better; 896MB NVIDIA GeForce GTX260 I want to buy Mi-8MTV2 Recommended system requirements: Operating system 64-bit: Window 7 or Window 8; CPU: Intel Core i5 or better; RAM: 8 GB; Hard disk space: 10 GB; Video: NVIDIA GeForce GTX280 1) Problem is only have Kingston 4GB 800 or 2GB 1066 in market, what should I buy? 2) Which OS I can use? 3) Should I buy Mi-8MTV2? Please give me the best idea Thank you
  18. I have pm you for my order of Digital-to-Synchro board , please check
×
×
  • Create New...