Show Posts
Pages: [1]
1  Community / Exhibition / Gallery / Re: Magnetic levitation on: June 21, 2013, 01:32:41 pm
Hi could you please tell us the value of L1..?

Thank you.!
2  Using Arduino / Project Guidance / Re: Working with GSM modules on: April 29, 2013, 10:09:20 am
Hey well id say the quectel m10 is better(in my opinion) and they were kind enough to send me one for free.!And yes id say it is easier to soldering but requires more components and the power supply must be perfect im trying to build my own gsm tomorrow..!

Im using basic stuff(not perfect design).Ill share the details if i have any luck
3  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 07, 2013, 12:54:26 pm
do u no any other program that does smethin like this program or is thr any other way?
4  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 07, 2013, 05:57:54 am
do we have to buy the product key? is there any other way?
5  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 06, 2013, 03:48:03 am
excuse me but in the code u r using it is not specified which pin the mic is connected to then how does the program work?
 smiley-eek
6  Using Arduino / General Electronics / how to stop a flickering pulse? on: April 09, 2012, 09:04:27 am
does anyone know how to stop a flickering pulse from the arduino while using virtual wire ...??read this post:
http://arduino.cc/forum/index.php/topic,100099.0.html
i connected an led to pin 11  and hit the transmitter but the led is flickering (fast) instead of just lighting up....!!the problem is i have to connect a relay to the with a transistor circuit..!!so i need a constant output! does anyone know how to make it from flickering to constant?? maybe with some capacitor or programming correction? i used sparkfuns rfask code !!
pls help
thanks
7  Using Arduino / Motors, Mechanics, and Power / battery charging on: April 09, 2012, 08:43:49 am
does anyone know where i can find a cheap lithium ion charger (12.6V 4A)??? or schematics??
pls reply fast
thanks!
8  Using Arduino / Motors, Mechanics, and Power / battery V/A reading on: April 09, 2012, 07:37:13 am
does any one knows how to check a batterys voltage with arduino (if possible amps too) but the problem is the battery is 12.6V and 4A.....so there is any way???? maybe the AREF pin????
9  Using Arduino / Motors, Mechanics, and Power / Re: motor controlling(easy) on: April 09, 2012, 07:30:17 am
all the things u said was right(i was in a hurry)....but my idea is good right?
10  Using Arduino / Motors, Mechanics, and Power / motor controlling(easy) on: April 07, 2012, 09:11:09 am
so i was wondering...... the l239d chip can only tolerate 1amp right??? and l238 can tolerate 2amp ....so what if i use two relays to control a motor(one for each direction) i mean it would have atleast 10 amp!!! so it can control big fat motors like this one! http://robokitsworld.com/index.php?main_page=product_info&cPath=2&products_id=208 ...the relays are cheap and can tolerate a lot right ??!!! so what do u guys think?
11  Using Arduino / Programming Questions / Re: virtual wire on: April 06, 2012, 10:20:30 am
hey guys now i fixed half the problem by changing the pins for the pwr to the rx module now the led is flickering (both tx and pin 11)
12  Using Arduino / Programming Questions / virtual wire on: April 06, 2012, 01:49:48 am
guys could u help me???
im having a problem with virtual wire.!!
this is the code the first time i used it the led was lighting up constant when i press the button on the transmitter but now after a few months the led is blinking instead of lighting up constant (this is the receiver code)
Code:
#include <SoftwareServo.h>
#include <VirtualWire.h>

SoftwareServo servo1;


void setup()
{
  Serial.begin(9600); // Debugging only
    Serial.println("setup");
  servo1.attach(9);
 
  vw_set_ptt_inverted(true); // Required for DR3100
    vw_setup(2000); // Bits per sec
    vw_set_rx_pin(2);
    vw_rx_start();       // Start the receiver PLL running

pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(13, OUTPUT);
pinMode(1, OUTPUT);

  

  }

void loop()
{
  digitalWrite(3, LOW);
   digitalWrite(4, LOW);
   digitalWrite(5, LOW);
   digitalWrite(1, HIGH);
  servo1.write(71);
  SoftwareServo::refresh();

  
  
  
 uint8_t buf[VW_MAX_MESSAGE_LEN];
    uint8_t buflen = VW_MAX_MESSAGE_LEN;

    if (vw_get_message(buf, &buflen)) // Non-blocking
    {
int i;

        digitalWrite(13, true); // Flash a light to show received good message
// Message with a good checksum received, dump it.
Serial.print("Got: ");

for (i = 0; i < buflen; i++)
{
   Serial.print(buf[i]);
        if(buf[i] == '1'){digitalWrite(3, HIGH);}//fwd
        if(buf[i] == '2'){digitalWrite(4, HIGH);}//bck
        if(buf[i] == '5'){digitalWrite(5, HIGH);}//lit
        
        if(buf[i] == '3')//lft
 {
  servo1.write(0);
 
    SoftwareServo::refresh();
  }

if(buf[i] == '4')//rht
 {
   servo1.write(150);
 
    SoftwareServo::refresh();
  }
  Serial.println("");
   digitalWrite(13, false);
   SoftwareServo::refresh();
  
}
    }
}
     
i  remodeled this code from sparkfuns example code!!!
this is the transmitter code(which is working properly)
Code:
//transmitter

#include <VirtualWire.h>

void setup()
{
    Serial.begin(9600);  // Debugging only
    Serial.println("setup");

    // Initialise the IO and ISR
    vw_set_ptt_inverted(true); // Required for DR3100
    vw_setup(2000); // Bits per sec
        vw_set_tx_pin(3);
        
        pinMode(7, INPUT);
        pinMode(8, INPUT);
        pinMode(9, INPUT);
        pinMode(10, INPUT);
        pinMode(11, INPUT);
        pinMode(12, OUTPUT);

digitalWrite(7, HIGH);//fwr
digitalWrite(8, HIGH);//bkwr
digitalWrite(9, HIGH);//lft
digitalWrite(10, HIGH);//rht
digitalWrite(11, HIGH);//lit
digitalWrite(12, HIGH);//pwr

}

void loop()
{
  char *msg;
  
  if(digitalRead(7) == LOW){
    char *msg = "1";
      digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    vw_wait_tx(); // Wait until the whole message is gone
    digitalWrite(13, false);}
  if(digitalRead(8) == LOW){
    char *msg = "2";
      digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    vw_wait_tx(); // Wait until the whole message is gone
    digitalWrite(13, false);}
  if(digitalRead(9) == LOW){
    char *msg = "3";
      digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    vw_wait_tx(); // Wait until the whole message is gone
    digitalWrite(13, false);}
  if(digitalRead(10) == LOW){
    char *msg = "4";
      digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    vw_wait_tx(); // Wait until the whole message is gone
    digitalWrite(13, false);}
  if(digitalRead(11) == LOW){
    char *msg = "5";
      digitalWrite(13, true); // Flash a light to show transmitting
    vw_send((uint8_t *)msg, strlen(msg));
    vw_wait_tx(); // Wait until the whole message is gone
    digitalWrite(13, false);}
  
  }

  pls help!


Moderator edit: [code] [/code] tags added.
Pages: [1]