<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Python GPIO to slow (hx711 interface)]]></title><description><![CDATA[<p dir="auto">At work we have a little CoffeClock, which measures the weight of the coffee machine and show, how much is Coffee is left and how old the coffee is (little arduino project). I wanted to update it and add a website using my omega and python. For this I have to communicate with an HX711. I found a Python Class (<a href="https://gist.github.com/underdoeg/98a38b54f889fce2b237" rel="nofollow">https://gist.github.com/underdoeg/98a38b54f889fce2b237</a>) which I modified. The problem is, that with onionGpio I need about 1ms to switch an output high and low.<br />
The HX711 goes into power down state when the signal is high for more  then 60µs .... <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--disappointed" title=":-(" alt="😞" /><br />
The question:</p>
<ul>
<li>is there an faster python module?</li>
<li>are system calls to fastGPIO faster?</li>
<li>should I forget about wasting time with Python and do it in C++?</li>
</ul>
<p dir="auto">Thanks Guys for your help!</p>
]]></description><link>http://community.onion.io/topic/1014/python-gpio-to-slow-hx711-interface</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 22:27:28 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/1014.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Sep 2016 13:16:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Python GPIO to slow (hx711 interface) on Wed, 28 Sep 2016 13:16:45 GMT]]></title><description><![CDATA[<p dir="auto">At work we have a little CoffeClock, which measures the weight of the coffee machine and show, how much is Coffee is left and how old the coffee is (little arduino project). I wanted to update it and add a website using my omega and python. For this I have to communicate with an HX711. I found a Python Class (<a href="https://gist.github.com/underdoeg/98a38b54f889fce2b237" rel="nofollow">https://gist.github.com/underdoeg/98a38b54f889fce2b237</a>) which I modified. The problem is, that with onionGpio I need about 1ms to switch an output high and low.<br />
The HX711 goes into power down state when the signal is high for more  then 60µs .... <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--disappointed" title=":-(" alt="😞" /><br />
The question:</p>
<ul>
<li>is there an faster python module?</li>
<li>are system calls to fastGPIO faster?</li>
<li>should I forget about wasting time with Python and do it in C++?</li>
</ul>
<p dir="auto">Thanks Guys for your help!</p>
]]></description><link>http://community.onion.io/post/6780</link><guid isPermaLink="true">http://community.onion.io/post/6780</guid><dc:creator><![CDATA[Alexander Pitzer]]></dc:creator><pubDate>Wed, 28 Sep 2016 13:16:45 GMT</pubDate></item><item><title><![CDATA[Reply to Python GPIO to slow (hx711 interface) on Wed, 28 Sep 2016 22:43:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/794">@Alexander-Pitzer</a> Use of fastGPIO should definitely be faster.</p>
<p dir="auto">You might also want to consider the libnewgpio C/C++ code I have published for accessing GPIO - see <a href="https://github.com/KitBishop/Omega-GPIO-I2C-Arduino/tree/master/libnewgpio" rel="nofollow">https://github.com/KitBishop/Omega-GPIO-I2C-Arduino/tree/master/libnewgpio</a></p>
]]></description><link>http://community.onion.io/post/6782</link><guid isPermaLink="true">http://community.onion.io/post/6782</guid><dc:creator><![CDATA[Kit Bishop]]></dc:creator><pubDate>Wed, 28 Sep 2016 22:43:00 GMT</pubDate></item></channel></rss>