KozmoK
Newbie level 2
Hi! I'm a noob trying to figure out a project to help save my sanity.
I am making a Raspberry Pi Game Time Bank for my teenage son - I am getting tired of yelling at him to turn his ps4 off he gext x hours a day in the summer to play. I wrote a timer app for the raspberry pi that gives him x minutes a day, and it resets the next day and has a countdown on a LCD that he can pause. I have two rj45 breakout boards with connectors.
What IC could i use to switch all the 8 pins off and on from the RJ45?
I was thinking I could get away with using:
GPIO Pin -> 1K resistor -> NPN 2n2222 transistor base - the other two transistor pins would be connected to pin 1 of one rj45 input, and the other to pin 1 of the RJ45 input.
GPIO Pin -> 1K resistor -> NPN 2n2222 transistor base - the other two transistor pins would be connected to pin 1 of one rj45 input, and the other to pin 2 of the RJ45 input.
Would a cleaner way to use a MAX335 serial switch? I would have to have another chip to drive that serial chip right?
Thanks!
I am making a Raspberry Pi Game Time Bank for my teenage son - I am getting tired of yelling at him to turn his ps4 off he gext x hours a day in the summer to play. I wrote a timer app for the raspberry pi that gives him x minutes a day, and it resets the next day and has a countdown on a LCD that he can pause. I have two rj45 breakout boards with connectors.
What IC could i use to switch all the 8 pins off and on from the RJ45?
I was thinking I could get away with using:
GPIO Pin -> 1K resistor -> NPN 2n2222 transistor base - the other two transistor pins would be connected to pin 1 of one rj45 input, and the other to pin 1 of the RJ45 input.
GPIO Pin -> 1K resistor -> NPN 2n2222 transistor base - the other two transistor pins would be connected to pin 1 of one rj45 input, and the other to pin 2 of the RJ45 input.
Would a cleaner way to use a MAX335 serial switch? I would have to have another chip to drive that serial chip right?
Thanks!