I have bought some Cube Rif6 picoprojectors for my project, which includes a Raspberry Pi for sending the moving image via HDMI cable (in this case).
As the Raspberry Pi has 5V GPIOs (it is what the picoprojector needs), I will power it from that pin.
The picoprojector has a small push button for switching it on. You have to press and hold it for about two seconds to turn it on. The same button lets you switch it off (in this case, you don't have to hold it for two seconds, you simply push and that's it).
The question is: I want to switch the picoprojector on from the Raspberry Pi.
I have opened it and I can see a small switch push button (i think it is a momentary push button).
I think is something like this, but dimensions are 2.2x4.5x3.5 mm aprox: https://es.aliexpress.com/item/OOTDTY-1 ... 72894.html
I have read some post talking about using using a "physical" system, like a little solenoid motor that pushes the projector button or a servo motor. But my initial idea was to desolder the switch and connect two cables for using a NPN transistor which was connected to the GPIO pins for control the on/off function. Now that I can see that it is a very tiny device, I think that it will be very complicated.
I think is a 4 pin switch as you see in the images, but I'm doubting if it could be a 2 pin switch push button. Here, you can see the back side of the switch reflected in a tool:
(it seems that I can't attach more pictures, i'll try to show a view of the down side in another post)
I thought that perhaps I can cut with a cutter the two little pieces of plastic that hold the front metal tap (they are beside the black push button as you can see in the front view). Perhaps then I can take out the little metal cover that is in the front side and access to the 2 contacts. May it be easier for soldering 2 cables from there?
I thought in another solution: if that doesn't work, perhaps I can unsolder the button and connect the contacts with tin solder. Then, I could turn on and off the projector simply controlling the 5V power supply, but I have done some tests and the menu doesn't appear if I keep the button pressed, as it normally do when I push it and hold for 2 seconds, as a normal on process require. I have tested it with a HDMI/MHL smartphone connection and I can see the movie that is been played in the smartphone, but suddenly it turned crazy and began to close the video and open the apps in a randow sequence, like the projector were returning orders to it (????????????)
I don't know what to do. I am afraid of unsolder the original switch and break the projector, but perhaps it is a risk that I have to take.
What do you think?
Thank in advance, you're all great!