[Python] Serial communication from arduino to Linux terminal

Discussão em 'Python' iniciado por Stack, Março 23, 2025.

  1. Stack

    Stack Membro Participativo

    I have been trying to print the serial output from the Arduino to the Linux terminal but the output sent to the terminal seems to be empty with string as shown in the figure below

    void setup() {
    Serial.begin(9600);

    void loop() {
    float zby = 4.54;
    Serial.println(zby);
    delay(1000);
    }


    [​IMG]

    I have tried using Raspberry Pi so I connected the Arduino to the raspberry and did the same thing but at least i found something received [​IMG]The ports that i have used

    The Arduino code and terminal output

    Continue reading...

Compartilhe esta Página