Most windows PC can be converted to use Linux
Try searching online.
Then you could write some code to get data from serial.
I don’t understand why you need Linux to do that though.
Windows should be able to do that.
I use Ubuntu linux and am happy with it. Many pros prefer CentOS for scientific work.
Absolutely!
Especially as @danielfigueiredo1992 doesn't sound to be familiar with Linux ?
If you just want to compute serial data take a look at this:
Note: those programs were designed on Linux may need to change things a bit….
I'm a little familiar with Linux. I'm used various Ubuntu version and Debian.
Both windows and Linux can serial stuff.
So it’s up to you for what you want.
I have zero experience with both of those though.
They name the serial port as /dev/ttyS80 - that would have to be changed to a valid Windows COM port.
Apart from that, being Python, it should be platform-agnostic...
Yes, those are 2 common distributions - should be able to install them on (pretty much) any PC
Is this related to your FPGA thread ... ? ![]()
It sounds like you have changed your mind. Can you please confirm and specify exactly what you would like to do.
This thread will receive tons of responses because it's opinion-driven, and you know what they say about opinions...
Your desire to use Arduino IDE (and ecosystem?) suggests that an ESP32-based board may be what you need. 240MHz and multiple cores fast enough for you?
Or a teensy 4/4.1 at 600 mhz.
Not sure about the cores though.
Arduinos have been around for close to 20 years and PCs for a fair quite a bit longer than that.
If it were possible to turn a PC into an Adrduino, you would have expected that over the last 20 years or so gazillions and gazillions of people would have done it alread, lots of code on the internet etc, etc.
So, if its possible where is the example code ?
Yes
Well maybe. Without testing I will don't know.
Just testing.
No.
A CPU Instruction Pointer addresses RAM space.
An MCU Instruction Pointer addresses flash space.
The differences can lead to problems with program and data addressing.
PC algorithms don't always translate and the best write-around is rewrite new.
Arduino is an example of Wiring from the book Processing and Wiring that got Arduino started, and Firmata that maybe someone uses...
The Home of the Processing Language for PC's. Arduino is a Wiring version similar in form.
An old industrial version of a PC is more closely aligned to your proposal. See what you can find and try it. I junked an old convection oven that was controlled by an industrial PC. Had one board for the processor and memory and other boards for the interfaces to sensors and controls.
There are some SBC's that run old code on new version chips... a 6502 upgrade (IIRC 65816) and a Z80 upgrade as well, more than 64K RAM!
But the Processing Language is how i did connect to Arduino from PC and the way you code Processing is at heart the same real world programming.