Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116640

Single Channel Gateway

$
0
0

Just got a single chan gateway up and running (801F02FFFF7E56D1) with one node (02E00201) sending "Hello, world!" for a few test packets then turned off.

Node is a mega2650 w/ a Modtronix inair9b and gateway is a RPi model B rev 2 with another inair9b and the single_chan_pkt_fwd from github. Node will soon have a DHT22 temp/% rel humidity sensor for real data. Eventually hope to collect water quality readings from the nearby major river.

Lessons learned - The damnable RPi wiringPi pins (Actually love the RPi :smile: took a while to sort out but ended up using:

// SX1272 - Raspberry connections
int ssPin = 10; // pin24 , SPI_CE0_N is GPIO08 and '10' in gpio readall wPi column
int dio0 = 7; // pin7, GPIO07, 7 in wPi column, also labled GPIO04 in other pinouts
int RST = 0; // pin11, GPIO00, 0 in wPi column, also labled GPIO17 in other pinouts

and had to change 'eth0' to 'wlan0' in main.cpp and also tcpdump used to verify traffic off to thethingsnetwork. Anyway, getting the proper gpio pins worked out (using the gpio readall and testing with a scope - or an led/limit resistor would work also) was the breakthru in my case.


Viewing all articles
Browse latest Browse all 116640

Trending Articles