<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Paul Kocialkowski&#039;s coding blog - Tag security</title>
	<link>https://code.paulk.fr/tag/security</link>
	<language>en</language>
	<description>Free software, programming and stuff</description>
	<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://code.paulk.fr/feed/rss/tag/security" />
	<lastBuildDate>Sun, 02 Sep 2012 18:07:00 +0200</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Arduindoor</title> 
		<link>https://code.paulk.fr/article5/arduindoor</link>
		<guid>https://code.paulk.fr/article5/arduindoor</guid>
		<description>&lt;p&gt;Quite a while ago, I bought some device with a laser pointer. I did lost it over time and eventually ran into it just a couple days ago. In the meantime, I bought an Arduino and started experiencing with it, especially with photo-sensitive resistors (photoresistors).&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;float: left; padding-right: 5px; padding-bottom: 5px;&quot;&gt;&lt;a href=&quot;http://photos.paulk.fr/albums/arduindoor/photos/1.jpg&quot;&gt;&lt;img src=&quot;http://photos.paulk.fr/albums/arduindoor/thumbnails/1.jpg&quot; alt=&quot;Installation&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
So I wondered what kind of fun could come out of a laser + a photoresistor + an Arduino. Actually, it didn&#039;t take long to figure out what to do. Remember all the Mission: Impossible-like movies and shows, where people are to move into laser-secured rooms, without interrupting any of the laser beams? Well, that&#039;s pretty-much the idea I came up with: &quot;securing&quot; my room door with such things.&lt;/p&gt;


&lt;p&gt;&lt;span style=&quot;float: right; padding-right: 5px; padding-bottom: 5px;&quot;&gt;&lt;a href=&quot;http://photos.paulk.fr/albums/arduindoor/photos/2.jpg&quot;&gt;&lt;img src=&quot;http://photos.paulk.fr/albums/arduindoor/thumbnails/2.jpg&quot; alt=&quot;Setup&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
The setup is pretty easy: the Arduino is on one side of the door, with the photoresistor and another 10k resistor that we need to have a changing voltage. The laser is on the other side of the door, directed right to the photoresistor and connected to the Arduino via a couple wires. So the general idea here is to make the Arduino power the laser and get the tension from the photoresistor (or the 10k resistor) a couple times every second. Here is a scheme: &lt;/p&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://download.paulk.fr/arduino/albums/arduindoor/source/Arduindoor.png&quot; alt=&quot;Scheme&quot; /&gt;&lt;/div&gt;
&lt;p&gt;Here is a demo video of the Arduindoor system running (first time making an alarm ring, second time playing/pausing music) : &lt;/p&gt;
&lt;div style=&quot;margin-left: -15px;&quot;&gt;
&lt;video id=&quot;summer-hot&quot; class=&quot;video-js vjs-default-skin&quot; controls
  preload=&quot;auto&quot; width=&quot;640&quot; height=&quot;360&quot; data-setup=&quot;{}&quot; poster=&quot;http://download.paulk.fr/arduino/arduindoor/video/arduindoor_360.png&quot;&gt;
  &lt;source src=&quot;http://download.paulk.fr/arduino/arduindoor/video/arduindoor_360.webm&quot; type=&#039;video/webm&#039;&gt;
&lt;/video&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;p&gt;If you&#039;re interested in the idea, you can setup your own with the additional help of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Photos: &lt;a href=&quot;http://photos.paulk.fr/?album_path=arduindoor&quot;&gt;http://photos.paulk.fr/ (Arduindoor)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Source code (Arduino/host): &lt;a href=&quot;http://download.paulk.fr/arduino/arduindoor/source/arduindoor.tar.gz&quot;&gt;http://download.paulk.fr/ (arduindoor)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
		<pubDate>Sun, 02 Sep 2012 18:07:00 +0200</pubDate>
		<dc:creator>Paul Kocialkowski</dc:creator>
	</item>
</channel>
</rss>Fatal error :
type : 2
message : Trying to access array offset on value of type null
file : /core/lib/class.plx.motor.php
line : 746

See https://www.php.net/manual/en/errorfunc.constants.php about type of error
============================================================
Drop this plugin now for running PluXml and report to its author !!