{"id":840,"date":"2017-04-13T19:09:18","date_gmt":"2017-04-13T19:09:18","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?page_id=840"},"modified":"2017-04-13T19:09:18","modified_gmt":"2017-04-13T19:09:18","slug":"rdm6300-125khz-rfid-reader","status":"publish","type":"page","link":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/","title":{"rendered":"RDM6300 125Khz RFID reader"},"content":{"rendered":"<h2>In this example we are going to connect to RDM6300 RFID reader.<\/h2>\n<p>The RDM6300\u00a0is for 125 kHz RF tags.<\/p>\n<p>This board uses UART (serial communication) but the protocol is fairly simple to deal with.<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?ssl=1\"><img data-attachment-id=\"843\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/rfid125mainboard\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?fit=402%2C431&amp;ssl=1\" data-orig-size=\"402,431\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RFID125MainBoard\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?fit=280%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?fit=402%2C431&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-843\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?resize=402%2C431&#038;ssl=1\" alt=\"\" width=\"402\" height=\"431\" srcset=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?w=402&amp;ssl=1 402w, https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125MainBoard.png?resize=280%2C300&amp;ssl=1 280w\" sizes=\"(max-width: 402px) 100vw, 402px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><em>The RDM6300 seen from back and front<\/em><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?ssl=1\"><img data-attachment-id=\"842\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/rfid125antenna\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?fit=400%2C446&amp;ssl=1\" data-orig-size=\"400,446\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RFID125Antenna\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?fit=269%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?fit=400%2C446&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-842\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?resize=400%2C446&#038;ssl=1\" alt=\"\" width=\"400\" height=\"446\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?w=400&amp;ssl=1 400w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Antenna.png?resize=269%2C300&amp;ssl=1 269w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><em>And the antenna that comes with it.<\/em><\/p>\n<p><strong>Disclaimer:<\/strong><br \/>\nWe do not take any responsibility for possible errors in the guide or errors that you might do wiring it up. Incorrect wiring can result in damaged sensor or damaged Raspberry PI.<\/p>\n<p><strong>Pieces we use in this example:<\/strong><\/p>\n<ul>\n<li>Raspberry PI 2 (or Raspberry PI 3)<\/li>\n<li>Cobbler and Cobbler cable<\/li>\n<li>Bread board<\/li>\n<li>RDM6300 reader as shown on the pictures above. (I paid around $2 and half for it on some store at Ali Express, and the antenna comes with it).<\/li>\n<li>Some 125 Khz RF Tags. (It is good if the numbers are printed on them so you can verify that things are working right).<\/li>\n<\/ul>\n<hr \/>\n<p><strong>If you are not familiar with breadboards, how to place a cobbler on the breadboard then click here bellow<\/strong><\/p>\n<p><a class=\"mb-button mb-style-glass mb-size-small mb-corners-default mb-text-style-default \" style=\"background-color: #2b7dc4;\" href=\"https:\/\/einhugur.com\/blog\/index.php\/understanding-your-breadboard-and-placement-of-raspberry-cobbler\/\">\u00a0<i class=\"fa fa-code-fork\"><\/i>\u00a0 Using breadboard<\/a><\/p>\n<hr \/>\n<p><strong>Preparations:<\/strong><\/p>\n<p>Since this board uses UART serial communications then you need to disable Serial on your Raspberry PI. (Yes I know this sounds strange but the way I understand it is that your freeing the Serial port so that it is available for your use when you disable it).<\/p>\n<p>To do this you go in the Raspberry PI main Menu -&gt; Preferences -&gt; Raspberry Pi Configurations -&gt; Interfaces (Tab) -&gt; Serial -&gt; Set to disabled.<\/p>\n<p><strong>Specifications:<\/strong><\/p>\n<p>The RMD6300 board has the following specifications:<\/p>\n<ul>\n<li>Baud rate: 9600<\/li>\n<li>Interface: TTL level RS232 format.<\/li>\n<li>Working voltage DC 5V (+- 5%)<\/li>\n<li>Working current: &lt; 50 mA.<\/li>\n<li>Receive distance: 20 &#8211; 50 mm<\/li>\n<\/ul>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?ssl=1\"><img data-attachment-id=\"848\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/rfid125headers\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?fit=381%2C375&amp;ssl=1\" data-orig-size=\"381,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RFID125Headers\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?fit=300%2C295&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?fit=381%2C375&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-848\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?resize=381%2C375&#038;ssl=1\" alt=\"\" width=\"381\" height=\"375\" srcset=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?w=381&amp;ssl=1 381w, https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125Headers.png?resize=300%2C295&amp;ssl=1 300w\" sizes=\"(max-width: 381px) 100vw, 381px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><strong>Wiring up the board:<\/strong><\/p>\n<p><a href=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?ssl=1\"><img data-attachment-id=\"844\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/rfid125onbreadboard\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?fit=700%2C333&amp;ssl=1\" data-orig-size=\"700,333\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RFID125OnBreadBoard\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?fit=300%2C143&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?fit=474%2C225&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-844\" src=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?resize=474%2C225&#038;ssl=1\" alt=\"\" width=\"474\" height=\"225\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?w=700&amp;ssl=1 700w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/RFID125OnBreadBoard.png?resize=300%2C143&amp;ssl=1 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?ssl=1\"><img data-attachment-id=\"82\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hc-sr501-sensor\/gpio-header\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=440%2C870&amp;ssl=1\" data-orig-size=\"440,870\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"GPIO Header\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=152%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?fit=440%2C870&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-medium wp-image-82\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header-152x300.png?resize=152%2C300&#038;ssl=1\" alt=\"GPIO Header\" width=\"152\" height=\"300\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?resize=152%2C300&amp;ssl=1 152w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png?w=440&amp;ssl=1 440w\" sizes=\"(max-width: 152px) 100vw, 152px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>We connect as follows:<\/p>\n<ul>\n<li>5V on cobbler to 5V on header 3 on RDM6300<\/li>\n<li>GND on cobbler to GND on header 3 on RDM6300<\/li>\n<li>RX on Cobbler (shown as GPIO15 on the Raspberry header schema above to TX on\u00a0header 1\u00a0on RDM6300).<\/li>\n<li>TX on Cobbler\u00a0(shown as GPIO14 on the Raspberry header schema above to RX on\u00a0header\u00a01\u00a0on RDM6300).<\/li>\n<li>Antenna wires to ANT1 and ANT2 on header 2 on RDM6300. (polarity does not matter)<\/li>\n<\/ul>\n<p><span style=\"color: #808080;\"><em>Note that RX is connecting to TX and TX to RX. People often make mistake here and blindly connect TX to TX and RX to RX. But you want Transmitter to connect to receiver and receiver to connect to transmitter for communications to make sense.<\/em><\/span><\/p>\n<p><strong>The Xojo code:<\/strong><\/p>\n<p>We created class called\u00a0RFID125KHZ which inherits from Serial class to make things easy for you. The class and example project can be downloaded at bottom of this article.<\/p>\n<p>The class is decoding the RF tags and validating their checksums and then broadcasting event to the user interface once a tag is found.<\/p>\n<p>Preview of the main portion of the class:<\/p>\n<pre lang=\"xojo\">Sub DataAvailable() Handles DataAvailable\r\n Dim data as String\r\n Dim startMarker as Integer\r\n Dim endMarker as Integer\r\n Dim byteValue as Integer\r\n Dim checksum as Integer\r\n Dim value as Integer\r\n Dim valueString as String\r\n \r\n \/\/ Format of data is 02 - 10 byte data - Checksum (2 bytes) - 03, total of 14 bytes\r\n \/\/ Checksum is calculated doing Xor on every pair of 2 bytes of the 10 byte data\r\n \r\n data = me.ReadAll()\r\n \r\n if data.LenB &gt;= 14 then\r\n startMarker = AscB(data.MidB(1,1))\r\n endMarker = AscB(data.MidB(14,1))\r\n \r\n if startMarker = 2 and endMarker = 3 then\r\n \/\/ We found start and end markers\r\n \r\n valueString = data.MidB(2,10)\r\n \r\n value = Val(\"&amp;h\" + valueString)\r\n \r\n if LastScannedID = valueString then\r\n if Microseconds - LastScannedTime &lt; 500000 then\r\n return \/\/ To prevent multiple reads at to fast rate\r\n end if\r\n end\r\n \r\n LastScannedID = valueString\r\n \r\n \/\/ Check if the checksum matches\r\n checksum = Bitwise.BitXor(checksum,Val(\"&amp;h\" + valueString.MidB(1,2)))\r\n checksum = Bitwise.BitXor(checksum,Val(\"&amp;h\" + valueString.MidB(3,2)))\r\n checksum = Bitwise.BitXor(checksum,Val(\"&amp;h\" + valueString.MidB(5,2)))\r\n checksum = Bitwise.BitXor(checksum,Val(\"&amp;h\" + valueString.MidB(7,2)))\r\n checksum = Bitwise.BitXor(checksum,Val(\"&amp;h\" + valueString.MidB(9,2)))\r\n \r\n RFIDScanned(Str(value),data.MidB(12,2) = Hex(checksum))\r\n end if\r\n \r\n LastScannedTime = Microseconds\r\n end if\r\nEnd Sub<\/pre>\n<hr \/>\n<p><strong>Downloading the code:<\/strong><\/p>\n<p><a class=\"mb-button mb-style-glass mb-size-small mb-corners-default mb-text-style-default \" style=\"background-color: #2b7dc4;\" href=\"http:\/\/www.einhugur.com\/Downloads\/GPIO\/RFIDReaderRDM6300.zip\">\u00a0<i class=\"fa fa-download\"><\/i>\u00a0 Download the code<\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this example we are going to connect to RDM6300 RFID reader. The RDM6300\u00a0is for 125 kHz RF tags. This board uses UART (serial communication) but the protocol is fairly simple to deal with. The RDM6300 seen from back and front And the antenna that comes with it. Disclaimer: We do not take any responsibility &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/rdm6300-125khz-rfid-reader\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RDM6300 125Khz RFID reader<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":94,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/Pd75nk-dy","jetpack-related-posts":[{"id":810,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/mfrc-522-rfid-reader-in-xojo-bridged-with-python\/","url_meta":{"origin":840,"position":0},"title":"MFRC-522 RFID reader in Xojo (Bridged with Python)","date":"October 29, 2016","format":false,"excerpt":"In this example we are going to connect to MFRC-522 RFID reader. The MFRC-533 is for 13.56 MHz RF tags. This board like many other boards need fairly complex driver and since I believe Xojo should be about productivity and not always having to start from scratch at re-inventing the\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/10\/MFRC-522Package.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":94,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/","url_meta":{"origin":840,"position":1},"title":"Xojo GPIO","date":"September 19, 2015","format":false,"excerpt":"Guides for GPIO in Xojo \u00a0Infrared motion detection (Updated 1. May 2016) Shows\u00a02 ways of coding: Using Interrupts or simple polling. Sensors: \u00a0HC-SR501,\u00a0ST-00082 Mini,\u00a0Mini IR Pyroelectric Infrared PIR Motion Human Sensor Detector Module Uses:\u00a0Basic GPIO Relay board In this example we \u00a0wire up a relay board and let your Xojo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/ir-infrared-obstacle-reflection-photoelectric-sensor\/","url_meta":{"origin":840,"position":2},"title":"IR Infrared Obstacle Reflection Photoelectric Sensor","date":"September 20, 2015","format":false,"excerpt":"In this example we are going to connect to infrared obstacle reflection photoelectric sensor motion detection sensor. I am not going to deny it, I find this sensor to be awful rubbish. Without reading the data you can hook it up and see it when the 2nd green lights goes\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/IRSensor-e1442754741492-225x300.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":108,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/f85-vibration-sensor\/","url_meta":{"origin":840,"position":3},"title":"F85 Vibration sensor","date":"September 19, 2015","format":false,"excerpt":"In this example we are going to connect to\u00a0vibration sensor. This example is super easy after doing the infrared motion detection with the HC-SR501 in a previous example, since basically same code will work. I found this sensor to be excellent, it gives readings when I expect it to and\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/Sensor-connection-e1442664059628-225x300.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":128,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/dht11-and-dht22-humidity-temperature-sensors-3-pin-version\/","url_meta":{"origin":840,"position":4},"title":"DHT11 and DHT22 humidity & temperature sensors (3 pin version)","date":"September 20, 2015","format":false,"excerpt":"In this example we are going to connect\u00a0to DHT11 and or DHT22 humidity & temperature sensor. This sensor reads both the humidity and temperature. (This guide was updated on 24. Oct 2015, greatly improving the DHT11 device driver code and added DHT22 device driver code and wiring pictures for the\u2026","rel":"","context":"Similar post","img":{"alt_text":"DHT22 sensor","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/DHT22.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":113,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/flame-sensor\/","url_meta":{"origin":840,"position":5},"title":"Flame sensor","date":"September 19, 2015","format":false,"excerpt":"In this example we are going to connect to flame\u00a0sensor. Programming for this sensor works on exactly the same principle as the\u00a0HC-SR501 infrared sensor and the F85 vibration sensor except the signal from this sensor comes inverted. As in it will send 1 when everything is all right and zero\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/FlameSensor-e1442681877884-225x300.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/840"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=840"}],"version-history":[{"count":7,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/840\/revisions"}],"predecessor-version":[{"id":851,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/840\/revisions\/851"}],"up":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/94"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}