https://reprap.org/forum/read.php?13,499572,page=4
// SSD1306 OLED generic display support
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
#define U8GLIB_SSD1306
--------------------------------------------------------------------------------------------------------------------------------------------------------
#elif defined(SSD1306_OLED_I2C_CONTROLLER) || defined(SH1106_OLED_I2C_CONTROLLER)
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35
#define BEEPER 37
#define LCD_SDSS 53
#define SDCARDDETECT -1
#define KILL_PIN -1
#elif defined(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 // reverse if the encoder turns the wrong way.
https://reprap.org/forum/read.php?13,499572
... connected to the RAMPS
... and to the Sanguinololu
The modifications to Marlin are only minimal changes in the files Configuration.h, Conditionals.h, dogm_lcd_implementation.h, pins_SANGUINOLOLU_11.h and pins_RAMPS_13.h. The attached patch file contains all the changes needed to the current version 1.0.3 of Marlin.
For those wanting printing from an SD-card (I don't), it is easy to add one of these cheap SPI based micro-SD modules that can be ordered on eBay for less than 2$, since the standards SPI pins used for the SD-cards are left untouched by the OLED display. Here pictures of my test using the tiny OLED controller together with an micro-SDcard module, on both RAMPS and Sanguinololu:
I know, buying a ready made 2004 or full graphic LCD controller is so cheap today, that you won't save any money by building things yourself. But that was not my aim for this project, rather my goal was (other than the fact that I really like tinkering) to have something really small, need only a minimum of cabling, draws only little current and is also working on 3.3V...
'3D프린팅' 카테고리의 다른 글
양산 준비. 어떤 제작 방법으로 만들까? (0) | 2022.05.22 |
---|---|
BLTouch: Auto Bed Leveling Sensor for 3D Printers (0) | 2022.05.21 |
The simplest conversion between pcd and ply linux (0) | 2021.07.06 |
스케치업 3D모델에서 2D도면 추출 (0) | 2021.04.26 |
가정용 3D프린터로 뭘 할까? (0) | 2020.12.30 |
댓글