<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Emulating a Barcode Scanner using Arduino in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Emulating-a-Barcode-Scanner-using-Arduino/m-p/100635#M94263</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a project where I am using the Arduino Leonardo (it has an USB interface) to connect to the Square Terminal and output the UPC/SKU of the product.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first I thought that I was going to be easy, as most Barcode Scanners emulate a HID keyboard and so does an arduino Leonardo, but it seems that when I connect it to the Square Terminal, the device doesn't do anything with the output, as if it doesn't even detect it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I connect the arduino to a normal PC, it outputs a SKU after pressing a button, just as a barcode scanner would when you press its button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have read the USB specifications, tried to emulate HID Interface, Report Descriptors and even matched the Raw Report Descriptor Dump from a Square Supported Barcode Scanner and tried to make the Arduino output the same data, but to no avail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if any of you guys might have tried to do something like this ? or have any ideas as to what I might be missing ?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2018 01:19:36 GMT</pubDate>
    <dc:creator>ankodeveloper</dc:creator>
    <dc:date>2018-11-20T01:19:36Z</dc:date>
    <item>
      <title>Emulating a Barcode Scanner using Arduino</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Emulating-a-Barcode-Scanner-using-Arduino/m-p/100635#M94263</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a project where I am using the Arduino Leonardo (it has an USB interface) to connect to the Square Terminal and output the UPC/SKU of the product.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first I thought that I was going to be easy, as most Barcode Scanners emulate a HID keyboard and so does an arduino Leonardo, but it seems that when I connect it to the Square Terminal, the device doesn't do anything with the output, as if it doesn't even detect it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I connect the arduino to a normal PC, it outputs a SKU after pressing a button, just as a barcode scanner would when you press its button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have read the USB specifications, tried to emulate HID Interface, Report Descriptors and even matched the Raw Report Descriptor Dump from a Square Supported Barcode Scanner and tried to make the Arduino output the same data, but to no avail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if any of you guys might have tried to do something like this ? or have any ideas as to what I might be missing ?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 01:19:36 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Emulating-a-Barcode-Scanner-using-Arduino/m-p/100635#M94263</guid>
      <dc:creator>ankodeveloper</dc:creator>
      <dc:date>2018-11-20T01:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Emulating a Barcode Scanner using Arduino</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Emulating-a-Barcode-Scanner-using-Arduino/m-p/100834#M94264</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/140760"&gt;@ankodeveloper&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Currently our hardware is only compatible with 3rd party peripherals listed on this &lt;A href="https://squareup.com/help/us/en/article/6334" target="_blank"&gt;page&lt;/A&gt;. Right now we do not support any Arduino Leonardo products.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you still have questions, please feel free to reach out to me.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 19:19:05 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Emulating-a-Barcode-Scanner-using-Arduino/m-p/100834#M94264</guid>
      <dc:creator>Chad</dc:creator>
      <dc:date>2018-11-21T19:19:05Z</dc:date>
    </item>
  </channel>
</rss>

