Homemade Panelolu 2 I2C 20x4 LCD with sound for less then 12 euro (incl. simple shematic + sound modefication) ! 3D model preview
View source Save
1,619 downloads 59 likes 9,946 views Free price

About this 3D model

here i whant to show you how to make a panelolu 2 (like) LCD for your printer easy and very cheap by your self! i payed for everything less then 12€ !!! http://youtu.be/fPHAXKJ23Ak and i show you, how to modeficate your marlin firmware to play a sound... 1.) when printer starts, a short beep 2.) after its init again beep beep (now you know, printer is ready!) 3.) you can add "M9999 S3" when printer finished printing, then it plays a nice sound and you hear your printer finished its work. you can play also some melodys with M codes.. Like "M9999 S1" S1 = song 1 / TETRIS S2 = song 2 / CREAZY FROG S3 = success sound, when printer is finished with printing S4 = bad sound, when something failed first about the lcd: its very easy to make the i2c lcd supported... get the cheapst i2c lcd from ebay... i buyed mine from china for 8€ i buyed exaktly this one from him: 20x4 I2C LCD http://www.ebay.de/itm/Neu-Arduino-Blau-Display-Bildschirm-IIC-I2C-Serie-2004-20x4-Character-LCD-Modul-/370953200452?pt=Bauteile&hash=item565e88a344 7,68 euro Lochrasterplatine: http://www.ebay.de/itm/Lochraster-RM-2-54-mm-Platine-Kupfer-Grose-125x57-mm-Experimentierplatine-LEI1-/251438598192?pt=Elektromechanische_Bauelemente&hash=item3a8ae88830 1 euro Alps Drehgeber Encoder, mechanisch 24 Impulse/U ohne Index Flachschaft, Durchsteckmontage https://at.rs-online.com/web/p/mechanische-drehgeber/6234237/?searchTerm=EC12E2424407&relevancy-data=636F3D3226696E3D4931384E4B6E6F776E41734D504E266C753D6465266D6D3D6D61746368616C6C7061727469616C26706D3D5E5B5C707B4C7D5C707B4E647D2D2C2F255C2E5D2B2426706F3D313326736E3D592673743D4D414E5F504152545F4E554D4245522677633D424F5448267573743D45433132453234323434303726 1,98 euro 1 LED 1 Resistor for the LED 1 Piezzo / or some old mini speaker from some old motherboard / computer case... you can also use the leds used it some old computer case.. solder it, like shown in the shematic.png picture! its realy easy, just folow the traces i made. i have extra painted it fast with win paintshop, its more easy to understand for non electronic peoples then real shematics (i hope so) in my example, i connected it to the melzi board, thanks to i2c there are still pins free, so i already thinking what iam doing with this free pins.. (maybe bed auto level and learning my printer to speech instead of beeping) NOW THE PART TO MAKE THE LCD WORK IN THE MARLIN FIRMWARE: ______________________________________________________________ in "configuration.h" file, you need to change: //LCD and SD support // #define ULTRA_LCD //general LCD support, also 16x2 //#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family) // #define SDSUPPORT // Enable SD Card Support in Hardware Console //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error) //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking //#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store. //#define ULTIPANEL //the UltiPanel as on Thingiverse // #define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click // #define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click ______________________________________________________________ so this means you need to enable this lines: #define ULTRA_LCD //general LCD support, also 16x2 #define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click #define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click first one, for the general LCD support and the 2 others for the speaker (sound) ______________________________________________________________ to get this lcd working with the i2c chip used in this lcd, we must modeficate the panelolu 2 code part, for your i2c chip: // PANELOLU2 LCD with status LEDs, separate encoder and click inputs // #define LCD_I2C_PANELOLU2 #ifdef LCD_I2C_PANELOLU2 // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 ) // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory. // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file) // Note: The PANELOLU2 encoder click input can either be directly connected to a pin // (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1). //#define LCD_I2C_TYPE_MCP23017 //#define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander //#define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD #define LCD_I2C_TYPE_PCF8575 #define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expande #define NEWPANEL #define ULTIPANEL #ifndef ENCODER_PULSES_PER_STEP #define E