Tiny House project - Jeremy: Difference between revisions
(→Tests) |
(→Tests) Tag: Manual revert |
||
| Line 236: | Line 236: | ||
== Tests == | == Tests == | ||
<code> | |||
import pycom | import pycom | ||
from time import sleep | from time import sleep | ||
| Line 255: | Line 255: | ||
sleep(2) | sleep(2) | ||
pycom.rgbled(0x000000) #off | pycom.rgbled(0x000000) #off | ||
</code> | |||
Revision as of 09:06, 4 August 2023
This box is used to test the thermal performance of a model Tiny House
Photo/Video Library
MakerCase 580*580*580 Close box SVG file
Go to MakerCase
Click on Simple Boxes
Change Units to Millimeters
Change With to 580 Change Height to 580 Change Depth to 580
Ensure Outside is selected for Are these inside or outside dimensions?
Ensure Material Thickness is 3mm
Ensure Open or closed box? is Closed
Change Edge Joints to Finger and set Finger Size to 51
Your settings should look like this
Then select Download Box Plans
You should see a pop-up with this picture in it
Adjust Line And Spacing settings to match the ones below
Adjust Line Formatting settings to match the ones below
Adjust Kerf settings to match the ones below
Then select Download SVG
Finally rename the downloaded file to something better/more suited
Inkscape Editing
Open the aforementioned file in Inkscape and proceed to do the following things (Download Inkscape)
In Inkscape change view mode to View -> Display Mode -> Outline so you can see the box sides
Create 6 pages with the dimensions 600*600mm by selecting the Create and edit document pages icon in the left toolbar
You can also add labels to the pages
All 6 pages
Align the 6 pages
Select the design then select Object -> Ungroup
Align separate sides onto their own page
Delete labels
Optionally after deleting the labels add smaller 1-2 letter labels in the corner of each side
Add access square with the dimensions 131*131mm to the to-be front panel
Center the square on the front panel
Set Stroke Style to 0.01pt on all objects
Change Stroke Paint
Insert Creation
Go to MakerCase
Click on Simple Boxes
Change Units to Millimeters
Change With to 574 Change Height to 180 Change Depth to 180
Ensure Outside is selected for Are these inside or outside dimensions?
Ensure Material Thickness is 3mm
Ensure Open or closed box? is Closed
Change Edge Joints to Finger and set Finger Size to 30
Your settings should look like this
Then Select Download Box Plans
And edit the parameters to be the same as below
Then select Download SVG
And rename to something better/more relevant
Editing insert in Inkscape
Open the file in Inkscape
Add new page and size to fit
Rearange with new page
Remove labels
Edit Stroke Style
Add 131*131mm cutout
Final SVG files
Main Box
Box Insert
Laser Cutting
Put SVG files into your laser cutter software
Then Cut!
Assemble Laser Cut Side Panels
Connect all side panels into their according locations and stick together
Add top panel but DON'T STICK DOWN (For Later Access)
Adding Insert
Assemble and add insert without sticking down
Creating Sensor Board
Solder in place in order
The tape is just to relive the solder joints of stress (because my battery holder solder joint disconnected)
Final Sensor Board
Programming The Pycom LoPy 4
Tests
import pycom
from time import sleep
pycom.heartbeat(False)
pycom.rgbled(0x0000ff) #green
sleep(2)
for cycles in range(10):
pycom.rgbled(0x00ff00) #green
sleep(2)
pycom.rgbled(0xffff00) #yellow
sleep(2)
pycom.rgbled(0xff0000) #red
sleep(2)
sleep(2)
pycom.rgbled(0x000000) #off











