Automatic shutdown mods

Share your hardware improvements for your HIC i3, the good and the bad!
ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Automatic shutdown mods

Post by ieatacid » September 27th, 2017, 10:59 am

Have any of you had success getting an automatic shutdown mod working? I mean with either adding an M81 to your end print script or adding a relay like this one I purchased that gets triggered using another pin on the board.

I want to do this to my 3DP-03 but it lacks a PS_ON pin. I was wondering if anyone knows if this can be done using one of the pins illustrated below in conjunction with M42. I'm pretty sure the D pins are outputs, but I think I read somewhere that the A pins are inputs.

This isn't my board but the pins I'm referring to are the same. I have a BLTouch on D11.
IMG_20170927_101111.jpg
Any help/input is appreciated.

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » September 30th, 2017, 10:22 am

I enabled PINS_DEBUGGING in the firmware and changed POWER_SUPPLY to 1 and M43 (Debug Pins) says that pin 12 (D12 in picture) is PS_ON, so it looks like it can be done!

The top pin should be signal, below it 5v, bottom GND. Like so:

Code: Select all

Digital output    Analog input
     / \         / \
    /   \       /   \
   |     |     |     |
┌─────┬─────┬─────┬─────┐
│ D12 │ D11 │ A12 │ A11 │
├─────┼─────┼─────┼─────┤
│ GND │ GND │ GND │ GND │
├─────┼─────┼─────┼─────┤
│ 5V  │ 5V  │ 5V  │ 5V  │
└─────┴─────┴─────┴─────┘
When I get home I'll hook up my scope to verify that M80/M81 cause D12 to send a HIGH or LOW signal, then I can start wiring it up! 8-)

Does anyone else with a different model number Hictop have the same set of pins on their board?
Last edited by ieatacid on October 1st, 2017, 11:51 am, edited 1 time in total.

User avatar
Roberts_Clif
Reactions:
Posts: 405
Joined: March 25th, 2017, 8:17 am
Location: Washington
3D Printer(s): Hictop 3DP11/12

Re: Automatic shutdown mods

Post by Roberts_Clif » September 30th, 2017, 10:26 am

I tried to use those pins on my MKS.3 Board and could not get them to work.
Could you show me how you setup for pins.

Please
Electronics Technician / Computer Programmer

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 1st, 2017, 12:02 pm

Right now I just have my BLTouch hooked up to D11 and the -Z endstop, like this

Image

My hope is that I can use D12 for triggering a relay.

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 1st, 2017, 12:17 pm

It works! If I send M81 D12 reads 5v, if I send M80 it reads 0v.

GrueMaster
Reactions:
Posts: 315
Joined: March 15th, 2017, 8:46 pm
Location: Oregon
3D Printer(s): Hictop 3DP-17, Hictop CR-10S

Re: Automatic shutdown mods

Post by GrueMaster » October 1st, 2017, 6:21 pm

My understanding when reading up on this is that is for controlling an ATX power supply. If you are looking to control the standard Hictop power, you will need a relay on AC, and a separate power source for the control board via USB (Octopi would do).

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 1st, 2017, 9:03 pm

GrueMaster wrote:
October 1st, 2017, 6:21 pm
My understanding when reading up on this is that is for controlling an ATX power supply. If you are looking to control the standard Hictop power, you will need a relay on AC, and a separate power source for the control board via USB (Octopi would do).
Correct. That is the plan. I have the relay and know how to wire it and I'm running OctoPrint, I was only wondering if anyone knew anything about these extra pins but I figured it out. You still have to change the power supply type to '1' (ATX) in the firmware to get M80/M81 to work.

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 2nd, 2017, 9:37 am

I even emailed Hictop last week to inquire about getting this board to work with a relay using the PS_ON pin. Here's their response, haha
3DP-03, the mainboard can not support that parameter.
Even the Marlin firmware can edit, but can not used well in 3DP-03.
Sorry for that.
I'm going to take a video of it working and send it to them lol

User avatar
Roberts_Clif
Reactions:
Posts: 405
Joined: March 25th, 2017, 8:17 am
Location: Washington
3D Printer(s): Hictop 3DP11/12

Re: Automatic shutdown mods

Post by Roberts_Clif » October 2nd, 2017, 10:16 am

Solid State AC Relays Using Triacs instead of a mechanical relay would be my first choice.
Photo-Triac.jpg
Photo-Triac.jpg (11.18 KiB) Viewed 1637 times
A photo-traic gives you optical Isolation from the 120vac source uses low current and will last almost forever.


G3MB-202P Solid State Relay Module Input 5V DC Output 240V AC 2A SSR USA
Solid State Relay Heat Sink SSR-25DA 25A "$5.00 on E-Bay"
Image2.jpg
Electronics Technician / Computer Programmer

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 2nd, 2017, 11:48 am

That's the one I got (different brand from Amazon, same design), linked in the first post 8-)
Last edited by ieatacid on October 2nd, 2017, 11:51 am, edited 1 time in total.

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 2nd, 2017, 11:50 am

This is the wiring scheme I'm going to use http://3dmodularsystems.com/en/upgrades ... nters.html

User avatar
Roberts_Clif
Reactions:
Posts: 405
Joined: March 25th, 2017, 8:17 am
Location: Washington
3D Printer(s): Hictop 3DP11/12

Re: Automatic shutdown mods

Post by Roberts_Clif » October 2nd, 2017, 1:14 pm

Was curious as to exactly how you was going setup the Start sequence for the Printer.
This is ingenious a monetary switch to make contract long enough to boot the Controller and power the relay.
Then to power off drop the signal to the Relay thereby powering off the relay to stop.

Have you taken into consideration how long you will have to hold the Button? before you can release it to keep the printer running.
Electronics Technician / Computer Programmer

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 2nd, 2017, 1:55 pm

It should only take a second or two. The Arduino control board boots fairly quickly.

User avatar
Roberts_Clif
Reactions:
Posts: 405
Joined: March 25th, 2017, 8:17 am
Location: Washington
3D Printer(s): Hictop 3DP11/12

Re: Automatic shutdown mods

Post by Roberts_Clif » October 2nd, 2017, 3:30 pm

It was not important.
Someone else may jump on this ideal and the information will help them to know there might be a slight delay before they can release the Power on switch. And It may power on high the second the button is pressed correct?
Last edited by Roberts_Clif on October 9th, 2017, 9:12 pm, edited 1 time in total.
Electronics Technician / Computer Programmer

ieatacid
Reactions:
Posts: 45
Joined: August 12th, 2017, 1:48 pm
Location: Scranton, PA
3D Printer(s): Hictop 3DP-03

Re: Automatic shutdown mods

Post by ieatacid » October 2nd, 2017, 4:47 pm

Right. Maybe adding a capacitor at the switch will make it so you don't have to hold the button down. I'll have to experiment.

Post Reply

Return to “Hardware Modifications”

Who is online

Users browsing this forum: No registered users and 1 guest