Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Nano-Controlled RF Signal Transmitter with Pushbutton Activation

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Controlled RF Signal Transmitter with Pushbutton Activation

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an Arduino Nano with a momentary push button switch and an FS1000A 433MHz RF transmitter. The Arduino Nano is powered by a 9V battery and is programmed to read the state of the push button switch. When the button is pressed, the Arduino sends a signal through the RF transmitter. The circuit is simple and is likely used for wireless control applications where a signal is sent remotely upon a button press.

Component List

Pushbutton

9V Battery

Momentary Push Button Switch

Arduino Nano

FS1000A 433MHz RF Transmitter

Wiring Details

9V Battery

Momentary Push Button Switch

Arduino Nano

FS1000A 433MHz RF Transmitter

Documented Code

// Code for Arduino Nano
const int buttonPin = 2; // Pin connected to the button
const int rfDataPin = 10; // Pin connected to the RF Transmitter DATA pin

void setup() {
  pinMode(buttonPin, INPUT_PULLUP); // Set button pin as input with internal pull-up resistor
  pinMode(rfDataPin, OUTPUT); // Set RF Transmitter DATA pin as output
}

void loop() {
  int buttonState = digitalRead(buttonPin); // Read the state of the button

  if (buttonState == LOW) { // Check if the button is pressed
    digitalWrite(rfDataPin, HIGH); // Send a signal through the RF Transmitter
  } else {
    digitalWrite(rfDataPin, LOW); // Stop sending the signal
  }
}

This code is written for the Arduino Nano and is responsible for reading the state of the momentary push button switch. When the button is pressed, the code sets the RF transmitter's DATA pin high, sending a signal. When the button is released, the DATA pin is set low, stopping the signal transmission. The button pin is configured with an internal pull-up resistor, which means the button is active-low (it reads LOW when pressed).