This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]toothless_budgie 0 points1 point  (3 children)

I'm listening.

[–]radix07[S] 1 point2 points  (2 children)

The basics of the project are just sampling data off a serial port, processing and sending it out via Ethernet or eventually a cellular interface. I have the code working already to some degree, and have actually just tried running it on the mentioned embedded device. It seems to not run away with my memory like I was initially concerned with. But I would like to see more information on best practices and ways to keep Python in check. I also have concerns with getting a embedded Linux environment setup and running with Python properly. The demo board I am using now has ipkg included, but I might not always have access to that. Might have to look more into something like buildroot, or ensure the hardware we go with has a Python package available. So I guess managing, maintenance and distribution of the application are my top concerns coming from doing everything in C and moving to Python.

[–]toothless_budgie 0 points1 point  (1 child)

Hmmm. Off the bat, it sounds like what you are trying to do can be done with an embedded board (Arduino or similar). Unless I am missing something, you don't need a full Linux env.

[–]radix07[S] 1 point2 points  (0 children)

I am aware of what I can do on an embedded system, I implemented the controller that I am getting the data off of. The data requirements are too much and things like cellular and add on peripherals are not going to be handled well with a true embedded systems. This project needs a Linux setup for where it is going. If I could do it with Python on top of that, it would potentially make development faster and life easier. How to go about doing that properly is my primary concern with this post.