ThisIsJustARandomGuy / dobson-star-tracker

This project aims to enable makers to motorize their dobson-style mounted telescopes using easily sourced hardware
MIT License
38 stars 9 forks source link

LCD does not work #3

Open Despo71 opened 3 years ago

Despo71 commented 3 years ago

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

alexescuer commented 3 years ago

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

Despo71 commented 3 years ago

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

atxbyea commented 3 years ago

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.

alexescuer commented 3 years ago

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

atxbyea commented 3 years ago

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 commented 3 years ago

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

Apnet66 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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