Giter Club home page Giter Club logo

dogtracker's Introduction

DogTracker

Authors: Kylee and Angie

Purpose

A common issue pet-owners face is discovering that their pet has escaped the house. To prevent this situation, our team is interested in designing a low-power dog tracker using LoRa. Unlike other pet-tracking collars, our system will implement a training technique by emitting a 25KHz sound wave if the pet is found outside of a user-defined geo fence. For example, if the user would like to train their dog to avoid a specific area of the backyard, our device will detect whether the dog is in this region and emit the high frequency sound if so.

System diagram

The proposed design of the pet-tracker system is illustrated in the block diagram below.

Figure 1: System Level Block Diagram

Proposed schedule

Week Date Tasks
Week 7 Feb 13-Feb 19 - [x] Order parts
- [ ] Review PCB and Schematic with Steve and Joanna
Week 8 Feb 20-Feb 26 - [x] Submit PCB for fabriciation
Week 9 Feb 27-March 5 - [ ] Bring up and test boards
Week 10 March 6-March 12 - [ ] Demo

Verification

To verify our system, we will first verify the functionality of each module before methodically combining things into our final system. The steps are outlined below.

Before final PCB comes back:

  • Upload basic Blink code to M4 Feather Board
  • Write basic transmit/recieve code for SX1280 using this reference (In progress)
  • Hook up SX1280 to SPI port of any available micro and run transmit code while probing antenna line with Spectrum Analyzer
  • Connect additional SX1280 board and have both transmit and recieve data \

After final PCB comes back:

  • Again, verify transmit and recieve of SX1280 module on our PCB
  • Connect SX1280 to ESP32 (the "base station") and try sending and recieving from our PCB
  • Connect ESP32 to wifi and verify that there isn't any interference between Lora and WIFI
  • Independently turn on GPS and test reading cordinates
  • Turn on both SX1280 and GPS and run code to intermittently send GPS coordinates to "base station"
  • Configure pedometer to read step count on the microcontroller
  • Read pedometer at the same time as reading GPS and sending Lora
  • Confgure Ultrasonic piezo buzzer and try running at 25kHz, certain apps will verify sound since it's beyond the human range
  • Upload code for runnng piezzo buzzer from the "base station" when dog is out of range
  • Run all four modules at the same time
  • Have "base station" upload information to a website hosted on the the Things network

Demo Plan

Our demo will be putting the collar on a fellow classmate and having them run around the engineering quad to show the real time updates in GPS coordinates on the base station, which will be set up in the lab. Finally, we will show that when our classmate goes out of the user-defined range, the piezzo buzzer will turn on which can be verified with this app

In our write up, we will discuss the following

  • importance and novelty of the idea
  • description of chosen features
  • high level system discussion
  • schematic walkthrough
  • examination of different protocols SPI/I2C/UART
  • Review of RF components eg LoRa, WiFi
  • analysis of challenges or drawbacks
  • improvements going forward
  • concluding remarks on our project

Challenges

The most difficult steps is getting the PCB right the first time around. We have been meticulously researching parts and going through datasheets to make sure we understand everything that we need for our final PCB. We also plan to have Joanna, Greig, and Steve verify the schematic before we submit it to JLCPCB.

We have already gotten our parts list checked off and ordered. After submitting our final PCB, we will begin working on the software side of our project. There is a sufficient amount of code to write but none will be outside of our domain given that there's a lot of GPS/LORA/SPI/I2C libraries in Circuit python.

Project Links:

Bill of Materials can be found here
KICAD Project can be found here
M4 Feather Express Schematic can be found here

dogtracker's People

Contributors

angiet642 avatar krsandwich avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.