Gateways rarely send downlinks, mostly because they can’t hear anything when they are transmitting.
So if you find code to listen for LoRa/LoRaWAN packets, it may be some time before you hear a gateway transmitting.
Ideally, you need to tell us what your TTGO is doing and we can advise you on your next steps. If it’s not reporting any errors, then apart from checking the antenna, getting up high, the best thing is to get closer to a gateway.
Just becuase there is one shown close by and typically with a nice ideal ‘coverage’ circle (a default setting in the console/map) that doesnt mean it can see where you are (building clutter, geography/topology etc. If you know approx location of the GW then take your node close by and test there…
…better yet invest in a cheap GW and add to the community coverage (e.g. TTIG, Dragino LPS8, RAkKetc…) that way you have more contol on your development activity (can see traffic on the GW console page etc.) and you contribute to the community coverage expansion
If you post your approx. location some nice forumite might have a pop at predicting potential coverage (or not)! for you…
first i want to know if it works and if i can work with it.
if so then I put a gateway outside and maybe in 3 places that I have access to.
my location is capelle aan den ijssel the netherlands europe
about 300 meters from Peter Dorsman The Things Network User
Tell us what your TTGO does - can you compile, can you download, can you see anything in the console - in Rotterdam I’d expect you to have TTN coverage, but we need to know what your device is doing first - programming it to listen for LoRa packets isn’t a typical thing, it’s so much easier to get a device that’s known to mostly work OK to work.
Yeh, saw that and terain very flat in that area with several GW’s potentially within 0.5-6km deending on exact location…was thinking more like location to approx street/block level then can see if any building clutter or e.g a raised railway or roadway on embankment that would ‘shadow’ location from GW etc.
@dirkambu if that close to Peter then assuming his GW live at the time (if he has two - an RPi build and a TTIG the Pi is offline as of this post) then you ‘should’ be in range, unless e.g. you are the wrong side of the railway nearby and it is masking as above if on an embankment! or there isnt some other large masking structure) in which case you need to start the usual node debugging processes - checking Ant connection, s/w status, serial port logging etc. perhaps contact him and ask if he is seeing your nodes join requests etc…or a bit of socially distanced collaborative debugging?!
if I can’t figure it out, I want to ask Peter if he wants to help me. I don’t know him but who knows.
There is no railroad track between me and peter.
maybe a tall building.
but there seems to be quite a bit of overlap between networks
so I should be able to send something
Before you start bothering Peter, your other post just now implies that you haven’t even got a program compiling, therefore not downloading, therefore unable to be a TTN device - you are a long long way from considering there is a problem with your board.
The SSD1306 will normally startup with some sort of picture that is defined in image.h - can you please uncomment that line and try compiling again?
Also, please can you edit your post before a moderator comes along to format the code section with the Blockquote which is the " on the mini-toolbar.
I have adjusted the post.
i uploaded the code without the ssd1306 code
I can’t find the right “images.h” anywhere
tomorrow I will write a new code myself based on this code
I was hoping to see some data on the TTN with this code.
As Nick says no point worrying about GW coverage until you have a system that works/is known good
If you struggle with this specific TTGO implementation/application use Forum search there are several others apps called out used by others with basic code on e.g. Github that will at least get you operational with a basic TTN connection to begin process… I dont use the TTGO myself so cant help you on specific s.
Best
sorry for my english i am not that clear what i am writing.
but I try to explain.
I have 2 motorcycles and a camper and an oltimer in a garage about 5 km from my house. i want to measure the battery of the vehicles 2 times a day and send the information to thingspeak.
if the voltage of the battery falls below the threshold, thingspeak sends an email or twitter or text message to my mobile phone.
is there anyone who has already made this?
and who would like to share the code?
This is a relatively simple circuit as an Arduino can read voltages. You will need to have two resistors to scale the voltage down from 12 (I’d think 14.5V for a fully charged battery) to the voltage of the circuit you are using.
You should Google for ADC and voltage divider and Arduino. To be honest, this is basic stuff, so you’ve already done the hard work getting your LoRa Node working!