Dual Synchronized Radio Frequency Control for Motor Lights and more

In this tutorial we will see how to do a synchronized radio frequency control, since one control can control the other. With APC220 modules, which according to the manufacturer can reach a distance of up to one kilometer, under appropriate conditions, are transparent radio modules, since everything that it sends through the serial port, is what will be transmitted. As the brains of the project we will use a couple of arduinos mini pro.


You may be interested in projects in Arduino, pic, robotics, telecommunications, subscribe http://www.youtube.com/user/carlosvolt?sub_confirmation=1 videos with full source code and diagrams

Visita PCBgogo.com

Plates and modules used in this project

Arduino mini pro

The Arduino Pro Mini is a microcontroller board based on the ATmega328.
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an integrated resonator, a reset button and holes to mount pin headers. A six-pin header can be connected to an FTDI cable or Sparkfun connection board to provide USB power and communication to the board.
The Arduino Pro Mini is designed for semi-permanent installation in objects or exhibitions. The board comes without pre-assembled headers, allowing the use of various types of connectors or direct cable welding. The pin design is compatible with the Arduino Mini.
There are two versions of the Pro Mini. One runs at 3.3V and 8 MHz, the other at 5V and 16 MHz.

microcontroller ATmega328 *
Board power supply 3.35-12 V (3.3 V model) or 5-12 V (5 V model)
Circuit operating voltage 3.3V or 5V (depending on model)
Digital I/O Pins 14
PWM pins 6 6
Uart 1
Spi 1
I2C 1
Analog input pins 6 6
External outages 2
DC current per I/O pin 40 mA
Flash memory 32 KB of which 2 KB used by the bootloader *
Sram 2 KB *
Eeprom 1 KB *
Clock speed 8 MHz (3.3V versions) or 16 MHz (5V versions)

Module Apc220

The APC220 radio data module is a high-power and highly versatile radio solution, it is easy to set up and integrate into any project that requires a wireless RF link. It is perfect for robotic applications if you need wireless control. You can connect one of these modules to your MCU via the TTL interface, and connect to your PC with another APC220 module via a TTL/USB converter.

specification

  • Working frequency: 420 MHz to 450 MHz
  • Power: 3.5-5.5V
  • Current: <25-35mA
  • Working temperature: -20oC + 70oC
  • Range: 1200 m (1200 bps)
  • Interface: UART/ TTL
  • Transmission speed: 1200-19200 bps
  • Transmission speed (air): 1200-19200 bps
  • Receive buffer: 256 bytes
  • Size: 37mm × 17mm × 6.6mm
  • Weight: 30g

PinOut

pin Definition detail
1 Set Set parameters (low)
2 Aux UART signal- Transmission (low) Transmission (high)
3 TXD UART TX
4 RXD UART RX
5 is Turn off the device when <0.5 V. Enable the device when you leave it offline or apply> 1.6 V
6 Vdc 3.3V-5.5V power
7 Gnd Earth 0V

Download RF-Magic

APC22X_V12A

Datasheet

APC220_Datasheet

Run APC22X_V12A.exe (RF-Magic) as an administrator if your system is not Windows XP.

NOTE: In the software you will recognize the APC220 module and COMX serial port automatically once we open it. Check in Device Manager to verify the correct COM port.

Configure RF-magic as in the red square frame below (default setting), and click Write W to enter your settings, then click Read R to read the parameters you have set.

configuration

Writing and reading settings

parameter rank default
RF frequency 1KHz resolution, 100Hz ± accuracy 434MHz
TRx RF Rate 1200, 2400, 4800, 9600, 19200 bps 9600bps
RF power 0-9 9
Serial rate 1200, 2400, 4800, 9600, 19200, 38400, 57600bps 9600bps
NET ID 0-65535 (16-bit) 12345
NODE ID 123456789012
Patity Series Disable, the strange Patity, even Patity disable

Configure the other APC220 module in the same way, with the same parameter settings.

8-channel Relay rele module

  • Operating Voltage: 5V DC
  • Control Signal: TTL (3.3V or 5V)
  • Relays No.: 8 CH
  • Max capacity: 10A/250VAC, 10A/30VDC
  • Max current: 10A (NO), 5A (NC)
  • Action time: 10 ms/5 ms
  • To activate output NO: 0 Volts

2 Jumper

16 3mm Led

16 1KOhm Led

Female pins

16 Pushbuttons

Male pins

2 sockets for Arduino mini pro

Pcb

Download the gerber file free from here –> https://www.pcbway.com/project/shareproject/Dual_Synchronized_Radio_Frequency_Control_for_Motor_Lights_and_more.html

Source Code (for reverse logic relay module)

Source Code (Relay module without reverse logic)

RECOMMENDED VIDEOS

Deja una respuesta