Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Diablo's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    32,719
    Downloads
    0
    Uploads
    0

    ATtiny Hacks: ATtiny45/85 servo library



    Servo8bit is a library for AVR microcontrollers that allows you to drive servo motors without the need for a 16-bit timer. Obviously, this is quite useful for smaller chips that only have 8-bit timers and it is specifically targeted at the ATtiny45 and ATtiny85 microcontrollers. The library offers 256 steps of resolution, and can drive up to five servos at one time. Servo control pulses can be generated between 512 and 2560 microseconds and if you don’t mind increasing the time between these pulses [Liya] says it would be possible to increase the 5-servo limit.
    The library is quite easy to use, but in its current state it would take just a bit of work to port to another device. It’s been written for an 8 Mhz clock signal with PortB used to drive the motors. Using find-and-replace to change the PORTB keywords to use a DEFINE variable should be easy enough, but we don’t know how hard it would be to change the clock frequency.
    We wonder if it’s possible to make this a slave device, perhaps implementing a 1-wire protocol?

    Filed under: Microcontrollers


  2. #2
    teeClumbalm
    teeClumbalm's Avatar
    Guest
    Действие игры происходит в мире футуристической утопии, где миротворческие войска стремятся остановить гражданскую войну.Люди оказались не готовы к этому вероломному нападению, поэтому весь космофлот землян был очень быстро уничтожен.И ещё, если вдруг у нас вам ничего не понравится, или же вы захотите ещё, то вы можете сами создать картинки для мобильно из своих загруженных фотографий.
    привет удалите это спам топик. прошу прощение
    Мало кто может не только прочитать все произведения, которые требует школьная программа, но еще и запомнить всех литературных героев, чтобы четко и правильно описать их в сочинении или докладе.Если же вы новый посетитель, пройдите 10-секундную процедуру регистрации.Также запрещено обсуждение способов и технических средств для повышения цитируемости сайтов путем спама в форумы, гостевые книги, комментарии в блогах и т.

 

 

Quick Reply Quick Reply

Click here to log in


In what corner do we have Search box?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ATtiny Hacks: ATtiny10 game – doing more with less
    By Diablo in forum Hack the Planet
    Replies: 0
    Last Post: 09-24-2011, 03:33 PM
  2. Replies: 0
    Last Post: 09-21-2011, 11:33 AM
  3. ATtiny hacks: Roll 2d6 with an ATtiny
    By Diablo in forum Hack the Planet
    Replies: 0
    Last Post: 09-16-2011, 12:34 PM
  4. ATtiny Hacks: Look Ma, no batteries!
    By Diablo in forum Hack the Planet
    Replies: 0
    Last Post: 09-14-2011, 06:32 PM
  5. ATTiny Hacks: Run your Arduino project on an ATTiny!
    By Diablo in forum Hack the Planet
    Replies: 0
    Last Post: 09-13-2011, 11:32 AM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •