| ||
PAGE 1 of 9 - The USB On-Off Switch I recently posted a theory of operation for smart-cards and more specifically telephone cards, as well as a very simple phonecard reader with PIC microcontroller. The reason for all these was to gain experience with smartcards and make this project. What i am making here is a USB lock with smartcard key. The idea is that a phonecard reader made with a PIC micro will be able to store a number of different phonecards into memory. Whenever one of these cards is inserted into the slot, it will activate a 4-ports USB On/Off switch. If the card is removed, the USB ports will be de-activated. I do not really have any problem if someone else works on my PC, i do not keep federal secrets or military maps in my HDD. But the idea that i can lock and unlock my keyboard and mouse with a smart-card is quite appealing to me, and this is truly the only reason that I'm making this project. FOR THOSE WHO WILL START SAYING THAT THIS IS NOT 100% SECURE AND THAT THEY CAN UNSCREW THE PC CASE AND USE THE INTERNAL USB PORTS::: Congratulations - Hacker level 1 Let's start - The idea
I decided to separate the reader from the USB On/Off switch. I did this for 2 reasons: First, the reader should have only one through-hoe component, the slot, while the switch may have more than one through-hole component. The other reason is because the switch should be as close as possible to the USB wires to avoid long wires. The USB On/Off Switch I'm not very good at high-speed PCBs and hopefully this small PCB with short lines won't be a problem. I will be using the ADG714 chip from Analog Devices for the data switching. I will use also a relay to provide the 5 volts power for the USB. I'm not sure if the ADG714 can be used for USB applications. It has ON resistance from 2.5 to 5 Ohms and input/output capacitance around 6 and 4 pF respectively. I hope that these values will not cause lag in data transmission. Here is my very first schematic for the USB On/Off switch: No Bill Of Materials is needed for this circuit. All capacitors are 0.1uF 50 volts ceramic, except C3 which is 1uF 16V electrolytic. The chip is the ADG714. It uses a serial SPI protocol for the transmission. It provides also a digital output (DOUT) to interface cascade chips daisy chained. SV1 and SV2 connectors re the USB inputs, while the outputs are provided at SV3 and SV4. The connector SV5 is for the chip interface, and the connector JP2 is for the relay. The relay driver will be on the card reader PCB. That is because the switching circuit will not have any other sort of power connection. The current for the relay coil will be provided completely from the reader circuit which will have external 5V connection.
Comments
|
![]() ![]()
|
Contact
Forum
Projects
Experiments
Circuits
Theory
BLOG
PIC Tutorials
Time for Science
RSS
Site design: Giorgos Lazaridis © Copyright 2008 Please read the Terms of services and the Privacy policy |