Update! I managed to figure it out pins 2,4 are +5 VDCpins 6, 10 are ground and pin 14 is serial in. baud rate set to 9600 and Serial set to TTL. connect pin 14 to the arduino pin 1 TX. The arduino code I used to test with is such:
void setup() {
// Initialize serial communication
Serial.begin(9600); // Try different baud rates if needed (1200, 2400, 4800, 19200)
delay(100);
// Initialize display
initDisplay();
}
void loop() {
// Example: count from 0 to 999999
for(long i = 0; i <= 999; i++) {
displayNumber(i);
delay(1000);
}
}
void initDisplay() {
// Clear display
Serial.write(0x0C); // Form feed/clear
delay(1000);
}
void displayNumber(long number) {
char buffer[7];
// Convert number to string with leading zeros
sprintf(buffer, " %01ld ", number);
// Send to display
Serial.println(buffer);
}
// Function to position cursor
void setCursor(byte position) {
if(position < 6) {
Serial.write(0x1B); // Escape
Serial.write(position + 0x20); // Position + offset
}
}
// Function to clear display
void clearDisplay() {
Serial.write(0x0C);
}
// Function to set brightness (if supported)
void setBrightness(byte level) {
Serial.write(0x1B); // Escape
Serial.write(0x60 + (level & 0x07)); // Brightness command
}
That code counts up from 0 to 999