<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Res Publica Non Dominetur - カルマン &#187; Sin categoria</title>
	<atom:link href="http://karman.cc/blog/archives/category/sincategoria/feed" rel="self" type="application/rss+xml" />
	<link>http://karman.cc/blog</link>
	<description>Lo público no tiene dominio.</description>
	<lastBuildDate>Sun, 29 Jun 2025 11:22:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nodo Solar Autónomo Meshtastic por 25€</title>
		<link>http://karman.cc/blog/archives/1113</link>
		<comments>http://karman.cc/blog/archives/1113#comments</comments>
		<pubDate>Thu, 12 Jun 2025 12:46:54 +0000</pubDate>
		<dc:creator>KaRMaN</dc:creator>
				<category><![CDATA[Sin categoria]]></category>

		<guid isPermaLink="false">http://karman.cc/blog/?p=1113</guid>
		<description><![CDATA[He creado esta guía para montar un nodo solar resistente climatológicamente empleando como base una Faketec y una antena autoconstruida J-Pole con un coste de material de 25€, ideal para montar y distribuir entre conocidos o puntos altos y extender la red de Meshtastic.
Descarga el manual del KarmansTubeSolar
]]></description>
			<content:encoded><![CDATA[<p>He creado esta guía para montar un nodo solar resistente climatológicamente empleando como base una Faketec y una antena autoconstruida J-Pole con un coste de material de 25€, ideal para montar y distribuir entre conocidos o puntos altos y extender la red de Meshtastic.</p>
<p><a href="http://karman.cc/blog/descargas/KarmansTubeSolar.pdf">Descarga el manual del KarmansTubeSolar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://karman.cc/blog/archives/1113/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IoT cheap WiFi Button w/ LED</title>
		<link>http://karman.cc/blog/archives/945</link>
		<comments>http://karman.cc/blog/archives/945#comments</comments>
		<pubDate>Thu, 11 Jan 2018 17:28:09 +0000</pubDate>
		<dc:creator>KaRMaN</dc:creator>
				<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sin categoria]]></category>

		<guid isPermaLink="false">http://karman.cc/blog/?p=945</guid>
		<description><![CDATA[
This is a simple-one-afternoot project that I made to be able to open the office door.
Our office door is locked by a presence control (with fingerprint reader, keypad and NFC cards) which is connected to a cloud server and API service. So, to open the door with just a button I need two curl calls [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>This is a simple-one-afternoot project that I made to be able to open the office door.</p>
<p>Our office door is locked by a presence control (with fingerprint reader, keypad and NFC cards) which is connected to a cloud server and API service. So, to open the door with just a button I need two curl calls to the API service in that server (one for login and another for opening the door).</p>
<p><a href="https://community.onion.io/assets/uploads/files/1514989577788-boton1.jpg" target="_blank" rel="lightbox"><img src="https://community.onion.io/assets/uploads/files/1514989577788-boton1-resized.jpg" alt="0_1514989447520_Boton1.JPG" /></a></p>
<p>I love using Omega2 over other projects because has 3 mainly things: has easy built-in wifi, is linux and is cheaper than other things like arduino. Also it&#8217;s footprint is quite small.</p>
<p><a href="https://community.onion.io/assets/uploads/files/1514989979543-6668df6d-df7a-4acf-8f65-b14f67c8cfe2-image.png" target="_blank" rel="lightbox"><img src="https://community.onion.io/assets/uploads/files/1514989979543-6668df6d-df7a-4acf-8f65-b14f67c8cfe2-image.png" alt="0_1514989849280_6668df6d-df7a-4acf-8f65-b14f67c8cfe2-image.png" /></a></p>
<p>For the button, I searched over some sites looking for a big button with small footprint but was a futile search. I ended for a chinese repurposed button. This one had a speaker and said &#8216;Yes&#8217; when pushed&#8217;.</p>
<p><a href="https://community.onion.io/assets/uploads/files/1514989688812-boton2.jpg" target="_blank" rel="lightbox"><img src="https://community.onion.io/assets/uploads/files/1514989688812-boton2-resized.jpg" alt="0_1514989558431_Boton2.JPG" /></a></p>
<p>I tore it down to fit inside the Omega2 main board, a small DC-DC step down 5v to 3.3v and a micro-usb connector for power. Also I put a small red led to show opening status. I reused the momentary switch soldering a pull-down resistors. Switch is on GPIO 17 and LED on GPIO 11.</p>
<p>Once everything is fit together comes time for a small code. I have 2 scripts. This one is a loop to read the gpio button:</p>
<pre><code>#!/bin/sh

# Boton (Input)
fast-gpio set-input 17 &gt; /dev/null 2&gt;&amp;1

# LED (Output)
fast-gpio set-output 11 &gt; /dev/null 2&gt;&amp;1
fast-gpio set 11 0 &gt; /dev/null 2&gt;&amp;1

# Bogus GPIO?
gpioctl dirout-low 16 &gt; /dev/null 2&gt;&amp;1

while [ 1 ]; do

        # Get button status
        STATUS=`fast-gpio read 17|awk '{print $4}'`

        if [ $STATUS -eq 1 ]; then
                fast-gpio set 11 1  &gt; /dev/null 2&gt;&amp;1
                # LED is light meanwhile the script 'open.sh' is being executed
                /root/open.sh
                fast-gpio set 11 0 &gt; /dev/null 2&gt;&amp;1
        fi

        # Some sleep
        sleep 0.05
done
</code></pre>
<p>The other one has the 2 curl sentences:</p>
<pre><code>#!/bin/sh
# Do login and save the cookie
curl -i -c cookie_door \
-H "Accept: application/json" \
-H "Content-Type:application/json" \
-X POST --data '{"name": "someUser","password": "somePassword","user_id": "700"}' \
"https://api.biostar2.com/v1/login" &gt; /dev/null 2&gt;&amp;1</code></pre>
<pre><code>
# Use the cookie to open the door (index 1)
curl -i -b cookie_door \
-H "Accept: application/json" \
-H "Content-Type:application/json" \
-X POST --data '{"door_id": "1"}' \
"https://api.biostar2.com/v1/doors/1/open" &gt; /dev/null 2&gt;&amp;1
</code></pre>
<p>As a side comment about the &#8216;bogus GPIO&#8217;, I don&#8217;t get quite how works the GPIO in Omega2. Seems that GPIO 17 and 16 are somehow linked? I had to put 16 on dirout-low so 17 could work great.</p>
<p>Also I had to install GNU/sleep that accepts times &lt;1s. This way doesn&#8217;t use too much CPU without having to sleep 1s that could cause missing push to the push button.</p>
<p>In the end the project is highly usable for almost everything as is a simple network enabled IoT button. Changing the &#8216;<a rel="nofollow" href="http://open.sh/">open.sh</a>&#8216; script can make this project to use in a infinity uses.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://karman.cc/blog/archives/945/feed</wfw:commentRss>
		<slash:comments>521</slash:comments>
		</item>
		<item>
		<title>Aribag detonation</title>
		<link>http://karman.cc/blog/archives/906</link>
		<comments>http://karman.cc/blog/archives/906#comments</comments>
		<pubDate>Tue, 29 Dec 2015 15:48:47 +0000</pubDate>
		<dc:creator>KaRMaN</dc:creator>
				<category><![CDATA[Sin categoria]]></category>

		<guid isPermaLink="false">http://karman.cc/blog/?p=906</guid>
		<description><![CDATA[Just an old seat airbag that was found on the garbage. Recorded a 240fps.



]]></description>
			<content:encoded><![CDATA[<p>Just an old seat airbag that was found on the garbage. Recorded a 240fps.</p>
<div class="wpv_videoc">
<div class="wpv_video"><object data="https://www.youtube.com/v/uwhDYGAp0FQ" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="https://www.youtube.com/v/uwhDYGAp0FQ"></param></object></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://karman.cc/blog/archives/906/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Small tube display viewfinder</title>
		<link>http://karman.cc/blog/archives/852</link>
		<comments>http://karman.cc/blog/archives/852#comments</comments>
		<pubDate>Mon, 08 Apr 2013 22:59:27 +0000</pubDate>
		<dc:creator>KaRMaN</dc:creator>
				<category><![CDATA[Sin categoria]]></category>

		<guid isPermaLink="false">http://karman.cc/blog/?p=852</guid>
		<description><![CDATA[This is a very small tube display usually mounted as a camcorder viewfinder. Can work by powering it with 8v and composite signal input.
]]></description>
			<content:encoded><![CDATA[<p>This is a very small tube display usually mounted as a camcorder viewfinder. Can work by powering it with 8v and composite signal input.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a href="http://farm9.staticflickr.com/8534/8633255310_b80bea955e_b.jpg" rel="lightbox"><img title="Small tube display viewfinder" src="http://farm9.staticflickr.com/8534/8633255310_b80bea955e.jpg" alt="Small tube display viewfinder" width="400" height="250" /></a><p class="wp-caption-text">Small tube display viewfinder</p></div>
]]></content:encoded>
			<wfw:commentRss>http://karman.cc/blog/archives/852/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burnt iPhone 4</title>
		<link>http://karman.cc/blog/archives/850</link>
		<comments>http://karman.cc/blog/archives/850#comments</comments>
		<pubDate>Mon, 08 Apr 2013 18:10:12 +0000</pubDate>
		<dc:creator>KaRMaN</dc:creator>
				<category><![CDATA[Sin categoria]]></category>

		<guid isPermaLink="false">http://karman.cc/blog/?p=850</guid>
		<description><![CDATA[This iPhone dove in some water, so battery contacts shorted making the LiPo explode. Now circuits doesn&#8217;t work and everything was lost.
]]></description>
			<content:encoded><![CDATA[<p>This iPhone dove in some water, so battery contacts shorted making the LiPo explode. Now circuits doesn&#8217;t work and everything was lost.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a href="http://farm9.staticflickr.com/8388/8631358891_59a98b9525_b.jpg" rel="lightbox"><img title="Burnt iPhone 4" src="http://farm9.staticflickr.com/8388/8631358891_59a98b9525.jpg" alt="Burnt iPhone 4" width="400" height="250" /></a><p class="wp-caption-text">Burnt iPhone 4</p></div>
]]></content:encoded>
			<wfw:commentRss>http://karman.cc/blog/archives/850/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
