Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
Making an ISS (International Space Station) Tracker.🚀 #iss #project
Code Strong
Follow
1 day ago
In this video, I have shown how you can build your own ISS(International Space Station) tracker using a NodeMCU board.
Link to the Code - https://github.com/Pushpendra766/spot-ISS
Category
🦄
Creativity
Transcript
Display full video transcript
00:00
This is the ISS tracker and it helps me track the international space station.
00:05
This simple device shows me the real time distance between ISS and my current location
00:10
and notifies me whenever the ISS is in visibility at my location in the sky.
00:15
ISS is the most expensive thing that human beings have made so far.
00:18
It orbits around earth every 90 minutes and stays at an altitude of about 400 kilometers
00:24
above the earth's surface. We can spot it during night when the sky is clear.
00:29
So mostly during summer because the sky is much more clear during the summer.
00:33
Moreover, NASA provides the current location of ISS publicly and also provides a free API for the same.
00:41
Now here is an interesting thing. We can communicate with anyone using ISS radio repeater
00:46
when it is passing over our location and if we are lucky we can even get a reply from the astronauts
00:52
if they are on the radio at the same time. So I wanted to build a unique system that can notify me
00:58
whenever the ISS passes over my location.
01:02
So to build it I will use NodeMCU board because it has an integrated wi-fi shield that will help me
01:08
to connect to the internet and call the NASA API for its current location.
01:12
Then I will add a buzzer and a green LED to notify me when ISS is overhead.
01:17
I will also use 7 red LEDs to show me the 7 different ranges of distance between my location
01:22
and the ISS. So when I want to show maximum distance between us only one LED will glow
01:28
and as the ISS comes closer to my location more and more LEDs will glow and when it is at minimum
01:34
distance all the LEDs will glow. Coming to the coding part I have included some libraries.
01:42
These two libraries are for NodeMCU and this one is for wi-fi client on the NodeMCU board.
01:47
Arduino JSON library will be used to convert the longitude and latitude that we will receive in
01:51
JSON data from ISS API to floating point numbers. Then I have included this utility library to use
01:57
the paired data structure. Then I have declared these variables to store my wi-fi name and password
02:03
and this is our API endpoint and I have declared my longitude and latitude here and here I declared our
02:10
LEDs and buzzer and these are some variables that we will be using further as helper.
02:15
Now let's see our setup part. Here I have declared pins for red LEDs, green LED and buzzer and this code
02:23
will be used to connect NodeMCU to our wi-fi. Now let's see our functions. So get coordinates function
02:32
will be used to call the API and pass longitude and latitude from it and then return them as pair
02:38
of floating point numbers. Get distance function will accept the longitude and latitude of ISS as
02:45
arguments and calculate the longitudinal distance between our location and ISS and then return it.
02:51
ShowStatusOnLED function will glow the LEDs based on the distance that is written by get distance function.
02:58
Now let's see our loop function. Here we are calling these functions every five seconds to update the
03:04
status of LEDs. So that's pretty much our code and I will provide the link to this code in the description.
03:20
So I have set my current location as the southern part of South America so it is right here and as
03:32
the ISS get closer to it this LED will show status like this and when it will be just above it then
03:42
this green LED will glow and the buzzer will buzz. Finally the green LED is started to blink and it means
03:52
that we can see the ISS in the sky at this location.
03:57
I hope you enjoyed the video and learned something new. If you enjoyed it hit that like button and
04:14
subscribe to the channel. Thanks for watching and I will see you in the next one.
04:27
I'll see you in the next one.
Be the first to comment
Add your comment
Recommended
1:00
|
Up next
What if I make Mega Garchomp Pokémon out of clay?
Clay Play
1 day ago
0:59
Who's That Pokemon? #pokemon #pokemonclay #satisfying
Clay Play
1 day ago
1:00
Making Melmetal Mythical Pokémon out of clay #DIY #art #handmade #Pokemon #satisfying
Clay Play
1 day ago
37:34
Bruxelles t'amo non t'amo? Un'Europa spaccata come gli Stati Uniti?
euronews (in Italiano)
1 day ago
2:48
PierGiorgio Odifreddi non ama Giorgia Meloni
Serafino Massoni
1 day ago
11:54
One Hundred Eps 280 Sub Indo
Cahyo Official
1 day ago
1:00
Who's That Pokémon? #pokemon #pokemonclay #satisfying
Clay Play
1 day ago
0:59
Who's That Pokémon?
Clay Play
1 day ago
1:00
Who's That Pokémon? #pokemon #pokemonclay #clay
Clay Play
1 day ago
5:02
HOW TO USE BHIM APP ?
Code Strong
8 years ago
2:59
HOW TO RENEW YOUR OLD PHOTO ?
Code Strong
8 years ago
0:51
Former Aide Claims She Was Asked to Make a ‘Hit List’ For Trump
Veuer
2 years ago
1:08
Musk’s X Is ‘the Platform With the Largest Ratio of Misinformation or Disinformation’ Amongst All Social Media Platforms
Veuer
2 years ago
4:50
59 companies that are changing the world: From Tesla to Chobani
Fortune
2 years ago
0:46
3 Things to Know About Coco Gauff's Parents
People
2 years ago
0:35
8 Things to Do in the Morning to Improve Productivity
Martha Stewart Living
2 years ago
2:11
Why You Should Remember Aretha Franklin
Goalcast
2 years ago
1:18
USC vs. Colorado: Can Caleb Williams Earn a New Heisman Moment?
SportsGrid
2 years ago
1:04
Vic Mensa Reveals Celebrity Crush, Biggest Dating Pet Peeve & More on Speed Dating | Billboard News
Billboard
2 years ago
1:09
Hollywood Writers Reach ‘Tentative Agreement’ With Studios After 146 Day Strike
Veuer
2 years ago
1:26
Love is Blind stars admit they're burnt out from social media
Fortune
2 years ago
2:01
NHA Customers in Limbo as Company Faces Potential Merger
SportsGrid
2 years ago
2:55
Vanilla Ice Explains How the 90’s Shaped America
FACTZ
2 years ago
1:26
Hot 100 Chart Reveal: Sept. 30, 2023 | Billboard News
Billboard
2 years ago
0:36
Amazon’ Prime Video Will Show Commercials Starting Next Year
Veuer
2 years ago
Be the first to comment