10 months ago •
I hope that at this point you have read enough description in the project logs that I don't have to go into too much detail here. Rather, I want to show you a video of the complete stargate in action. In this video there are two ends of the wormhole, one in Utah and one in Japan. On one end is the stargate and it's remote dialer. On the other end is a dialing computer simulator. First in the video the gate end dials and the simulator receives, then the other way around. The motion/animation and sounds occur simultaneously on both ends, but due to video editing issues, things may not sync well in the video.
Here it is: http://youtu.be/ZCM7bWPBwMM
With this result we have accomplished what we set out to do, though it would have been nice if we had time to build a second gate for the other end. Each of the three team members contributed a vital portion of the project as follows.
Brando - extracted and processed the sounds from stargate videos
dkopta - wrote all of the software running on the computers
shlonkin - built the physical stargate and electronics
Also, we have tried to share all files, schematics and build details, but if you find something missing, or if you want some specific info, please leave a comment and I'll do what I can.
10 months ago •
Thanks to team member dkopta the stargate has now established a connection across the vastness of space... er, I mean the internet, to a computer on the other side of the world. On the other end was an awesome stargate simulator, or rather a dialing computer simulator, made by dkopta. We also need to thank a new team member, Brando the audio technician, who extracted the audio from some SG-1 videos to acquire some high quality gate sounds. We really wanted to have a second gate on the other end, but there was no way it could be completed in time for the contest. At this point the only data transmitted has been the dialed address itself so that the receiving end can simultaneously move and play sounds. Dialing and receiving can go both ways, so I can feel the fear of an incoming wormhole with no iris on the gate. Fortunately no goa'uld have come through the gate yet.
Anyway, on to the details. There are actually several bits of software in use.
- The microcontroller code written in Arduino
- Processing sketches that interface the serial connection from the mcu to the internet
- a dialing computer simulator on the other end(because we didn't have time to build a second gate)
- and a server that acts as a hub between connecting computers.
First, the arduino code, which can be found here:
The ATMega328 listens for input from a serial connection as well as an IR receiver. If there is IR input, it enters dialing mode in which it receives an address from the remote dialer(described in a previous log) and sends the corresponding data to the computer. That data includes the indices of the glyphs being dialed and the number of glyphs that must be rotated to get there, which is used to determine timing for the sounds. Those numbers are both sent to the receiving computer so that sounds and such can occur simultaneously on both ends.
If there is serial input, the gate enters receiving mode in which it receives glyph indices and sends the timing info described above. In both modes the mcu controls the stepper motor rotating the ring as well as the chevron LEDs.
Second, the Processing code on the gate end, which can be found here:
There are separate programs for dialing and receiving, though it would not be too difficult to combine them into one. These programs are responsible for connecting the mcu to the internet and playing sounds. They get sound timing info from the gate(serial) and piece together rotation startup, rotation, and chevron engaging sound files that can be found here:
Third, the dialing computer simulator, which can be found here:
Since there was not enough time to make a gate for the other end of the connection, dkopta put together this nice animated simulator. Rather than a lengthy, unclear description of it just go watch the video of it in action, which is included in the final result log. It works for both dialing, by clicking the symbols, and for receiving.
Fourth, the server code, which can be found here:
This was set up on another computer for convenience and testing. It basically manages the connection and relays data.
10 months ago •
The contest is coming down to the last few days and the stargate is nearly complete. The gate itself is fully functional and is embedded in a stand. The software being written by dkopta now works, but needs a little more debugging. dkopta has also finished the audio part of the project(i.e. it plays sounds when the gate rotates and when chevrons engage). I will post another log tomorrow showing the nearly finished state of things and hopefully a short video of it in action. The code will also be available once it is finalized.
I have also put together a remote dialer, which I introduced way back at the beginning. It's based on this wireless 10-key:
It looks pretty much the same, but I painted the front bezel to match the gate and cover the label. Unfortunately, the electronics inside were not functional, so I gutted it and stuck in an ATMega328 microcontroller to read the keypad and control an IR LED. Here is an annoyingly small version of the schematic.
Here is the code: