0% found this document useful (0 votes)
81 views13 pages

Servo Control Design

This document describes an Arduino-compatible RC servo controller board that allows recording servo motor movements using an onboard potentiometer or SD card. It can then play back recordings for a few seconds. The board includes an ATmega328 microcontroller, potentiometer, EEPROM memory, optional SD card module, and connectors for programming, power supply, and connecting a servo motor.

Uploaded by

ryan cooper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views13 pages

Servo Control Design

This document describes an Arduino-compatible RC servo controller board that allows recording servo motor movements using an onboard potentiometer or SD card. It can then play back recordings for a few seconds. The board includes an ATmega328 microcontroller, potentiometer, EEPROM memory, optional SD card module, and connectors for programming, power supply, and connecting a servo motor.

Uploaded by

ryan cooper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

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. MANUFACTURER SUPP


1 1 CN1 8 PIN MALE HEADER PITCH 2.54MM WURTH DIGIK
2 1 CN2 SD CARD MODULE CHINA DIGIK
3 1 CN3 3 PIN MALE HEADER PITCH 2.54MM WURTH DIGIK
4 1 CN4 2 PIN SCREW TERMINAL PITCH 5.08MM PHOENIX DIGIK
5 1 C1 10uF/16V CERAMIC SMD SIZE 0805 YAGEO/MURATA DIGIK
6 5 C2,C3,C5,C6,C10 0.1uF/50V CERAMIC SMD SIZE 0805 YAGEO/MURATA DIGIK
7 3 C4,C8,C9 22PF/50V CERMAIC SMD SIZE 0805 YAGEO/MURATA DIGIK
8 1 C7 470uF/16V ELECTROLYTIC RUBYCON DIGIK
NO. QNTY. REF. DESC. MANUFACTURER SUPP
9 3 D1,D2,D3 LED SIZE 0805 OSRAM DIGIK
10 3 J1,J2,J3 JUMPER-SOLDER ON PCB
11 1 L1 FERRITE BEAD SIZE 0805 LAIRD DIGIK
12 3 R1,R2,R4 1K 5% SMD SIZE 0805 YAGEO/MURATA DIGIK
13 5 R3,R5,R6,R10,R11 10K 5% SMD SIZE 0805 YAGEO/MURATA DIGIK
14 1 R7 10E 5% SMD SIZE 0805 YAGEO/MURATA DIGIK
15 1 R8 10K POT BOURNS DIGIK
16 1 R9 1M 5% SMD SIZE 0805 YAGEO/MURATA DIGIK
17 2 SW1,SW2 TACTILE SWITCH 4 PIN NKK SWITCH DIGIK
18 1 U1 ATMEGA328TQPF-32 MICROCHIP DIGIK
19 1 U2 AT24C256 MICROCHIP DIGIK
20 1 U3 L1117-5V TI DIGIK
21 1 X1 16Mhz ECS INC DIGIK
CONNECTIONS
GERBER VIEW

 TOP
o copper
o soldermask
o silkscreen
 BOTTOM
o copper
o soldermask
o silkscreen
 MECHANICAL
o drill
o outline
o outline
 OTHER
o unknown
o unknown
o unknown
o unknown
o unknown

Show filenames

layerstopbottom

PHOTOS

You might also like