I have a system with two pumps running, I want to turn one pump on and off from a raspberry pi,if the raspberry fails, I want the second pump to run
I have been trying (for a week) to design a circuit where the first pump is controlled by an NPN transistor and the emitter is connected to the base of the PNP, I have assumed that when the NPN is closed, the PNP is off but either i have the circuit design wrong or the resistance values are not correct but it doesn’t work as expected. I have used LEDs in LT SPice to mimic the loads. Any guidance, very gratefully received, I am new to working with transisitors and having a struggle with how the PNP splits the inbound current
how to get controller vibration data coming from an application?
I am having a lot of plobem trying to figure out how can i use the vibration data sent from a game to the controller to move others motors. The problem is finding the data themself.
Is Model a better place to set HTTP status code?
In MVC usually the controller sets whatever needs to be sent back to the client/View, including HTTP status code, e.g.: