Thingiverse
![[Mod] Stargate – Working dial sequence by Nuk1591](/previews/8130727.jpg)
[Mod] Stargate – Working dial sequence by Nuk1591
by Thingiverse
Last crawled date: 4 years, 5 months ago
This thing is the result of my previous work ‚[Concept instructions/Blueprint] Stargate - Rotate glyphs with stepper motor‘ (thing ID 4405616).
I was able to create an arduino program, which allows to dial gate addresses.
Three videos are uploaded as things.
If you look close at the ‚Stargate_Dial.mp4‘ video (I know the image quality is not so good) you can see that the dialed address is ‚Atlantis‘.
The other two videos are showing demonstrations.
Please note that I don’t share my code, because it is very wiring and Stargate build depended. For example I use a sound shield, a NFC reader, (disabled compass hardware), stepper motor (driver) & gear transmission, etc. Also I use some libraries and I don’t want to violate any copyrights.
If you have a specific question, please write a comment and I try to answer it as soon as possible.
Regarding the function principle:
Via serial communication I send a string with the address to the arduino.
The rotation is started with a very low stepper speed. Then it will be increased until maximum speed is reached. While the glyph ring is rotating the the program tries to read the NFC tags inside the glyph ring. Each one contains unique data (e.g. number 01 to 39 - we have 39 symbols). Based on the data at some point a stepper speed will be decreased.
Note: I use the third glyph before reaching the target glyphe. Previously I wanted to use the compass hardware to measure the magnatic field and use a software PID controller for setting the speed, but it did not work until now.
When the target glyph is reached the locking sound is played and the corresponding chevron LED gets enabled. This repeats as many symbols were named in the send string. When all chevrons are locked the wormhole LEDs are enabled and the wormhole establishment sound is played.
Then the LEDs are pulsating (dim up and down) until a 'cancel' string command is send.
I was able to create an arduino program, which allows to dial gate addresses.
Three videos are uploaded as things.
If you look close at the ‚Stargate_Dial.mp4‘ video (I know the image quality is not so good) you can see that the dialed address is ‚Atlantis‘.
The other two videos are showing demonstrations.
Please note that I don’t share my code, because it is very wiring and Stargate build depended. For example I use a sound shield, a NFC reader, (disabled compass hardware), stepper motor (driver) & gear transmission, etc. Also I use some libraries and I don’t want to violate any copyrights.
If you have a specific question, please write a comment and I try to answer it as soon as possible.
Regarding the function principle:
Via serial communication I send a string with the address to the arduino.
The rotation is started with a very low stepper speed. Then it will be increased until maximum speed is reached. While the glyph ring is rotating the the program tries to read the NFC tags inside the glyph ring. Each one contains unique data (e.g. number 01 to 39 - we have 39 symbols). Based on the data at some point a stepper speed will be decreased.
Note: I use the third glyph before reaching the target glyphe. Previously I wanted to use the compass hardware to measure the magnatic field and use a software PID controller for setting the speed, but it did not work until now.
When the target glyph is reached the locking sound is played and the corresponding chevron LED gets enabled. This repeats as many symbols were named in the send string. When all chevrons are locked the wormhole LEDs are enabled and the wormhole establishment sound is played.
Then the LEDs are pulsating (dim up and down) until a 'cancel' string command is send.