RC Servo Movement Recorder and Player

  • Rajkumar Sharma
  • 192 Views
  • medium
  • Tested
  • SKU: EL139543
  • Quote Now

This is an RC servo controller board that allows users to record RC servo motor movement and playback it back with precision. There is an onboard potentiometer to control the RC servo up to 180 degrees. It allows you to record the movement of one servo, a few seconds in duration. Servo movement can be mimicked using the onboard potentiometer. Servo movement data is stored onboard the EEPROM memory chip. The project is Arduino compatible and can be modified to work as a data logger and other applications that require EEPROM and SD Card data logs.

The Arduino code is available as a download and the user will be able to record and playback the RC servo movement for a few seconds with this code. After power is ON, Recording starts when LED D3 lights up, then move the potentiometer to mimic the servo for a few seconds until EEPROM is full and the recording LED is OFF. After a 3-second delay, the Play LED is ON, and playback starts till the end of the movement. This event restarts after 3 seconds.

Arduino Code: This is a Modified code Original Author of the code Anas Kuzechie: https://akuzechie.blogspot.com/2020/11/servo-motor-control-using-at24c256.html

SD Card Module/EEPROM

The board has 2 options for data recording. On board EEPROM for low memory size and SD Card module for higher data memory capacity. SD Card module can be installed under the PCB, SD Card module works with SPI protocol and EEPROM follows I2C protocol. Arduino example code works only with EEPROM. The SD card recording requires additional custom code.

Features

  • Power Supply 5V to 7.2V DC
  • Atmega328 Micro-Controller
  • On Board AT24C256 EEPROM
  • SD Card Module, (Optional option for higher memory). Use CN2 connector to install the SD Card module.
  • Potentiometer for Analog Input
  • 2 x Tactile Switches with Pull-Up Resistors
  • Power LED
  • Record/Playback LEDs
  • 3 Pin Header Connector for RC Servo
  • SD Card Reader
  • PCB Dimensions 51.44 x 44.45 mm
  • 4 x 3 mm PCB Mounting Holes

Arduino Programming

Connector CN1 is provided for bootloader burning and Arduino programming, Follow the link below to learn more about Arduino programming:

https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoToBreadboard

Arduino Pins

  • SD Card Module (SPI): Arduino Pins D9, D13, D11, D12
  • EEPROM (I2C): Arduino Pins A4/SDA, A5/SCL
  • RC Servo: Arduino D5
  • Potentiometer: Arduino Analog pin A0 (R7 Current Limiting, C4 Noise Cancellation)
  • 2 x Tactile Switch: Arduino D3 and D4 (With Pull Up Resistor R5, R6)

Connections and Other Details

  • CN1: Programming Connector Pin 1 = Tx, Pin 2 = Rx, Pin 3 = Reset, Pin 4 = GND, Pin 5 = VCC, Pin 6 = D11, Pin 7 = D12, Pin 8 = D13
  • CN2: Connector for SD Card Module (Optional)
  • CN3: Pin 1 = GND, Pin 2 = VDD, Pin 3 = D5 (PWM Output for RC Servo)
  • CN4: Pin 1 = VDD, Pin 2 = GND Power Input 5V to 7.2V DC
  • R8: Potentiometer Analog In (Mimic)
  • Jumper J1, J2, J3 I2C Address (All Closed)
  • D1: Power LED
  • D2: Play LED
  • D3: Recording LED
  • SW1: Function Switch (Optional)
  • SW2: Function Switch (Optional)

Schematic

 

Parts List

NO.QNTY.REF.DESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
11CN18 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5321-ND
21CN2SD CARD MODULECHINADIGIKEYALIEXPRESS/EBAY
31CN33 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5316-ND
41CN42 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
51C110uF/16V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
65C2,C3,C5,C6,C100.1uF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
73C4,C8,C922PF/50V CERMAIC SMD SIZE 0805YAGEO/MURATADIGIKEY
81C7470uF/16V ELECTROLYTICRUBYCONDIGIKEY1189-1588-2-ND
93D1,D2,D3LED SIZE 0805OSRAMDIGIKEY475-1278-1-ND
103J1,J2,J3JUMPER-SOLDER ON PCB
111L1FERRITE BEAD SIZE 0805LAIRDDIGIKEY240-2383-1-ND
123R1,R2,R41K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
135R3,R5,R6,R10,R1110K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
141R710E 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
151R810K POTBOURNSDIGIKEYPTV09A-4020U-B103-ND
161R91M 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
172SW1,SW2TACTILE SWITCH 4 PINNKK SWITCHDIGIKEYHP0215AFKP2-ND
181U1ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328PB-AURCT-ND
191U2AT24C256MICROCHIPDIGIKEYAT24C256C-SSHL-TCT-ND
201U3L1117-5VTIDIGIKEYLM1117MPX-5.0/NOPBCT-ND
211X116MhzECS INCDIGIKEYX1103-ND

Connections

Gerber View

Photos

 

Video


AT24C256 Datasheet

Please follow and like us:
Pin Share

PCB



Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies