I am a complete newbie to electronics with back ground is computer science.
I have a manual switch today that when triggered causes a proprietary small microprocessor to do some things on the back-end. I put a volt meter on the switch and when triggered it was 2.84 volts.
I want to replace the manual switch with a switch that I can trigger through a program running on the Raspberry. I realize that the GPIO on the Raspberry is where this is usually done but I need to do it through USB.
I am also located in the US so looking for parts that can be sourced in the US. I planned on using Digikey for the parts.
The application has very limited space and is mobile. So like to keep the solution really small. I originally intended on purchasing the TI MSP420 but I really need the solution smaller.
I am capable of soldering. I will be using Linux on the Raspberry to talk to the USB port.
Unfortunately, since I am so inexperienced I need that exact parts required. Seems obvious I need a mini USB port. I believe I then need a USB IC but not sure which one or the easiest way to wire it to the USB port. Ideally, the USB IC would have two pins that I can solder wire to, send a message to the USB port and it would short the two pins. Not sure if it could be that simple.
Ultimately, I will have four switches that I have to control through software. All to a microprocessor and 2.84v. So not exactly sure how to wire but maybe need 4 sets of 2 pins that I can short? Or can maybe the four different switches share one of the wires? The switches are never pushed at the same time.
Above is phase 1. In phase 2 I need to be able to sense the mechanical switch being pressed. So I would have 2.84v hitting a pin and would like my program to receive an event when this happens.
Really appreciate the help. I really think this will be a really unique application for the Raspberry that will create interest. Majority of this application is software but I need the simple above hardware need.
