Pyfirmata, Python, RPi, Arduino

I took a peek only as I never got into Python. But I would not mind using low end Raspberry Pi boards to handle HDMI TV and sound with Arduino.

What I saw, they do a lot more than that.
But that fire may be out, they only go as far as RPi4.

Python and HDMI don't mix.

RPi has HDMI video output and can run Python.
Python has graphical libraries, at least on RPi GUI libs.

@GoForSmoke you posted in the "bar sport" section, so presumably you want to start a casual, possibly humorous, conversation, about Raspberry Pi?

What would Arduino add to what the Pi can already do? Attempting to use two or more Arduino to perform a task is not usually recommended because getting them to communicate and coordinate to complete the task is often more complex than the task itself. Same is often true of using Arduino and Pi together. Pi have GPIO pins which include i2c, SPI, PWM capabilities, and if more are needed, or analog inputs are required, these can be added to the Pi with extra chips. You can program Pi in Python or C/C++ and various other languages.

Indeed. You can think of a Pi as a cut-down PC, with many of the advantages that brings, and some of the limitations.

The latest model is the Pi 5. There's no sign that the fire has gone out of the Pi's popularity. But the market segment is getting increasingly crowded. Many models are described as "Pi-killers" providing better specified boards at similar prices, but so far none of them have the quality of support in terms of software and documentation provided by the Pi foundation, or such a large and helpful support community.

Huh? Pi have HDMI. Pi can run Python. So they are mixed, as they are on PCs and many other devices.

are you talking of HDMI as an input source for further processing or you want to use it for output?

With the Pi running Linux, IMO an Arduino can pay closer attention to pins all the time. A PICO can do that even closer.

Linux time slices, AFAIK that kind of tasking isn't up to running a stepper as it will miss 1 ms here and there.

In Arduino I see niches for subsystems and "glue".
The big thing I saw with Pyfirmata was robots.

I write and think asynch. I've done coordination that way before and kept multiple clocks straight by not trying to keep they "synched" but instead tracking the differences. It is a matter of knowing and keeping within tolerances.
I never got to learn Occam but I did see the kind of parallel task conditionals it used and I worked from there back when I was wayyyy sharper than now. Temporal does it,
sometimes not if() but when() logic, KWIM?

Output graphics and sound to a TV/flatscreen only!
Simple games, maybe a book reader or GUI/terminal.

casual, not solution oriented

So you are all set. RPi have HDMI output, so you can connect to monitors, TVs, and other display devices that support HDMI and you can use Python to draw on the screen and/or play sound through the HDMI output.

see the Pygame library for example

There's a path with a learning curve hill to be sure!

always - otherwise where would the fun be :slight_smile:

(and when you stop learning, you start dying...)

Yes, absolutely. That's one of the limitations of PCs I was hinting at.

Did you see this?

An Intel N100 quad-core SBC with an RP2040 on board to run the GPIO!

No, I'm just starting to look around. It's less than 2 weeks since I can see without occlusion and I'm almost 70 now.

Last I recall Intel, it had that crackhead segmented addressing!

I thought you were speaking about the Pico outputting HDMI using Python.

The "computer" RPis can do graphics with Python.

1 Like

Since about 2017 my only computer has been an RPi. I had a 3B (now my emergency backup) and a 4B that is what I'm using to post this. Both run Arduino IDE. I may upgrade to a 5 by December but not out of need.
When I shut my tower PC down and went to RPi 3, my electric bill dropped $30/mo! It was no hard decision after Winblows ate my main drive data, music and videos.

1 Like

Windows isn't great....
I have a 4B and two Pi Zeros myself.

The 4B is used as the base for my homemade camera and the Pi Zeros were used to construct security cameras.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.