LCD 2004 do Anet A8
- jagus
- Postów w temacie: 5
- Posty: 318
- Rejestracja: 03 kwie 2017, 09:56
- Lokalizacja: Jaworze koło BB
- Drukarka: Anet-A8 and HCevo
- x 90
LCD 2004 do Anet A8
Witam
Chciałem zmienić wyświetlacz anetkowy na ten z pokrętłem https://allegro.pl/kontroler-lcd-2004-r ... 95013.html bo wciskanie tych guziolów już mnie denerwuje i mam problem bo nie wiem co ustawić w marlinie by wszystko działało płyta to org. anetkowa firmware to marlin 1.1.8 z czujnikiem hallon ale to akurat chyba mało ważne czy jest czujnik nie znam się za bardzo na tym i proszę o pomoc.
Firmware pobrany stąd : https://drive.google.com/file/d/1CauyKl ... q_w0c/view
Aktualnie wiem że trzeba pewnie wyłączyć ten co jest wybrany standardowo i włączyć ten ale co wybrać ? Mało o tym na necie jeśli chodzi o anetke albo źle szukam no chyba że się nie da ?
Chciałem zmienić wyświetlacz anetkowy na ten z pokrętłem https://allegro.pl/kontroler-lcd-2004-r ... 95013.html bo wciskanie tych guziolów już mnie denerwuje i mam problem bo nie wiem co ustawić w marlinie by wszystko działało płyta to org. anetkowa firmware to marlin 1.1.8 z czujnikiem hallon ale to akurat chyba mało ważne czy jest czujnik nie znam się za bardzo na tym i proszę o pomoc.
Firmware pobrany stąd : https://drive.google.com/file/d/1CauyKl ... q_w0c/view
Aktualnie wiem że trzeba pewnie wyłączyć ten co jest wybrany standardowo i włączyć ten ale co wybrać ? Mało o tym na necie jeśli chodzi o anetke albo źle szukam no chyba że się nie da ?
Moje maszynki:
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
- FlameRunner
- Zasłużony
- Postów w temacie: 1
- Posty: 6568
- Rejestracja: 15 kwie 2016, 21:26
- x 2056
Re: LCD 2004 do Anet A8
To na 99% jest: REPRAP_DISCOUNT_SMART_CONTROLLER
Ale czy to będzie ot tak działać z tą płytą, to nie wiem...
Ale czy to będzie ot tak działać z tą płytą, to nie wiem...
- jagus
- Postów w temacie: 5
- Posty: 318
- Rejestracja: 03 kwie 2017, 09:56
- Lokalizacja: Jaworze koło BB
- Drukarka: Anet-A8 and HCevo
- x 90
Re: LCD 2004 do Anet A8
Tak zmieniałem właśnie na ten.
odznaczyłem "//" przy nim:
a przy wcześniejszym dopisałem "//" :
Ale po kompilacji pluje się jeszcze o tą linijkę w składni co zaznaczyłem na pomarańczowo :
// Chodzi o przedostatnią.
// FR
odznaczyłem "//" przy nim:
Kod: Zaznacz cały
//
// RepRapDiscount Smart Controller.
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
//
// Note: Usually sold with a white PCB.
//
#define REPRAP_DISCOUNT_SMART_CONTROLLER
Kod: Zaznacz cały
//
// ANET and Tronxy Controller supported displays.
//
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// This LCD is known to be susceptible to electrical interference
// which scrambles the display. Pressing any button clears it up.
// This is a LCD2004 display with 5 analog buttons.
// Chodzi o przedostatnią.
// FR
Kod: Zaznacz cały
// 2 wire Non-latching LCD SR from:
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
#elif ENABLED(SR_LCD_2W_NL)
extern "C" void __cxa_pure_virtual() { while (1); }
#include <LCD.h>
#include <LiquidCrystal_SR.h>
#define LCD_CLASS LiquidCrystal_SR
#if PIN_EXISTS(SR_STROBE)
LCD_CLASS lcd(SR_DATA_PIN, SR_CLK_PIN, SR_STROBE_PIN);
#else
LCD_CLASS lcd(SR_DATA_PIN, SR_CLK_PIN);
#endif
#elif ENABLED(LCM1602)
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
#define LCD_CLASS LiquidCrystal_I2C
LCD_CLASS lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
#else
// Standard directly connected LCD implementations
#include <LiquidCrystal.h>
#define LCD_CLASS LiquidCrystal
LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7
#endif
Moje maszynki:
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
-
- Postów w temacie: 1
- Posty: 240
- Rejestracja: 02 sty 2018, 10:37
- Lokalizacja: Rzeszów/Zwierzyniec
- Drukarka: Prusa Mini
- x 42
- jagus
- Postów w temacie: 5
- Posty: 318
- Rejestracja: 03 kwie 2017, 09:56
- Lokalizacja: Jaworze koło BB
- Drukarka: Anet-A8 and HCevo
- x 90
Re: LCD 2004 do Anet A8
Wiem widziałem tylko tam jest nie do płytki anet tylko do rampsa.
Jednak chyba będzie lipa bez ingerencji w kable i napisaniu kompilacji itp. chyba sobie to odpuszczę a wyświetlacz przyda się do drugiej drukarki kiedyś która czeka na resztę podzespołów elekt.
Tu jest z graficznym instrukcja https://www.thingiverse.com/thing:2103748 ale i tak karta SD by nie działała chyba z tego co wyczytałem tam szkoda.
Tu jest pinologia do anet /**
i tam nie ma wyboru tego wyświetlacza próbowałem również wgrać bibliotekę "U8glib" i po jej dodaniu mogłem wgrać bez błędów już nowy firmware ze zmienioną kompilacją jak pisałem post wyżej ale mimo to i tak nie działa.
Ja tego nie czaję w ogóle więc bez jakieś pomocy obeznanego w temacie mogę zapomnieć że włączę ten wyświetlacz z płyta od anety.
// Stosuj znacznik code
// FR
Jednak chyba będzie lipa bez ingerencji w kable i napisaniu kompilacji itp. chyba sobie to odpuszczę a wyświetlacz przyda się do drugiej drukarki kiedyś która czeka na resztę podzespołów elekt.
Tu jest z graficznym instrukcja https://www.thingiverse.com/thing:2103748 ale i tak karta SD by nie działała chyba z tego co wyczytałem tam szkoda.
Tu jest pinologia do anet /**
Kod: Zaznacz cały
* Marlin 3D Printer Firmware
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* Anet V1.0 board pin assignments
*/
/**
* Rev B 16 JUN 2017
*
* 1) no longer uses Sanguino files to define some of the pins
* 2) added pointers to useable Arduino IDE extensions
*
*/
/**
* The standard Arduino IDE extension (board manager) for this board
* is located at https://github.com/SkyNet3D/anet-board.
*
* Installation instructions are on that page.
*
* After copying the files to the appropriate location, restart Arduino and
* you'll see "Anet V1.0" and "Anet V1.0 (Optiboot)" in the boards list.
*
* "Anet V1.0" uses the bootloader that was installed on the board when
* it shipped from the factory.
*
* "Anet V1.0 (Optiboot)" frees up another 3K of FLASH. You'll need to burn
* a new bootloader to the board to be able to automatically download a
* compiled image.
*
*/
/**
* Another usable Arduino IDE extension (board manager) can be found at
* https://github.com/Lauszus/Sanguino
*
* This extension has been tested on Arduino 1.6.12 & 1.8.0
*
* Here's the JSON path:
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
*
* When installing select 1.0.2
*
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
* Just use the above JSON URL instead of Sparkfun's JSON.
*
* Once installed select the Sanguino board and then select the CPU.
*
*/
/**
* To burn a new bootloader:
*
* 1. Connect your programmer to the board.
* 2. In the Arduino IDE select the board and then select the programmer.
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
* 4. The programmer is no longer needed. Remove it.
*/
/**
* Additional info:
*
* Anet Schematics - https://github.com/ralf-e/ANET-3D-Board-V1.0
* Wiring RRDFG Smart Controller - http://www.thingiverse.com/thing:2103748
* SkyNet3D Anet software development - https://github.com/SkyNet3D/Marlin/
* Anet Users / Skynet SW on Facebook - https://www.facebook.com/skynet3ddevelopment/
*
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
*/
#ifndef __AVR_ATmega1284P__
#error "Oops! Make sure you have 'Anet V1.0', 'Anet V1.0 (Optiboot)' or 'Sanguino' selected from the 'Tools -> Boards' menu."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Anet"
#endif
//
// Limit Switches
//
#define X_STOP_PIN 18
#define Y_STOP_PIN 19
#define Z_STOP_PIN 20
//
// Steppers
//
#define X_STEP_PIN 15
#define X_DIR_PIN 21
#define X_ENABLE_PIN 14
#define Y_STEP_PIN 22
#define Y_DIR_PIN 23
#define Y_ENABLE_PIN 14
#define Z_STEP_PIN 3
#define Z_DIR_PIN 2
#define Z_ENABLE_PIN 26
#define E0_STEP_PIN 1
#define E0_DIR_PIN 0
#define E0_ENABLE_PIN 14
//
// Temperature Sensors
//
#define TEMP_0_PIN 7 // Analog Input (pin 33 extruder)
#define TEMP_BED_PIN 6 // Analog Input (pin 34 bed)
//
// Heaters / Fans
//
#define HEATER_0_PIN 13 // (extruder)
#define HEATER_BED_PIN 12 // (bed)
#define FAN_PIN 4
//
// Misc. Functions
//
#define SDSS 31
#define LED_PIN -1
/**
* LCD / Controller
*
* Only the following displays are supported:
* ZONESTAR_LCD
* ANET_FULL_GRAPHICS_LCD
* REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
*/
#if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
#define LCD_SDSS 28
#if ENABLED(ADC_KEYPAD)
#define SERVO0_PIN 27 // free for BLTouch/3D-Touch
#define LCD_PINS_RS 28
#define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 10
#define LCD_PINS_D5 11
#define LCD_PINS_D6 16
#define LCD_PINS_D7 17
#define BTN_EN1 -1
#define BTN_EN2 -1
#define BTN_ENC -1
#define ADC_KEYPAD_PIN 1
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(ANET_FULL_GRAPHICS_LCD)
// Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
// display using an adapter board // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
// See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
#define SERVO0_PIN 29 // free for BLTouch/3D-Touch
#define BEEPER_PIN 17
#define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 28
#define LCD_PINS_D4 30
#define BTN_EN1 11
#define BTN_EN2 10
#define BTN_ENC 16
#define ST7920_DELAY_1 DELAY_0_NOP
#define ST7920_DELAY_2 DELAY_1_NOP
#define ST7920_DELAY_3 DELAY_2_NOP
#define STD_ENCODER_PULSES_PER_STEP 4
#define STD_ENCODER_STEPS_PER_MENU_ITEM 1
#endif
#else
#define SERVO0_PIN 27
#endif // ULTRA_LCD && NEWPANEL
/**
* ====================================================================
* =============== Alternative RepRapDiscount Wiring ==================
* ====================================================================
*
* An alternative wiring scheme for the RepRapDiscount Full Graphics Display is
* published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
*
* Using that adapter requires changing the pin definition as follows:
* #define SERVO0_PIN 27 // free for BLTouch/3D-Touch
* #define BEEPER_PIN 28
* #define LCD_PINS_RS 30
* #define LCD_PINS_ENABLE 29
* #define LCD_PINS_D4 17
*
* The BLTouch pin becomes LCD:3
*/
/**
* ====================================================================
* ===================== LCD PINOUTS ==================================
* ====================================================================
*
* Anet V1.0 controller | ZONESTAR_LCD | ANET_FULL_ | RepRapDiscount Full | Thingiverse RepRap wiring
* physical logical alt | | GRAPHICS_LCD | Graphics Display Wiring | http://www.thingiverse
* pin pin functions | | | | .com/thing:2103748
*------------------------------------------------------------------------------------------------------------------------
* ANET-J3.1 8 *** | N/A | J3_TX *** | |
* ANET-J3.2 9 *** | N/A | J3_RX *** | |
* ANET-J3.3 6 MISO | N/A | MISO *** | EXP2.1 MISO | EXP2.1 MISO
* ANET-J3.4 +5V | N/A | +5V | |
* ANET-J3.5 7 SCK | N/A | SCK *** | EXP2.2 SCK | EXP2.2 SCK
* ANET-J3.6 5 MOSI | N/A | MOSI *** | EXP2.6 MOSI | EXP2.6 MOSI
* ANET-J3.7 !RESET | N/A | button | EXP2.8 panel button | EXP2.8 panel button
* ANET-J3.8 GND | N/A | GND | EXP2.9 GND | EXP2.9 GND
* ANET-J3.9 4 Don't use | N/A | N/C | |
* ANET-J3.10 +3.3V | N/A | +3.3V *** | |
* | | | |
* | | | |
* ANET-LCD.1 GND | GND | GND | EXP1.9 GND | EXP1.9 GND
* ANET-LCD.2 +5V | +5V | +5V | EXP1.10 +5V | EXP1.10 +5V
* ANET-LCD.3 27 A4 | N/C * | LCD_PINS_RS | EXP1.4 LCD_PINS_RS | EXP2.4 SDSS or N/C *
* ANET-LCD.4 10 | LCD_PINS_D4 | BTN_EN2 | EXP2.3 BTN_EN2 | EXP2.3 BTN_EN2
* ANET-LCD.5 28 A3 | LCD_PINS_RS | LCD_PINS_ENABLE | EXP1.3 LCD_PINS_ENABLE | EXP1.1 BEEPER_PIN
* ANET-LCD.6 11 | LCD_PINS_D5 | BTN_EN1 | EXP2.5 BTN_EN1 | EXP2.5 BTN_EN1
* ANET-LCD.7 29 A2 | LCD_PINS_ENABLE | N/C * | EXP2.4 SDSS or N/C * | EXP1.3 LCD_PINS_ENABLE
* ANET-LCD.8 16 SCL | LCD_PINS_D6 | BTN_ENC | EXP1.2 BTN_ENC | EXP1.2 BTN_ENC
* ANET-LCD.9 30 A1 | ADC_KEYPAD_PIN ** | LCD_PINS_D4 | EXP1.5 LCD_PINS_D4 | EXP1.4 LCD_PINS_RS
* ANET-LCD.10 17 SDA | LCD_PINS_D7 | BEEPER_PIN | EXP1.1 BEEPER_PIN | EXP1.5 LCD_PINS_D4
*
* N/C * - if not connected to the LCD can be used for BLTouch servo input
* ** - analog pin -WITHOUT a pullup
* *** - only connected to something if the Bluetooth module is populated
*/
/**
* REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
* physical pin function
* EXP1.1 BEEPER
* EXP1.2 BTN_ENC
* EXP1.3 LCD_PINS_ENABLE
* EXP1.4 LCD_PINS_RS
* EXP1.5 LCD_PINS_D4
* EXP1.6 LCD_PINS_D5 (not used)
* EXP1.7 LCD_PINS_D6 (not used)
* EXP1.8 LCD_PINS_D7 (not used)
* EXP1.9 GND
* EXP1.10 VCC
*
*
* EXP2.1 MISO
* EXP2.2 SCK
* EXP2.3 BTN_EN2
* EXP2.4 SDSS
* EXP2.5 BTN_EN1
* EXP2.6 MOSI
* EXP2.7 SD_DETECT_PIN
* EXP2.8 button
* EXP2.9 GND
* EXP2.10 NC
*/
Ja tego nie czaję w ogóle więc bez jakieś pomocy obeznanego w temacie mogę zapomnieć że włączę ten wyświetlacz z płyta od anety.
// Stosuj znacznik code
// FR
Moje maszynki:
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Re: LCD 2004 do Anet A8
Jak bardzo chces to mogę Ci sprzedać sprawdzoną płytę A6 z wyświetlaczem. W sumie leży i sie kurzy.
- jagus
- Postów w temacie: 5
- Posty: 318
- Rejestracja: 03 kwie 2017, 09:56
- Lokalizacja: Jaworze koło BB
- Drukarka: Anet-A8 and HCevo
- x 90
Re: LCD 2004 do Anet A8
Dżięki ale mam ten akurat 2004 te graficzne podobno bardzo obciążają elektronikę myślałem kiedy o nim nawet tu https://sklep.garage-makezone.eu/pl/p/W ... i-board/86 bym miał z softem już ustawionym ale ja się uparłem na ten 2004Pajacyk0v pisze:Jak bardzo chces to mogę Ci sprzedać sprawdzoną płytę A6 z wyświetlaczem. W sumie leży i sie kurzy.
Moje maszynki:
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
- 11master
- Postów w temacie: 2
- Posty: 164
- Rejestracja: 30 paź 2017, 07:53
- Drukarka: AA8; Sapphire+
- x 4
Re: LCD 2004 do Anet A8
Trzeba było sobie zrobić to: https://www.thingiverse.com/thing:2098646. Mam i sobie bardzo chwalę i dodatkowo zyskałem 3 wolne piny z płyty na bajery.
Anet A8 BOX
Sapphire + klipperowana
Sapphire + klipperowana
- 11master
- Postów w temacie: 2
- Posty: 164
- Rejestracja: 30 paź 2017, 07:53
- Drukarka: AA8; Sapphire+
- x 4
Re: LCD 2004 do Anet A8
Ruszyłeś z tym? Wyskakuje Ci błąd kompilacji bo potrzebna jest najprawdopodobniej biblioteka liquidcrystal. Jak wyświetlacz 'ruszy' to potem tylko zabawa z encoderem.jagus pisze: Ale po kompilacji pluje się jeszcze o tą linijkę w składni co zaznaczyłem na pomarańczowo :
Jak masz możliwości techniczne i zdolności to zainteresuj się linkiem z poprzedniego posta.
Anet A8 BOX
Sapphire + klipperowana
Sapphire + klipperowana
- jagus
- Postów w temacie: 5
- Posty: 318
- Rejestracja: 03 kwie 2017, 09:56
- Lokalizacja: Jaworze koło BB
- Drukarka: Anet-A8 and HCevo
- x 90
Re: LCD 2004 do Anet A8
Nie niestety za mało się znam na tym i calych tych kodach by samemu coś zdziałać gdyby był jakiś poradnik to spoko ale tak to temat olałem i wyświetlacz będzie poprostu do mks gen do drugiej drukarki.
Chodź mogę spróbować jeszcze raz z tą biblioteką jak piszesz.
Chodź mogę spróbować jeszcze raz z tą biblioteką jak piszesz.
Moje maszynki:
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora
Anet A8 po tuningu
Hypercube Evo już drukuje
Frezarka root3 cnc
Tokarka LD250 juz zmeczona ale wciąż działa
Spawarka mig-mag oraz inne warsztatowe sprzęty konstruktora