EAIBOT / ydlidar_arduino

the ydlidar driver for arduino
28 stars 14 forks source link

Manage to get working the library? #5

Open Enes73728 opened 4 years ago

Enes73728 commented 4 years ago

Did anyone solve this problem?

Hi, did you manage to get working the library?

Im using arduino UNO and i get this error:

"YDLIDAR get DeviceInfo Error!!!"

help meeee

_Originally posted by @robotfpv in https://github.com/EAIBOT/ydlidar_arduino/issues/2#issuecomment-539732931_

Enes73728 commented 4 years ago

I am using the mega, but getting the same issue tho.

(BTW MAC)

robotfpv commented 4 years ago

the UART of the arduino mega and uno is higher than the ylidar needs.

Use an arduino pro micro 3.3v and it works flawlessly.

Grettings :skull_and_crossbones:

Enes73728 commented 4 years ago

Where in the Datasheet did u find that? Like how is that possible ?