OmnibotWebcontrol: Unterschied zwischen den Versionen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<pre>
+
[[Datei:omnibotYoutubeThumb.jpg|500px]]
  
<!DOCTYPE html>
+
https://www.youtube.com/watch?v=WxPTA3W4Ek0
<html>
+
<body>
+
  
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(1600)">Forward</button>
+
Greetings carbon unit. I am a Omnibot, a robot created by Takara TOMY in 1980th. My new carbon unit masters wanted to control me, but my original radio control unit is lost.
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(2000)">Backward</button>
+
But my new masters are so called "Hackers", they found a way to control me without the original control unit. The masters using the cassette recording unit in my belly with a so called bluetooth adapt000r. They also figured out my secret control frequencies listed below .... don't tell any one, it is a secret!!! The masters preparing a so called web application, so everybody can control me with a comput0rrrr connected via bluetooth. The source code is available on GitHub. But, it is not completed yet... typical carbon unit... they are slow. 
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(2200)">Left</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(1800)">Right</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(1400)">BeepmodeOn</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(2600)">Test2</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(2400)">Test3</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(2800)">Test4</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(1200)">LeftForward</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(1000)">LeftBackward</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(800)">RightForward</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(4600)">BeepmodeOff</button>
+
<button onmouseup="myFunctionOff()" onmousedown="myFunctionOn(163)">LowBeep</button>
+
<input id="slider2" type ="range" min ="50" max="10000" step ="50" value ="100" onchange="myFunctionRange(this.value);"/>
+
  
<p id="demo"></p>
+
{| class="wikitable"
 +
|-
 +
! frequency !! function
 +
|-
 +
|1600Hz || Forward
 +
|-
 +
|2000Hz || Backward
 +
|-
 +
|2200Hz || Left
 +
|-
 +
|1800Hz || Right
 +
|-
 +
|1400Hz || audio bypath mode on
 +
|-
 +
|2600Hz || Test2
 +
|-
 +
|2400Hz || Test3
 +
|-
 +
|2800Hz || Test4
 +
|-
 +
|1200Hz || LeftForward
 +
|-
 +
|1000Hz || LeftBackward
 +
|-
 +
|800Hz || RightForward
 +
|-
 +
|4600Hz || audio bypath mode on
 +
|}
  
<p>This is a very basic control for your OMNIBOT!</p>
+
https://github.com/hackffm/OminibotWebRemote
  
<script>
 
function myFunctionOff() {
 
    document.getElementById("demo").innerHTML = "OFF";
 
    gainObj.gain.value = 0;
 
}
 
function myFunctionOn(f) {
 
    document.getElementById("demo").innerHTML = "ON";
 
    osc.frequency.value = f;
 
    setTimeout(10);
 
    gainObj.gain.value = 1;
 
   
 
}
 
function myFunctionRange(f) {
 
    document.getElementById("demo").innerHTML = f;
 
    osc.frequency.value = f;
 
    setTimeout(10);
 
    gainObj.gain.value = 1;
 
   
 
}
 
context = new AudioContext;
 
osc = context.createOscillator();
 
osc.type=osc.SQUARE;
 
osc.frequency.value = 440;
 
osc.start(0);
 
var gainObj = context.createGain();
 
gainObj.gain.value = 0;
 
osc.connect(gainObj);
 
gainObj.connect(context.destination);
 
</script>
 
  
</body>
+
[[Datei:Ominibot.jpg|240px]]
</html>
+
 
+
 
+
</pre>
+

Aktuelle Version vom 11. Oktober 2019, 15:46 Uhr

OmnibotYoutubeThumb.jpg

https://www.youtube.com/watch?v=WxPTA3W4Ek0

Greetings carbon unit. I am a Omnibot, a robot created by Takara TOMY in 1980th. My new carbon unit masters wanted to control me, but my original radio control unit is lost. But my new masters are so called "Hackers", they found a way to control me without the original control unit. The masters using the cassette recording unit in my belly with a so called bluetooth adapt000r. They also figured out my secret control frequencies listed below .... don't tell any one, it is a secret!!! The masters preparing a so called web application, so everybody can control me with a comput0rrrr connected via bluetooth. The source code is available on GitHub. But, it is not completed yet... typical carbon unit... they are slow.

frequency function
1600Hz Forward
2000Hz Backward
2200Hz Left
1800Hz Right
1400Hz audio bypath mode on
2600Hz Test2
2400Hz Test3
2800Hz Test4
1200Hz LeftForward
1000Hz LeftBackward
800Hz RightForward
4600Hz audio bypath mode on

https://github.com/hackffm/OminibotWebRemote


Ominibot.jpg