Since I am new to this forum, please tell me if I've messed up at anything...
I am working on a system that will only allow an ethernet connection when my computer is booted into Linux (and not Windows.) I have decided I would use a microcontroller (an Atmel SAM9) to connect to the host computer via USB. It has a built in controller.
I am trying to make it disconnect the ethernet (as if it were physically unplugged) unless software tells it via USB to connect the signal. I have looked at two methods, transistor switching and relay switching.
Transistor switching is the option I would prefer, to keep it all solid-state. However, transistors generally are polarized (power goes in one direction, in case I got the term wrong.) Additionally, they have a resistance and voltage drop associated with them. They may not pass high-frequency digital transmissions. However, they would probably need less power than relays, which keeps it simpler.
Relays, on the other hand, are like physically connecting and disconnecting the wires. I don't have many worries about voltage drop and resistance with them. However, they do use more power (and may not run entirely off USB, which only guarantees 100mA.) Also, I have seen that with physical switches "bouncing" can be a problem. I would need some way to alleviate this.
I would prefer to use transistors, but which type should I use? The switching will be accomplished by connecting the base/gate (depending on the type) to positive/negative power (again, depending on the type.) For relays, a transistor will connect them to a power source, which I will have to work out (external?)
Thank you for any help or suggestions.
I am working on a system that will only allow an ethernet connection when my computer is booted into Linux (and not Windows.) I have decided I would use a microcontroller (an Atmel SAM9) to connect to the host computer via USB. It has a built in controller.
I am trying to make it disconnect the ethernet (as if it were physically unplugged) unless software tells it via USB to connect the signal. I have looked at two methods, transistor switching and relay switching.
Transistor switching is the option I would prefer, to keep it all solid-state. However, transistors generally are polarized (power goes in one direction, in case I got the term wrong.) Additionally, they have a resistance and voltage drop associated with them. They may not pass high-frequency digital transmissions. However, they would probably need less power than relays, which keeps it simpler.
Relays, on the other hand, are like physically connecting and disconnecting the wires. I don't have many worries about voltage drop and resistance with them. However, they do use more power (and may not run entirely off USB, which only guarantees 100mA.) Also, I have seen that with physical switches "bouncing" can be a problem. I would need some way to alleviate this.
I would prefer to use transistors, but which type should I use? The switching will be accomplished by connecting the base/gate (depending on the type) to positive/negative power (again, depending on the type.) For relays, a transistor will connect them to a power source, which I will have to work out (external?)
Thank you for any help or suggestions.