milksteakmatt / Ardufuego

Arduino controller for Heat N Glo fireplace remote
Apache License 2.0
8 stars 6 forks source link

Trying out your rf_transmitter and rf_tester #2

Open larrywal opened 5 years ago

larrywal commented 5 years ago

Hi Matt - I setup a Mega and an Uno together with a transmitter and receiver. I got them working using a RadioHead tutorial, so I decided to then try your test files before actually getting into the fireplace stuff.

I have the transmitter uploaded to the mega and the tester uploaded to the uno. The serial output shows that 433mhz is setup, but I don't get anything after that. I tried changing the output and receive pins to use, but that hasn't helped. Any ideas?

I'm sure it's wired right because it was working with the radio head tutorial. LMK ideas. Thanks.

image

larrywal commented 5 years ago

Note - I did try both on pin 2 (given they should both be interrupt pins). Same -- just get this serial output:

image

larrywal commented 5 years ago

Ah ha - I think I got it - in the receiver I had to change "4" to "digitalPinToInterrupt(receive_pin)".

That got me the below results (Which I assume are different from the actual message being sent because I'm on an UNO with max set to 200 (vs. 800, per the comment you have in RF_tester).

image