dobson-star-tracker icon indicating copy to clipboard operation
dobson-star-tracker copied to clipboard

LCD does not work

Open Despo71 opened this issue 3 years ago • 10 comments

LCD does not work for me, how to integrate a Telescope Display Unit? (RepRapDiscount Full Graphic Smart Controller with smart adapter)

Despo71 avatar Apr 29 '21 13:04 Despo71

I have the same problem. Wiring diagram has a mistake. 5v and gnd are not correctly depicted on the image. However, even with this correction the display does not show anything

alexescuer avatar Jun 04 '21 09:06 alexescuer

hi alexscuer... i finally solved it by connecting the U8glib library and my own menu #ifdef LCD_ENABLED #include "U8glib.h" U8GLIB_ST7920_128X64_1X u8g(23, 17, 16); // SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17

Despo71 avatar Jun 04 '21 09:06 Despo71

Where are you adding this code @Despo71 ? In the dobson-star-tracker.ino ? I too had to do some readjustments of wiring the display, do you by chance have a picture of your wiring ? I have found GND and 5V so far.

If I get this running I might fork the repo and adjust the wiring as needed for anyone else who might encounter the same.

atxbyea avatar Jun 21 '21 12:06 atxbyea

I have tried connecting to stellarium directly because the display seems impossible at this moment. Conecting to stellarium seems to work as the program shows a "conected" status. However the motors do no to move at all. In my humble opinion the shield is not correctly wired either, I think it must be placed on top of the arduino mega as this is how it is designed...

@atxbyea If you decide to fork the project please let us know. I will be willing to help

alexescuer avatar Jun 21 '21 16:06 alexescuer

Forked it @alexescuer so I'll try to update with my current new findings as I have time going forward, please submit any PRs to my forked version and I can merge as needed.

atxbyea avatar Jun 22 '21 13:06 atxbyea

@Despo71 if you can come back with what you have I can try to incorporate it in a fully working repo

atxbyea avatar Jun 23 '21 11:06 atxbyea

The display still doesn't work, I added an encoder, nothing has changed. The author didn't even indicate the display on the diagram. I installed everything in the libraries, nothing has changed

Apnet66 avatar Nov 15 '23 19:11 Apnet66

hi alexscuer... i finally solved it by connecting the U8glib library and my own menu #ifdef LCD_ENABLED #include "U8glib.h" U8GLIB_ST7920_128X64_1X u8g(23, 17, 16); // SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17

it didn't work for me((

Apnet66 avatar Nov 16 '23 08:11 Apnet66

Where are you adding this code @Despo71 ? In the dobson-star-tracker.ino ? I too had to do some readjustments of wiring the display, do you by chance have a picture of your wiring ? I have found GND and 5V so far.

If I get this running I might fork the repo and adjust the wiring as needed for anyone else who might encounter the same.

This is the second Arduino board, the first for RAMPS. two boards are connected by only 2 wires). Now I'll try to upload a sketch for the display. Why an external power supply, without a USB connection, 2 arduinos. I'll write what happens.

Apnet66 avatar Nov 17 '23 18:11 Apnet66

https://drive.google.com/file/d/1U08PzvgJUdTHm-LieqRwVDZvve7i9xmL/view?usp=drive_link The display worked. All that remains is to deal with Stellarium

Apnet66 avatar Nov 19 '23 14:11 Apnet66