Hello everyone,
I have built a telescope focuser based on a stepper motor and Arduino Nano. It is not my project and it is available here: Arduino ASCOM Focuser Pro2 DIY download | SourceForge.net
The original design uses a 16x2 LCD display via IIC/I2C connection. My intention is to change the original LCD display and use a 128X64 OLED screen via the same connection and pinout. I need help with changing the code using a new library (Google Code Archive - Long-term storage for Google Code Project Hosting.). I have tested the library with this screen and it works well (the IC on the display is SSD1306, thus it is necessary to use the following line in the code: U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST); // Fast I2C / TWI .)
The library offers several lines for IC definition, I guess this one is the best.
The original screen shows 4 pieces of information (current step position, set step position, coil power on/of, reverse direction mode). I need the same information displayed on the new screen together with the temperature readout. The code for the temperature sensor is already implemented, and I just need the temperature value to be present on the screen. I will make the fine adjustments related to the position of the text and font myself later – you won't waste any time with that.
The code is available on the following link since it is too long to be posted here: Arduino ASCOM Focuser Pro2 DIY - Browse Files at SourceForge.net
I would also like to have a startup animation, a short one, say 2 seconds, if the Nano memory allows it.
Please let me know if you need further information and you can bid via PM.