USING FAUX POWER PLUG AS A SWITCH
I have been upcycling old TVs into shows for stores and eateries and such. A while back I was drawn closer by individuals constructing an escape room. The room they were building has a 1940s alarming dental practitioner rehearse topic. Counterfeit blood splattered around and everything. In one of the rooms they needed a vintage TV to play a video that give some insight.
To have players begin the video they were thinking about a major red catch, however I recommended that didn't fit their subject, and I proposed something that did.
In this Instructable I demonstrate to you the straightforward thing I made: a phony power plug that appears to originate from the TV. The basic video begins playing when guests connect it to a phony divider attachment.
Additionally in this Instructable, I reveal to you my star tips. Fundamentally I enthuse about embed nuts, pleat connectors and Wago cinches :- )
Include TipAsk QuestionCommentDownload
Stage 1: Materials Needed
Picture of Materials Needed
Picture of Materials Needed
Picture of Materials Needed
Materials:
Old power attachment
control string
plug
wood
crease pins with female lodging
Wago lever clasp connectors
embed nuts
Stuff to associate the power fitting to:
Raspberry Pi
Second hand screen
Wire and connectors
Instruments:
penetrate
wire stripper
pincers
screwdrivers
-
I purchased two old bakelite divider attachments from somebody who had quite recently supplanted them in their home. They are exceptionally dull dark colored, which makes for an incredible blend with the TV from the fifties (and whatever is left of the escape room).
I enjoyed the uncovered attachment better since it looks more antiquated, yet the connect wobbles a bit to there, which makes jitter in the flag the Raspberry Pi. With the earthed attachment, the connect remains to, so I ran with that one.
The truly press control string in an old-fashoned shading I purchased from Wattnou, a dynamite light store in Rotterdam. No I don't have stocks, I simply like their stuff.
Include TipAsk QuestionCommentDownload
Stage 2: Wiring the Plug
Picture of Wiring the Plug
Picture of Wiring the Plug
Picture of Wiring the Plug
Cautioning: on the off chance that you construct this, you need to ensure its absolutely impossible anybody can put this module a genuine divider attachment. That would put mains voltage on the Pi's pins, make flashes fly and would definitely broil the entire load up.
My underlying endeavor to make this work with insignificant hazard was to interface the two wires in the power line to the attachment's earth as it were. I associated them together to a solitary stick from the Pi (utilizing only one would be fine as well, as long as you legitimately disengage the one you don't utilize). At that point I associated a wire originating from the fake divider attachment's earth to another stick on Pi. So the circuit would be shut at whatever point some individual would put the module the attachment.
I was very substance with this very smarty-pants approach to keep away from terrific shorts. In the event that the connect would be put to a live divider attachment it wouldn't prompt starts and fire (I am no circuit repairman so I am not by any means beyond any doubt, and I would not like to give it a shot).
However, at that point the escape room individuals said they wanted to not have a link originating from the divider attachment. So in opposition to what you see on the photographs, the two shafts of the attachment are presently each associated with a stick. Inside the phony divider attachment I cross-associated the two sides with a straightforward wire so it makes the circuit finish with no other wire originating from the divider attachment.
I more likely than not given the escape room proprietors the above notice around ten times, likewise in composing, and I have protection.
Include TipAsk QuestionCommentDownload
Stage 3: Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
I made a little board to present to the customers, however in the event that this is your own particular venture you may simply jolt the attachment straightforwardly to a divider.
Check where the focal point of the wood is and where gaps for attachment should be penetrated. Penetrate the gaps. You could then screw the attachment on utilizing little wood screws, yet the most exquisite arrangement is to utilize embed nuts (additionally called sink nuts or Rampa nuts).
I cherish embed nuts. With a screwdriver you screw the nut into the opening you penetrated in the wood. The embed nut has a string for metal screws, so you can utilize the metal fasteners that fit the attachment to append it to the wood. Astonishing, right?!
When I was associating a wire to the attachment, I chose I needed it to experience the wood to have it returned out the, so I penetrated an opening at a point to pull it through.
Connected a touch of honey bees wax to influence the board to look pleasant, and there's nothing more to it.
Include TipAsk QuestionCommentDownload
Stage 4: Connecting the Plug to the TV
Picture of Connecting the Plug to the TV
Picture of Connecting the Plug to the TV
Picture of Connecting the Plug to the TV 2 More Images
On the off chance that you work with Raspberry Pi's frequently and don't have the foggiest idea about this next trap, you will love this.
To associate the wires from the artificial power fitting to the pins on the Pi, I made my own connectors.
The female pins can be creased on wires and after that snapped into the pleat connector lodgings. Along these lines, you can make your own custom connectors that you can without much of a stretch push on the Pi headers.
There are a few merchants that convey sets with pins and lodgings. You can get pleat lodgings for up to 20 pins (or 40 pins on the off chance that you need twofold line lodgings). I regularly utilize the lodgings with 2 or 3 pins; they make it simple to rapidly and perfectly interface a solitary part, similar to a solitary catch for example. On the off chance that you need to accomplish a greater amount of these than a couple, it gets work concentrated, yet honestly I discover it a fun employment :- )
With the connector, I appended the wires from the attachment to stick 5 and Ground on the Pi. In the photograph you'll see I utilized two distinct terminals to associate the wires from the power string to littler wires that go to the Pi. There is another and better option: Wago clips (I indicate them in more detail in my TV Instructable and you see them in the last photograph in this progression). They are similarly as wonderful as embed nuts and crease connectors! The little wires we frequently use in gadgets prototyping will soften up bigger screw terminals, or they come free. Wago lever clips are so ideal for this sort of occupation, on the grounds that the little wires will truly remain in there without tightening them tight.
Include TipAsk QuestionCommentDownload
Stage 5: Starting a Video
There are a few approaches to begin a video playing on your Raspberry Pi. I utilized mediaplayer OSMC, for the most part in light of its help for some, unique video designs (so it will play any new recordings the customers will put on there).
Here's the general thought on beginning a video in OSMC through the GPIO pins. I utilize two Python contents, one is begun by OSMC and the other by rc.local (in the latest adaptation of OSMC you need to utilize systemd to have contents begin naturally at startup).
You can discover more points of interest in the joined Python contents, yet here's the general thought. Switch.py constantly checks the GPIO stick to check whether the connect is put to the attachment. In the event that it is, at that point it spares this new state to the content document. Autoexec.py first discovers what media documents are in the USB drive that is embedded to the Pi, makes a playlist, kills the screen and afterward watches the content record for changes. In the event that it changes, the content will turn on the screen and begin playing the recordings. I likewise have some code in there for the catch I associated on the back of the TV to have the Pi shutdown neatly.
In the wake of putting in the attachment, for authenticity and a touch of sensational impact, the television first demonstrates a 9 second clasp of static, at that point plays the principle video. At the point when that is done, a 15 minute video of simply dark screen is appeared. Since the customer may change the video, I didn't know when precisely to shutdown the screen. The dark screen keeps the fundamental video from going on rehash, and furthermore ensures the screen isn't killed again before the early on video has wrapped up.
To have players begin the video they were thinking about a major red catch, however I recommended that didn't fit their subject, and I proposed something that did.
In this Instructable I demonstrate to you the straightforward thing I made: a phony power plug that appears to originate from the TV. The basic video begins playing when guests connect it to a phony divider attachment.
Additionally in this Instructable, I reveal to you my star tips. Fundamentally I enthuse about embed nuts, pleat connectors and Wago cinches :- )
Include TipAsk QuestionCommentDownload
Stage 1: Materials Needed
Picture of Materials Needed
Picture of Materials Needed
Picture of Materials Needed
Materials:
Old power attachment
control string
plug
wood
crease pins with female lodging
Wago lever clasp connectors
embed nuts
Stuff to associate the power fitting to:
Raspberry Pi
Second hand screen
Wire and connectors
Instruments:
penetrate
wire stripper
pincers
screwdrivers
-
I purchased two old bakelite divider attachments from somebody who had quite recently supplanted them in their home. They are exceptionally dull dark colored, which makes for an incredible blend with the TV from the fifties (and whatever is left of the escape room).
I enjoyed the uncovered attachment better since it looks more antiquated, yet the connect wobbles a bit to there, which makes jitter in the flag the Raspberry Pi. With the earthed attachment, the connect remains to, so I ran with that one.
The truly press control string in an old-fashoned shading I purchased from Wattnou, a dynamite light store in Rotterdam. No I don't have stocks, I simply like their stuff.
Include TipAsk QuestionCommentDownload
Stage 2: Wiring the Plug
Picture of Wiring the Plug
Picture of Wiring the Plug
Picture of Wiring the Plug
Cautioning: on the off chance that you construct this, you need to ensure its absolutely impossible anybody can put this module a genuine divider attachment. That would put mains voltage on the Pi's pins, make flashes fly and would definitely broil the entire load up.
My underlying endeavor to make this work with insignificant hazard was to interface the two wires in the power line to the attachment's earth as it were. I associated them together to a solitary stick from the Pi (utilizing only one would be fine as well, as long as you legitimately disengage the one you don't utilize). At that point I associated a wire originating from the fake divider attachment's earth to another stick on Pi. So the circuit would be shut at whatever point some individual would put the module the attachment.
I was very substance with this very smarty-pants approach to keep away from terrific shorts. In the event that the connect would be put to a live divider attachment it wouldn't prompt starts and fire (I am no circuit repairman so I am not by any means beyond any doubt, and I would not like to give it a shot).
However, at that point the escape room individuals said they wanted to not have a link originating from the divider attachment. So in opposition to what you see on the photographs, the two shafts of the attachment are presently each associated with a stick. Inside the phony divider attachment I cross-associated the two sides with a straightforward wire so it makes the circuit finish with no other wire originating from the divider attachment.
I more likely than not given the escape room proprietors the above notice around ten times, likewise in composing, and I have protection.
Include TipAsk QuestionCommentDownload
Stage 3: Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
Picture of Faking a Wall Outlet
I made a little board to present to the customers, however in the event that this is your own particular venture you may simply jolt the attachment straightforwardly to a divider.
Check where the focal point of the wood is and where gaps for attachment should be penetrated. Penetrate the gaps. You could then screw the attachment on utilizing little wood screws, yet the most exquisite arrangement is to utilize embed nuts (additionally called sink nuts or Rampa nuts).
I cherish embed nuts. With a screwdriver you screw the nut into the opening you penetrated in the wood. The embed nut has a string for metal screws, so you can utilize the metal fasteners that fit the attachment to append it to the wood. Astonishing, right?!
When I was associating a wire to the attachment, I chose I needed it to experience the wood to have it returned out the, so I penetrated an opening at a point to pull it through.
Connected a touch of honey bees wax to influence the board to look pleasant, and there's nothing more to it.
Include TipAsk QuestionCommentDownload
Stage 4: Connecting the Plug to the TV
Picture of Connecting the Plug to the TV
Picture of Connecting the Plug to the TV
Picture of Connecting the Plug to the TV 2 More Images
On the off chance that you work with Raspberry Pi's frequently and don't have the foggiest idea about this next trap, you will love this.
To associate the wires from the artificial power fitting to the pins on the Pi, I made my own connectors.
The female pins can be creased on wires and after that snapped into the pleat connector lodgings. Along these lines, you can make your own custom connectors that you can without much of a stretch push on the Pi headers.
There are a few merchants that convey sets with pins and lodgings. You can get pleat lodgings for up to 20 pins (or 40 pins on the off chance that you need twofold line lodgings). I regularly utilize the lodgings with 2 or 3 pins; they make it simple to rapidly and perfectly interface a solitary part, similar to a solitary catch for example. On the off chance that you need to accomplish a greater amount of these than a couple, it gets work concentrated, yet honestly I discover it a fun employment :- )
With the connector, I appended the wires from the attachment to stick 5 and Ground on the Pi. In the photograph you'll see I utilized two distinct terminals to associate the wires from the power string to littler wires that go to the Pi. There is another and better option: Wago clips (I indicate them in more detail in my TV Instructable and you see them in the last photograph in this progression). They are similarly as wonderful as embed nuts and crease connectors! The little wires we frequently use in gadgets prototyping will soften up bigger screw terminals, or they come free. Wago lever clips are so ideal for this sort of occupation, on the grounds that the little wires will truly remain in there without tightening them tight.
Include TipAsk QuestionCommentDownload
Stage 5: Starting a Video
There are a few approaches to begin a video playing on your Raspberry Pi. I utilized mediaplayer OSMC, for the most part in light of its help for some, unique video designs (so it will play any new recordings the customers will put on there).
Here's the general thought on beginning a video in OSMC through the GPIO pins. I utilize two Python contents, one is begun by OSMC and the other by rc.local (in the latest adaptation of OSMC you need to utilize systemd to have contents begin naturally at startup).
You can discover more points of interest in the joined Python contents, yet here's the general thought. Switch.py constantly checks the GPIO stick to check whether the connect is put to the attachment. In the event that it is, at that point it spares this new state to the content document. Autoexec.py first discovers what media documents are in the USB drive that is embedded to the Pi, makes a playlist, kills the screen and afterward watches the content record for changes. In the event that it changes, the content will turn on the screen and begin playing the recordings. I likewise have some code in there for the catch I associated on the back of the TV to have the Pi shutdown neatly.
In the wake of putting in the attachment, for authenticity and a touch of sensational impact, the television first demonstrates a 9 second clasp of static, at that point plays the principle video. At the point when that is done, a 15 minute video of simply dark screen is appeared. Since the customer may change the video, I didn't know when precisely to shutdown the screen. The dark screen keeps the fundamental video from going on rehash, and furthermore ensures the screen isn't killed again before the early on video has wrapped up.
Post a Comment