hello,
i'm need help.
i am need a code for arduino that transform signal to binary.
the signal is attachments.
thank.
Get an NPN transistor. Connect it's base to your signal via a suitable resistor (say 120 ohm). Connect the collector to 5v via a 10K resistor and the emitter to GND.
Run a connection from your transistor's collector to one of your arduino I/O pins and you'll now have a signal that swings from 0-5v. (albeit inverted). You then have a choice of whether you want to poll it or use interrupts to interpret it's value.
Hi, what does the signal represent and what is it from?
Do you need the pulses converted to 0 and 1's, then stored?
What is the application?
Tom.....
hi,
thank .
the signal is from reciver 433 mhz .
i'm try to save the signal in SD card.
yairbh89:
the signal is from reciver 433 mhz .
I hope you are not expecting a 16MHz Arduino to detect a 433MHz signal ?
Post a link to the datasheet(s) for the transmitter and receiver you are using.
It is probably just outputting a standard serial signal.
...R
Is that 433MHz the frequency of a radio module?
the signal that was attachments is from the pin data of 433 mhz reciver.
Aren't you using the Virtualwire library ?
no,
If you use the virtualwire library you can reliably send ASCII characters. Why binary. Why do you need to do this ? What are you doing ?
yairbh89:
no,
All of your answers have been very brief.
It will help enormously if you give longer answers that tell us what you are trying to do.
At the moment you are the only person that knows about your project. If we are to help you we have to know what you know. And it is much better if you tell us without the need for us asking a hundred different questions.
...R
Robin2:
All of your answers have been very brief.
Yes
KenF:
Yes
It's good to know you have time to spare.
...R
i'm try to save the signal in SD card.
Trying how ? Where's your code ?
Post your code .
Perhaps if you could tell us whats creating the signal in the first place.
What comes off the rx pin of a 433 Mhz receiver can be anything , usually its just garbage or the binary equivalent
of broadband noise.
If its some kind of data, then its necessary to know what created it.
Agreed.
hey ,
i'm sorry of the brief answers.
i'm research rolling code of remote control ,and because of this i'm need the code at binarry.
thank
yairbh89:
i'm sorry of the brief answers.
i'm research rolling code of remote control ,and because of this i'm need the code at binarry
That is still an incredibly brief answer.
Try stretching it out to 20 lines of useful information.
...R
Try stretching it out to 20 lines of useful information.
Trying to get water out of a rock ?