There is a problem with the connection of the board

Hello. I am experiencing a problem with connecting the HY_BASE_L V1.0 board. In the interface, when connecting the board, I get an error
[ MCU ‘mcu’ shutdown: ADC out of range
This generally occurs when a heater temperature exceeds
is configured min_temp max_temp.
Once the underlying issue is corrected, use the
“FIRMWARE_RESTART” command to reset the firmware, reload the
config, and restart the host software.
Printer is shut down ]
Does anyone know how this can be solved? Thanks

The error is pretty descriptive. You have a problem with one of your thermistors. It’s either not connected, or misconfigured.

Thanks for the quick response. And can you tell me how to match pins on the board with pins in the klipper

It will be up to to you find the proper pins for that board. I’ve never heard of it and don’t know where to find a schematic.

How can I figure out which pin is where?

thermistors seem to be TH1, TH2 and TB (A13, A14, A15)

Thanks for the explanation matt3o. But this scheme is not quite correct for my board, it is placed only for the image. The board I have doesn’t have documentation and images, so I’m asking for help here. It is important for me to understand how to determine the mapping of pins on the board and in the clipper. Thanks.

it looks like a standard ramps board. Pin mapping should be like this Marlin-Firmware-for-Alunar-M508/pins_RAMPS.h at 1.1.x · meihong/Marlin-Firmware-for-Alunar-M508 · GitHub

so the thermistors should be:

#define TEMP_0_PIN         13   // Analog Input
#define TEMP_1_PIN         15   // Analog Input
#define TEMP_BED_PIN       14   // Analog Input

Looking at the atmega2560 pin diagram here https://docs.arduino.cc/hacking/hardware/PinMapping2560 they should be PK5 PK7 PK6 (in that order).

BUT I can’t be 100% sure, you have to doublecheck for yourself!!! At least this is something to get you started.

1 Like

Thank you for the complete and exhaustive answer, I hope it will help me.

check klipper configs for a ramps board, that might work out of the box

1 Like

Matt3o, I figured out the problem. The heater failed. But nevertheless, the information you provided is very useful to me, I want to do automation on the raspberry board, so I am interested in marking the outputs in the clipper and on the board. Thanks again for the information provided.

Hi H1ZENBERG, did you manage to control the printer with the HY_BASE_L_V1.0 motherboard? if so, would you mind sharing the configuration file?

I got it working for the HY_BASE_L V1.0 board.
only the display is not working.

# This file contains common pin mappings for Alunar Infitary M508.
# mainboard HY_BASE_L V1.0. 
# atmega2560

# See docs/Config_Reference.md for a description of parameters.

[include mainsail.cfg]

[stepper_x]
step_pin: PF0
dir_pin: !PF1
enable_pin: !PD7
microsteps: 16
rotation_distance: 40
endstop_pin: !PE5
#endstop_pin: ^PE4
position_endstop: 0
position_max: 200
homing_positive_dir: false
homing_speed: 50

[stepper_y]
step_pin: PF6
dir_pin: !PF7
enable_pin: !PF2
microsteps: 16
rotation_distance: 40
endstop_pin: !PJ1
#endstop_pin: ^PJ0
position_endstop: 0
position_max: 200
homing_speed: 50

[stepper_z]
step_pin: PL3
dir_pin: PL1
enable_pin: !PK0
microsteps: 16
rotation_distance: 8
endstop_pin: !PD3
#endstop_pin: ^PD2
position_endstop: 0.7
position_max: 200
position_min: -2

[extruder]
step_pin: PA4
dir_pin: !PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 232

#[extruder1]
#step_pin: PC1
#dir_pin: PC3
#enable_pin: !PC7
#heater_pin: PH6
#sensor_pin: PK7
#...

[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
control: watermark
min_temp: 0
max_temp: 130

[fan]
pin: PH6

[mcu]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_75630313636351211242-if00

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

# Common EXP1 / EXP2 (display) pins
[board_pins]
aliases:
    # Common EXP1 header found on many "all-in-one" ramps clones
    EXP1_1=PC0, EXP1_3=PH0, EXP1_5=PA1, EXP1_7=PA5, EXP1_9=<GND>,
    EXP1_2=PC2, EXP1_4=PH1, EXP1_6=PA3, EXP1_8=PA7, EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=PB3, EXP2_3=PC6, EXP2_5=PC4, EXP2_7=PL0, EXP2_9=<GND>,
    EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PG0, EXP2_10=<RST>
    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
    # Note, some boards wire: EXP2_8=<RST>, EXP2_10=PG0

# See the sample-lcd.cfg file for definitions of common LCD displays.

My display is working. This board works on a clipper with a raspberry pi zero wifi board

could you share your config file?

Sorry for the long wait. Put it in your configuration file

[output_pin beeper]
pin: EXP1_1

[board_pins]
aliases:
# Common EXP1 header found on many “all-in-one” ramps clones
EXP1_1=PC0, EXP1_3=PH0, EXP1_5=PA1, EXP1_7=PA5, EXP1_9=,
EXP1_2=PC2, EXP1_4=PH1, EXP1_6=PA3, EXP1_8=PA7, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB3, EXP2_3=PC6, EXP2_5=PC4, EXP2_7=PL0, EXP2_9=,
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PG0, EXP2_10=
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus “spi”
# Note, some boards wire: EXP2_8=, EXP2_10=PG0

See the sample-lcd.cfg file for definitions of common LCD displays.

printer.cfg (3.8 KB)
kiauh_macros.cfg (1.9 KB)