Python with CANBÚS

Topics about the Software of Revolution Pi
Post Reply
musti_0107
Posts: 6
Joined: 13 Jul 2025, 17:53

Python with CANBÚS

Post by musti_0107 »

Hello, good day
I have a Revpi Connect 5 and two expansion modules: a MIO and a DIO.
I also have a servo controller connected to my Revpi Connect 5 via CANBUS.
Our programming language is Python, so I'm trying to establish CANBUS communication from Python, but without success.
I wrote a program with KI, but when I start the program in Revpi Commander, I get an error message saying "NOT RUNNING."
Unfortunately, I have no idea what's wrong or what settings I need to make to establish a CANBUS connection from Python.
What's important to me is that I can send and receive messages from Python; that's all I want.
I'm asking for support
User avatar
crismancich
KUNBUS
Posts: 50
Joined: 05 Jan 2021, 11:25
Location: Hamburg
Contact:

Re: Python with CANBÚS

Post by crismancich »

Hi Musti,

my approach would be to just work with the plain python file on the RevPi and run it via SSH.
Doe is work here without RevPi commander?
Viele Grüße / Kind regards / Quapla’ / 此致敬意
Boris Crismancich
Sami
Posts: 4
Joined: 16 Sep 2025, 11:46

Re: Python with CANBÚS

Post by Sami »

It sounds like you could be experiencing an issue with either your Python script, or with deployment through RevPi Commander.

Try the script given in Step 6 of the Python Tutorial (https://revolutionpi.com/en/tutorial/python) - when the button is pressed, does the LED activate as expected? Does RevPi Commander still throw the same error?
Post Reply