Sunday, March 6, 2022

ELS Control Panel Assembly and Wiring to the Launchpad


The wiring diagram is in the project WIKI



But for replacing the 5 pin header on the display board with an angled connector on the bottom side this part of the build was easy.  Drilled a 5/8 hole for the aircraft style connector GX16-8.   Viewed from the wire end the wires go ccw around the GX16-8. in the same order as the DuPont header starting with 5V. The heat shrink make me feel better about potential short.  Maybe I should have tangled the wires a bit to prevent cross talk.  They are short so maybe OK.

The order is

5V        RED
GND    BLACK
STB     BLUE
CLK    GREEN
DIO     YELLOW




This cable exits the bud box via the round connector.  The matting end of this connector is one end of the cable that ends up at the launchpad.    For now I am going to make that a single cable using cat5.    When the launchpad is mounted in a case I will break the cable with a 2nd 

The cat5 has 4 twisted pair.   
5V            BROWN                   
GND        BROWN/STRIPE     
STB         BLUE        
EARTH   BLUE/STRIPE
CLK        GREEN
EARTH   GREEN/STRIPE
DIO         ORANGE
EARTH   ORANGE/STRIPE

The 3 EARTHs are unconnected at the display end and tied to the chassis ground on the controller side.



The cat5 end of the cable prior to heat shrinking and all buttoned up. 

Two layers of heat shrink wrap were used over the wire bundle to get enough bulk for the strain relief clamp to grip.

The short Dupont to GX16-8 male is ready to go into the bud box.  The GX16-8 female needs to have a DuPont connect on the other end.  After a continuity test the display can be connected to the LaunchPad and tested.








I think there are 3 additional cables.
  1. Launchpad to Motor Controller
  2. Motor Controller to Motor
  3. Launchpad to encoder.
The first is run entirely inside the electronics case.  There are screw terminals on the motor controller.  It connects to screw terminals on Jame's board.  It will get ferrules on both ends.  

The second has been supplied with the motor kit.

The encoder has a long pigtail   It connects to the launchpad with Dupont connectors.   Current plans are to used a 2nd GX16-8.   Maybe color code them and block of a different pin on each so they can not be interchanged.




Wednesday, March 2, 2022

SKR2 control board for 3D printer

Running Klipper on a Raspberry Pi 3 using a pre built 'ffluid' image.  

Klipper on the Pi talks to the corresponding klipper code on the controller at the port found by
ls /dev/serial/by-id/* 
which returned
root@fluiddpi:/home/howard# make flash FLASH_DEVICE=/dev/serial/by-id/usb-Klipper_stm32f429xx_2B004F001550305031353020-if00

The interface is at  http://fluiddpi.local so there is not need to log into the pi directly.

Jerry the cat has been been a pain.

Hung wet towels to increase the humidity and reduce static.  Pet the cat to see if its working sort of thing and it is.

Now have the Klipper on Pi talking to its firmware on the SKR2.  Complaining that the thermistors are not hooked up.   The Ramps 4.1 used Dupont connectors.  The SKR2 uses JST-XHP, I was thinking I had some but can't see them or see evidence that I ordered them on amazon.  Could have ordered them elsewhere.  Kit is inexpensive enough and will be here in 2 days.

Installed the drivers.


Removed all the wires from the Ramps 4.1 and unbundled them.   Hooked up the power supply and moved the jumper to switch from USB power to the connector aka supply.

This is where I ran into the connector problem.

Ordered new connectors only to find out I needed yet another crimper.  Today is the 6th and it should show in a day or two.   Have been working on ELS writing.

Although it will be nice to have the printer working dependably at this point it is a means to an end which is the ELS.

Crimper arrived.  To test my work I checked the resistance of the thermistors.

Bed 92K
Hot End 95K
First thing under control is the heat bed.  Not quite first chips but we are getting closer.



The following are hooked up.  DC power, thermistors, and end stops.   Getting the hang of the JST-XHP crimping.  Have wasted enough pins getting there.

Cats don't understand why I can't pet them as usual.  That is on demand.  Don't want to fry stuff.
















Made a dumb ass newbie mistake and updated klipper.  It broke but have recovered.

Connected bed heater and verified endstops.  Has to change endstop pin definitions in printer.cfg

endstop_pin: !PC3 #^PC3

That was easy. They test OK now.



Started having trouble connecting to the SKR2.   Noticed the LED was dim.  Multimeter said the PSU was outputting 12V but when I swapped it for the bench supply it worked fine.  For a minute there it looked like the SRK2 was failing.  Intermittent problems with the PSU would explain a lot.

The supply does not have enough amps to run the printer but it has enough for testing.




This allows the extruder cooling fan to shut down at 50C

[heater_fan my_nozzle_fan]
pin: PB6
max_power: 1.0
heater: extruder
heater_temp: 50.0
fan_speed: 1.0



OK next day or so.

X and Y are working will wait to calibrate after I am printing.
Z and the extruder are not.
Klipper uses the distance traveled per turn instead of esteps.  
Z has a 5mm .8 screw.  
Setting the rotation_distance: to .8 causes the motor to buz and the CPU to crash.

March 14

It is now printing.   Printed a case that will work.  Plan to mount it and the PSU in original locations but with stand off's to allow better cooling.

Plan on building the QuickDraw bed probe. It has a docking arrangement that docks the probe to the side when not in use.