zetinal34
Junior Member level 3
Thx a lot for your help.. now I am able to get timer, watchdog and ADC all working.
I'm now up to the part that I need to test the transmitter... Do you have any recommended way of transmitting testing?
I try to connect the bit PB0 to Data in of transmitter then set that pin as and output and also to logic 1 (Just like turning on LED).
I then set up the receiver which has the data out pin connect to LED. So my concept is actually is send logic 1 to transmitter, it will then deliver that to receiver and turn on the LED.
I also wish to control the LED on off, so when I set PB0 as logic 0, the LED will be off at the receiver part.
I'm not sure is it correct way to do this testing? Can I just plug in LED straight away without need of another micro controller.(If I need one please advice me on to read the pin)
I actually just want a simple way to test transmitter and receiver by turn on/off the LED. Please suggest if there is a better way.
PS. I try set up the receiver with LED and it seems that my LED keep blinking all the time even though I don't connect the transmitter, do you know what is wrong? Is it because not enough supply voltage for receiver? (Need 5V, my VCC might supply a bit lower than that)
PS2. here are the models or transmitter and receiver I am using, https://www.sparkfun.com/products/10534 and https://www.sparkfun.com/products/10532
Thank you
I'm now up to the part that I need to test the transmitter... Do you have any recommended way of transmitting testing?
I try to connect the bit PB0 to Data in of transmitter then set that pin as and output and also to logic 1 (Just like turning on LED).
I then set up the receiver which has the data out pin connect to LED. So my concept is actually is send logic 1 to transmitter, it will then deliver that to receiver and turn on the LED.
I also wish to control the LED on off, so when I set PB0 as logic 0, the LED will be off at the receiver part.
I'm not sure is it correct way to do this testing? Can I just plug in LED straight away without need of another micro controller.(If I need one please advice me on to read the pin)
I actually just want a simple way to test transmitter and receiver by turn on/off the LED. Please suggest if there is a better way.
PS. I try set up the receiver with LED and it seems that my LED keep blinking all the time even though I don't connect the transmitter, do you know what is wrong? Is it because not enough supply voltage for receiver? (Need 5V, my VCC might supply a bit lower than that)
PS2. here are the models or transmitter and receiver I am using, https://www.sparkfun.com/products/10534 and https://www.sparkfun.com/products/10532
Thank you
Last edited: