Show Posts
Pages: [1] 2 3 ... 10
1  Using Arduino / General Electronics / Re: Standalone Arduino Serial Communication on: May 04, 2012, 12:53:53 am
Yea the capacitor was the problem. Sorry about that. I never realized that I shorted it. I have no idea why it didnt register to me.

Thanks so much!
2  Using Arduino / General Electronics / Re: Standalone Arduino Serial Communication on: May 03, 2012, 01:39:05 pm
See the thing is I didnt have to do half of that. I removed the chip, plugged it into my arduino board, programmed it, removed it and put it back in the circuit. I tested it with the regular Arduino ports and everything worked perfectly fine.

But then I tried it without the serial communication. I disconnected the RX and TX connections and uploaded a blink sketch:

Code:
const int ledPin =  13;      // the number of the LED pin

void setup() {
  // set the digital pin as output:
  pinMode(ledPin, OUTPUT);      
}

void loop()
{
  digitalWrite(ledPin, HIGH);
  delay(1000);
  digitalWrite(ledPin, LOW);
  delay(1000);
}

And this failed to work as well.

Here is a picture of my circuit:


By the way, I tried multiple chips brand new and they all didnt work. I tried several batteries as well. I've replaced every component and breadboard too.
3  Using Arduino / General Electronics / Re: Standalone Arduino Serial Communication on: May 03, 2012, 07:11:01 am
Here is the code:

Code:
void setup(){
 Serial.begin(9600);
 
}

void loop(){
 
  Serial.println("HELLO WORLD");
  delay(1000);
}


Also the circuit is exactly the same as this picture: http://arduino.cc/en/uploads/Main/arduinobb_08.jpg
Except it also has an Xbee connected which takes 4 connections : 5v, ground, RX, and TX
4  Using Arduino / General Electronics / Standalone Arduino Serial Communication on: May 03, 2012, 06:55:34 am
Hey Guys,

I have hooked up a standalone Arduino just as shown in this website.
http://arduino.cc/en/Main/Standalone

I double checked the voltage and got a regulated 5.05 volts across all the components so the regulator is working. The code that is running has two lines of code. One of which is in the setup function:

Serial.begin (9600);

The other in the loop function:

Serial.println("Hello World");

I have the serial port (RX/TX Pins) hooked up to an XBee module. To clarify, the arduino RX Pin is connected to the Xbee TX Pin and the arduino TX Pin is connected to the XBee RX Pin. Why doesnt it work? It doesnt send anything.
5  Using Arduino / General Electronics / Connecting Arduino Standalone Chip and XBee on: April 30, 2012, 11:06:57 pm
Hey Guys,

I took out my arduino chip from my board and followed the instructions to put it on a breadboard here: http://itp.nyu.edu/physcomp/uploads/arduinobb_09.jpg
Everything works fine but when I plug in an XBee, the code doesnt work the way it should.

The code i was using was a simple two statements in the setup() function starting the Serial port (Serial.begin(9600)smiley-wink and printing a line (Serial.println("Hello World")smiley-wink. The problem is that it repeatedly sends this message over the xbee and i can see it from the receiver xbee that it rapidly sends "Hello World" over and over. Also, if  I check the voltage supplied by the voltage regulator, it is only 3.7 volts rather than 5 volts.

Why is this happening?

Thanks
6  Using Arduino / Project Guidance / Wireless Management System for Shooting Competitions on: March 17, 2011, 12:30:25 pm
Hey guys,

Just wanted to ask your opinions on my new project. You can go see the project videos at my blog page at: http://practical-embedded-hacks.blogspot.com/2011/03/wireless-management-system-for-shooting.html

Please add comments there if you have any questions or post a reply to this topic.

Thanks!
7  Using Arduino / Sensors / Re: Electret Microphone with Arduino on: February 06, 2011, 11:53:58 pm
Yea... I just ordered two of them.

Thanks for the advice! When I get them in my hand I might ask you for some help if needed, but it seems pretty straightforward.
8  Using Arduino / Sensors / Re: Electret Microphone with Arduino on: February 06, 2011, 02:37:06 pm
The sound sensor will be worn by the shooter either on his belt or on an arm band. Any gun can be fired.
Yea I think I will order the Parallax sensor so everything will work.

9  Using Arduino / Sensors / Re: Electret Microphone with Arduino on: February 06, 2011, 07:35:09 am
The "hacking" of the board might seem out of my capability.
If there are no more solutions, did you find success in using the Parallax sensor with the Arduino?
10  Using Arduino / Sensors / Re: Electret Microphone with Arduino on: February 05, 2011, 08:20:10 pm
Yes the mic works... Also, because of the time constraint, purchasing any extra sensors will take too long so it is most likely not possible.

However, if I cannot find any other solutions with the mic I have by Monday, I will definitely buy the Parallax Sensor.
11  Using Arduino / Sensors / Electret Microphone with Arduino on: February 05, 2011, 04:40:58 pm
I had posted on this same issue on the old forum, but never followed up to it because I got caught up with another project. Now I am back with this project and will follow up this time.

Old Post: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1294526279

I still have found no success using the Sparkfun Electret Microphone Board which can be found here: http://www.sparkfun.com/products/9964

And again, my whole objective is to be able to distinguish between gun shots and regular talking. Right now, I have tried the code that was posted on the old forum but found no success as well.

Also to note, I added a capacitor, diode, and resistor (suggestion from the old post) to make the circuit similar to the one found here: http://wiring.org.co/learning/basics/microphone.html

Any help will be much appreciated and will get a response very quickly!
12  Using Arduino / Networking, Protocols, and Devices / Re: XBee Coordinator Communication on: February 04, 2011, 02:16:46 pm
Any ideas?
13  Using Arduino / Networking, Protocols, and Devices / Re: XBee Coordinator Communication on: February 03, 2011, 11:50:05 am
Sorry for the late reply.

I think I am having trouble configuring these XBee's. Currently, the only settings that I messed with are the PAN ID and the Destination high and low. On the coordinator side, the settings for destination high and low are FFFF. For the End Devices, the destination high and low are set to 0000. Is this the best way to do point-to-multipoint communication? I need both the coordinator and end device to receive and transmit.

PS: If I use my Series 1 Xbee's the program works perfectly both transmit and receive.

Thanks! All help will be much appreciated!
14  Using Arduino / Networking, Protocols, and Devices / XBee Coordinator Communication on: January 29, 2011, 07:31:31 pm
Hey,

I have a problem with the XBee's that I have: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=602-1180-ND

Right now, I have one XBee as an End Device, and the other as a Coordinator. The Coordinator currently cannot transmit any messages, but can receive them. The End Device sends and receives messages.

I have configured both XBee's using X-CTU and both have Destination High/Low settings to connect to all transceivers with the same Pan ID.
They are also both connected using an Adapter Kit from Adafruit and have an FTDI cable going to a computer.

Any ideas?

Thanks!
15  Using Arduino / Programming Questions / Build a String on: January 29, 2011, 10:11:09 am
Hey Guys,

Do any of you guys know how to build a String? What i am trying to do is to read a number from the Serial port, and add it to String constants.
For example, I need to have "<T1*>" as a resulting string. The number can change however. So if I send the number 2 to the Serial port, the resulting String should be "<T2*>".

What is the best way to do this?

Thanks!
Pages: [1] 2 3 ... 10