AZSMZ mini + LCD March 20, 2015 08:56AM |
Registered: 10 years ago Posts: 34 |
Re: AZSMZ mini + LCD March 20, 2015 09:21PM |
Admin Registered: 13 years ago Posts: 7,147 |
Re: AZSMZ mini + LCD March 21, 2015 08:22AM |
Registered: 10 years ago Posts: 903 |
Re: AZSMZ mini + LCD March 28, 2015 07:14PM |
Registered: 9 years ago Posts: 12 |
Re: AZSMZ mini + LCD April 02, 2015 02:58PM |
Registered: 10 years ago Posts: 5 |
Re: AZSMZ mini + LCD April 02, 2015 10:28PM |
Registered: 10 years ago Posts: 55 |
Re: AZSMZ mini + LCD April 03, 2015 08:48AM |
Registered: 10 years ago Posts: 903 |
Re: AZSMZ mini + LCD April 03, 2015 09:36AM |
Registered: 10 years ago Posts: 55 |
Re: AZSMZ mini + LCD May 06, 2015 06:15AM |
Registered: 9 years ago Posts: 44 |
Quote
wbrokow1
I purchased the AZSMZ LCD board and found out it is NOT the same pinouts as the reprap discount smart controller (small or large)
The connectors are both 10 pin but the pinout pattern is not the same.
I am going through the painful process of matching the pins from the AZSMZ lcd to the reprap's pins. So far I have the backlight working.
The documentation from the aliexpress reseller is very sketchy and I have to figure out the SPI pins that match...
Has anyone done this before?
# Panel panel.enable true # set to true to enable the panel code panel.lcd reprap_discount_glcd # set type of panel #panel.lcd st7565_glcd #panel.lcd viki2 panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK) panel.spi_cs_pin 1.22 # spi chip select ; GLCD EXP1 Pin 4 panel.a0_pin 2.6 panel.encoder_a_pin 1.31!^ # encoder pin ; GLCD EXP2 Pin 3 panel.encoder_b_pin MISO1!^ # encoder pin ; GLCD EXP2 Pin 5 panel.click_button_pin 3.26!^ # click button ; GLCD EXP1 Pin 2 panel.buzz_pin 1.30 # pin for buzzer ; GLCD EXP1 Pin 1 #panel.pause_button_pin 1.23!^ # kill/pause ; GLCD EXP2 Pin 8 either panel.reverse 1 # tried both 0, 1 and true for setting panel.external_sd false # set to true if there is an extrernal sdcard on the panel panel.external_sd.spi_channel 0 # set spi channel the sdcard is on panel.external_sd.spi_cs_pin 0.16 # set spi chip select for the sdcard panel.external_sd.sdcd_pin 3.25!^ # sd detect signal (set to nc if no sdcard detect) #panel.button_pause_pin 2.10!^ # kill/pause ; GLCD EXP2 Pin 8 either panel.button_pause_pin 1.23!^ # kill/pause ; GLCD EXP2 Pin 8 either #panel.back_button_pin 1.23!^ # back button ; GLCD EXP2 Pin 8 or panel.contrast 19 # pins used with other panels #panel.up_button_pin 0.1! # up button if used #panel.down_button_pin 0.0! # down button if used #panel.click_button_pin 1.22! # click button if used panel.menu_offset 0 # some panels will need 1 here panel.encoder_resolution 4 panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min panel.gamma_jog_feedrate 6000 # z jogging feedrate in mm/min panel.hotend_temperature 185 # temp to set hotend when preheat is selected panel.bed_temperature 60 # temp to set bed when preheat is selected
Re: AZSMZ mini + LCD May 19, 2015 10:22AM |
Registered: 10 years ago Posts: 55 |
Re: AZSMZ mini + LCD May 22, 2015 07:30AM |
Registered: 9 years ago Posts: 64 |
Re: AZSMZ mini + LCD May 27, 2015 01:10AM |
Registered: 10 years ago Posts: 28 |
Quote
KDan
If anyone has already done this, I'd be grateful for some guidance.
Re: AZSMZ mini + LCD August 12, 2015 02:06PM |
Registered: 9 years ago Posts: 44 |
# Panel See [smoothieware.org] panel.enable true # set to true to enable the panel code # Example for reprap discount GLCD # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc. # +5v is EXP1 pin 10, Gnd is EXP1 pin 9 panel.lcd reprap_discount_glcd # panel.spi_channel 0 # OK spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK) panel.spi_cs_pin SSEL1 # OK spi chip select ; GLCD EXP1 Pin 4 panel.encoder_a_pin 1.27!^ # OK encoder pin ; GLCD EXP2 Pin 3 panel.encoder_b_pin 1.25!^ # OK encoder pin ; GLCD EXP2 Pin 5 panel.click_button_pin 3.26!^ # OK click button ; GLCD EXP1 Pin 2 panel.buzz_pin 1.30 # OK pin for buzzer ; GLCD EXP1 Pin 1 #panel.button_pause_pin 1.23!^ # kill/pause ; GLCD EXP2 Pin 8 either #panel.back_button_pin 1.23!^ # back button ; GLCD EXP2 Pin 8 or kill_button_enable true # OK set to true to enable a kill button kill_button_pin 1.23^ # OK kill button pin. default is same as pause button 2.12 (Add ^ for external buttons) panel.contrast 18 # OK override contrast setting (default is 18) panel.encoder_resolution 2 # OK override number of clicks to move 1 item (default is 2) panel.menu_offset 1 # OK here controls how sensitive the menu is. some panels will need 1 panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min panel.gamma_jog_feedrate 3000 # z jogging feedrate in mm/min panel.hotend_temperature 242 # temp to set hotend when preheat is selected panel.bed_temperature 100 # temp to set bed when preheat is selected # setup for external sd card on the RRD GLCD which shares the onboard sdcard SPI port panel.external_sd false # set to true if there is an extrernal sdcard on the panel panel.external_sd.spi_channel 1 # set spi channel the sdcard is on panel.external_sd.spi_cs_pin 0.28 # set spi chip select for the sdcard (or any spare pin) panel.external_sd.sdcd_pin 0.27!^ # sd detect signal (set to nc if no sdcard detect) (or any spare pin)
Re: AZSMZ mini + LCD August 30, 2015 10:48PM |
Registered: 9 years ago Posts: 2 |
Re: AZSMZ mini + LCD November 25, 2015 08:04PM |
Registered: 9 years ago Posts: 5 |
Re: AZSMZ mini + LCD January 22, 2016 10:28AM |
Registered: 10 years ago Posts: 55 |
Re: AZSMZ mini + LCD February 05, 2016 02:04PM |
Registered: 9 years ago Posts: 29 |
Re: AZSMZ mini + LCD February 07, 2016 09:09PM |
Registered: 10 years ago Posts: 55 |
Re: AZSMZ mini + LCD February 08, 2016 05:29AM |
Registered: 9 years ago Posts: 29 |
Re: AZSMZ mini + LCD February 08, 2016 06:01AM |
Registered: 9 years ago Posts: 29 |
Re: AZSMZ mini + LCD February 16, 2016 09:24AM |
Registered: 10 years ago Posts: 3,385 |
M42 P0.26 S255; <- D09 goes on M42 P0.26 S0; <- D09 goes off
Re: AZSMZ mini + LCD February 16, 2016 12:19PM |
Registered: 10 years ago Posts: 3,385 |
Re: AZSMZ mini + LCD February 16, 2016 12:46PM |
Registered: 9 years ago Posts: 29 |
Quote
Skimmy
So, one more info, to maybe help with this issue:
[attachment 72682 IMG_0902.jpg]
These 3 Pins, with a small mosFET right beside them. I think, this mosFET should be able to trigger the fan-pin... Maybe I have a wrong pin-declaration?
Re: AZSMZ mini + LCD February 16, 2016 12:49PM |
Registered: 10 years ago Posts: 3,385 |
Quote
paboman
Quote
Skimmy
So, one more info, to maybe help with this issue:
[attachment 72682 IMG_0902.jpg]
These 3 Pins, with a small mosFET right beside them. I think, this mosFET should be able to trigger the fan-pin... Maybe I have a wrong pin-declaration?
It should work because I encountered this issue in one board only. The strange thing is that you are controlling D09 instead. Double check your config
Ciao
Re: AZSMZ mini + LCD February 16, 2016 01:13PM |
Registered: 10 years ago Posts: 3,385 |
#Switch module for fan control #------------------------------------ switch.fan.enable true # switch.fan.input_on_command M106 # switch.fan.input_off_command M107 # switch.fan.output_pin 0.26 # pin on board ver 2.1 switch.fan.output_type digital # pwm output settable with S parameter in the input_on_comand switch.fan.max_pwm 255 # set max pwm for the pin default is 255
Re: AZSMZ mini + LCD February 16, 2016 01:41PM |
Registered: 9 years ago Posts: 29 |
Re: AZSMZ mini + LCD February 16, 2016 01:47PM |
Registered: 10 years ago Posts: 3,385 |
Re: AZSMZ mini + LCD February 16, 2016 01:51PM |
Registered: 10 years ago Posts: 3,385 |
Re: AZSMZ mini + LCD June 20, 2016 10:08AM |
Registered: 9 years ago Posts: 29 |
Re: AZSMZ mini + LCD August 13, 2016 06:54AM |
Registered: 10 years ago Posts: 55 |
Quote
cxandy
1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
D10 For heat1
D9 For heat2
D8 For bed
Fan1 1 Fan - 2 Fan + this fan will always working.
Fan2 3 Fan - 2 Fan + this fan can be controlled to on off and speed.
2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
D10 For heat1
D8 For bed
Fan1 D9 this fan can be controlled to on off and speed.
Fan2 3 Fan - 2 Fan + this fan can be controlled to on off and speed.
3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
D10 For heat1
D9 For heat2
Fan1 D8 this fan can be controlled to on off and speed.
Fan2 3 Fan - 2 Fan + this fan can be controlled to on off and speed.
[attachment 72069 fan.jpg]