icydash
Newbie level 6
Hi! So I'm trying to design a circuit where on one end, if i hit a regular push button switch, it causes a wireless signal (maybe the word "turned on" if the switch is on, or "turned off" if the switch is off, using perhaps a zigbee?) to be sent to a wireless receiver on the other end. The wireless receiver then takes the received data, and sends the data to a microcontroller, which decides what to do based on if it receives the "turned on" or "turned off" signal.
If it's "turned on," the microcontroller will allow a [guitar signal] to be conducted through one wire/path, and if it's "turned off" it will direct the guitar signal through a default path (another wire).
I'm having trouble coming up with the circuitry to do this (the switching part using the microcontroller on the receiving end). At first I was thinking that if the microcontroller got the "turn on" signal, it would set a pin to high, which would go to the gate input of a transistor, which would allow the signal to pass through one channel. If it got the "turn off" signal, a different pin from the microcontroller would be set to high, and that would send the guitar signal through the default path.....then I realized transistors only work with DC.
Does anyone have any ideas how I might go about doing this? Sorry for all the information but I figured it'd help if you knew what I was trying to do.
If it's "turned on," the microcontroller will allow a [guitar signal] to be conducted through one wire/path, and if it's "turned off" it will direct the guitar signal through a default path (another wire).
I'm having trouble coming up with the circuitry to do this (the switching part using the microcontroller on the receiving end). At first I was thinking that if the microcontroller got the "turn on" signal, it would set a pin to high, which would go to the gate input of a transistor, which would allow the signal to pass through one channel. If it got the "turn off" signal, a different pin from the microcontroller would be set to high, and that would send the guitar signal through the default path.....then I realized transistors only work with DC.
Does anyone have any ideas how I might go about doing this? Sorry for all the information but I figured it'd help if you knew what I was trying to do.