can i use python on ToradexT30 with embedded linux? - python

I want to develop an embedded systems using Toradex Colibri T30, i want to use python to program this device to interface GPS module,hmc5883l compass and servo motors and i will be doing image processing with a usb camera module attached, summing up finally i want to use python(image processing compass,gps,pwm modules) to do all the above said stuff? is it possible? How to do? i tried online and got some results for cross compiling for embedded linux, will this cross compiling work for ARM Cortex A9 processor on ColibriT30 board? can anyone please throw some light on this doubt.....

Python runs on various embedded platforms. E.g. OpenEmbedded project is an umbrella project for cross-compiling and distributing Linux for various embedded platforms, including ARM. They provide "full" and minimal Python ports (not sure how much ROM and other resources your board has).
What I would look is that
What embedded Linux distributions your board uses
How I can get distribution X on it
Then just install Python using the distribution package manager

Related

How do i get cefpython3 on Raspberry pi 3 A+

Trying to get cefpython3 installed on raspberry pi 3 A+, but I'm getting a little bit lost in all of the download / build directions.
simply using pip install cefpython3=66.0 doesnt seem to cut it.
I am new to linux so some of the commands i feel are implied or second nature for experienced linux users, which is a little beyond me atm. help is appreciated.
Unfortunately, cefpython3 doesn't support the Raspberry Pi's ARM processor (yet), so this simply won't work without troublesome hacks like x86 emulation
There's no published ARM packages (though you could perhaps build it yourself) https://pypi.org/simple/cefpython3/
However, there's explicit reference to this being a future/missing feature on GitHub
Work ticket for adding the feature
Support for ARM platforms like Chromebook and Raspberry Pi. Support for Android.
https://github.com/cztomczak/cefpython/projects/7
Some Issues/Pull Requests related to the feature https://github.com/cztomczak/cefpython/issues?q=arm

Is there any way to control an rgb strip attached to a 12v rgb header in the motherboard with python?

My msi motherboard has 2 ports named "JRGB" with 4 pins, one for 12v and the other three for each color. Is there any way to make a python script that can control a rgb strip attached to it ?
This depends on the operating system and installed drivers for these jrgb headers. Your Python program needs to talk to these drivers, and I'm pretty confident that there are no platform independent Python libraries available yet. Depending on how the drivers are accessed in your operating system, writing such a library could be relatively simple or quite complicated.
If you're using Windows, you may have luck and MSI has a command line utility that could be executed from Python.

Cross platform movie creation in python

I am developing a small application that generates a stochastic animation, and I would want the option to save the animation as a movie. An obvious solution in linux would be to save the images and subprocess a call to ffmpeg or the like, but the program should preferable run on windows as well, without any external dependencies and installations needed (I pack the program with pyinstaller for windows). Is there a solution for this, or will I have to depend on different external applications depending on the platform?
opencv can solve this cross platform and has python bindings.

Python: GUI for Nokia N79 cell phones

Did anybody how to write GUI in Nokia N79 and how ? I mean what packages and something link or tutorial would be helpful. Please.
Python for symbain OS is also known as PyS60.
You need to refer to (the only) book -
Mobile Python: Rapid prototyping of applications on the mobile platform
You can find lots of examples from the book itself here.
You can download PyS60 (SourceForge) and install the interpreter on your symbian phone and your PC. (Note: Installing on your PC is not mandatory, but you won't be able to lots of typing on the mobile directly, so you will need it.)
There is a very nice option for bluetooth console, where you can write on the python interpreter on your PC and it would appear on the python interpreter on the phone, in almost real time, via bluetooth.
Note that there seems to be no ongoing development in PyS60 (and there are lots of missing pieces too), so don't expect to be able to do everything using PyS60 (unlike Symbian C++, which is for the same platform with much higher capabilities than PyS60.)

Can beagleboard run python or Ruby programs?

I hi have just ordered a couple of beaglboards for experimenting. I know that it can rub Ubuntu and many other flavors of linux.
Does that mean it can run all the trivial software that run on Ubuntu?
Will the python and ruby interpreters work just the way they work on PC ?
The Beagleboard can run both of them, but you may have to compile the interpreters from source. And don't expect the performance of a desktop.
I purchased a BeagleBoard-xM recently, built and installed an Angstrom distribution with a basic toolchain generated by the Narcissus website.
Angstrom uses the opkg package manager. After getting the base system up, all I had to do to get Ruby up was to run
opkg install ruby
and ruby / irb ran fine.
I was also able to get ruby gems installed from the tar on gemcutter and build some gems I needed for a project I was working on e.g., sinatra.
The interpreters do not need to be compiled from source, as the Ubuntu arm distribution has python in its repository as a deb. I was able to write my python scripts on my Ubuntu box and transfer them to the beagleboard without any changes. Performance so far has been surprisingly good, as I'm using the python script as a bridge between the real-time sound processing/synthesis language supercollider and a motor control board that communicates over USB-serial.
The Angstrom Linux distribution (which runs on the Beagle Board) has binary packages for both Python and Ruby. I've worked on an application that uses Python and PyGTK. Never had any problems.

Categories

Resources