Show Posts
Pages: 1 [2] 3 4 ... 11
16  Using Arduino / Project Guidance / Barcode Scanner on: July 22, 2013, 04:13:19 pm
I'm working on an Arduino project that entails using a barcode scanner with a USB interface. Could this work with a USB shield, what model/brand USB shield should I purchase, and how do I get the Arduino to read the barcodes and store them? Is there some sort of library for this?
17  Using Arduino / Motors, Mechanics, and Power / Re: Linear Motion & Bread Dispenser on: July 22, 2013, 04:06:29 pm
Also, how would I reverse the actuator? Can I use an H-bridge for that, or do I need to use a shield?
18  Using Arduino / Motors, Mechanics, and Power / Linear Motion & Bread Dispenser on: July 21, 2013, 08:18:04 pm
Hello guys,

I'm helping somebody design a bread dispensing system. This is what we have so far: http://www.electricstud.io/bread-dispenser_01.jpg

At the bottom of this box, there is another small box that will shoot outside whenever somebody wants to dispense some bread, and shoot back in when the user takes the bread. My partner and I were thinking of using actuators to move the box back and forth, because they move linearly.

However, as illustrated in the image, if the box moves back in too slowly, the next two bagels drop down as well, which jams the system. I looked into high-speed actuators and discovered there are some that move 300mm/sec, but in demo videos, they don't seem to be all that fast. I was wondering, would those actuators be fast enough, and if not, are there any viable alternatives one of you might be able to suggest?

Thanks.
19  Using Arduino / Programming Questions / Re: SeeedStudio GPRS Shield on: July 19, 2013, 10:01:21 pm
However, if anybody could please help me figure out how to receive texts and phone calls on my Arduino, that would be great. Thanks.
20  Using Arduino / Programming Questions / Re: SeeedStudio GPRS Shield on: July 19, 2013, 09:57:11 pm
Turns out that the issue was I wasn't holding down the power button on the GPRS shield long enough. Once I had held it down for several seconds, both the status and netlight LEDs turned on, and everything worked smoothly. I managed to succeed in sending text messages and making phone calls from my Arduino.
21  Using Arduino / Programming Questions / Re: SeeedStudio GPRS Shield on: July 16, 2013, 09:51:35 pm
After doing some scanning on the Wiki (http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0#SoftwareSerial_library_Notes), I noticed that neither the status nor the netlight LEDs are on. The netlight LED occasionally blinks if I keep hitting the power button on and off, though. Could it be a problem with the SIM card? Maybe it isn't getting detected?
22  Using Arduino / Programming Questions / SeeedStudio GPRS Shield on: July 16, 2013, 09:30:01 pm
I'm trying to send an SMS and/or make a phone call from my GPRS shield to my telephone. Here is the model I'm using: http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0#SoftwareSerial_library_Notes
I went out and purchased a SIM card and a phone plan from T-Mobile. I bought the same plan that this guy did: http://rwsdev.net/2013/02/arduino-and-seeed-quad-band-gprs-shield-review-and-tutorial-with-examples/ It's activated, and the SIM card is inserted in the shield. Shield is turned on, drawing power from the Arduino.

I tried using the following code to send a phone call:

Code:
/* place call example */
#include <SoftwareSerial.h>
 
SoftwareSerial mySerial(7, 8);
 
void setup()
{
  mySerial.begin(19200);               // the GPRS baud rate   
  Serial.begin(19200);               // the GPRS baud rate   
  delay(2000);
  mySerial.println("ATDxxxxxxxxxx;"); // xxxxxxxxx is the number you want to dial. 
 
  if(mySerial.available())
  {
    Serial.print((unsigned char)mySerial.read());
  } 
 
  delay(30000); // wait 30 seconds then end call
 
  mySerial.println("ATH"); //End the call.
  if(mySerial.available())
  {
    Serial.print((unsigned char)mySerial.read());
  }   
}
 
void loop()
{
  //Do nothing
}


and this code to send an SMS:

Code:
/* send sms example */
#include <SoftwareSerial.h>
 
SoftwareSerial mySerial(7, 8);
 
void setup()
{
  mySerial.begin(19200);  //Default serial port setting for the GPRS modem is 19200bps 8-N-1
  mySerial.print("\r");
  delay(1000);                    //Wait for a second while the modem sends an "OK"
  mySerial.print("AT+CMGF=1\r");    //Because we want to send the SMS in text mode
  delay(1000);
 
  //mySerial.print("AT+CSCA=\"+xxxxxxxxxx\"\r");  //Setting for the SMS Message center number, 
  //delay(1000);                                  //uncomment only if required and replace with
                                                  //the message center number obtained from
                                                  //your GSM service provider.
                                                  //Note that when specifying a tring of characters
                                                  // " is entered as \"
 
  mySerial.print("AT+CMGS=\"xxxxxxxxxx\"\r");     // xxxxxxxxxx is number to text
  //Start accepting the text for the message
                                                  //to be sent to the number specified.
                                                  //Replace this number with the target mobile number.
  delay(1000);
  mySerial.print("I'm sending this from the arduino and GPRS shield!\r");   //The text for the message
  delay(1000);
  mySerial.write(0x1A);  //Equivalent to sending Ctrl+Z
}
 
void loop()
{
      //We just want to send the SMS only once, so there is nothing in this loop.
      //If we put the code for SMS here, it will be sent again and again and cost us a lot.
}

where "xxxxxxxxxx" is replaced with the phone number I'm trying to text/call.

Any ideas? Thanks.
23  Using Arduino / Project Guidance / Re: Long Distance Communication on: June 27, 2013, 11:07:31 pm
I ended up buying two of this shield: http://www.radioshack.com/product/index.jsp?productId=16518376
Do you guys know if it's hackduino-compatible?
24  Using Arduino / Project Guidance / Re: Long Distance Communication on: June 24, 2013, 09:46:43 am
Thank you everyone for all your ideas and sources. I've begun researching them, trying to determine which one is the best path for me to go down. I'll be sure to come back if I have questions (which I indubitably will!).
25  Using Arduino / Project Guidance / Long Distance Communication on: June 19, 2013, 05:29:27 pm
Hello,

I recently worked on a project with two Arduinos that communicated using NRF24L01 transceivers. They don't have a very long distance range, though. I was wondering, is there any way to get two Arduinos to communicate for an indefinite amount of distance (here on Earth, that is)? Would I have to use bluetooth, or is there a cell phone shield I could use, or what? Ideally I'd like to reach the point where I have two Arduinos on complete opposite sides of our globe communicating with each other.
26  Using Arduino / Programming Questions / mouse library and absolute mouse position on: April 20, 2013, 04:23:21 pm
Hello,

This is a question regarding Arduino keystrokes and mouse movements. I'm writing a program in which when you make contact with a capacitive touch sensor, the mouse moves a specific distance across the screen. This is done using an Arduino Leonardo.

The problem I'm experiencing, however, is that the mouse move command can be pretty erratic in terms of the mouse's position. I was wondering, is there a way to make the mouse position absolute, rather than relative to where it initially was in my program?

Here's the code I have that deals with the sensor and mouse movements:

Code:
  if(total1 > 200 && var != 1) {
    Mouse.begin();
    Mouse.move(100, 0, 0);
    Mouse.end();
    var = 1;
  }

  if(total1 <= 200 && var == 1) {
    Mouse.begin();
    Mouse.move(-100, 0, 0);
    Mouse.end();
    var = 0;
  }
27  Using Arduino / Project Guidance / Re: soft circuit hugging dolls and transceivers on: April 13, 2013, 12:35:30 pm
Quote
The nRF24L01+ transceivers are bidirectional so you would have identical code on both sides which are configured in some way to tell each one which address to use. That could be by a value saved in EEPROM, or an input pin pulled low by a jumper. However you do it, you need to give each Arduino some way to figure out which one it is out of the pair.

Each Arduino will listen to the RF24 interface. If it receives a message, it carries out the action. Each Arduino will also poll the FSR at regular intervals; if it detects a 'hug' then it will stop listening to the radio, send a message to the other Arduino and resume listening again.

How exactly would I do all of that? I've managed to get the transceivers communicating with each other, but I just don't know how to get them to do specific things.
28  Using Arduino / Networking, Protocols, and Devices / make servos move with nrf24l01+ on: April 13, 2013, 03:07:30 am
I'm trying to get one transceiver to tell the other transceiver to make some servos move on an Arduino board. I managed to make the transceivers work using this tutorial: http://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/ and the RF24 library. However, I have no idea how I would make servos move using the transceivers. Does anybody know? Thanks in advance.
29  Using Arduino / Project Guidance / soft circuit hugging dolls and transceivers on: April 13, 2013, 12:03:26 am
Hello,

I'm working on a project in which I'm making two dolls. Suppose there are two people, one holding each doll. When one person hugs his doll, the other doll will move its arms to hug the other person. If the other person hugs the doll back, then the first doll will hug the first person, and so on and so forth.

I'm using servos to control the arm rotations and FSRs to sense the force of the hugging. I'll also be using a Lilypad to control each doll. I've got that part covered, pretty much. However, I'm using nRF24L01+ transceivers to make the Lilypads communicate with each other. I've made the transceivers work, using this tutorial: http://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/ and the RF24 library. However, I'm not sure how to make the transceivers communicate specific commands to each other. I want to make it so that when the FSRs in one doll reach a specific threshold, the transceiver tells the servos in the other doll to move. How would I go about doing that?

Thanks in advance, y'all.
30  Using Arduino / Project Guidance / Re: making two arduinos communicate wirelessly on: April 02, 2013, 12:39:40 pm
Great, thank you! I live in New York, so that first link you suggested was pretty good news for me.

Do you know how I would deal with the voltage conversion?
Pages: 1 [2] 3 4 ... 11