Introduction: Fake TV Security Light

Picture of Fake TV Security Light

Fast & Easy Fake-TV Light module built for under $5; with enhanced features. With the use of this device you can go for holidays or on vacation leaving your home with a lived in appearance and thus an added layer of security. "I'm up and I am a night owl ... or perhaps asleep on the coach in front of the TV, ready to be awakened."

My project was inspired by this Fake-TV project. I decided for my project to simplify the hardware involved, minimize assembly and make the software more sophisticated.

This instructable is the results.

First I found a pre-built inexpensive module containing all the NeoPixels I desired. The original project hand wired up four. I choose a unit with seven LEDs. As I have a Large screen TV and thick drapes, I also increased, in the software, the maximum 'On' level driving the LEDs. If the unit is too bright to be effectively realistic in your use, you can lower the setting of 'LED_BRIGHT' and 'LED_MIN' in the software.

The unit is designed with a photocell so it only operates at night.

I made several Improvements of the simulation of a television's light output during a typical TV show or movie. I put a fair amount of comments in the code explaining what was being done & why.

Step 1: Parts

Picture of Parts

The parts you'll need are:

  1. Any Arduino MCU (I recommend: Nano 3.0) less than $3)
  2. NeoPixel WS2812 RGB LED Ring ($2) or string of say 4 to 10 LEDs
  3. a LDR Light-Dependent Resistor (Photoresistors)
  4. a 1000 ohm resistor.
  5. optionally some sort of container (e.g.)
  6. various equipment and tools (the usual stuff ... PC, cables, wires, strippers ...)

I have seen other project using NeoPixels in conjunction with capacitors. Presumably to eliminate erratic behavior. Erratic behavior on the part of the NeoPixels for the most part would be desirable in this application, so I have forgone the need for such capacitors.

As I see it additional variable resisters and switches can only provide marginal value to this device, while complicating fabrication and software implementation. So they are not used. On the other hand, you may need to change the software settings controlling the detection of night time, which activates the device. But this should be a one time adjustment. If desired the 1K could be replace with perhaps a 10K variable resisters.

Here is a simplistic diagram of how these parts interconnect for this project.

Nano MCU pin

D12 ---------- 'IN' on the NeoPixel module

V5 ---------- VCC "

GND --------- GND "

and

V5 ---- Photoresistor ---- A1 ---- 1K resistor ---- GND

I use what ever USB AC adapter is handy to power my unit.

If, in your 'I made it' project you use more LEDs be sure your power supply can handle it. Each of the 3 LED segments in a NeoPixel can use up to 20ma. So that 60ma per NeoPixel. I then need 7 times that to power my light output (i.e. 420ma). A 1A USB AC adapter will handle that easily. That current will only go through a large diode on the Nano board and out the V5 pin. This too will be fine.

Step 2: Assembly

Picture of Assembly

I did and I recommend prototyping and testing the (any) project on a solderless breadboard before applying a solder iron. You may need or want to make a change in the hardware or software.

If you use a different Arduino MCU (like a Digispark ATtiny85) then you may need to use a different digital output pin, and maybe even the analog output pin.

I choose to use a Nano 3.0 mainly for these reasons:

  • Its small
  • Inexpensive
  • Easy to upload via its on-board USB.
  • Can power the final assembly with a USB AC adapter

I soldered 2 headers onto my Arduino Nano, as I planned to wire wrap connections to them. This make it easy to later modify as well as expand on a project.

First solder wires to the three inputs pads (Vcc, Din & Gnd) on the NeoPixel model.

Solder those wires to V5, D12 (aka MISO) and GND on the Nano board respectively.

Solder together the LDR photo-resister and the 1K resistor.

Connect wires, by what ever means you deem fit, between:

  • the free end of the LDR and V5
  • the free end of the 1K and GND
  • the junction of the LDR/1K and pin A1

The final packaging could take the form which fits your needs or your fancy. I put the bulk in a plastic box with the LED ring model out one end; for ease of construction, convenient power hook-up and assembly placement.

Step 3: The Software and Its Features

Picture of The Software and Its Features

Using the Arduino IDE upload the software (sketch) Fake_TV.ino into the the Nano 3.0 via it's USB.

If you don't already have the library for WS2812 (Adafruit_NeoPixel) modules then you'll need to get and install that first.

Enhanced features:

How long between camera-scene changes has an uneven distribution. The software in the sketch is designed to reflect that distribution. Which is spread across about 8 seconds; most scene of images lasting less than 3 seconds. There are the most in the 1 second range, then a lot in the 2 second range, and less and less in each consecutive one second ranges.

When changing from one scene to another various transition effects are utilized. The software simulates this with four effects, a 'cut', a 'two step' transition (with an intermediate image formed of components of the old and new scenes), a 'wipe' to the new scene moving in from one side to the other, and a 'fade' from one to the other. The use of these is also not evenly distributed. Mostly plain cuts are used.

These transition are not real apparent but do tend to improve the simulation of an active television scene.

Step 4: Operation

Place the unit in a room near a window near the front of your house. The unit should be about 2-4 foot away, with the LED module facing the window. Have the shade and or drapes drawn. Spaces around the edges is good for reflective light to escape. However, you don't want the light source to be directly visible.

Connect the Nano's USB to a USB AC adapter. We have no on-off switch. There will be three flashes of 'white' right after power up.The unit will there afterwards be dormant in a well lit room and activate when the room is fairly dark; or if you put electrical tape over the photo sensor. If you don't want it to operate all night, you can plug it into a timer.

When you first look at it in operation you can under impressed, especially as light shows go.
The test of a simulation of lighting from a TV is that from outside, at night, as to the glow past the window dressing or indirectly off a wall.

I tested some from in front of my house; and with a TV in one bedroom and the Fake-TV unit in another, viewing the effects off of their walls from a common hallway. Once I made my software adjustments and enhancements, it was a pass for me.

Certainly, what type of programming (show, movie etc.) you put on a TV determines the nature and behavior of the overall lighting effects. This makes for a wide range of viable light outputs for this application.

Naturally, there is room for Improvements, and of course, one's own subjective improvements may always be made.

For a more full experience TV watching simulation, while you're away, accompany this unit with an audio source; as suggested in the comments. Preferably something low power. Audio of folks talking, loud enough to barely hear outside but not loud enough to follow, will be more TV content like than music would be. I recommend using a USB powered radio (e.g. this or this). The first unit starts playing, straight away, when its power switch is turned on. So it could be easy to modify it to be activated when its USB input gets power or by a control line from the arduino micro-controller.

I use a dual USB AC adapter to power together my Fake-TV lighting and audio units.

Comments

dj55nava made it! (author)2016-07-16

gracias por su publicación, me he entretenido y disfrutado.
Thanks for posting, I have entertained and enjoyed

RonM9 (author)dj55nava2016-07-18

You are welcome; and Thank you for sharing photos of your creation. I see you used in-line lights and a mini-pro (love them). Is the knob an on-off switch or sensitivity adjustment? What is the black unit marked 'BLX-A' ?

dj55nava (author)RonM92016-07-20

Hello friend, sensitivity adjustment, the black component is just a fuse, I upload photo

Rainman16 (author)2016-02-25

Oops, I deleted the last comments ...

Thank you for answering.
Yes, that's much better. But the main reason was, that I changed the LDR-Threshold-value to 15/10, because I wanted to switch it on if it's really dark in the room. Changing back to your values solves the problem of dark scenes.

===

Yeah, as I was noticing a fair amount of fades to blacks in the programming that I had been watching, and occurring while I was doing head to head comparisons, I increased the frequency of darker outputs (.6 * .5 for 30% of the time).
I suggest changing:


154 if(random(2)) { // then Darkened

to

154 if(random(4) == 0) { // then Darkened (.6 * .25 of the time)

Noting that you only get to line 154 60% of the time. :-}

RonM9 (author)Rainman162016-03-02

I also have occasionally had it where the resister setting for the LDR and room's light level where such that the reflection of the LED's added light onto the LDR would cause itself to turn back off. It can be quite mis-leading.

RonM9 (author)2016-02-25

Yeah, as I was noticing a fair amount of fades to blacks in the programming that I had been watching, and occurring while I was doing head to head comparisons, I increased the frequency of darker outputs (.6 * .5 for 30% of the time). I suggest changing:

154 if(random(2)) { // then Darkened

to

154 if(random(4) == 0) { // then Darkened (.6 * .25 of the time)

Noting that you only get to line 154 60% of the time. :-}

Rainman16 (author)2016-02-24

Works quite good, but the are too much scenes of complete darkness (all leds off). Is this because of Case 1 and Case 2 are blank or what could be the reason?

1024 Web Solutions made it! (author)2016-01-15

Cheers! works great.

1024 Web Solutions (author)2016-01-11

The parts you'll need are:

4. a 1000 ohm resistor.

What watt (1/4, 1/2, 1, 2 watt)

1.6 K ohms and 5 % tolerance

gulliverrr (author)2015-12-04

Youtube or it doesn't exist :)

RonM9 (author)gulliverrr2016-01-03

Now with the addition of a Video ...It Exists!

RonM9 (author)gulliverrr2015-12-04

LOL, I suppose you're right.

I am thinking about putting one together sometime between Xmas decorating and travel.

hailster (author)2015-12-13

Is there a video available to show what this ends up looking like? We have a house in the family from a family member who recently passed and we have lights on timers but adding something like this would really make it look like someone is living there.

RonM9 (author)hailster2016-01-03

I have added a video in step 5 "Operation" of this Instructable.

I apologize for the poor amateur video quality, especially in the, low light level, outdoor footage.

RonM9 (author)hailster2015-12-15

I am away visiting family now. While my fake-tv is is at home in my stead. But after Xmas I'll do a vivideo.

tutdude98 (author)2015-12-13

When i use my pc most of the time i turn on tv so i have some kind of background noise and light
Its simple to add old phone or cheap portable radios and small portable speaker (like xmini) to add noise

squirejoe2 (author)2015-12-13

If there was a way of syncing with a radio, it would be even better.

richms (author)2015-12-13

When I saw the commercial versions of these I actually thought it would be an idea to get a composite to RGB decoder and just feed the RGB signals into LEDs, that way it would be 100% accurate for what a TV would do when fed from a sat reciever or something similar.

mattadlard (author)2015-12-05

This could be useful if it had option to be remotely switched on via a webserver with regards IoT combinations.

RonM9 (author)2015-12-01

I am sorry you were less than pleased with what you got out of this project.

The test of its realistic effect is from outside , at night, viewing
the glow around the window dressing or indirectly off a wall. I
also tested it against a TV in one bedroom & it in another,
observing the reflections on the walls from a common hall. For me it
passed the test.

And of course what programming you put on a
TV causes great variation in the nature and behavior of the reflected
light. This makes a wide range of simulated lighting viable in this
application. Subjective improvements can, of course, be made.

DIY Hacks and How Tos (author)2015-12-01

Nice idea.

About This Instructable

13,430views

104favorites

License:

Bio: Professional Software, Hardware, Systems Engineer for more than 40 years. Amateur Radio HAM (KI7NEW)
More by RonM9:Make G25 FAIRY Light BULBs for HalloweenSignal Code Communicators (RFM69)Dual Power for Your Portable Micro-Controller Project
Add instructable to: