Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Help with MAP Funtion on: June 03, 2012, 01:42:16 pm
Thanks for your help guys

A picture says more then thousand worts.

You see the poti on the beat board and the green wire in the bottom hooks up to A0 to control the LED.Works fine.

The box on top is the reciver from a remote control .
Each of the 8 slots for the servos has 3 pins.
Pemanent ground, permanent 5V, and signal.
The signal pin changes its voltage between .25 and .45V depending on the position of the control stick on the transmitter.
I would like to control two electric motors of a R/C controled tank with this setup.
Do you see somthing wrong with this setup?
Do you know of a better way to control the Arduino with a R/C.

2  Using Arduino / Programming Questions / Re: Help with MAP Funtion on: June 02, 2012, 04:56:47 pm
Thanks Grumpy_Mike

I opened the serial monitor with the poti hooked up and the values change accordingly as i move through the 0 to 5V range.
However, with my .24 to .45V hooked up the values stay near 0 and do not change as i move to the range.
When i remove the input from A0 the numbers change to a higher value.

Is the .2V change to small?
Can the signal be to weak?


3  Using Arduino / Programming Questions / Help with MAP Funtion on: June 02, 2012, 03:17:02 pm
Hi everyone

I would like to control the brightness of a LED with my Arduino UNO.
I use the example program AnalogInOutSerial, and attache hardware as shown on the Arduino Web side under Lerning, AnalogInOutSerial.
A Poti on power, ground and input A0, and a LED on output 9 and ground. This works very well.
I like to change the input voltage from 0 to 5V to .25 to .45V and still see the same affect on the LED.

Is this possible?
Can i still use the MAP function?
What values do i have to plug into the MAP Function to make it happen?

Thanks for your help.


4  Using Arduino / Displays / Sparkfun Serial Enabled 16x2 LCD on Arduino Uno on: August 15, 2011, 06:13:40 pm
I just got a Arduino Uno and a Sparkfun Serial Enabled 16x2 LCD # ADM 1602U.
I try to display the word "Hello" on the lcd using this code:

void setup()
  pinMode(1, OUTPUT);     
void loop ()
  Serial.print(245, BYTE);
  Serial.print(1, BYTE);
  Serial.print("Hello ");

The word "Hello" appears twice on the screen, surrounded by junk symbols.
If I run the program again, the output changes but the word "Hello" always appears.
As you can see, I am new to electronics and programing.
Any help is appreciated.


Pages: [1]