New here and starting a build
New here and starting a build
Hello all.
Emanuele is my name and I hate coding. Now, phew, feel betwr that I have just said it. Moreover, I don’t even understand the logic! But I am willing to give AM a shot.
Bought an Arduino Mega and will buy the Hispapanel 738 MCP panel+PCB today
I want to wire that MCP using the Arduino Mega and AM.
Now, I would need some help please:
1. Physically, how does a wire panel look like? Meaning, I have never seen how multiple switches, buttons, LEDs etc are wired together to an Arduino. Can somebody please some detailed pictures? Are the GNDs of each switch, button etc wired all together to a single GND pin on the Arduino? How do you connect those GNDs wire into a single one?
2. Will each panel of the cockpit (NAV, ADF, Fuel panel, etc etc etc ) need its own Arduino Mega board? Or there are extensions to the Arduino a Mega that can be attached to it to add more inputs and GNDs pin? I see only 2 GNDs pin on the Mega.
3. Hispapanels sent me the pin correspondence for their PCBs .
Using that, will I be able to wired that PCB to the Arduino?
4. Please be patient. These are probably silly questions but I need to start somewhere.
Emanuele is my name and I hate coding. Now, phew, feel betwr that I have just said it. Moreover, I don’t even understand the logic! But I am willing to give AM a shot.
Bought an Arduino Mega and will buy the Hispapanel 738 MCP panel+PCB today
I want to wire that MCP using the Arduino Mega and AM.
Now, I would need some help please:
1. Physically, how does a wire panel look like? Meaning, I have never seen how multiple switches, buttons, LEDs etc are wired together to an Arduino. Can somebody please some detailed pictures? Are the GNDs of each switch, button etc wired all together to a single GND pin on the Arduino? How do you connect those GNDs wire into a single one?
2. Will each panel of the cockpit (NAV, ADF, Fuel panel, etc etc etc ) need its own Arduino Mega board? Or there are extensions to the Arduino a Mega that can be attached to it to add more inputs and GNDs pin? I see only 2 GNDs pin on the Mega.
3. Hispapanels sent me the pin correspondence for their PCBs .
Using that, will I be able to wired that PCB to the Arduino?
4. Please be patient. These are probably silly questions but I need to start somewhere.
Re: New here and starting a build
Hi,
Welcome!
1. All components (switches, buttons, LED's) need a common GND. So yes, you have to find some way to do that. There are some Arduino hat boards that might help you with connecting.
Maybe something like this?
https://www.amazon.com/Electronics-Salo ... B00UT13YXA
Or you could go with something like this. Note that you need soldering experience and additional components:
https://www.dhgate.com/product/prototyp ... 76936.html
There is no one answer here, you kinda have to figure out what works best for you.
2. An Arduino MEGA already has close to 52 pins that you can use drive LED's, switches etc. The GND is not an issue since you can split that to the components.
We have a list here that tells you what what component you can connect to which pin of the Arduino:
https://siminnovations.com/wiki/index.p ... _MEGA_2560
3. Think so, but I don't know the details of the Hispapanel.
4. We are Bottom thing when you start off is to not give up quickly. Programming can be annoying and frustrating at the start, but once you get the hang of it, it can (and probably will) become fun
Start off small with driving only one LED or something, and work your way up from there.
Code example of driving a LED to 100% brightness on pin D2 of the Arduino MEGA:
Corjan
Welcome!
1. All components (switches, buttons, LED's) need a common GND. So yes, you have to find some way to do that. There are some Arduino hat boards that might help you with connecting.
Maybe something like this?
https://www.amazon.com/Electronics-Salo ... B00UT13YXA
Or you could go with something like this. Note that you need soldering experience and additional components:
https://www.dhgate.com/product/prototyp ... 76936.html
There is no one answer here, you kinda have to figure out what works best for you.
2. An Arduino MEGA already has close to 52 pins that you can use drive LED's, switches etc. The GND is not an issue since you can split that to the components.
We have a list here that tells you what what component you can connect to which pin of the Arduino:
https://siminnovations.com/wiki/index.p ... _MEGA_2560
3. Think so, but I don't know the details of the Hispapanel.
4. We are Bottom thing when you start off is to not give up quickly. Programming can be annoying and frustrating at the start, but once you get the hang of it, it can (and probably will) become fun
Start off small with driving only one LED or something, and work your way up from there.
Code example of driving a LED to 100% brightness on pin D2 of the Arduino MEGA:
Code: Select all
hw_led_add("ARDUINO_MEGA2560_A_D2", 1.0)
Corjan
Re: New here and starting a build
Maybe you can post the document from Hispapanels? It comes down to how they have routed their PCB.
Re: New here and starting a build
Thank you very much for the info Corjan.
I will study what you have sent me and try to make sense of it.
First question: What do you mean that the GND is not an issue because I can split that to the components? Could you articulate please?
Ralph, here's the excel file that Manolo sent me.
Cheers!
E.
I will study what you have sent me and try to make sense of it.
First question: What do you mean that the GND is not an issue because I can split that to the components? Could you articulate please?
Ralph, here's the excel file that Manolo sent me.
Cheers!
E.
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: New here and starting a build
For anyone, the PCB pinout lists are available here :
http://hispapanels.com/tienda/files2dow ... %20Eng.zip
Free online circuits simulation
https://www.tinkercad.com/circuits
http://hispapanels.com/tienda/files2dow ... %20Eng.zip
Free online circuits simulation
https://www.tinkercad.com/circuits
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: New here and starting a build
Here's some sample with tinkercad
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: New here and starting a build
Sample with simulation, blocks and code
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: New here and starting a build
Additionaly, here's wiring diagrams
viewtopic.php?f=35&t=1078
https://www.electroschematics.com/12012 ... r-arduino/
https://www.electroschematics.com/13858 ... dac-guide/
https://howtomechatronics.com/tutorials ... e-arduino/
And Hispapanels MCP Pinout (Warning ! it originally target Hispapanels SIMIO Boards !!!)
viewtopic.php?f=35&t=1078
https://www.electroschematics.com/12012 ... r-arduino/
https://www.electroschematics.com/13858 ... dac-guide/
https://howtomechatronics.com/tutorials ... e-arduino/
And Hispapanels MCP Pinout (Warning ! it originally target Hispapanels SIMIO Boards !!!)
Last edited by SimPassion on Mon Jun 11, 2018 9:54 am, edited 1 time in total.
Re: New here and starting a build
Thank you for those diagram and links Simpassion. Appreciate it very much.
What I am lacking is the practical part. Meaning, how do you route wires, mount the arduino on the panels, create a common ground wire/bus etc
What I am lacking is the practical part. Meaning, how do you route wires, mount the arduino on the panels, create a common ground wire/bus etc
-
- Posts: 5346
- Joined: Thu Jul 27, 2017 12:22 am
Re: New here and starting a build
Here's an overview of what other are doing (to get inspired)
http://www.flaps2approach.com/system-in ... le-2-smar/
The idea is to start with a breadboard as there's common line for GND or POWER (3.3V or 5V)
and grow in a step by step with a real project
https://computers.tutsplus.com/tutorial ... -mac-54746
i'm using an external 12V power with additional DC/DC regulator for delivering stable and constant common 3.3V or 5V for all Arduino Boards
Warning !! : keep in mind that Arduino GND has to be wired together with external component common GND line to set an averall GND reference for the whole circuits. Otherwise logic won't work
https://www.pololu.com/search/compare/133
Tutorials
http://www.toptechboy.com/arduino-lessons/
http://www.flaps2approach.com/system-in ... le-2-smar/
The idea is to start with a breadboard as there's common line for GND or POWER (3.3V or 5V)
and grow in a step by step with a real project
https://computers.tutsplus.com/tutorial ... -mac-54746
i'm using an external 12V power with additional DC/DC regulator for delivering stable and constant common 3.3V or 5V for all Arduino Boards
Warning !! : keep in mind that Arduino GND has to be wired together with external component common GND line to set an averall GND reference for the whole circuits. Otherwise logic won't work
https://www.pololu.com/search/compare/133
Tutorials
http://www.toptechboy.com/arduino-lessons/
Last edited by SimPassion on Fri Jun 15, 2018 4:00 am, edited 1 time in total.