User Manual
GatePi
GatePi Page 1
User Manual
Contents
User Manual …………...……………….………………………………1
Introduction……………………………….……………………………. 3
How To Setup GatePi………………………………………………..4
How To Setup LoRa Home Automation ………..……….7
Product Link ………………………………………….……...……..19
GatePi Page 2
User Manual
GatePi
Introduction
GatePi is a low-power consumption data transmission board, that
comes with an onboard CH340 USB TO UART converter, Voltage Level
Translator(74HC125V), E22-400T22S/E22-900T22S SMA antenna
connector that covers 433/868/915 MHz frequency band, 4-Ch Relays,
IPEX antenna connector, LoRa™ Spread Spectrum Modulation
technology with auto multi-level repeating. GatePi is developed to
enable data transmission up to 5 KM through the serial port.
GatePi Page 3
User Manual
How To Setup GatePi
Make that the 4 Way Slide Switch and Jumper wire are connected in
the same way as shown in the figure below.
GatePi Page 4
User Manual
Connect USB Cable to GatePi
Setup Board In Thonny
Now connect USB Cable on USB Port of Pico.
Open Thonny IDE and Choose interpreter as MicroPython
(Raspberry Pi pico). And install micropython in the GatePi
GatePi Page 5
User Manual
Upload the code to the GatePi
Open the "main.py" file from Github and save it to the GatePi as
"main.py."
GatePi Page 6
User Manual
How To Setup LoRa Home Automation
Application
In Windows
Download the GatePi directory from GitHub and enter the
window application folder; you should notice one application
named "Lora Home Automation" inside this folder.
GatePi Page 7
User Manual
GatePi Page 8
User Manual
Run the application; after it is completed, you will see a folder
entitled "imp" that has been formed automatically. This is where
you'll find your user name and password.
LoRa HAT, Pico Lora Expansion, RangePi, and more items can be
used. For instance, I use the LoRa HAT for this. Connect the device
to the laptop via USB cable by changing the jumper wire to "USB-
LoRa(1)" and leaving the jumper wires on M0 and M1.
GatePi Page 9
User Manual
GatePi Page 10
User Manual
After plugging in the USB cable, open device manager, go to Ports,
and look for the port number. Type the port number into the
application.
GatePi Page 11
User Manual
Select the baud rate, and click on connect button
GatePi Page 12
User Manual
Now you may operate the GatePi by hitting the buttons, which
are configured as a single ON/OFF switch. When you press button
1 once, for example, relay 1 turns on; when you press button 1
again, relay 1 turns off.
GatePi Page 13
User Manual
The Setup Look Like This For Windows
GatePi Page 14
User Manual
When you press the "status of relay" button, the button turns
red, indicating that the relays are active.
You can also alter the Relay transmission code, which means that
when you hit the button in the GUI, the receiver will receive one
encoded code or encoded string (GatePi). Input the user name
and password, as well as the transmission code in the relay
1,2,3,4 entry box. Then select "Login/Update Relay Code" from
the drop-down menu. When you push the button, all of the entry
boxes are empty or blank, indicating that the encode code has
been correctly altered. This is not required; the default encode
code is present; however, if you want to alter it, you must also
update it in the "main.py" PICO code (mandatory)
GatePi Page 15
User Manual
Default
user = admin@123
password = sbcomponents
GatePi Page 16
User Manual
If you forget your password, enter your user id in the user id field
and a new password in the password field before clicking the
"Forgot Password" button. When you press the button, you'll
notice that all of the entry boxes are empty or blank, indicating
that the password has been successfully changed.
GatePi Page 17
User Manual
In Raspberry Pi
All the things we have written in the window part same this you
need to do in raspberry pi you need to run the python file "LoRa
Home Automation.py".and put LoRa HAT to raspberry pi
The Setup Look Like This For Raspberry Pi
GatePi Page 18
User Manual
Official SB Components Shop Link
https://shop.sb-components.co.uk/
Product Link
GatePi
https://shop.sb-
components.co.uk/products/gatepi?_pos=2&_sid=7e2582224&_ss=r&variant=3975667751329
9
Lora Hat
https://shop.sb-components.co.uk/products/lora-hat-433mhz-
868mhz?_pos=1&_sid=7e2582224&_ss=r
PICO Lora Expansion
https://shop.sb-components.co.uk/products/pico-lora-expansion-
868mhz?_pos=1&_sid=4c127abe9&_ss=r
RnagePi
https://shop.sb-components.co.uk/products/range-pi?_pos=1&_sid=132420060&_ss=r
GatePi Page 19