GrabCAD 模型信息
case for Digispark Attiny85 · 模型 278998
This is a simple box for the Digispark AtTiny 85 device. Simple and easy. I have used the Attiny85 to create a small device that would prevent my computer from going into sleep mode when connected and running macros on remote computers. Just move the mouse a little every 20 seconds. In order to load the code, you need the arduino IDE and configure it as I show in the image. The code is: #include <DigiMouse.h> #define led 1 #define move_interval 3 #define loop_interval 20 // en segundos void setup() { DigiMouse.begin(); randomSeed(analogRead(1)); pinMode(led, OUTPUT); } void loop() { digitalWrite(led,HIGH); int distance = random(100, 800); int x = random(3) - 1; int y = random(3) - 1; for (int i = 0; i < distance; i++) { DigiMouse.move(x, y, 0); DigiMouse.delay(move_interval); } for (int t = 0; t < loop_interval; t++) { DigiMouse.delay(500); digitalWrite(led,LOW); DigiMouse.delay(500); } } I recommend the PETg filament because it is a bit flexible and will help to get the device into the box. See images for help Print Recommendation: PETG filament layer height 0.2 mm nozzle 0.6 or 0.4 mm 15% - 20% filling without supports Orient the X on the bed
- 格式
- Rendering、STL
- 分类
- Computer、Hobby、Just for fun
- 标签
- attiny85、digispark、arduino
- 数据更新
- 2026-11-05T07:58:29Z