Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'm confused. Do you talk to the HC-12 using it as a PnP USB device, or is the communication to its Rx/Tx pins just RS232 serial?
I've been told this circuit will not work and I need to use an opto isolator as there is no ground for the transistor
The chip is a pic32
I say it will work fine it's a simple switch, the transistor conducts and the ground is the other end of the module, in this case a HC-12
Similar to what I posted back in #4. Lew didn't like it because it "has too many parts..."...This is the best bet for switching shield power lines from a controller...
Apologies Mike,Similar to what I posted back in #4. Lew didn't like it because it "has too many parts..."
Permission to disagree with post #67,There is a possibility for the circuit to turn itself on.. a floating base ( during control device start up ) Q2 may start to conduct , voltage may be present on inter- connections (TX) anything could happen ! Much prefer control going low to turn on...
Permission to disagree with post #67,There is a possibility for the circuit to turn itself on.. a floating base ( during control device start up ) Q2 may start to conduct , voltage may be present on inter- connections (TX) anything could happen ! Much prefer control going low to turn on...
Taken...( My post #54) In my book an input tied to a transistor base is ' floating ' it has no driver.... , ( given no bias resistors ) it is just as easy to set an IO pin, LAT =1 and then TRIS as an output , with no opportunity of losing control, OP wanted minimal components ?pins always start as inputs,
Don't think they were ...(1) The MCU and shield are powered from the same supply lines, both positive and 0V.
?A NOT on function can be tolerated.