<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Miniature Solar Cells and Improving Real-Time GPIO Performance</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/miniature-solar-cells-and-improving-real-time-gpio-performance</link><description>IntroductionThere is plenty of jitter on signals generated using GPIO on the Raspberry Pi and many other computers, and this is due to the fact that Linux can context-switch user processes at any desired point in time dependant on its scheduler (for </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Miniature Solar Cells and Improving Real-Time GPIO Performance</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/miniature-solar-cells-and-improving-real-time-gpio-performance</link><pubDate>Fri, 11 Sep 2015 21:07:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:01b11f6f-dda3-4b14-99da-928ceb51b42b</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice demonstration for possible measurements using the RPi.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Depending upon your application you might need to do more in depth timing analysis, but your simple test give us a good idea on where to start.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=437&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Miniature Solar Cells and Improving Real-Time GPIO Performance</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/miniature-solar-cells-and-improving-real-time-gpio-performance</link><pubDate>Fri, 11 Sep 2015 12:50:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:01b11f6f-dda3-4b14-99da-928ceb51b42b</guid><dc:creator>screamingtiger</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;There are real-time options for raspian which would have a better effect:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.bing.com/search?q=real+time+raspian&amp;amp;src=IE-TopResult&amp;amp;FORM=IETR02&amp;amp;conversationid=&amp;amp;adlt=strict" rel="nofollow ugc noopener" target="_blank"&gt;http://www.bing.com/search?q=real+time+raspian&amp;amp;src=IE-TopResult&amp;amp;FORM=IETR02&amp;amp;conversationid=&amp;amp;adlt=strict&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Messing with thread scheduler can be destructive to the OS and it will crash eventually.&amp;nbsp; I am still a firm believer that a real time component is needed for this type of work. &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=437&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Miniature Solar Cells and Improving Real-Time GPIO Performance</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/miniature-solar-cells-and-improving-real-time-gpio-performance</link><pubDate>Fri, 11 Sep 2015 05:59:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:01b11f6f-dda3-4b14-99da-928ceb51b42b</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Shabaz,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;this isa very useful experiment and the concept is very well explained. A meaningful detail to take in account when doing measures, I am thinking to the Meditech approach to the probes.&lt;/p&gt;&lt;p&gt;As a matter of fact AFAIK just for this reason I have adopted a technique that I have learned years and years ago; the formal expected &lt;em&gt;zero level&lt;/em&gt; and &lt;em&gt;max possible level&lt;/em&gt; of a measure should always be excluded while the scale in any measure will be included between these two physical value. Then I never though to use directly the input data for the measure directly on the GPIO without filtering it and considering only as valid the filtered values that can be considered reliable. Just to avoid the unwanted oscillation of the signals. In the case of Meditech, just to speak about something that we all know, all the probes inputs are managed through filtering circuits.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The cases that works instead, with direct connection, are for example the IR controller for which there is a specific well-tested Linux based library and process (the Lirc project). In any other case I always try to mediate the signals. Just for this reason you point the right direction for a good final step before the data reading. I like it very much.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enrico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=437&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Miniature Solar Cells and Improving Real-Time GPIO Performance</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/miniature-solar-cells-and-improving-real-time-gpio-performance</link><pubDate>Fri, 11 Sep 2015 00:20:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:01b11f6f-dda3-4b14-99da-928ceb51b42b</guid><dc:creator>jw0752</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Shabaz,&lt;/p&gt;&lt;p&gt;I love this type of electronics experiment where you set a goal and then work you way towards a solution by a series of simple probing experiments. Thanks for sharing your experiment with us.&lt;/p&gt;&lt;p&gt;John&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=437&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>