<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30906916</id><updated>2024-09-02T02:02:11.702-07:00</updated><category term="linux"/><category term="python"/><category term="ubuntu"/><category term="thought"/><category term="rant post"/><category term="programming"/><category term="malaysia"/><category term="web development"/><category term="open source"/><category term="software"/><category term="barcampmalaysia"/><category term="arduino"/><category term="barcampjb"/><category term="barcampkl"/><category term="android"/><category term="politics"/><category term="sysadmin"/><category term="web application"/><category term="windows"/><category term="computer history"/><category term="fedora"/><category term="foss.my"/><category term="games"/><category term="google app engine"/><category term="kde"/><category term="django"/><category term="hackerspacekl"/><category term="postgresql"/><category term="tech"/><category term="unix"/><category term="video"/><category term="web hosting"/><category term="barcamp"/><category term="foss"/><category term="google"/><category term="sfdkl2010"/><category term="ubuntu-my"/><category term="Computing Profession Act 2011"/><category term="Computing Profession Board 2011"/><category term="adobe air"/><category term="beos"/><category term="bluetooth"/><category term="broadband"/><category term="community"/><category term="eeepc"/><category term="free"/><category term="geekcamp"/><category term="mainframe"/><category term="mscosconf"/><category term="open data"/><category term="os"/><category term="pdf"/><category term="random"/><category term="server project"/><category term="shell"/><category term="squid"/><category term="startupcampkl"/><category term="tedxkl"/><category term="tools"/><category term="twitter"/><category term="virtualization"/><category term="wireless"/><category term="#mosc2010"/><category term="api"/><category term="april fools"/><category term="bash"/><category term="chart"/><category term="database"/><category term="databse"/><category term="desktop"/><category term="dfd"/><category term="drm"/><category term="ebooks"/><category term="events"/><category term="facebook"/><category term="flickr"/><category term="foss..my"/><category term="fun"/><category term="geeks"/><category term="generator"/><category term="google chart"/><category term="google waves"/><category term="hcl"/><category term="i18n"/><category term="java"/><category term="javascript"/><category term="jobs"/><category term="kde 4"/><category term="learning"/><category term="lisp"/><category term="mame"/><category term="mobile development"/><category term="mygosscon"/><category term="myoss"/><category term="network"/><category term="open hardware"/><category term="pidgin"/><category term="policy"/><category term="powershell"/><category term="rexx"/><category term="robot"/><category term="ruby"/><category term="ruby on rails"/><category term="scraper"/><category term="screen"/><category term="showoff"/><category term="skype"/><category term="sqlite3"/><category term="startupweekendjk2010"/><category term="urejaweekend"/><category term="urekaweekend"/><category term="vim"/><category term="web"/><category term="web framework"/><category term="yahoo"/><category term="yahoo pipes"/><title type='text'>sweemeng&#39;s tech adventure</title><subtitle type='html'>this is a place where i put my thought of technology and things that i do.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sweemengs-tech-world.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default?max-results=3&amp;redirect=false'/><link rel='alternate' type='text/html' href='http://sweemengs-tech-world.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default?start-index=4&amp;max-results=3&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14817270953353756568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>376</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>3</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30906916.post-3531992502247343845</id><published>2012-01-29T22:26:00.000-08:00</published><updated>2012-01-29T22:26:41.306-08:00</updated><title type='text'>FInally moved the blog</title><content type='html'>Alrighty folks, I finally moved to a wordpress blog. Which itself made me learn alot.&lt;br /&gt;&lt;br /&gt;You can find it here&lt;br /&gt;
&lt;a href=&quot;http://www.nomadiccodemonkey.com/&quot;&gt;www.nomadiccodemonkey.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
While the content have been migrated to the new blog, I will just leave all the content here. Hopefully someone can find the information here useful&lt;br /&gt;
&lt;br /&gt;
On the other hand, just glad I finally have a place for me to post source code in a blog properly&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sweemengs-tech-world.blogspot.com/feeds/3531992502247343845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/finally-moved-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/3531992502247343845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/3531992502247343845'/><link rel='alternate' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/finally-moved-blog.html' title='FInally moved the blog'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14817270953353756568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30906916.post-7645088652410574930</id><published>2012-01-20T22:25:00.000-08:00</published><updated>2012-01-20T22:25:55.657-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="random"/><title type='text'>Long Lost Musical Instrument</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-ilOWtcHzIbM/TxpOuUpUlfI/AAAAAAAACEg/HKyZAxVcBqM/s1600/IMG_20120121_133325.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-ilOWtcHzIbM/TxpOuUpUlfI/AAAAAAAACEg/HKyZAxVcBqM/s320/IMG_20120121_133325.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Not quite tech related, but this is stone age technology, believed to be used in hunting and herding during that time. Which later evolved into a musical instrument.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This is Xun, though this I bought from souvenir shop in China long time ago. Still I think it is pretty cool.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Xun_(instrument)&quot;&gt;http://en.wikipedia.org/wiki/Xun_(instrument)&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sweemengs-tech-world.blogspot.com/feeds/7645088652410574930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/long-lost-musical-instrument.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/7645088652410574930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/7645088652410574930'/><link rel='alternate' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/long-lost-musical-instrument.html' title='Long Lost Musical Instrument'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14817270953353756568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-ilOWtcHzIbM/TxpOuUpUlfI/AAAAAAAACEg/HKyZAxVcBqM/s72-c/IMG_20120121_133325.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30906916.post-1217842068931176246</id><published>2012-01-17T06:06:00.000-08:00</published><updated>2012-01-17T06:06:48.776-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arduino"/><title type='text'>RFID On Arduino</title><content type='html'>So I got myself an Arduino powered Android Accessory Development Kit, not long ago. The kit have quite a lot of sensor, one of them, an &lt;a href=&quot;http://www.seeedstudio.com/wiki/index.php?title=Electronic_brick_-_125Khz_RFID_Card_Reader&quot;&gt;125kHz RFID reader&lt;/a&gt;. Which is cool except, the kit doesn&#39;t comes with the tag necessary.&amp;nbsp;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-xjE8Zd9Ssmw/TxVNK9q13OI/AAAAAAAACBA/clkD3Fn3OPo/s1600/IMG_20120117_182538.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-xjE8Zd9Ssmw/TxVNK9q13OI/AAAAAAAACBA/clkD3Fn3OPo/s320/IMG_20120117_182538.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So I finally got the tag(s) which is compatible. The &lt;a href=&quot;http://www.seeedstudio.com/depot/electronic-brick-125khz-rfid-card-reader-p-702.html?cPath=52&quot;&gt;reader&lt;/a&gt;&amp;nbsp;from seeestudio have 2 ways to interface with the arduino, one is via &lt;a href=&quot;http://en.wikipedia.org/wiki/Wiegand_interface&quot;&gt;Wiegand&lt;/a&gt;&lt;span id=&quot;goog_661715863&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_661715864&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://draft.blogger.com/&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.seeedstudio.com/wiki/index.php?title=Electronic_brick_-_125Khz_RFID_Card_Reader#Wiegand_Mode_.28Jumper_Set_to_the_Right_two_Pins.29&quot;&gt;Mode&lt;/a&gt;, the other via UART, i.e Serial.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I just use UART, because one the board is actually a Arduino Mega, so I got enough hardware serial to use. And I am using the extension board, so It make it way easy to use the extra hardware serial. But if you are just using an arduino, the Reader is actually pretty easy to use via Software Serial using &lt;a href=&quot;http://arduiniana.org/libraries/newsoftserial/&quot;&gt;NewSoftSerial&lt;/a&gt; library. Easier if you are using the &lt;a href=&quot;http://www.seeedstudio.com/depot/125khz-rfid-module-uart-p-171.html?cPath=144_153&quot;&gt;UART&lt;/a&gt; version of this&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Originally I thought of just forwarding the ID from the tag into a serial without any translation. From the &lt;a href=&quot;http://www.seeedstudio.com/wiki/index.php?title=Electronic_brick_-_125Khz_RFID_Card_Reader#Uart_Mode_.28Jumper_set_to_the_left_two_pins.29&quot;&gt;docs&lt;/a&gt;, there is a checksum that we can use. It do make using an arduino as a middleman not so wasteful. It also define an header and ends, which can also be used to track error etc.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
From the docs, I have create a reader, the code is in&amp;nbsp;&lt;a href=&quot;https://gist.github.com/1626692&quot;&gt;https://gist.github.com/1626692&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This is just a very early version, hacked within 15 minutes. So it don&#39;t check the checksum, etc.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can check the result using the serial monitor, it just output the code as I swipe it on the reader itself,&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjpNut4mEZpkszsLrnHH9FgzYKqjU1M8E8DDdDiOkIK_6XXQjyJqXkRB-3lEZtNh1dkqpvhoP9_ewJ3P38YaKZtyUaOPtMFpmK-6kUT6-1GsyTS3fNgJLUIBNVcEQhxihyngz8Fg/s1600/arduino_rfid_serial.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjpNut4mEZpkszsLrnHH9FgzYKqjU1M8E8DDdDiOkIK_6XXQjyJqXkRB-3lEZtNh1dkqpvhoP9_ewJ3P38YaKZtyUaOPtMFpmK-6kUT6-1GsyTS3fNgJLUIBNVcEQhxihyngz8Fg/s320/arduino_rfid_serial.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This reader can read one tag at a time unlike the commercial one, where the tag have random delay to make reading multiple tag possible. This is a pretty cheap, like 13USD, cannot really compare with the really big commercial one. And the distance is short too, like 8 cm.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Despite that, it can be a fun toy to play with, not quite sure what I am going to do with this though. More to come(?)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sweemengs-tech-world.blogspot.com/feeds/1217842068931176246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/rfid-on-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/1217842068931176246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30906916/posts/default/1217842068931176246'/><link rel='alternate' type='text/html' href='http://sweemengs-tech-world.blogspot.com/2012/01/rfid-on-arduino.html' title='RFID On Arduino'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14817270953353756568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-xjE8Zd9Ssmw/TxVNK9q13OI/AAAAAAAACBA/clkD3Fn3OPo/s72-c/IMG_20120117_182538.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>