SparkFun LoRa Gateway - 1-Channel (ESP32) | WRL-15006 but on ide no port shown

hello

i have a Raspberry Pi 4 8GB RAM

i have installed and added the Arduino IDE with all update

i followed this steps https://learn.sparkfun.com/tutorials/sp … okup-guide

the LoraGateway is conected over a the USB Poart on the Raspberry Pi with standard cable to the USB port of the LoRa Gateway

i am able to select the board on the Arduino IDE board manager!

the Ports (Serial port is greyes out and active would be the Port /dev/ttyAMAO

when i wish to upload the blink program got a error

because the port is not working/Close

what did i miss?

have a nice day

vinc

Arduino: 1.8.10 (Linux), Board: “SparkFun LoRa Gateway 1-Channel, Default, QIO, 80MHz, 4MB (32Mb), 921600”

Sketch uses 207705 bytes (15%) of program storage space. Maximum is 1310720 bytes.

Global variables use 15228 bytes (5%) of dynamic memory, leaving 279684 bytes for local variables. Maximum is 294912 bytes.

esptool.py v2.6

Serial port /dev/ttyAMA0

Connecting…

Traceback (most recent call last):

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 2959, in

_main()

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 2952, in _main

main()

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 2653, in main

esp.connect(args.before)

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 460, in connect

last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 440, in _connect_attempt

self.sync()

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 379, in sync

timeout=SYNC_TIMEOUT)

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 322, in command

self.write(pkt)

File “/home/pi/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py”, line 285, in write

self._port.write(buf)

File “/usr/lib/python2.7/dist-packages/serial/serialposix.py”, line 552, in write

raise writeTimeoutError

serial.serialutil.SerialTimeoutException: Write timeout

the selected serial port serial.serialutil.SerialTimeoutException: Write timeout

does not exist or your board is not connected

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

find out

with raspi-config i had to activate the seriel port :wink:

then i have uploaded some file, blink or wifi scan and it did work

then i tryied to get a connection to the world!

https://learn.sparkfun.com/tutorials/sp … an-gateway

doing a compilation and upload got a stop at

#include <TimeLib.h>

no such file

any idea or other tutorial to set it up?

have a nice day

vinc

You’re probably going to need to install a driver on the pi for it to be able to see your arduino board. Looks like the lora gateway uses a CH340 chip, the guide below might help you with this.

https://learn.sparkfun.com/tutorials/ho … vers#linux

hello

thanks for your feedback

when starting to read about it - i found out something else. a a new Rasperry Pi with raspi-config you have to enable the serial Ports

after this it did work.

then i followed this information

https://learn.sparkfun.com/tutorials/sp … an-gateway

and doing a upload i got the error but the file is there where the other in the unziped files are…

Arduino: 1.8.10 (Linux), Board: “SparkFun LoRa Gateway 1-Channel, Default, QIO, 80MHz, 4MB (32Mb), 921600”

ESP-sc-gway:47:69: error: TimeLib.h: No such file or directory

Multiple libraries were found for “SPI.h”

compilation terminated.

Used: /home/pi/.arduino15/packages/esp32/hardware/esp32/1.0.5/libraries/SPI

exit status 1

TimeLib.h: No such file or directory

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.