xoseperez / sonoffsc

Itead Studio SonoffSC custom firmware with MQTT and Domoticz support
GNU General Public License v3.0
104 stars 35 forks source link

atmega328 and a 433mhz receiver / sender #13

Open steffenmllr opened 7 years ago

steffenmllr commented 7 years ago

First of thanks for putting this together. I learnt a lot from going through the code!

I had a couple of cheap 433mhz receiver (XD-RF-5V) and sender (XD-FST) laying around and I was wondering if there is some way to put them on pin 11 / 13 of the atmega328. My intention was to make a 433mhz<>atmega328<>esp8266<>mqtt bridge.

Using the the rc-switch and the manchester (lots try/error with the sample code) I was not able to get a signal from the atmega328.

Do you have any tipps on how to make this happen or is it not possible to get the atmega328 working with the rf receiver above?

timgray commented 6 years ago

I added mine to pin1 of the atmega. it's pretty trivial to solder a small wire on there and now you can use the Interrupt0 line as needed.