I am trying to send a simple message from a 433 MHz RF transmitter using an ATTiny 85 chip. I followed this tutorial to set up up the ATTiny85 https://www.instructables.com/How-to-Program-an-Attiny85-From-an-Arduino-Uno/. This worked fine. I was able to make the blink program work fine. I then made a simple sketch to send a message to an RF receiver. Here is the code
// Include RadioHead Amplitude Shift Keying Library
#include <RH_ASK.h>
RH_ASK rf_driver(2000, 11, 3, 10, false);
void setup() {
rf_driver.init();
}
void loop() {
char msg[16] = "test";
rf_driver.send((uint8_t *)msg, strlen(msg));
rf_driver.waitPacketSent();
delay(10);
}
When I uploaded this sketch and connected the circuit, I received nothing on the RF receiver. Here is a picture of the setup. It might be hard to see, but I can give more details if needed
I tried uploading the sketch to an Arduino uno instead and this worked fine. So I'm wondering why this might not be working on the ATTiny but works fine on the Arduino Uno. I believe I'm uploading correctly as the blink example worked on the ATTiny. And I believe my code is fine as it works on the Arduino Uno. Any idea what might be wrong? Thank you