case for Digispark Attiny85
grabcad
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 segundosvoid 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 helpPrint Recommendation:PETG filamentlayer height 0.2 mmnozzle 0.6 or 0.4 mm15% - 20% fillingwithout supportsOrient the X on the bed
With this file you will be able to print case for Digispark Attiny85 with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on case for Digispark Attiny85.