how could i send RC signals to my car ?

hey there i just startd on my project of making an automatic RC car :stuck_out_tongue: its going to drive a given path and then stop basicly, and what i was looking at was the receiver of the car and the IC of the receiver is this one:
http://www.nxp.com/documents/data_sheet/HEF4515B_CNV.pdf

and basicly i would like to "fake" that a signal came in that it reacts to that "fake" signal but i have litlle/none information how to do this i have only read some blogs on this and so on :confused:

if u have other ideas on how to make the car autonymous please post below :smiley:

best regars ClonedSwitch

ClonedSwitch:
hey there i just startd on my project of making an automatic RC car :stuck_out_tongue: its going to drive a given path and then stop basicly, and what i was looking at was the receiver of the car and the IC of the receiver is this one:
http://www.nxp.com/documents/data_sheet/HEF4515B_CNV.pdf

and basicly i would like to "fake" that a signal came in that it reacts to that "fake" signal but i have litlle/none information how to do this i have only read some blogs on this and so on :confused:

if u have other ideas on how to make the car autonymous please post below :smiley:

best regars ClonedSwitch

How about you post a clear and up-close picture of the receiver PCB; clear enough that we can -read- the information for ourselves? I just have some doubts that the receiver itself is going to be any kind of demux IC...that makes no sense at all.

okay i got a good update for u guys :smiley: i connected the receiver to my arduino like this www.sparkfun.com/tutorials/348 just that i dropped connecting the 5V and GND because the receiver gets ground and power from the "main car circuit" :stuck_out_tongue: and i started doing readings but i got values ranging from 0-12000 xD

u wanted pics ? :slight_smile: sure ill post them right here:


http://s13.postimage.org/yku9jgn13/photo_2.jpg
http://s17.postimage.org/lewudybi7/photo_3.jpg
http://s14.postimage.org/l5rgigoe9/photo_4.jpg
http://s16.postimage.org/bju7rbin9/photo_5.jpg

there u go :slight_smile: hope u can help me out here :smiley:

btw here is the code i used to read the pin

/*
 RC PulseIn Serial Read out
 By: Nick Poole
 SparkFun Electronics
 Date: 5
 License: CC-BY SA 3.0 - Creative commons share-alike 3.0
 use this code however you'd like, just keep this license and
 attribute. Let me know if you make hugely, awesome, great changes.
 */
 
int ch1; // Here's where we'll keep our channel values
int ch2;
int ch3;

void setup() {

  pinMode(5, INPUT); // Set our input pins as such
  pinMode(6, INPUT);
  pinMode(7, INPUT);

  Serial.begin(9600); // Pour a bowl of Serial

}

void loop() {

  ch1 = pulseIn(5, HIGH, 25000); // Read the pulse width of 
  ch2 = pulseIn(6, HIGH, 25000); // each channel
  ch3 = pulseIn(7, HIGH, 25000);

  Serial.print("Channel 1:"); // Print the value of 
  Serial.println(ch1);        // each channel

  delay(100); // I put this here just to make the terminal 
              // window happier
}

always connect the grounds.
that may help your readings
Best regards
Jantje

this might sound noobish :stuck_out_tongue: but how could i check what pin is ground ? :stuck_out_tongue:

ClonedSwitch:
just that i dropped connecting the 5V and GND because the receiver gets ground and power from the "main car circuit" :stuck_out_tongue:

This makes it sound like you did not connect GND from arduino to the GND of the receiver to the GND of the "main car circuit".
If so; you have to have garbage in your readings.

Best regards
Jantje

PS at the risk of getting flamed: GND is the same as -

yea i know my english sucks and i had no idea what to do when i originaly posted lol, now that i got some more information and so on i can explain better :slight_smile:

i got the receiver and hooked it up like so: RC Hobby Controllers and Arduino - SparkFun Electronics just that mine gets power from a battery therefore i did not connect GND(-) to the arduino and not the 5v either, and then someone told me to hook up GND but i need to know how to check whats GND and so on ? :stuck_out_tongue:

Gnd is, appropriately enough, labelled as Gnd on the Arduino.

In the Fritzing image in that Sparkfun, it is the black wire between the Arduino and receiver.

Arduino needs to have a common ground with any device it is interfacing with.

yes i know :stuck_out_tongue: but idk what is GND on my receiver, did u take a look at my images ?

See where the black wire in that image is going? If it's connected to Gnd on the Arduino side, what do you think it's probably connected to on the receiver side?

yea but my receiver is not the samme as his :stuck_out_tongue: take a look at the images if u want to...

ClonedSwitch:
yea but my receiver is not the samme as his :stuck_out_tongue: take a look at the images if u want to...

Your receiver may not be the same, but servos use a standard pinout arrangement that all receivers have to match.
The servo pinout puts 5v on the center pin, with signal and ground being the two outside pins. This way, if you plug the servo in the wrong way, you aren't going to short anything out. It just won't work properly.

If you are unsure of the orientation of the connector on your receiver, just try it both ways to see which works. As long as you don't connect anything to that center pin, there's no risk of damaging your receiver or Arduino. Every receiver I've used though puts the signal pins on the outside edge of the receiver.