{"id":165,"date":"2014-09-22T00:08:51","date_gmt":"2014-09-22T07:08:51","guid":{"rendered":"http:\/\/ismellsmoke.net\/\/?p=165"},"modified":"2014-09-23T23:03:56","modified_gmt":"2014-09-24T06:03:56","slug":"hacking-a-20x4-lcd-for-rfid-research","status":"publish","type":"post","link":"https:\/\/ismellsmoke.net\/?p=165","title":{"rendered":"Hacking a 20&#215;4 LCD for RFID Research"},"content":{"rendered":"<div id=\"attachment_174\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/BV4618_Back.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-174\" class=\"wp-image-174 size-medium\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/BV4618_Back-300x184.jpg\" alt=\"Sopwith's  Current Project\" width=\"300\" height=\"184\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618_Back-300x184.jpg 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618_Back-488x300.jpg 488w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618_Back.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-174\" class=\"wp-caption-text\">Sopwith&#8217;s Current Project (BV4618 LCD)<\/p><\/div>\n<p>Have not blogged much over the summer because the Mrs. and I have moved to London on a temporary work assignment. Anyone who has been an expat understands the complexities of a relocation. Now that we are here and settled, I can get back to my hacking projects. I bought my Rasberry Pi&#8217;s with me and purchased a couple of Arduino&#8217;s and bench tools at a local Maplin store.<\/p>\n<p>My latest interest is in RFID cards. The use of this technology is exploding. Since I am in the security business, understanding how RFID is used for secure access to large data centers and other secure facilities is important. In my research, I came across an interesting project involving an Arduino Nano. The <a title=\"Tastic RFID Stealer\" href=\"http:\/\/www.bishopfox.com\/resources\/tools\/rfid-hacking\/attack-tools\/\" target=\"_blank\">Tastic RFID<\/a> stealer is a very clever hack.<\/p>\n<p><!--more--><\/p>\n<p>This project involves the hack of a HID long-range proximity reader. Trust me, O&#8217;l Sopwith is <em>not<\/em> interested in stealing and cloning other peoples access cards. I am <em>only <\/em>interested in understanding the technology and seeing the bits fly across the air gap.<\/p>\n<p>My first task was to get my hands on a Tastic circuit board and order the required parts. The Tastic web site of<a title=\"BishopFox\" href=\"http:\/\/www.bishopfox.com\/resources\/tools\/rfid-hacking\/attack-tools\/\"> BishopFox<\/a> does not sell the circuit boards, but does provide all the Gerber files containing details of the board layout. I took these files and uploaded them to <a title=\"OSH Park\" href=\"https:\/\/oshpark.com\/\" target=\"_blank\">OSH Park<\/a>. This is an outfit that collects large numbers of small PCB fabrication orders and submits them for production at a fab plant during non-peak hours. Brilliant idea and great prices too. I ordered three Tastic PCB&#8217;s for about $25 USD.<\/p>\n<div id=\"attachment_171\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_wo_Parts.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-171\" class=\"wp-image-171 size-medium\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_wo_Parts-300x228.jpg\" alt=\"Tastic PCB\" width=\"300\" height=\"228\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_wo_Parts-300x228.jpg 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_wo_Parts-393x300.jpg 393w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_wo_Parts.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-171\" class=\"wp-caption-text\">Tastic RFID Stealer PCB<\/p><\/div>\n<p>Using the Tastic provided required parts list, I began collecting all the pieces needed to build the board. In a foreign land, this turned out to be harder than I thought. There are electronic stores here, but Radio Shack&#8217;s are rare. Ordering parts from the US is not practical due to the high cost of shipping. Also, anything purchased outside the EU is taxed at 20%. Farnell\/element14 is based here and there service is fantastic.<\/p>\n<p>I soldered all the parts to one of the PCB&#8217;s and tested the Arduino Nano. Works great.<\/p>\n<div id=\"attachment_172\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_w_Parts.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-172\" class=\"wp-image-172 size-medium\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_w_Parts-300x197.jpg\" alt=\"Assembled PCB\" width=\"300\" height=\"197\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_w_Parts-300x197.jpg 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_w_Parts-456x300.jpg 456w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/Tastic_RFID_-_PCB_w_Parts.jpg 543w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-172\" class=\"wp-caption-text\">Assembled PCB<\/p><\/div>\n<p>The only thing I could not find was the specific 20&#215;14 LCD listed in the parts list. It is available at <a title=\"4x20 LCD w\/Serial IF\" href=\"http:\/\/www.amazon.com\/gp\/product\/B007LOORZW\/\" target=\"_blank\">Amazon <\/a>in the US, but I could not find it anywhere over here. I am required to use a serial I\/F because the circuit board is wired for it. I am sure the Tastic designers chose a serial I\/F because you can get away with using three wires (V+, Gnd, Tx). You do not need an Rx line because you only need to write to the LCD, not read from it.<\/p>\n<p>After a lot of searching, I came across an interesting LCD made by <a title=\"ByVac LCD\" href=\"http:\/\/www.byvac.com\/bv3\/index.php?route=product\/product&amp;path=35_37&amp;product_id=133\" target=\"_blank\">ByVac <\/a>here in England.<\/p>\n<div id=\"attachment_173\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/BV4618.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-173\" class=\"wp-image-173 size-medium\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2014\/09\/BV4618-300x185.jpg\" alt=\"BV4618 4x20 LCD\" width=\"300\" height=\"185\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618-300x185.jpg 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618-485x300.jpg 485w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2014\/09\/BV4618.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-173\" class=\"wp-caption-text\">BV4618 4&#215;20 LCD<\/p><\/div>\n<p>This LCD has both a serial (TTL &amp; RS-232) and I2C interfaces. I would have preferred to use the I2C I\/F, but I have to stick to the design requirements. The really interesting thing about this board is that the controller uses VT100 tty commands to talk to the LCD. It also has an I\/F for a small keypad, something of no interest to me in this project.<\/p>\n<p>More details about this board in the next post.<\/p>\n<p><em>Sopwith<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have not blogged much over the summer because the Mrs. and I have moved to London on a temporary work assignment. Anyone who has been an expat understands the complexities of a relocation. Now that we are here and settled, &hellip; <a href=\"https:\/\/ismellsmoke.net\/?p=165\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,6],"tags":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-arduino","category-general","category-how-to"],"_links":{"self":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165"}],"version-history":[{"count":11,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}