element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sensors
  • Technologies
  • More
Sensors
Sensor Forum LCD sniffer for 12 pin custom LCD
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 7 replies
  • Subscribers 337 subscribers
  • Views 1769 views
  • Users 0 members are here
Related

LCD sniffer for 12 pin custom LCD

VikramSaharan
VikramSaharan over 2 years ago

Hello everyone 

I am trying to interface a TDS test pen with arduino. It has a 12 pin custom LCD. I want to get its LCD readings on serial monitor. I have no data sheet of the device under question.  Kindly help. 

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 2 years ago +3
    Is there any other interface available on that device? Maybe an unpopulated connector on the PCB? Or do you know what microcontroller is used, and what pins of that controller go to the LCD? If the LCD…
  • VikramSaharan
    VikramSaharan over 2 years ago in reply to Jan Cumps +1 verified
    This one has 12 pin lcd there is no any specification on main ic. A 8 pin another ic having marking ATMLH904 is also present
  • Jan Cumps
    0 Jan Cumps over 2 years ago

    Is there any other interface available on that device? Maybe an unpopulated connector on the PCB?
    Or do you know what microcontroller is used, and what pins of that controller go to the LCD?

    If the LCD has a driver IC, it may be (kind of) doable, because the signals will be digital.
    If the controller has the driver embedded (rare), the voltages on the interface pins may invert. Check that first with an oscilloscope.

    If you confirmed that the driver signals are digital 0/1 lines, you can start with the next activity:
    - use a digital analyser to capture communication, and try to relate it to what appears on the LCD. If you manage to solve that, you could build a gizmo, and write software to decode the LCD data into ascii and stream it over a serial.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • VikramSaharan
    0 VikramSaharan over 2 years ago in reply to Jan Cumps
    • image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • VikramSaharan
    +1 VikramSaharan over 2 years ago in reply to Jan Cumps

    This one has 12 pin lcd there is no any specification on main ic. A 8 pin another ic having marking ATMLH904 is also present 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • VikramSaharan
    0 VikramSaharan 11 months ago

    Can I read data from its EPROM chip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • anniel747
    0 anniel747 11 months ago in reply to VikramSaharan
    [deleted]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • VikramSaharan
    0 VikramSaharan 11 months ago in reply to anniel747

    I connectd scl and sda and run I2C scanner on arduino i2c device foun at 0*50. when I run eprom read code 

    #include <Wire.h>

    #define EEPROM_ADDRESS 0x50  // The EEPROM I2C address

    void setup() {
      Serial.begin(9600);   // Start serial communication at 9600 baud
      Wire.begin();         // Initialize the I2C bus
     
      // Example: Write data to EEPROM and verify
      Serial.println("Writing 0x55 to address 0x01");
      writeEEPROM(0x01, 0x55);   // Write 0x55 to address 0x01
      delay(10);
     
      byte writtenData = readEEPROM(0x01);
      Serial.print("Data read from address 0x01: 0x");
      Serial.println(writtenData, HEX);  // Verify if data was written successfully
    }

    void loop() {
      Serial.println("Reading first 16 bytes of EEPROM:");
     
      // Read and display data from the first 16 addresses of the EEPROM
      for (int addr = 0; addr < 16; addr++) {  // You can increase the range to read more bytes
        byte data = readEEPROM(addr);
        Serial.print("Address 0x");
        Serial.print(addr, HEX);
        Serial.print(": Data 0x");
        Serial.println(data, HEX);
      }
     
      delay(5000);  // Delay 5 seconds before reading again
    }

    // Function to read a byte from a specific EEPROM address
    byte readEEPROM(int addr) {
      Wire.beginTransmission(EEPROM_ADDRESS);
      Wire.write((byte)addr);    // Specify the EEPROM address to read from
      Wire.endTransmission();
     
      Wire.requestFrom(EEPROM_ADDRESS, 1);  // Request 1 byte from EEPROM
     
      if (Wire.available()) {
        return Wire.read();      // Read and return the byte
      } else {
        return 0;  // Return 0 if no data is available
      }
    }

    // Function to write a byte of data to a specific EEPROM address
    void writeEEPROM(int addr, byte data) {
      Wire.beginTransmission(EEPROM_ADDRESS);
      Wire.write((byte)addr);  // Specify the EEPROM address to write to
      Wire.write(data);        // Write the data byte
      Wire.endTransmission();
      delay(10);               // EEPROM write requires a short delay
    }
    out put is  
    Address 0x3: Data 0xA0
    
    Address 0x4: Data 0xA0
    
    Address 0x5: Data 0xA0
    
    Address 0x6: Data 0xA0
    
    Address 0x7: Data 0xA0
    
    Address 0x8: Data 0xFF
    
    Address 0x9: Data 0xFF
    
    Address 0xA: Data 0xFF
    
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • VikramSaharan
    0 VikramSaharan 11 months ago in reply to VikramSaharan

    I checked on PCB that eprom is connected with HOLD button to hold readings

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube