Go to advanced search

by Raymondo02
Fri Jul 19, 2019 1:07 am
Forum: Python
Topic: Sending a number to raspberry pi from arduino card via USB
Replies: 7
Views: 1193

Re: Sending a number to raspberry pi from arduino card via USB

Thanks all of you. It's finally working like I want!
by Raymondo02
Thu Jul 18, 2019 5:05 pm
Forum: Python
Topic: Sending a number to raspberry pi from arduino card via USB
Replies: 7
Views: 1193

Re: Sending a number to raspberry pi from arduino card via USB

Thank you, nut with the if float(myData) == 4: I get this : ValueError: could not convert string to float: Why? How can I fix that?
by Raymondo02
Thu Jul 18, 2019 11:43 am
Forum: Python
Topic: Sending a number to raspberry pi from arduino card via USB
Replies: 7
Views: 1193

Re: Sending a number to raspberry pi from arduino card via USB

I use Python3. When I test it. The byte incrases by one all the time. So my program doesn't work. Do you know what can I do to fix this?
by Raymondo02
Wed Jul 17, 2019 11:10 pm
Forum: Python
Topic: Sending a number to raspberry pi from arduino card via USB
Replies: 7
Views: 1193

Sending a number to raspberry pi from arduino card via USB

I have a problem with a part of my project that is a slider to take time lapse. I use a Raspberry pi 3B+ and a Arduino Uno. I'm able to send "message" to my Arduino with my raspberry pi, but not the other way. I search on Internet and normally we use on Arduino Serial.println( ) or Serial.write( ) a...
by Raymondo02
Mon Jul 08, 2019 11:29 am
Forum: Python
Topic: problem with python program
Replies: 10
Views: 740

Re: problem with python program

Thank you, I try Thonny and I like it.

But I have another problem. In my program, I use GPIO. So, I write at the beginning : import RPi.GPIO as GPIO. When I run it, I receive ModuleNotFoundError : No module named 'RPi'.

I already download the GPIO module. So, how I fix that ?
by Raymondo02
Mon Jul 08, 2019 12:44 am
Forum: Python
Topic: problem with python program
Replies: 10
Views: 740

problem with python program

Hello,
I installed the last version of rasbian on my Raspberry pi 3 B+. I check in the programming section and the Python IDLE is not there. I need this to continu my project. So how can I have it back?
by Raymondo02
Sat Apr 20, 2019 12:45 pm
Forum: General discussion
Topic: problem with connection Raspberry pi to Arduino
Replies: 2
Views: 267

Re: problem with connection Raspberry pi to Arduino

They are connected via a USB to serial adapter. I try /dev/ttyUSB0 and it doesn't work. This is the output of lsusb: Bus 001 Device 007: ID 2341:0043 Arduino SA Uno R3 (CDC ACM) Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. ...
by Raymondo02
Fri Apr 19, 2019 12:07 am
Forum: General discussion
Topic: problem with connection Raspberry pi to Arduino
Replies: 2
Views: 267

problem with connection Raspberry pi to Arduino

Hello everyone, I have a problem with sending a message from Raspberry pi to Arduino. I use on my raspberry pi Python IDLE to send message to my arduino uno. When I run my program, I got a problem message : Traceback (most recent call last): File "/usr/lib/python3/dist-packages/serial/serialposix.py...

Go to advanced search