Results 1 to 9 of 9
  1. #1
    10+ Posting Member
    Join Date
    Oct 2010
    Location
    England
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    how interfacing servos and stepper motors ??

    MY FIRST POST YAY !!!

    hello everyone firstly i would like to introduce myself. i am nineteen year old student in the UK. I have been in to flight sim for a while now and have recently decided to expand my hobby into realism by using servo and stepper motor gauges. i have a few question i would like to ask you guys

    1. i want to buy the mikes flight deck book to build my Cessna 152 cockpit, i know it has info about building the gauges the circuits etc.. but does it also teach how to program the gauges to communicate with flight sim x.

    2. i have install fsbus and read through it looks ok but am not sure yet if using Mike powell's book is going to be an easier route.

    thanks to whoever is going to input help.

  2. #2
    Generic GA Sim Builder Jordan Farmer's Avatar
    Join Date
    Aug 2009
    Location
    Exeter, Devon, United Kingdom, 1.14701878546E+14, Exeter, Devon
    Posts
    158
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    Well, first of all, welcome to thecommunity, you are very welcome here, and i hope we can create that feeling! Secondly, glad to see another british lad here Thirdly, ive just bought Mikes book, about 30 seconds ago actually, what a coincedence. Now, if this book is anything liek the other, which im sure it is, it will definately show you absolutely everything to do with interfacing with the simulator. I am also building a C152, just so i can fly some GA while the A320 is being built! If you want help with any cessna stuff, drop Alex Jay a line, he is the moderator for this part, and a friend of mine, who has helped me no end, along with many others! Good luck with your sim anyway

    Jordan

  3. Thanks 360kal thanked for this post
  4. #3
    300+ Forum Addict



    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    380
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    Quote Originally Posted by 360kal View Post
    MY FIRST POST YAY !!!

    hello everyone firstly i would like to introduce myself. i am nineteen year old student in the UK. I have been in to flight sim for a while now and have recently decided to expand my hobby into realism by using servo and stepper motor gauges. i have a few question i would like to ask you guys

    1. i want to buy the mikes flight deck book to build my Cessna 152 cockpit, i know it has info about building the gauges the circuits etc.. but does it also teach how to program the gauges to communicate with flight sim x.

    2. i have install fsbus and read through it looks ok but am not sure yet if using Mike powell's book is going to be an easier route.

    thanks to whoever is going to input help.
    There are two books. The first, Building Simulated Aircraft Instrumentation focuses on instruments and was written before FSX came out. It has little about interfacing software and nothing about interfacing with FSX.

    The second book Building Recreational Flight Simulators is broader in scope and has only a single chapter on DIY instruments. However, it has sample code for interfacing with FSX using SimConnect and VC++ under Windows XP SP2.

    Neither book was written to teach programming. Book 2 has code examples, but if you don't program, you'll need a good reference like one of Ivor Horton's books.

  5. Thanks 360kal thanked for this post
  6. #4
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    I used Mike's book (the first one) to build my instruments, and Mike has done all the hard work with dimensions, gearing etc. I chose to continue using FSBus to drive the gauges, and had to learn some C++ coding. I have received an enormous amount of help from this forum with how to program, and also debugging when you have a go but it doesn't do what it's supposed to.

    I'll post a couple of photos on my Altitude Indicator.




  7. #5
    10+ Posting Member
    Join Date
    Oct 2010
    Location
    England
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    thanks for your input RobiD. i was looking through your old post of how to program an rpm gauge and seeing all those c++ coding scares me haha.

    the thing that i do not understand yet is why do i have to write my own program? i thought fsbus was the program and all i had to do was to set up my servos, steppers, and switches to the fsbus admin through the cards that i would build.

  8. #6
    10+ Posting Member
    Join Date
    Oct 2010
    Location
    England
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    thanks for your answer. i got another question, what program do most home cockpit builders use? at the moment i have got the vc++ 2010 and i have started learning on that but i do not want to go further only to realise most of you guys use other programs with a different structure.

  9. #7
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    Quote Originally Posted by 360kal View Post
    thanks for your input RobiD. i was looking through your old post of how to program an rpm gauge and seeing all those c++ coding scares me haha.

    the thing that i do not understand yet is why do i have to write my own program? i thought fsbus was the program and all i had to do was to set up my servos, steppers, and switches to the fsbus admin through the cards that i would build.
    Scared me at the beginning. Start small, learn how to get a simple switch to turn the landing lights on and off, and build from there.

    FSBus is a sort of program. It is a .dll (dynamic link library) file. You have to give some basic commands to the boards, the FSBus referrences the .dll file (probably a very poor explanation)

    Bottom line is, it is all there, you just have to tell it what to do. So if it is a switch, you have to tell fsbus that the input just received is a switch, and on state turns on what ever you tell it to, and then send that data to FSX.

    Please, if someone has a better explanation than this, feel free to add it.

    As for other programs, there are others, but they all require some type of programming. Some people use OC Cards, but they also require programming with SIOC.

    There are lots of options. I've been with FSBus for over 5 years and it has done everything I've needed, except for the stepper issue at present.

    David

  10. #8
    10+ Posting Member
    Join Date
    Oct 2010
    Location
    England
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    yh i have have been researching while widening my c++ knowledge.so far i got three options

    1. fsxpand - because its easier but unrealistic because i personally don't like the way the gauges would shine from the lcd light.
    2. fsbus - ultimate diy, a lot of learning and error's as i build
    3.oc cards - pricy but i get the the boards already manufactured.

    but am in no hurry am in no hurry of building yet. am just going to be researching till i know all i need to know.

  11. #9
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: how interfacing servos and stepper motors ??

    I really like FSBus. Rumour has it that .dll version 3 is on it's way. So I will be even more happy with it.

    I don't know a lot about the other 2. I did look into oc cards way back when I started building over 5 years ago.

    David

Similar Threads

  1. Stepper Board
    By mondo50m in forum General Builder Questions All Aircraft Types
    Replies: 16
    Last Post: 12-25-2010, 04:32 AM
  2. Stepper Motors
    By mach7 in forum General Builder Questions All Aircraft Types
    Replies: 1
    Last Post: 02-23-2009, 11:46 AM
  3. Stepper Cards Zero Position
    By Tripacer in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 02-04-2009, 06:25 AM
  4. which Stepper motor?
    By bindook in forum I/O Interfacing Hardware and Software
    Replies: 4
    Last Post: 10-05-2007, 10:10 PM