HIC i3 3DP-18 Firmware

Software and Firmware Discussion - related to source code, firmware updates, etc.
Post Reply
glickbot
Reactions:
Posts: 2
Joined: August 12th, 2016, 7:12 pm
3D Printer(s): HICTOP Prusa i3 - 3DP-18

HIC i3 3DP-18 Firmware

Post by glickbot »

Thanks to Chip Luck and other threads on this board (viewtopic.php?f=51&t=189), I have the RCBugFix branch (as of 8/7/16) compiled and working for my 3DP-18 (which is a little different than some of the other models from HICTOP, but maybe the same as the 3DP-16). Here are some resources that might help other folks with a 3DP-18 model.

My Configuration.h file differences:
https://github.com/glickbot/Marlin/comm ... 51c6fd7948

The branch that I'll be updating (until I start tinkering with the z probe)
https://github.com/glickbot/Marlin/tree ... 8/NoZProbe

Hex Code ( feels kinda like trading underwear... but hey ):
Glickbot-Marlin-1.1.0-RCBugFix-3DP-18-20160807.zip
(150 Bytes) Downloaded 684 times
Marlin Code (From HICTOP, really old, but what I used for some baseline config parameters):
Marlin_3DP16_3DP18_398.zip
(258.75 KiB) Downloaded 718 times
Also, my avrdude backup from my 3DP-18 before I tinkered with the firmare ( I've not tested reloading it ):
HIC i3 3DP-18 Factory AVRDUDE Backup.zip
(103.46 KiB) Downloaded 632 times
The commands I used to backup my firmware with AVRDUDE on an Octopi:

Code: Select all

avrdude -p atmega2560 -b 115200 -c wiring -P /dev/ttyUSB0 -U flash:r:factory_hictop_3DP18.hex:i
avrdude -p atmega2560 -b 115200 -c wiring -P /dev/ttyUSB0 -U eeprom:r:eeprom_hictop_3DP18.hex:i
Also, random note, the 3DP-18 uses a different power supply than other HICTOPs, mine went out a few days ago, so I hastily bought a 360-12 (12v) as mentioned on this board... but it didn't work with my 3DP-18, I needed a 360-24 (24v). HICTOP has said they'll be sending a new one ( since I just bought this recently ), so I'm very grateful about that. Anyway, I've been meaning to get this stuff up here since the resources on this board have been so helpful to me, so here's what I have, sorry they're a bit disorganized.
redrx0
Reactions:
Posts: 3
Joined: November 4th, 2016, 11:01 pm
3D Printer(s): Hictop 3dp-12

Re: HIC i3 3DP-18 Firmware

Post by redrx0 »

Glickbot,
I am interested in using your firmware on my HIC i3 3dp-12, I think that we have very similar setups. 24v, 4 start z lead screws. inductive z, auto tramming, ect. Looking through your code, I think you have some different endstop offsets, due to differences in frame, anyway could you pm me, if your not to busy and willing to help. Here is a link to my Hic i3,

http://www.ebay.com/itm/151817197431?
Last edited by redrx0 on November 5th, 2016, 6:56 pm, edited 1 time in total.
User avatar
LePaul
Reactions:
Posts: 3963
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: HIC i3 3DP-18 Firmware

Post by LePaul »

Might want to review your link
User avatar
rokhdrone1uk
Reactions:
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: HIC i3 3DP-18 Firmware

Post by rokhdrone1uk »

Question, so I have just updated my firmware on my 3DP12 but for some reason my LCD Screen now isnt working and im getting a heater_ID: Bed error.

Any help would be great thanks.

Stu
User avatar
rokhdrone1uk
Reactions:
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: HIC i3 3DP-18 Firmware

Post by rokhdrone1uk »

Can some one help with my error messages on my Marlin Config.h

Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\ConfigurationStore.cpp:3:0:

sketch\temperature.h:165:42: warning: extra tokens at end of #ifdef directive

#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0

^

In file included from sketch\Marlin_main.cpp:42:0:

sketch\temperature.h:165:42: warning: extra tokens at end of #ifdef directive

#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0

^

sketch\Marlin_main.cpp:1646:8: warning: extra tokens at end of #endif directive

#endif SCARA

^

sketch\Marlin_main.cpp:2659:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

^

In file included from sketch\SdFile.h:27:0,

from sketch\cardreader.h:8,

from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

struct fpos_t {

^

In file included from sketch\Marlin.h:10:0,

from sketch\Marlin_main.cpp:30:

c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

__extension__ typedef long long fpos_t;

^

exit status 1
using typedef-name 'fpos_t' after 'struct'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Any help would be great, also my lCD screen has stopped working and im getting a Heater_Id:Bed error

Thanks

Stu
redrx0
Reactions:
Posts: 3
Joined: November 4th, 2016, 11:01 pm
3D Printer(s): Hictop 3dp-12

Re: HIC i3 3DP-18 Firmware

Post by redrx0 »

I think you need to change,
#define TEMP_SENSOR_BED 0
To
#define TEMP_SENSOR_BED 3
If you have a factory bed & sensor, I think.
User avatar
rokhdrone1uk
Reactions:
Posts: 21
Joined: November 6th, 2016, 8:34 am
Location: Royal Wootton Bassett
3D Printer(s): Hictop i3 3DP12
Contact:

Re: HIC i3 3DP-18 Firmware

Post by rokhdrone1uk »

redrx0 wrote:I think you need to change,
#define TEMP_SENSOR_BED 0
To
#define TEMP_SENSOR_BED 3
If you have a factory bed & sensor, I think.
Thanks i will give that a go, any idea on how i fix the blank LCD screen, was working before the update.
redrx0
Reactions:
Posts: 3
Joined: November 4th, 2016, 11:01 pm
3D Printer(s): Hictop 3dp-12

Re: HIC i3 3DP-18 Firmware

Post by redrx0 »

I found this on the site I for your LCD,

Hookup
There are two identical connectors on the display board, which take ribbon cables to connect to RAMPS. If you switch them you'll just get beeping to let you know it's wrong.
The connector nearest the wider end of the L-shaped "smart adaptor" is #2; the other is #1. Looking at the bottom face of the display card, with the ribbon cables going away from you (so the encoder, buzzer, and reset switch are to your right), the left socket is #1, and the right socket is #2.
Marlin V1 (new)
In "Configuration.h”
Change line 46 to #define MOTHERBOARD 33
Change line 306 to #define REPRAP_DISCOUNT_SMART_CONTROLLER (just remove the // at the beginning)
Change line 326 to #define NEWPANEL //enable this if you have a click-encoder panel (just remove the // at the beginning)
Switch over to "Pins.h" and change line 318 to #define RAMPS_V_1_3 (just remove the // at the beginning)
Upload the firmware, power off the Arduino, connect the panel, reapply power, and everything should work.
Marlin V1 RC2 (old)
Settings for RAMPS1.4 in "Configuration.h" search for "ULTIPANEL" and activate the define (remove the leading "//")
#define ULTIPANEL
and
#define NEWPANEL //enable this if you have a click-encoder panel
Also change the value on define MOTHERBOARD to 33
in "pins.h" go to section for RAMPS configuration (search for MOTHERBOARD == 33)
//STOP / KILL button
#define KILL_PIN 41 //[RAMPS14-SMART-ADAPTER]

//lcd pins
#define LCD_PINS_RS 16 //[RAMPS14-SMART-ADAPTER]
#define LCD_PINS_ENABLE 17 //[RAMPS14-SMART-ADAPTER]
#define LCD_PINS_D4 23 //[RAMPS14-SMART-ADAPTER]
#define LCD_PINS_D5 25 //[RAMPS14-SMART-ADAPTER]
#define LCD_PINS_D6 27 //[RAMPS14-SMART-ADAPTER]
#define LCD_PINS_D7 29 //[RAMPS14-SMART-ADAPTER]

//encoder pins
#define BTN_EN1 31 //[RAMPS14-SMART-ADAPTER]
#define BTN_EN2 33 //[RAMPS14-SMART-ADAPTER]
#define BTN_ENC 35 //[RAMPS14-SMART-ADAPTER]

//beeper
#define BEEPER 37 //[RAMPS14-SMART-ADAPTER] / 37 = enabled; -1 = dissabled / (if you don't like the beep sound ;-)

//SD card detect pin
#define SDCARDDETECT 49 //[RAMPS14-SMART-ADAPTER]
mr_nobody
Reactions:
Posts: 2
Joined: November 18th, 2016, 9:06 am
3D Printer(s): HICTOP 3DP18

Re: HIC i3 3DP-18 Firmware

Post by mr_nobody »

I will be building my 3DP18 tomorrow and would just like to say thanks to Chip and glickbot for getting a Marlin firmware we can use on these. I had a look at what HICTOP sent and yeah it is a huge mess so I know what a task that must have been.
ckoerner
Reactions:
Posts: 3
Joined: February 12th, 2017, 1:49 pm
3D Printer(s): Hictop Prusa i3

Re: HIC i3 3DP-18 Firmware

Post by ckoerner »

I too am thankful for Chip and glickbot. I just got this working on my 3DP-16 and it's great!
Post Reply

Return to “Software and Firmware Discussion”