|
Code Composer StudioTexas Instruments
|
|
|
U-Center 2u-blox
|
GPS Clock and Armageddon Alarm
A GPS Module using the U-blox NEO6MV2 is used to receive the GPS timing signals to show the exact time on a 16x2 LCD display.
In addition to the display, the end of each minute is signaled with a musical cord. To hear it go to my Web site:
www.jmargolin.com/newprojects/gps-clock/gps-clock_sound-minutes.mp3
The board uses a Texas Instruments MSP430G2553 to receive the GPS messages from the GPS Module and an MSP430G2402 that uses PWM to produce a nice sine wave tone for the musical notes. (If you don’t want the musical tones you can leave that part of the board unstuffed.)
Each microcontroller has a three-wire port that connects to an inexpensive Texas Instruments Launchpad (MSP-EXP430G2ET) to program the microcontroller. After the microcontroller is programmed you remove the three wires and insert a header plug to make it run standalone.
My GPS Clock has several selectable modes.
1. Display the Local Time/Date.
2. Display the UTC Time/Date.
3. Select Local Time in 12 hour or 24 hour format.
4. Select UTC offset for Local Time.
5. Select whether DST is observed.
6. Display DST Start and End dates for the current year.
7. Display Number of GPS Satellite in view.
8. Armageddon Alarm Mode.
The offset for the local time, and whether DST is observed, is stored in the MSP430G2553’s User Flash Segment C. If it has not been set the default is Pacific Time with DST observed.
The Armageddon Alarm Mode requires some explanation.
The unit starts by waiting to acquire at least five GPS satellites. If the GPS module has not been powered up recently it may take several minutes to acquire the satellites. It may take several more minutes for the PPS (Pulse Per Second) LED to start flashing. Indeed, it has sometimes taken 20 minutes to get started. Typically, I get 11 or 12 satellites where I live. If the number of GPS satellites drops to three or fewer then something bad is happening.
The odds that the GPS system is having a technical problem are vanishingly small.
What is happening is Armageddon.
Armageddon can happen in several ways.
One way is for the Sun to emit a huge coronal mass ejection (CME) that hits the Earth. The CME will induce damaging currents in anything that conducts electricity. This will burn out the power grids (the Eastern Grid, the Western Grid, and the Texas Grid) and most electrical devices except for those that have been specially “hardened” against it (in a Faraday cage).
A huge CME will burn out most (probably all) of the satellites in Earth orbit including the GPS satellites starting on the sunward side of the Earth and then quickly spread to the nightside by the Earth’s magnetic field. See https://en.wikipedia.org/wiki/Coronal_mass_ejection. There was a huge CME in 1859 (the Carrington Event) that burned out telegraph lines all over North America. See https://en.wikipedia.org/wiki/Carrington_Event. The reason it didn’t burn out anything else is because there wasn’t anything else. No power lines, no telephone lines, no radio, no television, no cell phones, no Internet. There were just telegraph lines and a telegraph system that operated from batteries. (When your telegraph battery ran down you swapped it for a spare and sent the old one back to the factory to be rebuilt.)
The other way for Armageddon to happen is a Global Thermonuclear War.
The first thing everyone will do when they start Armageddon is destroy or otherwise disable everyone else’s satellite navigation systems.
The GPS Clock With Armageddon Alarm will give you instant notice by playing an alarm sound. To hear it go to my Web site:
www.jmargolin.com/newprojects/gps-clock/gps-clock-alarm.mp3
It also provides a 3.3V logic level signal that you can connect your own alarm to. (The interface depends on what your alarm is so you will have to do that yourself.)
The skill level for stuffing the board is: Intermediate. Make sure you use a temperature-controlled soldering iron. I use a temperature of 340 degrees Celsius.
The skill level for installing and using the two pieces of software is: Advanced.
1. To compile the source code and download it into the microcontrollers I use Texas Instruments Code Composer Studio. It is free and is on this page:https://www.ti.com/tool/MSP-EXP430G2ET where you can get the versions for Windows, Linux and macOS.
The direct link to the current version for Windows is:
https://software-dl.ti.com/ccs/esd/CCSv10/CCS_10_4_0/exports/CCS10.4.0.00006_win64.zip .
The skill level to use Code Composer Studio is: Advanced. (Maybe Really Advanced).
2. The U-blox NEO6MV2 allows you to enable the GPS messages that you want and disable the messages that you don’t want. I use "GNZDA" (or “GPZDA”) for the time and "GPGSV" for the number of satellites in view. I disable all of the other messages.
To do that you need the U-blox U-Center 2 software available for free at https://www.u-blox.com/en/product/u-center . (It is only for Windows.)
You also need to connect the module to a PC.
I made a simple stand using #12 solid wire. This is the wire used in house wiring.
The audio output is Line Level. A good (cheap) way to listen to it is with a (cheap) Bluetooth speaker with an Aux input. I bought one on eBay for $7. The Aux input takes a standard 3.5mm stereo miniplug (male).
If you ground the test pad labeled “/TST” and press the Reset switch the sound processor will play the Armageddon Alarm. It will play it until you unground the /TST pad and press Reset again.
This will not test the Alarm Flag Output, just the sound. I did it this way so you can connect your own alarm without having to stuff the Sound processor.
Do Not Use This Test Function As A Prank.
The End of the World is a serious matter.
I have posted more information (which you need) and more pictures on my Web site:
www.jmargolin.com/newprojects/gps-clock/gps-clock.htm
This includes the source code. The source code is complete. It does not require any libraries other than the ones that come in Code Composer Studio.
Jed Margolin
Virginia City Highlands
Nevada
_________________________________
Update 12/2/2021
From GPS World November 29, 2021:
The Kremlin warned it could blow up 32 GPS satellites with its new anti-satellite technology, ASAT, which it tested Nov. 15 on a retired Soviet Tselina-D satellite, according to numerous news reports.
Russia then claimed on state television that its new ASAT missiles could obliterate NATO satellites and “blind all their missiles, planes and ships, not to mention the ground forces,” said Russian Channel One TV host Dmitry Kiselyov, rendering the West’s GPS-guided missiles useless. “It means that if NATO crosses our red line, it risks losing all 32 of its GPS satellites at once.”
See: https://www.gpsworld.com/russia-issues-threat-to-gps-satellites/?utm_source=Navigate%21+Weekly+GNSS+News&utm_medium=Newsletter&utm_campaign=NCMCD211124002&oly_enc_id=5457H9098134H2J
[Uh Oh]
_______________________________
GPS Clock and Armageddon Alarm
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(3)
- Engineer Oct 01,2024
- LUIS EMILIO LOPEZ Feb 12,2024
- Engineer Dec 10,2021
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
9design
-
9usability
-
9creativity
-
9content
More by Jed Margolin
- MyTX4 To Replace The La Crosse TX4U My TX4 Wireless Sensor Transmitter replaces the La Crosse TX4U wireless sensor which is no longer ma...
- Audio Tone Burst Generator The Audio Tone Burst Generator produces a periodic burst of tone at a User-selected audio frequency ...
- jm_rpi-pico-v6 The Raspberry Pi Pico module is amazing. It is much faster than the Texas Instruments MSP430G2xxx fa...
- Woof Meter The Woof Meter is for testing subwoofer speakers to measure their Thiele-Small (TS) parameters. Thes...
- Precision Low Frequency Signal Generator The Precision Low Frequency Signal Generator produces a User-selected signal from 10Hz to 90Hz with ...
- GPS Clock and Armageddon Alarm A GPS Module using the U-blox NEO6MV2 is used to receive the GPS timing signals to show the exact ti...
- PB1 - Prototyping Board with Ground Plane and Power Supplies This board is for prototyping circuits using wire wrap. It has a good ground plane and power supplie...
- Flame Switch This board simulates the electrical characteristic of a flame for troubleshooting residential gas fu...
- PB2 - Prototyping Board for MSP430G2xxx This board is for prototyping circuits with the Texas Instruments MSP430G2xxx microcontroller. It ca...
- GP1 - Board for demonstrating how to use an MSP430G2xxx This board is for demonstrating how to use the Texas Instruments MSP430G2xxx microcontroller. The bo...
- VGA Adapter for Atari Hard Drivin’/Race Drivin’ Cockpit This VGA Adapter for Atari Hard Drivin’/Race Drivin’ Cockpit also provides for delaying horizontal a...
- Phone Selector/Adapter 2-line to 1-line This converts an RJ11 line with two phone pairs on it to two single line RJ11 jacks. It provides two...
- Triangle Wave Generator With Adjustable Symmetry This is a simple circuit using only one IC, a TL084 quad opamp. The integrator integrates the output...
- Voltage Controlled Audio Oscillator with LM13700s This is a voltage controlled audio oscillator using two LM13700s. At 1 KHz ARTA software (http://www...
- Oscillator - Xtal or RC This is an oscillator that can be stuffed to be either a crystal oscillator (with a 74HC04) or an RC...
- Sine Wave Generator Using a Johnson Counter This is a 1KHz audio oscillator using a Johnson Counter. ARTA software (http://www.artalabs.hr/) rep...
- VGA Adapter For Tektronix TDS 360 Oscilloscope The Tektronix TDS 360 is a two-channel digital oscilloscope from the middle 1990s. The sampling rate...
- Atari BattleZone Engine Sound Generator Atari’s BattleZone game is considered the first real 3D video game. I did the 3D graphics algorithms...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
153 1 1 -
-