Code Monkey home page Code Monkey logo

attiny13servotester's Introduction

Attiny13 Servo Tester

Servo tester using cheap attiny13.

Code

Code is written in arduino language. Use Arduino IDE to Attiny13ServoTester.ino into your MCU.

Schematic & PCB

Schematic and PCB are created using kicad. All files necessary for kicad are stored in kicad directory.

Modes

Tester has multiple modes:

  • Potentiometer mode - servo position is controlled by potentiometer and leds LED_MIN and LED_MAX light up when minimal or maximal position is reached.
  • Auto mode - servo tester sets up position automatically from 0° to 180° and from 180° to 0°.
  • 90° mode - position is whole time at 90°

Arduino IDE settings

  • Board: ATtiny13
  • Brown-out Detection Level: "1.8V"
  • Link Time Optimalisation: "LTO Enabled"
  • Processor Version: "ATtiny13"
  • Processor Speed: "9.6MHz Internal Oscillator"
  • Programmer: "Arduino as ISP"

Additional notes

  • Because servo can create current impact it's better to add electrolytic and ceramic capacitor paraller to power.
  • It's necessary to mirror SMD components on kicad PCB because PCB also contains THT components.

ToDo

  • mirror SMD elements
  • add resistor for servo
  • complete all modes
  • add mode change led signalisation
  • cleanup code

attiny13servotester's People

Contributors

matrn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

olexam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.