Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / Project Guidance / moisture sensor on: October 23, 2011, 06:58:23 pm
Has any had any experience with making moisture sensors using galvanized nails and reading the values with arduino. I'm trying to get some stuff together to make a plant growing system using the arduino.
2  Using Arduino / Project Guidance / Re: Arduino GUI on: September 15, 2011, 11:02:23 am
That's the reason I want to use visual basic. I'm going to look around for stuff about serial communication. I started adding the controls and other stuff to the application.
3  Using Arduino / Project Guidance / Arduino GUI on: September 14, 2011, 01:14:18 pm
Hi guys I am starting to build an automation system for my room. I am starting with low current leds and 12 volt control with a transistor. I want to design a gui with visual basic that communicates with the serial port to turn things on and off. I was looking into using firmatavb but my own design. I can build the basic form but I do not know how to do serial stuff yet. Any help is appreciated ty.
4  Topics / Device Hacking / Re: LCD Screen on: August 29, 2011, 09:13:03 am
here's a picture of what the mp3 looks like. its a hip street 7334 4 gig max. its a 1.5 inch display.
5  Topics / Device Hacking / Re: LCD Screen on: August 29, 2011, 09:06:33 am
it is a 22 pin display. I don't know if its serial or not.
6  Topics / Device Hacking / LCD Screen on: August 29, 2011, 08:26:37 am
I have an old mp3 player lying around that has a nice color display. I was wondering if it is compatible with the arduino. The screen is still good but the rest of the player is conked out.
7  Using Arduino / Project Guidance / multiple led control via serial monitor on: August 26, 2011, 05:56:13 pm
does know how to control multiple led's via serial. here's my code for some reason it only turns on the led connected to pin 13.
Quote
int incomingByte;

void setup(){
  Serial.begin(9600);
  
  pinMode(13, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(8, OUTPUT);
}

void loop(){
  if (Serial.available() > 0) {
     incomingByte = Serial.read();
     if (incomingByte == '1') {
      digitalWrite(13, HIGH);
    } 
    
    if (incomingByte == '2') {
      digitalWrite(13, LOW);
    
    if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '3') {
      digitalWrite(12, HIGH);
    } 
    
  }
    
    
    if (incomingByte == '4') {
      digitalWrite(12, LOW);
      
      incomingByte = Serial.read();
      if (incomingByte =='5'){
        digitalWrite(11, HIGH);
        
      }
    }
    
    if (incomingByte == '6');
     digitalWrite(11, LOW);
     
      if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '7') {
      digitalWrite(10, HIGH);
      
      }
      }
      
      if (incomingByte =='8');
       digitalWrite(10, LOW);
       
       
        if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '9') {
      digitalWrite(9, HIGH);
      
      }
        }
      
      
      if (incomingByte =='10');
       digitalWrite(9, LOW);
       
       
        if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '11') {
      digitalWrite(8, HIGH);
      
      }
        }
      
      
      if (incomingByte =='12');
       digitalWrite(8, LOW);
       
    }
  }
}

       
       
       
       
       
        

8  Topics / Home Automation and Networked Objects / Re: Starting A Room Automation System. on: August 26, 2011, 05:46:00 pm
ok thanks. here's the code I wrote for controlling the led's over serial.
Quote
int incomingByte;

void setup(){
  Serial.begin(9600);
  
  pinMode(13, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(8, OUTPUT);
}

void loop(){
  if (Serial.available() > 0) {
     incomingByte = Serial.read();
     if (incomingByte == '1') {
      digitalWrite(13, HIGH);
    } 
    
    if (incomingByte == '2') {
      digitalWrite(13, LOW);
    
    if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '3') {
      digitalWrite(12, HIGH);
    } 
    
  }
    
    
    if (incomingByte == '4') {
      digitalWrite(12, LOW);
      
      incomingByte = Serial.read();
      if (incomingByte =='5'){
        digitalWrite(11, HIGH);
        
      }
    }
    
    if (incomingByte == '6');
     digitalWrite(11, LOW);
     
      if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '7') {
      digitalWrite(10, HIGH);
      
      }
      }
      
      if (incomingByte =='8');
       digitalWrite(10, LOW);
       
       
        if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '9') {
      digitalWrite(9, HIGH);
      
      }
        }
      
      
      if (incomingByte =='10');
       digitalWrite(9, LOW);
       
       
        if (Serial.available() > 0) {
      incomingByte = Serial.read();
      if (incomingByte == '11') {
      digitalWrite(8, HIGH);
      
      }
        }
      
      
      if (incomingByte =='12');
       digitalWrite(8, LOW);
       
    }
  }
}

       
       
       
       
       
        

9  Topics / Home Automation and Networked Objects / Starting A Room Automation System. on: August 26, 2011, 04:34:51 pm
Well today is the day I'm going to begin building and automation system for my room. I'm going to start by controlling some leds. I have a two pin thermistor and need to know how to use it with the arduino. the thermistor is out of an old power supply. I'm also going to create a gui on the computer to control the stuff manually if needed. I'm going to start purchasing more stuff as soon as possible. I'll keep you guys posted
10  Using Arduino / Project Guidance / Arduino web control via serial. on: August 26, 2011, 12:53:47 pm
I have the apache serve up and running. But I still need help on the writing of the cgi code or php. if you guys want to check out the begginings of it go to 192.168.0.109.
11  Using Arduino / Project Guidance / Re: Web control via serial. on: August 26, 2011, 10:48:09 am
I think I may go with cgi I do understand php some but not a lot. I know more html then php because my father has taught me some stuff. He's a web developer. He also has an arduino and a bunch of sensors. He's got the mega 2650.
12  Using Arduino / Project Guidance / Re: Web control via serial. on: August 25, 2011, 11:19:27 pm
how's that supposed to make my arduino do anything. I need to have control on my arduino now via php.
13  Using Arduino / Project Guidance / Re: Web control via serial. on: August 25, 2011, 10:36:29 pm
I'm still stuck on the cgi part. Also how do I change the default apache page to my own.
14  Using Arduino / Project Guidance / Re: Web control via serial. on: August 25, 2011, 09:56:11 pm
how do I change the webpage that apache comes with to my own. because I want to add a login system for security purposes.
15  Using Arduino / Project Guidance / Re: Web control via serial. on: August 25, 2011, 09:47:57 pm
thanks a lot the apache server is installed an running as local host. I probably need to change it to my ip address.
Pages: [1] 2 3 ... 6