Show Posts
|
|
Pages: [1] 2 3 ... 10
|
|
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: 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.
|
|
|
|
|
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/StandaloneI 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.jpgEverything 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)  and printing a line (Serial.println("Hello World")  . 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
|
|
|
|
|
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.
|
|
|
|
|
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!
|
|
|
|
|
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!
|
|
|
|
|