Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PIC microcontroller with GLCD

Loading...

Sign in or sign up now!
85,481
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 10, 2007

Device using:
GLCD from ebay-128x64
PIC12F683
PIC18f4685
2xMicrochip I2C EEPROM-24AA1025
IR-remote reciever
SD-card slot

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 8 dislikes

Link to this comment:

Share to:

Uploader Comments (Kdg86)

  • I made the same line and circle alg. by myself back in early 2000 in 16bit ASM for DOS, without having Internet or knowing about Bresenham's alg. ;inputs: ;[x0y0]=start ;ax=X;bx=Y; line256c: pusha mov cx,1 mov dx,320 or ax,ax jns f1 neg cx neg ax f1:or bx,bx jns f2 neg dx neg bx f2:cmp ax,bx ja f3 xchg ax,bx xchg cx,dx f3:mov si,ax mov bp,ax shr bp,1 mov di,[x0y0] f4:mov byte[es:di],15 add di,cx sub bp,bx jnc f5 add bp,ax add di,dx f5:dec si jnz f4 popa ret x0y0 dw 0
  • Okej! Good for you!

  • so... you did it by your self... or did you go by a tutorial...if not... so you made a course or something? I mean... can you tell me how did you start to know this things? from where you started to learn? I means... books... courses... etc...

  • This design is completely made by me. I didn't take any course, I just started out with what seemed simlpe. Like light a LED. Make two LEDs flash and so on. Something that I have come to sense with he last couple of years is that it is really necessary to read the datasheet for the PIC you are using, there you can read about all the features of your PIC and use them to get as high speed as possible. Also test as many sample codes as you can and try to figure out why they work. /Kdg86

  • man what did u use to draw these shapes ?

    and how did u get that LCD, it looks big

  • For the shapes I used a homemade GFX-libary, you can find the algorithm for circles in C on wikipedia, search for "mid-point circle algorithm".

    The line drawing algorithm uses "Bresenhams line drawing algorithm" also on wikipedia.

    The lcd I bought on ebay. But if I were you I would start with a Nokia color lcd since it is more in fashion now and still easy to use.

Top Comments

  • You made it in C.. right? Or in assembler..?

see all

All Comments (67)

Sign In or Sign Up now to post a comment!
  • stiligt!

  • terrific

  • hello im new to the idea of a GLCD could you please tell me how you knew how to program it, i mean how can you put a character and graphic and so on. I am planning on using a PIC16F877. the idea is to create a user interface for an intelligent thermostat.

  • can you buy a project box for that?

  • to make it use the sd card the sd card has to be in a formate that the microcontroler can read but aslo the microcontroler has to understand that format as well. and if you whant to play a vidoe or veiw a picture the microcontroler has to be able to understand that format. so to use that SD there with be a lot of programing in you future.

  • Look on the devmaster web site for "Software Rendering School" under "Graphics Theory & Implementation" for information on drawing 3D graphics... in summary, you take your 3D world and project it onto a 2D screen using a parallel projection matrix, then you rasterize and shade the triangles using interpolation via digital differential analyzers... it's pretty math-heavy stuff

  • Great Project!!

    But in spanish languaje is better

  • Nice work,  I'm working on a GLCD project too ... thanks for the video

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more