tfluna-python
tfluna-python copied to clipboard
testing out TFLuna and Pi4
Hi,
just checking but the GPIO UART setting on my Raspberry Pi helper diagram has TX on pin 8 and RX on Pin 10, yet the TFLuna shows pin 2 as RX and 3 as TX. So in the hookup diagram I am seeing Tuna pin 2 (RX) going to GPIO pin 8 (TX). Is that correct? TX Tuna to RX GPIO and correspondingly RX Tuna to TX GPIO?
I copied the config Python in Thonny, and tried the config file out and it fails. I am not sure why. New to Pi and Tuna.
Traceback (most recent call last):
File "/home/pi/Documents/config.py", line 115, in
So I am attemptiung to take measurements with Lidar and this is my first messages... any clue as to what that means?
I checked for the UART and ls -l shows dev/serial0 but initially when I tried out the code I got:
Traceback (most recent call last):
File "/home/pi/Documents/config.py", line 110, in
So I am not sure why a device would not have permission, but a sudo chmod 777 naively seemed to make that go away. What am I doing wrong?