<?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>Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><description>I have just finished my Introduction to Python Course put on by FutureLearn which was not too difficult and I think I might have learnt something. Now I want to try out a few things - I still do not know how to blink a LED in Python yet. What I...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Sat, 22 Feb 2020 04:39:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>neuromodulator</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;The approach of using the PC for heavy computation and leaving the microcontroller to do IO stuff works pretty well. I&amp;#39;ve posted a few projects that run python on the PC and connect to a &amp;quot;dumb&amp;quot; microcontroller or FPGA. The bottleneck can be the serial comm, but depending on what you are doing it may be more than enough.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Sat, 22 Feb 2020 04:17:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>baldengineer</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Put simply, it comes down to which Arduino you mean. If you&amp;#39;re talking about an Uno, Nano or other 8-bit variants, then no. With only ~2K of RAM it just isn&amp;#39;t possible.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However, if you look at Arduino boards in the MKR-series or the Zero, these are based on the Cortex-M0 ARM processor. They have the potential to run either MicroPython or CircuitPython.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you expand to Arduino-compatible boards like the ESP8266, ESP32, or the 32-bit Feather-series from Adafruit then you also have multiple options. Every 32-bit Adafruit-made board I am aware of runs CircuitPython. &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-2noSaFnc-linked"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=&amp;amp;nsku=98Y0176&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=&amp;amp;nsku=98Y0176&amp;amp;COM=noscript" target="_blank"&gt;Adafruit&amp;#39;s Feather M0&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-2noSaFnc-unlinked"&gt;Adafruit&amp;#39;s Feather M0&lt;/span&gt;&lt;/span&gt; is one of my favorites.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When it comes down to it, the &lt;a class="jive-link-external-small" href="https://www.baldengineer.com/circuit-python.html" rel="nofollow ugc noopener" target="_blank"&gt;difference between MicroPython and CircuitPython&lt;/a&gt; can be small. However, CircuitPython is directly focused on being easy-to-use and learn, especially on supported hardware.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What I like about CircuitPython supported hardware is that programming them is as simple as saving the py file on their virtual disk image.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 17:12:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>fmilburn</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;The lead developer for Circuit Python that Adafruit forked from MicroPython lives here in Seattle and I see him from time to time.&amp;nbsp; They have a number of boards that run Python on the microcontroller - microcontrollers that will also will run under the Arduino IDE.&amp;nbsp; I have posted a couple of projects here on element14 that use Circuit Python, most recently &lt;a class="jive-link-blog-small" href="/challenges-projects/project14/animatronics/b/blog/posts/xut-the-animatronic-penguin-part-2"&gt;Xut the Penguin&lt;/a&gt; that is based on a board Adafruit handed out at a conference I attended.&amp;nbsp; Python on a microcontroller needs a lot of memory and an 8 bit Uno won&amp;#39;t do it.&amp;nbsp; I see Circuit Python and Micro Python as best for learning and simple projects like Xut.&amp;nbsp; More complicated embedded Python projects are better done with a Raspberry Pi or Beagle Bone.&amp;nbsp; Adafruit is probably selling more microcontrollers with stripped down Python for microcontrollers than anyone else right now and they have lots of libraries but there are others including the original MicroPython.&amp;nbsp; Adafruit Circuit Python also will run on the Pi if I remember correctly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Frank&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 15:57:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>tariq.ahmad</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Hi &lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; ,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t have an exact date but I know this will be a pretty big deal when its released:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-blog-small" href="/products/arduino/b/blog/posts/arduino-portenta-h7-powered-by-stm32h7-supports-python-and-javascript-out-of-the-box"&gt;Arduino Portenta H7 Powered by STM32H7 Supports Python and Javascript Out of the Box!&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We will be carrying the board and will have community activity around it to support its release.&amp;nbsp;&amp;nbsp; It&amp;#39;s something I&amp;#39;m really excited about and something I could see you digging, especially for its robotics applications.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 15:41:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Dubbie,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I know this isn&amp;#39;t answering your specific question, but I was wondering if you have access to a Pi. If so, it&amp;#39;s a very nice way to get familiar with I/O with Python, because you&amp;#39;ve the got access to normal Python, plus any libraries you want/need.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To do input/output, some library is needed with the Pi. A popular one is gpiozero (although personally I don&amp;#39;t like it, it&amp;#39;s tutorials use a way that totally abstracts away physical I/O and replaces with pre-created classes for specific components. For example, there&amp;#39;s an LED class and so on).&lt;/p&gt;&lt;p&gt;An alternative easier-to-understand I/O library just provides I/O and nothing else - that&amp;#39;s RPi.GPIO library, and using it is similar to using a microcontroller, in that a value is set to define input or output mode, and then True or False is set to turn an output on or off.&lt;/p&gt;&lt;p&gt;There&amp;#39;s an example pasted below, taken from &lt;a class="jive-link-wiki-small" href="/products/raspberry-pi/raspberrypi_projects/w/documents/957/raspberry-pi-gpio-explained"&gt;Raspberry Pi GPIO Explained&lt;/a&gt; &lt;/p&gt;&lt;p&gt;For Arduino, I think today most examples will still be in Arduino language (i.e. C pretty much) which is no bad thing, because C is used with nearly all microcontrollers, so still worth learning that too. Again, sorry for not directly answering your question, I&amp;#39;ve never used Python on an Arduino, perhaps I&amp;#39;m missing out.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/774x760/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-33b1e243-3aca-4dda-8516-72e99c882002/contentimage_5F00_206107.png:774:760]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 13:59:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Does it have to be an Arduino? If you&amp;#39;ve got a micro:bit, you could try programming that with MicroPython. That&amp;#39;s in the same sort of price area as one of the simpler Arduino boards and has a reasonable amount of IO to play with. It&amp;#39;s not the full language, but would be fine for control type stuff.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://microbit.org/code/" rel="nofollow ugc noopener" target="_blank"&gt;https://microbit.org/code/&lt;/a&gt; (see link to editor partway down page)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.python.org/community/microbit/" rel="nofollow ugc noopener" target="_blank"&gt;https://www.python.org/community/microbit/&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 13:43:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>beacon_dave</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;You may be able to install CircuitPython on some Arduino boards based on the SAMD microcontrollers.&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://learn.adafruit.com/installing-circuitpython-on-samd21-boards" rel="nofollow ugc noopener" target="_blank" title="https://learn.adafruit.com/installing-circuitpython-on-samd21-boards"&gt;https://learn.adafruit.com/installing-circuitpython-on-samd21-boards&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Some examples of digital IO here:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://learn.adafruit.com/arduino-to-circuitpython/digital-in-out" rel="nofollow ugc noopener" target="_blank" title="https://learn.adafruit.com/arduino-to-circuitpython/digital-in-out"&gt;https://learn.adafruit.com/arduino-to-circuitpython/digital-in-out&lt;/a&gt; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 13:12:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>michaelkellett</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello Dubbie&lt;/p&gt;&lt;p&gt;I thought not so I had a quick scout around:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s a good link to a representative article saying &amp;quot;No&amp;quot; in 5 different ways.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.quora.com/Can-I-program-the-Arduino-with-Py" rel="nofollow ugc noopener" target="_blank" title="https://www.quora.com/Can-I-program-the-Arduino-with-Py"&gt;https://www.quora.com/Can-I-program-the-Arduino-with-Py&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;MK&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Just Finished My Python Course : Can you run Pythin directly on any Arduino?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/just-finished-my-python-course-can-you-run-pythin-directly-on-any-arduino</link><pubDate>Fri, 21 Feb 2020 13:08:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:33b1e243-3aca-4dda-8516-72e99c882002</guid><dc:creator>dixonselvan</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Hi &lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you try steps in this link and let me know the outcome - &lt;a class="jive-link-external-small" href="https://realpython.com/arduino-python/" rel="nofollow ugc noopener" target="_blank"&gt;https://realpython.com/arduino-python/&lt;/a&gt;?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Coding will look like the below, it is achieved through pyfirmata library and serial communication.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=python&amp;amp;text=import+pyfirmata%0Aimport+time%0A%0Aboard+%3D+pyfirmata.Arduino%28%27%2Fdev%2FttyACM0%27%29%0A%0Awhile+True%3A%0A++++board.digital%5B13%5D.write%281%29%0A++++time.sleep%281%29%0A++++board.digital%5B13%5D.write%280%29%0A++++time.sleep%281%29]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Dixon Selvan&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8747&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>