element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Just Finished My Python Course : Can you run Pythin directly on any Arduino?
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 21 Feb 2020 12:17 PM Date Created
  • Views 2170 views
  • Likes 8 likes
  • Comments 23 comments
  • python
  • arduino
Related
Recommended

Just Finished My Python Course : Can you run Pythin directly on any Arduino?

dubbie
dubbie
21 Feb 2020

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 would like to do is to run Python programmes (scripts?) directly on an Arduino. I have looked on Google and so far I have not found anything that indicates it might be possible. I know that Python is interpreted but does anyone know if there is a powerful enough Arduino that has had Python ported to it? I know the Raspberry has and probably other boards as well.

 

Dubbie

 

PS My Java course, also on FutureLearn started this week, hopefully learning two languages in such a short time will not be too confusing.

  • Sign in to reply

Top Comments

  • tariq.ahmad
    tariq.ahmad over 6 years ago +4
    Hi dubbie , I don't have an exact date but I know this will be a pretty big deal when its released: Arduino Portenta H7 Powered by STM32H7 Supports Python and Javascript Out of the Box! We will be carrying…
  • michaelkellett
    michaelkellett over 6 years ago in reply to dixonselvan +3
    It takes a while to get to the point but your link is about running Python on a PC and it talking to an Arduino: However, there are some approaches you can take to use Arduino with Python or other languages…
  • beacon_dave
    beacon_dave over 6 years ago +3
    You may be able to install CircuitPython on some Arduino boards based on the SAMD microcontrollers. https://learn.adafruit.com/installing-circuitpython-on-samd21-boards Some examples of digital IO here…
  • michaelkellett
    michaelkellett over 6 years ago in reply to neuromodulator

    You can use Ethernet for more speed - 100M Ethernet using UDPs isn't that hard on a decent ARM micro with an on chip MAC.

    A good bit harder on an FPGA but 1GB is as easy as 100M but free IP for the MAC is hard to find at 1GB.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • neuromodulator
    neuromodulator over 6 years ago

    The approach of using the PC for heavy computation and leaving the microcontroller to do IO stuff works pretty well. I've posted a few projects that run python on the PC and connect to a "dumb" microcontroller or FPGA. The bottleneck can be the serial comm, but depending on what you are doing it may be more than enough.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 6 years ago

    Put simply, it comes down to which Arduino you mean. If you're talking about an Uno, Nano or other 8-bit variants, then no. With only ~2K of RAM it just isn't possible.

     

    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.

     

    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. Adafruit's Feather M0Adafruit's Feather M0 is one of my favorites.

     

    When it comes down to it, the difference between MicroPython and CircuitPython can be small. However, CircuitPython is directly focused on being easy-to-use and learn, especially on supported hardware.

     

    What I like about CircuitPython supported hardware is that programming them is as simple as saving the py file on their virtual disk image.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to tariq.ahmad

    Wow.  Microcontrollers are really getting powerful.  Looks like they are porting MicroPython to it. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago

    The lead developer for Circuit Python that Adafruit forked from MicroPython lives here in Seattle and I see him from time to time.  They have a number of boards that run Python on the microcontroller - microcontrollers that will also will run under the Arduino IDE.  I have posted a couple of projects here on element14 that use Circuit Python, most recently Xut the Penguin that is based on a board Adafruit handed out at a conference I attended.  Python on a microcontroller needs a lot of memory and an 8 bit Uno won't do it.  I see Circuit Python and Micro Python as best for learning and simple projects like Xut.  More complicated embedded Python projects are better done with a Raspberry Pi or Beagle Bone.  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.  Adafruit Circuit Python also will run on the Pi if I remember correctly.

     

    Frank

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube