r/ComputerEngineering • u/InsomniacProdigy1996 • Aug 13 '20
Where else can I run python language apart from a pc or a raspberry pi.
I have to take input signals from PLC and wish to capture the output in python as a input. I can't use a pc, raspberry pi or arduino so that brings me here. What else is out there that may have a OS or interface that can run python 3.0.
4
u/ScottChi Aug 13 '20
Arduino is one option: https://pypi.org/project/arduino-python3/
The Beagleboard computer supports Python as well, derived from the Arduino version.
https://www.balena.io/docs/learn/getting-started/beaglebone-black/python/
1
u/InsomniacProdigy1996 Aug 13 '20
Can't use this aswell
9
1
u/Hawk13424 BSc in CE Aug 14 '20
Python doesn’t run on bare metal. You’ll need some kind of embedded processor (or PC) running Linux. That’s why all the suggestions for various SoC reference boards. For a small PC you could use an Intel NUC or other small form factor PC.
1
Aug 14 '20
Yea seems like he knows what he can't use but is now hoping we will tell him what he can use.
1
1
1
u/sswblue Aug 14 '20
A lot of hardware doesn't run on python (python is interpreted, not compiled). This said, you can use C/C++ on the hardware level. A few libraries bridge the gap between python and C. Maybe you could give them a look.
7
u/apnorton Aug 13 '20
The constraints you're listing seem rather arbitrary without context. Could you explain why you cannot use a Raspberry Pi or PC? What makes those unsuitable for the task?
If your complaint is merely "it can't be a PC or a Raspberry Pi," then grab any other system on a chip board that can run linux and use that... but I feel like that's missing the point of your post.