Arduino UNO and LoRa SX1278 GPS Tracker with Pushbutton and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as pushbuttons, LoRa modules, Arduino UNOs, a GPS module, and a buzzer. The circuit is designed to interface these components with two Arduino UNOs, which control the operation of the other components. The document includes a component list, wiring details, and the embedded code used in the microcontrollers.
Component List
Pushbutton
- Description: A simple pushbutton used to provide user input.
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
LoRa Ra-02 SX1278 (1)
- Description: A LoRa module used for long-range communication.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
LoRa Ra-02 SX1278 (2)
- Description: A second LoRa module used for long-range communication.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
Arduino UNO (1)
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Arduino UNO (2)
- Description: A second microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
GPS NEO 6M
- Description: A GPS module used for location tracking.
- Pins: VCC, RX, TX, GND
Buzzer
- Description: A buzzer used for audio alerts.
- Pins: GND, IN
Wiring Details
Pushbutton
- Pin 4 (out) connected to GND of Arduino UNO (1)
- Pin 2 (in) connected to D7 of Arduino UNO (1)
LoRa Ra-02 SX1278 (1)
- NSS connected to D10 of Arduino UNO (1)
- MOSI connected to D11 of Arduino UNO (1)
- MISO connected to D12 of Arduino UNO (1)
- SCK connected to D13 of Arduino UNO (1)
- GND connected to GND of Arduino UNO (1)
- 3.3V connected to 3.3V of Arduino UNO (1)
- RST connected to D9 of Arduino UNO (1)
LoRa Ra-02 SX1278 (2)
- NSS connected to D10 of Arduino UNO (2)
- MOSI connected to D11 of Arduino UNO (2)
- MISO connected to D12 of Arduino UNO (2)
- SCK connected to D13 of Arduino UNO (2)
- GND connected to GND of Arduino UNO (2)
- 3.3V connected to 3.3V of Arduino UNO (2)
- RST connected to D9 of Arduino UNO (2)
Arduino UNO (1)
- GND connected to Pin 4 (out) of Pushbutton
- D7 connected to Pin 2 (in) of Pushbutton
- D10 connected to NSS of LoRa Ra-02 SX1278 (1)
- D11 connected to MOSI of LoRa Ra-02 SX1278 (1)
- D12 connected to MISO of LoRa Ra-02 SX1278 (1)
- D13 connected to SCK of LoRa Ra-02 SX1278 (1)
- GND connected to GND of LoRa Ra-02 SX1278 (1)
- 3.3V connected to 3.3V of LoRa Ra-02 SX1278 (1)
- D9 connected to RST of LoRa Ra-02 SX1278 (1)
- 5V connected to VCC of GPS NEO 6M
- D4 connected to TX of GPS NEO 6M
- D3 connected to RX of GPS NEO 6M
Arduino UNO (2)
- GND connected to GND of Buzzer
- D8 connected to IN of Buzzer
- D10 connected to NSS of LoRa Ra-02 SX1278 (2)
- D11 connected to MOSI of LoRa Ra-02 SX1278 (2)
- D12 connected to MISO of LoRa Ra-02 SX1278 (2)
- D13 connected to SCK of LoRa Ra-02 SX1278 (2)
- GND connected to GND of LoRa Ra-02 SX1278 (2)
- 3.3V connected to 3.3V of LoRa Ra-02 SX1278 (2)
- D9 connected to RST of LoRa Ra-02 SX1278 (2)
GPS NEO 6M
- GND connected to GND of Arduino UNO (1)
- VCC connected to 5V of Arduino UNO (1)
- TX connected to D4 of Arduino UNO (1)
- RX connected to D3 of Arduino UNO (1)
Buzzer
- GND connected to GND of Arduino UNO (2)
- IN connected to D8 of Arduino UNO (2)
Documented Code
Arduino UNO (1)
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
Arduino UNO (2)
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt