修改

图片

迪威模型和Solidworks 联合会员
迪威网友e09e4f
迪威网友e09e4f

阿达弗瑞特的Wall-e眼睛

免费,登录即可下载
发布时间:2020/12/26 13:10:00
Wall-e eyes for chillibasket Wall-e
I’ve used:
Spooky Arduino Halloween Eyes
At
by Werny
Circuit for wiring the ItsyBitsy is from 2 min 30 – 3 min 10 of the video
Werny is running two scree off each CS pin, and we want one screen of each CS Pin.
So CS1 is for the Left Eye (Pin 12) and CS2 is for the Right Eye (Pin 10)
He also changes the resistor to 68 Ohms so you can run the LED off 5 volts (Why? But do it anyway)
I used the
Adafruit ItsyBitsy M0
To get the ItsyBitsy working go to:
Make sure you get the “Blink” code working on the ItsyBitsy before you carry on.
Use Adafruits code
Uncanny eyes
Follow the itruction to the word. Do not try and take short cuts.
When you download the code and run it on the Arduino IDE, open the “config.h” second tab and change:
{ 12, 0, 1 }, LEFT EYE display-select and wink pi, no rotation
{ 10, 2, 3 }, RIGHT EYE display-select and wink pi, no rotation
Comment out the “single eye” stuff with “” and rotate the scree to fit. When the code fit starts check the Adafruit logo is the right way around.
The fit number is the CS pin
The second number is the blink pin (not used)
The third number is the rotation from 0, 1, 2, 3.
In the same file, you can select the eye you want. I prefer the terminatorEye.h
Enable ONE of these #includes -- HUGE graphics tables for various eyes:
#include "graphics/defaultEye.h" Standard human-ish hazel eye -OR-
#include "graphics/dragonEye.h" Slit pupil fiery dragodemon eye -OR-
#include "graphics/noScleraEye.h" Large iris, no sclera -OR-
#include "graphics/goatEye.h" Horizontal pupil goat/Krampus eye -OR-
#include "graphics/newtEye.h" Eye of newt -OR-
include "graphics/terminator.h" Git to da choppah!
#include "graphics/catEye.h" Cartoonish cat (flat "2D" colo)
#include "graphics/owlEye.h" Minerva the owl (DISABLE TRACKING)
#include "graphics/naugaEye.h" Nauga googly eye (DISABLE TRACKING)
#include "graphics/doeEye.h" Cartoon deer eye (DISABLE TRACKING)
That was all I changed to get it too run.
This is what is needed:
Adafruit ItsyBitsy M0 Express - for CircuitPython & Arduino IDE
Convex Glass Le with Edge - 40mm Diameter
or
Convex Plastic Le with Edge - 40mm Diameter
Use this LCD screen because the screen goes to the edges so it fits into the eye.
Replace 5110 LCD 1.44" Red Serial 128X128 SPI Color TFT LCD Display Module
I just hot glued the screen in
0个文件
压缩包大小:167KB
小程序二维码
微信小程序 微信扫码打开此模型
登录后发表评论
恒诺鑫科-专注碳素制品的开发与生产