Prusa Enclosure V2 LED und Lüfter Steuerung NO Support
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
Eine Steuerbox mit Arduino Nano für die Steuerung einer Lampe und eines Lüfters. A Controllbox for a Light and a Fan.
- Ocena
- 0 / 5
- Polubienia
- 5
- Pobrania
- 54
- Wydruki
- 0
- Wyświetlenia
- 846
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Prusa Parts & Upgrades
- Licencja
- Creative Commons — Attribution
An English Instruction is Further Down
Eine Steuerbox mit einem Arduino Nano welcher mit einem Potentiometer einem Schalter und einem Kapazitivem Sensor gesteuert werden kann.
Zur Versorgung wird ein LPV-100-12 Netzteil benutzt. Mit einem 7805 Linear Spannungsregler werden die 12v aus 5v für den Arduino gewandelt. Falls man mehr Leistung benötigt empfehle ich einen Step down Wandler
Der DHT11 Wird zur Überwachung der Temperatur und Luftfeuchte benutzt, zusammen mit einem LCD Display werden dann alle werte ausgegeben.
Druckanweisungen
Support: Nein
Infill: 10-20%
Temperature Nozzle: 240C° Erste Schicht; 235C° Rest
Temperature Bett: 90C° Erste Schicht; 90C° Rest
Schichthöhe: 0,1mm-0,2mm
Filament: PETG,PLA
Druckeinstellungen: Prusa 0,20mm SPEED Voreinstellung
Brim: Zur sicherheit Ja ( Nötig Nein)
Ich habe die Modelle mit einem leicht verändertem voreingesteltem PETG Profil gedruckt
Warum PETG ? Weil es zu der Zeit im Drucker geladen war und ich manchmal ziemlich faul sein kann 😂.
Teileliste
Nichtgedruckte Teile
- Arduino Nano
- Dht11
- I²C LCD
- Kabel
- Potentiometer
- Schalter
- Kapazitiver Sensor
- Netzteil
- Spannungsregler
- Schrauben Senkkopf
- Schrauben Klein
- Schrauben Zylinderkopf
- Holzschrauben
- JST Crimpzangenset
Sonstige dinge wie Lötkolben , Schrumpfschlauch, Werkzeug wie eine Abisolierzange, Seitenschneider, Akkuschrauber, Bohrer… .
Gedruckte Teile
2x Halter,Holder
1x Schale Gehäuse,shell housing
1x Deckel Gehäuse,cover housing
1x Halter rechts,Holder Right
1x Halter Links, Holder Left
Aufbau
Das Display, das Potentiometer, der Schalter und den Kapazitiven Sensor in den Deckel schrauben ( Den Sensor einfach reindrücken). Am besten mit Steckern die Verbindung zwischen dem Arduino herstellen, so dass man die box einfacher zusammen und auseinander bauen kann.

Den Arduino mit M1,6 Schrauben in die Schale schrauben Zuvor die Gegenstücke der Stecker mit kurzen kabeln and den Arduino löten. Als letztes einen Stecker an den Arduino löten um ihn mit daten des DHT11 und Spannung zu versorgen und um die PWM Signale für die Lampe und den Lüfter ausgeben zu können.

Montage
Zum befestigen die Halter nur an einer schraube befestigen, so das das Gehäuse nach unten hängt. Dann kann man die Loch Positionen anzeichnen und anbohren, damit die schrauben später einfacher in das holz geschraubt werden können.
Um den Bewegenden Deckel des Gehäuses flach liegend zu haben muss man Löcher durch diesen bohren. Von der Mitte der angezeichneten Befestigungslöcher zu zwei punkten:
Der punkt über dem Rechten Bein des Gehäuses um Spannungs und PWM Kabel durchzuführen und ein Loch um die Kabel des DHT11 Durchzuführen.
Diese Löcher müssen alle schräg gebohrt werden, da der IKEA Lack tisch aber fast nur aus Karton besteht ist diese Aufgabe nicht besonders schwierig.
danach müssen die Kabel durchgeführt werden, dabei ist eine Taschenlampe und eine Pinzette sehr nützlich um die Kabel durch das loch durchzuziehen.

Wenn man das gesamte Gehäuse hat muss man das loch etwas weiter hinten bohren. Da ich ein teil weggelassen habe, weil die schrauben Löcher des Prusa Gehäuses mit den löchern der Tischplatte übereinstimmen, konnte ich das loch relativ weit vorne bohren.

Der Code
Ich habe viele Kommentare in den Code eingefügt. aber ich werde die verwendeten Pins trotzdem hier nochmal aufschreiben.
DHT11: Pin2
Potentiometer: Pin A0
I²C-LCD Display: SDA: Pin A4
SCL: Pin A5
PWM-Pins: Licht: Pin 3
Lüfter: Pin 5
Schalter: Pin 4
Kapazitiver Sensor: Pin 6
Außerdem muss die Adafruit Sensor Library und die DHT11 Library installiert werden.
Für das I²C-LCD benötigt man die LiquidCrytal_I2C Library.
Wenn es irgendwelche Probleme oder Fragen gibt, lasst es mich bitte wissen. Ich weiß aus Erfahrung, wie nerfig manche Probleme sein können. Aber ich kann jedem versichern, dass der Code großartig funktioniert.
Update 25.11.24:
Einen Schaltplan hinzugefügt ( Danke fürs darauf aufmerksam machen )
Description
A control box with an Arduino Nano which can be controlled with a potentiometer, a switch and a capacitive touch sensor. A LPV-100-12 power supply is used . With a 7805 linear voltage regulator the 12v is converted to 5v for the Arduino.
If you need more power I recommend a step down converter. The DHT11 is used to monitor the temperature and humidity, all these values are then outputed on the LCD Display.
Print Instructions
Support: No
Infill: 10-20%
Temperature Nozzle: 240C° First layer; 235C° rest
Temperature Bed: 90C° First layer; 90C° rest
Layerheight: 0,1mm-0,2mm
Filament: PETG,PLA
PrintSettings: Prusa 0,20mm SPEED Presettings
Brim: For Safety Yes ( not needed)
I just Printed the model on a slightly modified Presetting in PETG.
Why ? Because it was loaded in my printer at the time and im lazy😂.
Partslist
Not Printed Parts
- Arduino Nano
- Dht11
- I²C LCD
- Kabel
- Potentiometer
- Switch
- Capacitive Sensor
- Power Supply
- Volatage Regulator
- Screws (Countersunk)
- Small Srews
- Screws ( cylindrical)
- Wood Screws
- JST Crimpset
Also things you need, a Soldering iron, shrink tubing, Tools like a wire stipper, side cutters, cordless drill, drillbits… .
3D Printed Parts
- 2x Halter,Holder
- 1x Schale Gehäuse,shell housing
- 1x Deckel Gehäuse,cover housing
- 1x Halter rechts,Holder Right
- 1x Halter Links, Holder Left
Assembly
Screw the display, the potentiometer and the switch and press in the capacitive sensor into the cover. It is best to use JST Connectors to connect the Arduino so that the box can be assembled and disassembled more easily.

Screw the Arduino into the shell with M1.6 screws. Solder the counterparts of the plugs to the Arduino with short cables beforehand. Finally, solder a connector to the Arduino to supply it with data from the DHT11, voltage and to be able to output the PWM signals to the lamp and the fan.

Assembly
To find the hole locations for the holders, just attach one screw on each shell holder so that the housing hangs down. Then you can mark and drill the hole positions so that the screws can later be screwed into the wood more easily.
In order to have the moving cover of the case lying flat you have to drill holes through it. From the center between the marked mounting holes :
The point above the right leg of the enclosure to feed through power and PWM cables and a hole to feed through the DHT11 cables.
These holes all have to be drilled at an angle, but since the IKEA Lack table is made almost entirely of cardboard, this task is not particularly difficult.
After you finished drilling the holes, the cables must be fed through, a flashlight and tweezers are very useful to pull the cables through the hole.

If you have the entire case you have to drill the hole a little further back. Since I left out a part because the screw holes of the Prusa housing matched the holes of the table top. because of that I was able to drill the hole relatively far in front.

The Code
I have put a lot of comments in the code. Unfortunatly they are almost all in german. The mosnt important part, the pin numbers should be understandable, but I will write the pins used down in here to.
DHT11: Pin2
Potentiometer: Pin A0
I²C LCD Display: SDA: Pin A4
SCL: Pin A5
PWM Pins: Light: Pin 3
Fan: Pin 5
Switch: Pin 4
Capacitive switch: Pin 6
You will also need to install the Adafruit Sensor Library and the DHT11 Library.
For the I²C LCD Your going to need the LiquidCrytal_I2C Libray.
If there are any Problems or questions Let me know them please. I know from experience how nasty some problems can be. But I can asure everyone that the code is working great right now.
Update 25.11.24:
Added a Schematic. ( Thanks for making me aware of this )