Hi. brief introduction I'm Marcus and I'm new to Arduino. I have decent knowledge on C++.
My scenario is this: I want to make a circuit that is able to read different connections when a plug is connected to it, and it outputs what kind of plug it is and the class number based on the jumper wiring inside the plug itself. So may I ask for some of your views/advice on how I can go around doing that.
[SAMPLE]
Jumper wiring in plug: 1-2 3-4 5-6
Output: Type A, Class 2
(Optional) I'm also considering whether purchasing this starter kit (stated below) will allow me to do the job. Thank you very much!
Marcuswdf:
My scenario is this: I want to make a circuit that is able to read different connections when a plug is connected to it, and it outputs what kind of plug it is and the class number based on the jumper wiring inside the plug itself.
Assuming you can specify the wiring inside the plugs and the message that you want to produce for each set of connections that should be straightforward.
However you have not given us much information.
It is much easier to give useful advice if you tell us what the project is all about rather than just ask about a specific part of it.
Robin2:
Assuming you can specify the wiring inside the plugs and the message that you want to produce for each set of connections that should be straightforward.
However you have not given us much information.
It is much easier to give useful advice if you tell us what the project is all about rather than just ask about a specific part of it.
...R
Hi Robin2 apologies! For my project I will need to distinguish what type (gain/offset) of plug it is and determine the class (eg. 1-100). I will also have to hard code for 244 unique jumper interconnections that vary between 0 - 5 connections each. Each of these connections will tell me the type and class.
example:
1-2 3-4 5-6 7-8 9-10
The plug will have 10 ports (1 to 10).
So the issue I am facing is which ports do I use (or do I need to buy an I/O extension), and also how I should connect the entire thing together (sorry im new :)) + 1x liquid crystal display for output
I hope the above information will suffice. Hope to hear from you
Marcuswdf:
Hi Robin2 apologies! For my project I will need to distinguish what type (gain/offset) of plug it is and determine the class (eg. 1-100). I will also have to hard code for 244 unique jumper interconnections that vary between 0 - 5 connections each. Each of these connections will tell me the type and class.
example:
1-2 3-4 5-6 7-8 9-10
The plug will have 10 ports (1 to 10).
So the issue I am facing is which ports do I use (or do I need to buy an I/O extension), and also how I should connect the entire thing together (sorry im new :)) + 1x liquid crystal display for output
I hope the above information will suffice. Hope to hear from you
You should realize that you have a lot of information in your head that is not being communicated to us.
Pick two or three of the specific plug types that you want to be able to detect and post their details - how they are wired and what you expect the Arduino to detect and to report. Wiring schematics would be a big help.
What do you mean by "gain/offset". I had the impression from your title and your Original Post that you just want to check for closed or open circuits.
Also, you have not answered my request to tell us what about the project. What is the purpose of these plugs? Where do they come from? Why are you testing them? Are they part of a larger project? What project?