Added Arduino IR Jammer
authorHarvie <tomas@mudrunka.cz>
Mon, 24 May 2010 18:03:05 +0000 (20:03 +0200)
committerHarvie <tomas@mudrunka.cz>
Wed, 26 May 2010 21:45:10 +0000 (23:45 +0200)
arduino/IR_Jammer.pde [new file with mode: 0644]

diff --git a/arduino/IR_Jammer.pde b/arduino/IR_Jammer.pde
new file mode 100644 (file)
index 0000000..ad96955
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Arduino IR-Jammer
+ * <~~Harvie 2oo8
+ *
+ * You can look for couple of old TV remote controlls
+ * to extract some IR LEDs...
+ *
+ * Each TV should have LED of specific "color"
+ * (even you can't see it). So its better to connect
+ * more LEDs with different light frequency (color).
+ * Specialy if jammer is working only from small distance.
+ *
+ */
+
+#define ledpin 13
+//Maybe you will have to experiment also with this value
+int bitlen = 5;
+int d, i;
+
+void setup() {
+  pinMode(ledpin, OUTPUT);
+}
+
+void loop() {
+  for(d=1000/100;d<=1000/20;d++) { // 1000/frequency in kHz
+  //You maybe have to experiment with ^^^ this ^^^ values
+  //Frequency sweeping: 100->20 kHz works, i saw 60->1 too
+    for(i=0;i<bitlen;i++) {
+      digitalWrite(ledpin, HIGH); delayMicroseconds(d/2);
+      digitalWrite(ledpin, LOW ); delayMicroseconds(d/2);
+    }
+    delayMicroseconds(d*bitlen);
+  }
+}
+
This page took 0.183055 seconds and 4 git commands to generate.