I am currently working on a odd project and I do need some help !
What I am trying to do is create a circuit that will accept 2 different resistors (on slot boards) and I am trying to get 1 resistor value reduced and the other maintained dependant on what slot board is fitted.
I have a manual switch that changes what resistor circuit is used and to a point works fine, but what I really want to do is have the circuit switching done automatically through a chip. For example if the chip detects a high resistance it will change to circuit 1 and if the chip detects low resistance it will use circuit 2.
I don't have a schematic just a home made circuit board and what I am trying to achieve is just a personal project where I can plug a card into the slot (circuit 1) and get one effect and then the other card creates another. Yes I can do it with a switch to change the resistance detection of the circuit but I want to try and get a greater understanding of writing a program that would do it automatically.
I have just started playing around with arduino's and having fun doing little projects !!
Well one way would be to create a voltage divider that feeds into an analogue input. One resistor is on the main board and the other on the plug-in board. Each plug-in has a different resistor value.
Thus, depending on the value of the resistor on the plug-in board the voltage read by the analogue input will vary and you can determine which board is plugged in.