Skip to content

Commit

Permalink
The start of something amazing (Electro rework)
Browse files Browse the repository at this point in the history
  • Loading branch information
HumbleDeer committed Sep 19, 2023
1 parent 295dcfa commit 80ddc08
Show file tree
Hide file tree
Showing 7 changed files with 246 additions and 173 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
181 changes: 8 additions & 173 deletions docs/vz330_mellow/electronics/Mellow Super8 V1.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,110 +70,16 @@ Next step is to populate all the driver slots that you're gonna use. Here's a ex

![Filled Board](../../assets/images/manual/vz235_printed/electronics/XYZ_final.jpg)

## Installing the stepper drivers

We start off by putting the Heatsinks on the 5160's. If you don't do this they will go into overtemp error.

![Clean 5160](../../assets/images/manual/vz235_printed/electronics/DSC06360.JPG)

![5160 Cooled](../../assets/images/manual/vz235_printed/electronics/DSC06363.JPG)

Now we'll plug in the adapter into the Driver slots. Make sure they are set to SPI like shown in the instructions above here.

It's important to use Slot 3-4-5-6 for your AWD system. Slot 7 has some issue's with SPI. So leave the most Left slot open like shown in the picture below.

![Driver slots populated](../../assets/images/manual/vz235_printed/electronics/DSC06386.JPG)

Next up is to connect the cable between the adapter board and the External 5160.

![Hooked up](../../assets/images/manual/vz235_printed/electronics/DSC06369.JPG)

## Fan Voltage Selection

Next up we're gonna put the fan ports on the voltage we would like to run them on. You can choose 5V/12V/24V. Each plug has a voltage selection pin grid to the right of it.

![Empty Voltage ports](../../assets/images/manual/vz235_printed/electronics/DSC06353.JPG)

The bridges are to be inserte Left to right. The Top row is 5V. Middle row is 12V and the Bottom row is 24V.
The bridges are to be inserted Left to right. The Top row is 5V. Middle row is 12V and the Bottom row is 24V.

![Filled Voltage Ports](../../assets/images/manual/vz235_printed/electronics/DSC06357.JPG)

## Setting up the board on the machine

Now we know how the board works a bit we can start setting it up on the machine. Mount the PSU's and Board on the back of the printer in the order you prefer or how it's layed out for the Kit.

## choosing a layout

Here is the layout For the Mellow Vz330 kit. It's important to check if everything fits where you want before attaching it.

Left is the 24V psu and to the right side is the 48V psu. This is because only the 5160's need 48V so we make the path to them the shortest by having the 48V PSU to the side of them.

![Back Layout](https://user-images.githubusercontent.com/37383368/201693099-e00af1d6-d792-483d-8a11-d176b7b2b062.png)

## Plugging in the 5160's

Now it's time to hookup the 5160's to the Motherboard.

![5160 Plugin](../../assets/images/manual/vz235_printed/electronics/DSC06387.JPG)

Here you see al the 5160's installed on the holder and plugged into the Motherboard. Make sure to add all the Heatsinks to the 5160's. They'll get overheated fast if you forget these.

![5160 Plugin complete](../../assets/images/manual/vz235_printed/electronics/DSC06395.JPG)

## Hooking up the AC side

Here you see my AC setup using the Distribution blocks. the Yellow/Green is Ground. Blue is live and Black is my Neutral side.

It's very important to Properly ground everything. The Distrubution blocks i used for Ground have a passage to the DIN rail so those are automatically also grounded once a block is put on them. You can see i also grounded the top DIN rail and the Wire on the bottom middle slot is connected to the bolt holding my backpanel to the frame. This way the entire frame is also grounded. It's also important to run a ground wire from our bed to our distribution block or Wago so that the bed is properly grounded. We are after all running AC through the bed and don't wanna shock ourselves.

The Live side Blue get's distributed to the L inputs on the PSU's and too 1 input of the AC side of the SSR's. You can see i used the right screw terminal for both SSR's.

The Neutral side get's connected to the N on our PSU's.

![AC Setup](../../assets/images/manual/vz235_printed/electronics/DSC06412.JPG)

## Bed heater SSR

Now it's time to hookup the SSR for the Bed heater.

Check your SSR to see where the + and - is for your DC side and hook that up to your Board like shown Bellow.

The SSR will also get a AC line put in on the other side. like shown Bellow. that's your Live AC line to power to the bed. I used the right terminal for the input here. the Left terminal goes to your Bed heater and then the other wire coming back from the Bed heater get's plugged into your Neutral distribution block for your AC marked with N in the picture above.

![Bed SSR](../../assets/images/manual/vz235_printed/electronics/DSC06408.JPG)

## Plugging in the 24V side

{: .highlight }
> • Your Motherboard only get's 24V this is the beauty of the External 5160's you don't need to run 48V to your motherboard lowering the risk of damaging your motherboard when you have a issue with your 5160's.
Here you can see the first Wago blocks i used for my 24V + and - the PSU has a wire from the +V to the top Wago and -V has a wire running to the Bottom Wago block. This way you can have more outputs for your PSU.

![24V setup](../../assets/images/manual/vz235_printed/electronics/DSC06419.JPG)

## Plugging in our 48V side

Next up is our 48V lines.

If using Wago's you run a +V line to the top Wago and a -V to the Bottom Wago. From there we can start distributing it to our 5160's.

![48V setup](../../assets/images/manual/vz235_printed/electronics/48V_Setup.jpeg)

Plug in a Wire to the +V side of the wago and run it to your 5160. Put it in the Bottom slot like shown in the picture below.

Plug in a wire to the -V side of the Wago and run it to your 5160. Put it in the second slot of the 5160 like shown below.

![5160_48V](../../assets/images/manual/vz235_printed/electronics/5160_48V.jpeg)

Now do this for all your 5160's like you see down below. That's all the wiring you have to do for 48V.

![5160_48V_complete](../../assets/images/manual/vz235_printed/electronics/5160_48V_Complete.jpeg)

One last IMPORTANT step to do is to link your 24V - to your 48V -. Like you see Below i used a piece of wire to connect my 24V Negative Wago to my 48V Negative Wago.

If you forget this step you can have issue's with your 5160's once we try to start using them.

![Negative Link](../../assets/images/manual/vz235_printed/electronics/Negative_Link.jpg)

## Plugging everything into the board

Expand All @@ -191,91 +97,20 @@ And a closeup of the more important section we're gonna be talking about next.

![Pinout2](../../assets/images/manual/vz235_printed/electronics/Pinout2.png)

Your Bed thermistor get's plugged into the ADC5 port. This is just above the Heat2 port and is a Yellow plug on the Motherboard. We need to use the top 2 pins in our connector. so PC1 and -.

your Hotend Heater will be connected to Heat0. It doesn't matter in what order you plug in your heater wires.

## Fans

{: .highlight }
> • Make sure you set the correct Voltage for your Fans using the 5V , 12V , 24V jumpers.
Your Hotend Fan get's connected to fan port FAN0. which is the first plug after the heaters on the edge of the board.

Your Exhaust Fan get's attached to FAN4 wich is 2 plugs up from Fan0. The Exhaust fan can be used to keep the chamber from not raising above a set temperature of to exhaust the air in the chamber through a Filter at the end of a print before you upen up the chamber.

Your Chamber Fan get's attached to FAN9 wich is the top right one. The chamber fan will circulate the air in your chamber to get a even temperature in it.

Your RSCS get's connected to fan port FAN1 wich is next to FAN0

Make sure you set it to the correct voltage of your fans with the jumpers under it check a bit up in this guide how to setup the jumpers for the correct voltage.

## Other

Now it's time to setup some optional stuff that you could use if wanted.

your Chamber thermistor get's plugged into ADC_2 wich is to the left of the FAN8 port. For using a thermistor on this port we use the PF9 and - pins. These are the 2 left ones.

Your Fillament sensor get's plugged into the IO6 port. this is the plug under the ST-LINK port. Depenging on your sensor you might need to power it or not. The Fillament sensor in the Mods section for the Alu VzHextrudort uses a simpel switch and only requires the PA8 and - Pin of the port.

If you have LEDS to hookup we are going to be plugging those into the FAN8 port. Make sure you set the correct Voltage for your LED's.

## CPAP

To hookup CPAP we need to use the pictures below.

For powering the CPAP we hookup the Plug on the controlboard's bottom right Directly to the 24V of your PSU. So Black goes to Negative 24V and Red goes to Positive 24V.

From the large plug on the bottom left we only need the Grey wire so the second from left. This wire get's plugged into port PF8 on the Motherboard.

![CPAP](../../assets/images/manual/vz235_printed/electronics/CPAP.png)
![Pinout](../../assets/images/manual/vz235_printed/electronics/CPAP_Hookup.png)

## Connecting the Motors

First of we're gonna be putting the TMC2209's on the Motherboard if you haven't already done this. Make sure port 0 and 1 are set to UART with the correct jumpers. and plugin the 2209's. Make sure you plug them in the correct orientation. The part with the pins on the side of the 2209 sits on the outside of the board. and the text on the 2209 is on the inside of the board. like shown Bellow.

![2209](../../assets/images/manual/vz235_printed/electronics/2209.jpg)<br/>

![board Closeup](../../assets/images/manual/vz235_printed/electronics/Board_Setup.jpg)

First the extruder

For the Plugs coming from the motors we need to make sure we put in the wires correctly into the plug.

The wires have to make a Pair and you can check that with a Multimeter. put it on continuity mode and check wich 2 wires beep when touched. that's a pair and those get plugged into A A on DRIVER0 the other 2 wires are automaticaly also a pair and get plugged into B B.

Repeat this for your Z motor on DRIVER1

![PinoutEZ](../../assets/images/manual/vz235_printed/electronics/Pinout_motors.png)

## 5160 motor setup

Next up we're going to be wiring up the motors to the 5160's.

First of we're going to be wiring the X motor into the 5160's that's plugged into DRIVER6. This should be your top 5160.

Again measure the continuity of the motors and put your first pair in B2 and B1 and put the other pair in A1 and A2.

Repeat this for the X1 in slot DRIVER5,Y in slot DRIVER4,Y1 in slot DRIVER3.

![51602](../../assets/images/manual/vz235_printed/electronics/51602.jpg)

![AWD setup](../../assets\images\manual\vz330_mellow\electronics\AWD_330.png)

## Powering the Pi
## Powering the Raspberry Pi

Next we're hooking up the power to the Pi.
Power for the Raspberry Pi is provided using the included JST to USB-A female adapter.

For this we're going to be using the included adapter in the box of the motherboard.
This adapter plugs in to the CAN port of the motorboard. The CAN port is to the left of the DRIVER7 slot.

This adapter get's plugged into the CAN port of the motorboard wich is to the left of the DRIVER7 slot. Next simply plugin the USB cable to the adapter and plug it in the USB C port of the Pi.
![Pi adapter](../../assets/images/manual/vz235_printed/electronics/CAN-to-USB-adapter.jpg)

To also be able to connect the Pi to the motherboard for Data we plugin a USB to USB-C cable into the Pi and then into the USB C plug of the motherboard located next to the SDCard slot. This way the Pi is powered and can send/receive data from the motherboard.
After installing the adapter, plug in the USB-A side of the included USB cable. Plug the other end (USB-C) in to the Raspberry Pi's USB-C port.

![Pi adapter](../../assets/images/manual/vz235_printed/electronics/DSC06320.JPG)
At last, there is a second USB-A to USB-C cable. This cable connects the motherboard to the Raspberry Pi for data communications. Plug the USB-C end in to the motherboard, and the USB-A end in to the Raspberry Pi.

## End result
## Finished product

Once everything is hooked up it might look something like this

Expand Down
61 changes: 61 additions & 0 deletions docs/vz330_mellow/electronics/parts-layout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Laying the parts out

Time has come to put the electronic and electrical components on the back panel of the printer. This will be where the majority of the electronics live and breathe for the foreseeable future. *Let's get started...*

## The layout

Shown below is the standard and recommended layout for the electronics on the back panel ("electronics bay"). This layout is verified to work, and all kit parts should fit.

All following descriptions reference the image below for left or right hand side indications.

1. Power supplies left and right
+ (A) The left hand side power supply is the 24V DC power supply (PSU)
+ (B) The right hand side power supply is the 48V DC power supply (PSU)
+ Knobs are placed on the PSU's for affixing the back cover.
2. Power inlet
+ Located on the left hand side
+ Inserted into one of the skirt pieces
3. DIN rail
+ (A) Mounted horizontally and centrally on the back panel
- Mounting location for PCB's and other electronics
+ (B) Two small sections sit either side of the skirts
- Mounting location for electrical wiring and junctions
4. Raspberry Pi
+ To the right of the 24V PSU
+ Mounted on the DIN rail
5. Motherboard
+ Central in the electronics bay
+ Mounted on the DIN rail
6. TMC5160HV external stepper driver modules
+ Mounted close to the 48V PSU
+ Next to the motherboard
+ Mounted on the DIN rail
+ Fan bracket sits on these to keep them cool
7. CPAP Fan
+ Mounted top-left
+ Provides the air supply for the printhead part cooling duct
8. CPAP Fan controller
+ Controls the power to the CPAP fan
9. Cable routing channels
+ Tidy up yar cabling ratsnest will ya!
+ Looks pretty schmick

**Deviating from this standard layout may run you into problems.** Choose wisely if you do deviate! Ask for help and share your ideas with other builders.

[![Electronics bay overview](../../assets/images/manual/vz330_mellow/electronics/overview_thumbnail.png)](../../assets/images/manual/vz330_mellow/electronics/overview.png)

## The motherboard

We recommend checking out the Motherboard setup guide first, as it contains steps that are easier to perform while the motherboard is still free to move around.

[Motherboard setup](/vz330_mellow/electronics/motherboard-setup/){.btn .btn-red}

Now we know how the board works a bit we can start setting it up on the machine. Mount the PSU's and Board on the back of the printer in the order you prefer or how it's layed out for the Kit.

## choosing a layout

Here is the layout For the Mellow Vz330 kit. It's important to check if everything fits where you want before attaching it.



![Back Layout](https://user-images.githubusercontent.com/37383368/201693099-e00af1d6-d792-483d-8a11-d176b7b2b062.png)
64 changes: 64 additions & 0 deletions docs/vz330_mellow/electronics/peripherals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# The peripherals

## Overview

This is a short overview and description of which peripherals are covered in this guide. May this serve as a glossary as to what some of these peripherals do.

Hot end fan: This fan keeps the hot end's heatsink and heatbreak cooled. This is essential. Your kit includes a 25mm*10mm fan for hot end cooling.

RSCS fans:

Enclosure exhaust fan(s): The exhaust fans pull or push air through a filter before exhausting them out of the printer's enclosure. This can help with buildup of fumes and/or heat in the enclosure.

Chamber circulation fan(s): The chamber circulation fans circulate air around the chamber (enclosure) to ensure the air is uniformly heated.

Chamber thermistor: Measures the ambient temperature of the enclosure's air volume
Bed thermistor: Measures the temperature of the printer's bed

Hot end heater: The heater that heats your hot end and filament.

LED lighting: Optional lighting for the interior of the enclosure.

Filament runout sensor: Optional and non-included sensor that detects or can detect issues with filament or having ran out of filament.

CPAP fan: A repurposed off-the-shelf compression fan utilized for remote part cooling operation. Having the fan remote from the printhead offloads this weight, reducing moving mass.
Officially short for Continuous Positive Airway Pressure, a form of medical treatment for sleep apnea.

> {: .highlight }
> &#8226; Make sure you set the correct voltage for your peripherals (fans, leds, etc)!
> Use the 5V, 12V and 24V jumpers.
## Fans

The hot end fan connects to fan port `FAN0`.

The RSCS fans connect to fan port `FAN1`.

The enclosure exhaust fan connects to fan port `FAN4`.

The chamber circulation fan connects to fan port `FAN9`.

## Sensors

The chamber thermistor plugs in to sensor port `ADC_2`. Use pins `PF9` and `-`.

The bed thermistor plugs in to sensor port `ADC_5`. Use pins `PC1` and `-`.

## Other

The hot end heater cartridge connects to heater port `HEAT0`. Polarity does not matter here.

LED lighting connects to the FAN8 port, repurposed as a general PWM-controlled output. Make sure you **set the correct voltage** as required by your LEDs.

A filament runout sensor can be plugged in to the IO6 port. This is the plug under the ST-LINK port. For simple switch-based filament sensors, use pins PA8 and -.
The Vz330 Mellow kit does not come with a filament sensor. Please see your specific filament sensor's documentation for instructions on how the sensor should be wired up.

## CPAP

For powering the CPAP we hookup the Plug on the controlboard's bottom right Directly to the 24V of your PSU. So Black goes to Negative 24V and Red goes to Positive 24V.

From the large plug on the bottom left we only need the Grey wire so the second from left. This wire gets plugged into port IN7, pin PF8 on the Motherboard.

![CPAP](../../assets/images/manual/vz235_printed/electronics/CPAP.png)
![Pinout](../../assets/images/manual/vz235_printed/electronics/CPAP_Hookup.png)

Loading

0 comments on commit 80ddc08

Please sign in to comment.