https://github.com/TrevorAttema/OTGMessenger Skip to content Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] [search-key] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} TrevorAttema / OTGMessenger * Notifications * Star 114 * Fork 4 Off The Grid Messenger 114 stars 4 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Clone HTTPS GitHub CLI [https://github.com/T] Use Git or checkout with SVN using the web URL. [gh repo clone Trevor] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @TrevorAttema TrevorAttema Update README.md ... 33c3fad Jun 21, 2021 Update README.md 33c3fad Git stats * 15 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .settings First development release for the Off The Grid messenger app. Jun 20, 2021 Core First development release for the Off The Grid messenger app. Jun 20, 2021 Drivers First development release for the Off The Grid messenger app. Jun 20, 2021 Middlewares First development release for the Off The Grid messenger app. Jun 20, 2021 TouchGFX First development release for the Off The Grid messenger app. Jun 20, 2021 .cproject First development release for the Off The Grid messenger app. Jun 20, 2021 .gitignore First development release for the Off The Grid messenger app. Jun 20, 2021 .mxproject First development release for the Off The Grid messenger app. Jun 20, 2021 .project First development release for the Off The Grid messenger app. Jun 20, 2021 H742VGT6 Debug.launch First development release for the Off The Grid messenger app. Jun 20, 2021 H742VGT6.ioc First development release for the Off The Grid messenger app. Jun 20, 2021 README.md Update README.md Jun 21, 2021 STM32H742VGTX_FLASH.ld First development release for the Off The Grid messenger app. Jun 20, 2021 STM32H742VGTX_RAM.ld First development release for the Off The Grid messenger app. Jun 20, 2021 device-back-small.jpg Add files via upload Jun 20, 2021 device-front-small.jpg Add files via upload Jun 20, 2021 main-screen-small.jpg Add files via upload Jun 20, 2021 pcbback-small.jpg Add files via upload Jun 20, 2021 pcbfront-small.jpg Add files via upload Jun 20, 2021 View code README.md Off The Grid Messenger Off The Grid (OTG) Messenger is an easy way for people to communicate through text messages when in remote areas. With a theoretical transmission range of 10 miles (16kms), OTG messenger can be used by groups of people to stay connected when they are in areas not serviced by mobile connectivity. For portability and low power purposes, the device was created by re-purposing an old Nokia e63 phone I had laying around. The enclosure, LCD, keypad, backlighting and speaker have been re-used however the motherboard was re-designed from the ground up with low power components, a modern STM32 H7 microcontroller, an ISM LoRA radio and expanded flash memory. Here's the device boot screen Boot Screen Common use cases * Sports enthusiasts - people who participate in remote area sporting activities, out of mobile service * Farmers - people who work in remote areas without mobile phone coverage * Encrypted communication - for private point-to-point communication Why was this device created? It was developed as a science project to learn/teach everything about the STM32 ecosystem of products, hardware engineering, embedded systems engineering, and encrypted communications. This is considered an 'advanced' project so if you're just starting out with embedded systems or have only ever used the arduino platform then the concepts shown here could be challenging. You should be familiar with C/C++, SWD debugging, ARM core knowledge along with bare metal device driver development. Main Menu after boot Front PCB User iterfaced developed with the amazing TouchGFX GUI builder created by ST. The e63 doesn't support touch and TouchGFX doesn't work with keypads or buttons so interfacing the keypad to the GUI engine was not a trivial exercise. Hardware breakdown * STM32H742VGT6 - ARM STM32 H7 - https://www.st.com/resource/en/ datasheet/stm32h742vg.pdf * MP2667 - Battery Management chip - https:// www.monolithicpower.com/en/documentview/productdocument/index/ version/2/document_type/Datasheet/lang/en/sku/MP2667 * ncp5007 - Backlight drivers - https://www.onsemi.com/pdf/ datasheet/ncp5007-d.pdf * Nokia e63 LCD display - https://kbiva.wordpress.com/2015/02/15/ nokia-e63-lcd/ and https://spritesmods.com/mcportal/MC2PA8201.pdf * Nokia e63 Keypad - connector pinouts - http://www.altehandys.de/ downloads/ser-no-e63-schematics.pdf * SX1276 Semtech ISM LoRA radio - https://www.semtech.com/products/ wireless-rf/lora-core/sx1276 * Secure element - ATECC608A-MAHCZ-T - https://ww1.microchip.com/ downloads/en/DeviceDoc/ ATECC608A-CryptoAuthentication-Device-Summary-Data-Sheet-DS40001977B.pdf * TPS62088YWCR 3A buck regulator - amazing low noise device - https://www.ti.com/lit/ds/symlink/tps62088.pdf * And many more devices.... Software breakdown * Touch GFX- the incredible ST GUI technology has been adapted to function with a Nokia e63 keypad * STM32 ChromeART for graphics * STM32CubeIDE - software development and debug environment. C/C++ coding * STM32CubeMX - hardware configuration platform by STM * Self healing mesh networking - enables group communication over vast distances. Devices (nodes) act as relay stations. Development Feature Roadmap * Improved text messaging functionality * Address book * Voice messages * Group chat * Low power tweaks/settings to optimise power consumption * Password protection at login Customer 4 layer PCB, designed to fit the Nokia e63 Enclosure Front PCB PCB Images. Back of PCB Front PCB Board Schematics and Design I'll publish the motherboard if I get some positive interest in this project from the community. Contact me here: trevor@attemafamily.org About Off The Grid Messenger Resources Readme Releases No releases published Packages 0 No packages published Contributors 2 * @TrevorAttema TrevorAttema Trevor Attema * @Kangurito Kangurito Languages * C 75.0% * C++ 23.8% * Other 1.2% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.