Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 30,000 devices or 100,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Std Editionservo_limit_est_sw

Profile:Attiny85 servo control

License: MIT

Published Time:2021-05-14 18:56:35
  • 166
  • 0
  • 0
Description

Github repository for this project:


https://github.com/Rick-100/Push-button-controlled-servo-with-adjustable-end-stops-using-an-Attiny85

Video:

https://youtu.be/g3QAqGpAoNo

This program is written for the Attiny85. It moves a servo between 2 end positions using two push buttons. The end positions are adjustable by using a program mode selected by a third button. The positions are stored in eeprom so they are not lost on power down. If the circuit is powered on with the program button held down, the default values are restored. The project was started after watching this video by pileofstuff:

https://youtu.be/vMrGfrk_M0I

The video is about controlling the track switches on a model train layout with either push buttons or IR sensors. The push buttons are for manual control. The IR sensors detect a train coming and set the switch in the direction that won't derail the train. The end positions of the servos need to be adjustable so the servo doesn't bind. In the video he used pots on an Arduino Nano to set the end positions. The push buttons and IR sensors were wired in parallel. While reading the video comments, people suggested using this method so I thought I would give it a try on the Attiny85 to get some more experience with the chip. I'm also designing an experimenters board for the Attiny85 and needed a project to test it out.

The small input board for this project: https://oshwlab.com/Rick100/servo_limits_user

Documents

PCB_servo_limit_est_sw_2

Open in editor
Project Attachments
Empty
Project Members

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn