MathViz

MathViz
Supplies
Software Requirements
Versions:
Circuit Assembly

The full Circuit Diagram is above.
First, we will begin by wiring the three buttons, which will connect to PD5, PD6, and PD7. They are also connected to ground and VCC from the top of each button. It then breaks between to an 100nf resistor and to GND of the acceleromter and 3v3 of the CJMCU optical sensor. It then splits between a 1k aum resistor to PD4 and to ground.
There are many connections between the ATMega328 and the CJMCU optical sensor. PB1 to NPD, PB2 to NCS, PB3 to MOSI, PB4 to MISO, PB5 to CLK.
PC4 of the ATMega328 connects to SDA, and PC5 to SCL, and fittingly, ground to ground.
3D Print





Used Tinkercad to create the model.
Link to Model
- Open Bambu Studio
- Import the 3D Model
- Go to the File menu in the top left corner.
- Hover over Import and select Import 3MF/STL/STEP/SVG/OBJ/AMF…
- Choose and open your .stl file.
- Set Up Printer and Plate
- Change the preset to Bambu Lab X1 Carbon 0.4 nozzle.
- Change the plate type to Textured PEI Plate.
- Select Filament
- Ensure the filament is set to Bambu PLA Basic.
- Different options are also available
- Adjust Model on Plate
- Placement: Make sure the model fits inside the plate area, is centered, and properly oriented on its base.
- Scaling: If needed, scale the model up or down:
- Press S to scale, then adjust manually or input a percentage.
- Rotation: If needed, rotate the model:
- Press R to rotate. You can manually drag, or input exact degrees.
- Moving: To move the model:
- Press M and use the mouse or arrow keys.
- Slice the Plate
- Once satisfied, click Slice Plate (top right corner).
Loading Filament
- Choose a filament spool in your desired color.
- Cut the end if it’s bent or jagged.
- Mount the spool and feed the filament into the tube until it stops.
- On the printer, go to Adjustments → Filament and tap Load.
Unloading Filament
- Go to Adjustments → Filament and tap Unload.
- Gently pull out the filament after it unloads.
Start the print
- In Bambu Studio, click Print Plate (top right).
- Choose an available printer (names are labeled on each printer).
- Click Send to start your print.
- Important: Monitor the print for at least 15 minutes to ensure everything is running correctly.
After Printing
- Pry the print off the plate using a spudger tool.
- Remove any excess filament or support material.
- Unload the filament and store it properly.
Soldering

Operating Instructions

Once the system has been opened, the user will be greeted with the window pictured above where they are able to customize the equation being graphed. At the top the user is able to open a text box and enter a equation to be graphed. The user can then Change X, Y, and Z range, as well as equation style. They can change the RGB values of the graph as well as the resolution. Finally, they can also rotate the graph. The user also has access to the physical device, which allows them to zoom in and out on the graph, reset, and maneuver orientation.
Potential Improvements
- Allowing for the graphing of multiple equations at once
- Be able to graph a singular point on the graphed equation