Show Posts
Pages: [1] 2 3 ... 201
1  Using Arduino / Programming Questions / Re: Running out of ram, help please. on: August 25, 2014, 10:43:28 am
while (index < ENTRY_SIZE);

Unless index is being changed volatilely somewhere,    if this condition ever becomes true,  it is game over for your program.
2  Using Arduino / Programming Questions / Re: Arduino GPS/GPRS real time tracker on: August 25, 2014, 10:36:21 am
You could,  in theory,  use one serial port to talk to two different devices at different times.

But you would need to ensure that the required electrical characteristics of the interconnection were met.    This is not straightforward and probably beyond your capabilities.
3  Using Arduino / Programming Questions / Re: Strange behaviour of "return value;" on: August 23, 2014, 12:50:15 am
That code in reply number 12 is not very good.   If the for loop is running faster than the serial,  it will probably only get one character.
4  Using Arduino / Programming Questions / Re: "Not Declared In This Scope": Rocket Launching PS3 Remote Controlled Bot on: August 23, 2014, 12:46:52 am
check whether the missing names are actually in the .h file that you are using.

They may not be,  if you have an obsolete or incompatible version of it.
5  Using Arduino / Programming Questions / Re: error:'PD7'not declared in this scope on: August 23, 2014, 12:44:34 am
It means it cannot find one or more of your .h files.

wprogram.h  is very obsolete and should be replaced with arduino.h
6  Using Arduino / Programming Questions / Re: gps guided car on: August 21, 2014, 07:01:17 pm )  reads on character.    You need to collect all the characters in your number  and then get the float value out of that.
7  Using Arduino / Sensors / Re: Multiple MPU6050 on: August 21, 2014, 05:03:21 am
Use different devices which have a different i2c address.
8  Using Arduino / Networking, Protocols, and Devices / Re: Serial1 - Atmega2560 on: August 21, 2014, 05:00:20 am
what sort of arduino do you have ?

On a mega you use serial1.

For any other kind,  you use software serial.
9  Using Arduino / General Electronics / Re: 4 diode rectifier bridge on: August 21, 2014, 04:26:43 am
Your stupid picture locked up my computer for five minutes.
10  Using Arduino / Motors, Mechanics, and Power / Re: Can't read high on PWM pin. on: August 20, 2014, 07:11:02 am
while (!digitalRead(ActiveWritePin));     

what exactly do you expect this line to do ?
11  Using Arduino / Motors, Mechanics, and Power / Re: Can't read high on PWM pin. on: August 20, 2014, 06:27:05 am
....shunt resistor on positive rail of Bridge controller). The motor works @ 12V so I use a resistor divider to lower

If you have a shunt resistor in the positive path to the load,    then the voltage between the two ends of the shunt resistor is going to be proportional to the current flowing through it.

Using a resistor divider to lower the voltage to the 5V level is not straightforward,   and the "obvious" way won't work.
12  Using Arduino / Motors, Mechanics, and Power / Re: Power an e300 Electric Razor Scooter from an AC Source? on: August 20, 2014, 06:24:38 am
So,  you plan to drag the cable around with you ?
13  Using Arduino / Sensors / Re: Vehicle Detection Sensor- Any Recommendation?? on: August 19, 2014, 10:35:35 am
For a driveway,  the easiest might be an IR beam-interruption scheme.
14  Using Arduino / Programming Questions / Re: Memory problems, sd card stored arrays ... on: August 19, 2014, 10:32:26 am
Why do you think it would be difficult to relocate your project to a Mega ?    Should take about 4 minutes.
15  Using Arduino / Project Guidance / Re: Outputting String (object, not an array of characters ) to LCD on: August 19, 2014, 10:28:19 am
You can only send an object from one device to another,  if both devices know what to do with the object.
Pages: [1] 2 3 ... 201