Made My Planetarium Star Projector Spin with Arduino Motor

Made My Planetarium Star Projector Spin with Arduino Motor

Ingredients:

This updated code removes the switch seen in the video and makes the motor spin automatically about .5 degrees every second. Here is the beta Arduino code sketch:

#include <SoftwareSerial.h>

/*
* Switch and LED test program
*/

int ledPin = 5; // LED is connected to pin 12
int switchPin = 0; // switch is connected to pin 2
int val; // variable for reading the pin status
int ledPin6 = 6; // LED is connected to pin 12
int switchPin1 = 1; // switch is connected to pin 2
int val1; // variable for reading the pin status
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as output
pinMode(switchPin, INPUT); // Set the switch pin as input
pinMode(ledPin6, OUTPUT); // Set the LED pin as output
pinMode(switchPin1, INPUT); // Set the switch pin as input
//Setup Channel A
pinMode(12, OUTPUT); //Initiates Motor Channel A pin
pinMode(9, OUTPUT); //Initiates Brake Channel A pin

}
void loop(){

//delay(10);

//val = digitalRead(switchPin); // read input value and store it in val
//if (val == LOW) { // check if the button is pressed
//digitalWrite(ledPin, HIGH); // turn LED on
//Serial.begin(9600); // set up Serial library at 9600 bps
//Serial.print(“sw0 on: “);Serial.println(digitalRead(switchPin));

//forward @ full speed
digitalWrite(12, HIGH); //Establishes forward direction of Channel A
digitalWrite(9, LOW); //Disengage the Brake for Channel A
analogWrite(3, 200); //Spins the motor on Channel A at full speed

delay(.1); //// ***** THIS SETS THE ROTATION SPEED .1 is good for slow spin, 10 or 100+ will rotate further

//delay(10);
// }
if (val == HIGH) { // check if the button is not pressed
digitalWrite(ledPin, LOW); // turn LED off
delay(10);

digitalWrite(9, HIGH); //Eengage the Brake for Channel A

//delay(1000);

}

// delay(10);

val = digitalRead(switchPin1); // read input value and store it in val
if (val == LOW) { // check if the button is pressed
digitalWrite(ledPin6, HIGH); // turn LED on
//Serial.print(“on: “);Serial.println(digitalRead(switchPin1));

//backward @ half speed
digitalWrite(12, LOW); //Establishes backward direction of Channel A
digitalWrite(9, LOW); //Disengage the Brake for Channel A
analogWrite(3, 255); //Spins the motor on Channel A at half speed

delay(3000);

delay(10);
}
if (val == HIGH) { // check if the button is not pressed
digitalWrite(ledPin6, LOW); // turn LED off
//Serial.print(“1=off: “);Serial.println(digitalRead(switchPin1));

digitalWrite(9, HIGH); //Eengage the Brake for Channel A

delay(1000);

delay(10);
}

}

 

I plan on adding a potentiometer to control the rotation speed.

http://www.cnbc.com/id/100923551

Thailand Bans Bitcoin and Makes It Illegal

Virtual currency bitcoin has been banned in Thailand, according to a prominent bitcoin exchange that operates in the Southeast Asian country.

According to Bitcoin Co. Ltd, a Bangkok-based website that trades the digital currency, the firm had been in the process of registering with governmental agencies but the application was turned down and the currency has now been made illegal.

Bitcoin is a virtual currency that allows users to exchange online credits for goods and services. While there is no central bank that issues them, bitcoins can be created online by using a computer to complete difficult tasks, a process known as mining.

The Wollenberg Pager Bomb Attack

The Wollenberg Pager Bomb Attack

Destroy your enemy by flooding them with calls from angry pager owners.

Here’s How!

1. The Enemy: Lets say your enemy has the phone number of 714-999-8888.  We are going to ‘pager bomb’ him.

2a. Obtain a Pager #: Since most people will only answer a page from the same area code, we need some local pager numbers (714 in this example).  Google search something like “714 pager number”

2b.  Refine a Pager #: I find that doctors are the only ones using pagers nowadays.  This is perfect because they usually really don’t like to be paged (especially while on the golf course right?).  Also, they are easier to find, because hospitals and office often list emergency pager numbers on thier website.  PERFECT!.  So modify that Google search to something more like “714 emergency pager number” or “714 doctor pager”.  You get the idea.

Example: google search link http://www.alz.uci.edu/ucimind/contact-us/ lists

Primary Pager: 714-506-4004  Secondary Pager: 714-506-4005 These are doctors pager numbers.  They will not be happy to be paged unnecessarily.  Too bad for our enemy, he will have to deal with it.

2c. Expand and Find Pager Block:  Most pager #’s are sold in blocks.  Therefore if 714-506-4004 and 714-506-4005 are pagers, then yep you guessed it, 714-506-4006 thru 714-506-4100 are probably also pager numbers.  Call and confirm where the number suffix ends for the block.  Basically you have found 714-506-4004, and then discovered 100 more pager numbers by just incrementing the last four digits.  EASY.

You should now have at least 20 pager numbers.

Step 3. The Attack: Start dialing away, you know how a pager works.  Dial the pager, wait for the beep, then enter the Enemy’s phone number.  Repeat with the next pager number.

Note: use the memory recall button on your phone to store the enemy’s number so you don’t have to retype it over and over.

Suggestion:  Get an old PC with a fax modem, and a copy of FreeDOS, and your favorite wardialing program such as GunBelt (yes I am that old) and automate the whole attack.

 

Your victim should now recieve many calls from pissed off people, wondering why he paged them.  After about the 40th call in 10 minutes, the attack can be considered ‘successful’.

 

See Also http://lagunabeachcomputer.com/wp-admin/post.php?post=643&action=edit Wollenberg Conference Call Attack