У нас вы можете посмотреть бесплатно ATTiny85 Blink, then + SG90 Servo From Scratch, No Libraries! или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
[Run time: 52:43, so if you want to not know how to do this in real time, then you can just download the sketch below and good luck figuring it out! :)] Using an analog (0-5vdc) signal, drive a servo. In this example, I use a light sensor, and we start with a brand new ATTiny85, burn a bootloader, upload Blink, then hook up a servo and drive it with a simple cadmium sulfide sensor. Arduino UNO is used as the ISP, which is probably what most folks do. I will return to this subject using one of the USB micro burners I have, but this video should save everyone a TON of time. I sure wish someone had done one of these videos for me. sketch: Programmed by Nick Crescimanno - Electric Sheep Labs - 4/15/17 https://github.com/electricsheeplabs/... and a video here: • Servo/ESC Control with Attiny85!! I do it from scratch, soup to nuts (DISCLAIMER: No soup or nuts were harmed in the making of this video). In case you like to skip around, I made it easier for you by cutting it up into a 3 part Video: 00:00-16:19 - Part 1 Starting from scratch: Wiring, Bootloader, about ATTiny85 16:20-28:05 - Part 2 Uploading sketches, making Blink work 28:06-52:43 - Part 3 Hooking up the Servo & Light Sensor Thanks to Nick for his fantastic work making a library-less solution! I promise to return to his code, decode it, and maybe help his efforts if I'm able. If you can, please go to the link above & ask Nick about forking. pat :) P.S. This is the original video with a new overdub, so the little window of me will not match the audio you hear. The audio was hideous! You're welcome :) P.S.S. I am certain there is no practical value in moving a servo based on ambient light... It's just that generating easy-to-understand varying values is super-easy with a cadmium sulfide cell... :)