EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / dcc using avr

dcc using avr

|

Microcontroller › AVR › dcc using avr

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by GANEEV SINGH.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 11, 2011 at 7:41 am #667
    Brandon
    Participant

    sir

     i hv been through project of urs “display custom characters on lcd using AVR….sir what i didnt understand is that

    how i can display special charcters in 5*8 block matrics

    thnx

    October 6, 2016 at 5:40 am #14187
    GANEEV SINGH
    Participant

    Hi Brandon

    Making custom characters demands few commands to be executed like this:

    Lcd8_Cmd(72);    
     
    Lcd8_Write_Char(0);      //ROW 1
    Lcd8_Write_Char(14);  //ROW 2 
    Lcd8_Write_Char(10);    //ROW 3  
    Lcd8_Write_Char(10);    //ROW 4
    Lcd8_Write_Char(31);    //ROW 5
    Lcd8_Write_Char(27);    //ROW 6
    Lcd8_Write_Char(31);    //ROW 7
    Lcd8_Write_Char(31);    //ROW 8
     
    Lcd8_Cmd(0xcf);
    Lcd8_Write_Char(1);
     
    The values written inside the row commands above such as 0, 14, 10, etc are the decimal equivalent of 5 bits in a row where writing a logic '1' to any bit represents a black dot over that point while logic '0' clears it away. This particular code will generate a small "lock" like character of 5X8 pixels.
    Just give it a try and you'll understand this much better.
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS feed: Recent Posts Recent Posts

  • Advice for an ESP32 Soil Tensiometer project with 5V sensors September 4, 2026
  • Control diesel fuel injector September 3, 2026
  • Smoothing out Resistive Power Draw with PWM September 3, 2026
  • Deacy Amp circuit diagram? September 2, 2026
  • Need to control diesel fuel injector using microcontroller September 1, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise