Hi fellas, i am unsure on how i am going to go about this. I am new to Arduino and have very minimal experience. I want to build a driving simulator, i will need to use at least 4 potentiometers and approx 15 buttons/switches. Can anyone help me on how to write the code (for find some code) for this. Thank you
This is going to require some learning on your part. With no knowledge you are not going to get this working.
Learn the basics of connecting inputs (switches, resistors and potentiometers) and outputs (LEDs, relays servos). Also how to read the inputs.
Start with one device at at time then add another once you get the first bit working.
Learn the basics of program layout and looping. Learn how to check for specific conditions.
When you have the basic knowledge, you will get more help if required.
Weedpharma
Hi Weedpharma,
thank you for your response. Sorry i forgot to add that i do have a working knowledge of electronics (switches, resistors and potentiometeres as well as leds, relays, servo, etc.). I am just unsure on the coding side of the project.
Thanks
Hi,
I think you need to list all your inputs and outputs, such as what is your output display for the simulator.
Tom.... ![]()
You need to think of the project as a series of separate pieces that can each be developed and tested separately - for example read a potentiometer, read a switch. When you know how to make them work separately you can start joining things together.
Have a look at planning and implementing a program
Read as many Forum Threads as you can - they will all add to your knowledge, including "what not to do"
...R
Thank you everyone for your help