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.
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
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
Free energy is finaly here!But the Big corporations spend millions to ensure that information does not spread to the masses,if you want a real Free energy Magnet Motor, get the blueprints at LT-MAGNET-MOTORdotCOM ,take part in the revolution!
I have experience with SD cards less than 4GB. Once you go 4GB and above, you have to pay for the data sheets as the higher densities cards operate slightly different than the smaller ones. Message me if you still need help with the SD card.
Very good, really! What compiler did you used? C language, assembler? I am starting a project that needs to use a graphic lcd with a rtc and a sd card to store data. Congratulations.
Good work and an impressive project. I'm currently starting to get into PIC microcontrollers for audio projects and found your vid while looking around youtube. An inspiring and well explained video for those looking to get into working with these.
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
as told, mikroc has a library that allows you to read/write to a sd/mmc card...it also has a built in library for the I2C protocol, USART, LCD and GLCD displays among others. Very easy to use them, with some samples to follow. Everything you need is in that program. You could also use Proteus to simulate your project, instead of buying the hardware and mount it. At least, you'll know if your code works.
I'm also interested on the algorithm for the circles...
Hey, Your project it's very cool, I don't know a lot about pics, but I think that I have seen some info on some websites, so let my search it and I'll talk to you when I have some info.
I'm Argentinian, but next year I'll move to USA to begin with my studies (I Think I'll study Computer Engineering Technology, or something like that, because I'd like to merge computers and electronics.). But when I finish my studies on the US, I'd like to move Sweden and work in any luxury cars company.
Hi! Nope, not yet. But that´s because I don´t have any papers about my knowledge. That´s why, as you can read in my profile, I´m moving to Gothenburg to begin my studies this fall. And after that it will probaly be fairly easy for me to find work in this field. My country is Sweden, I´m Swedish.
It will be a while before I upload any new videos here now, because of the moving to Gothenburg, but after that I will begin my upload again.
But I´m still here to answer comments and questions! /Kdg86
I'm a PIC programmer myself, enjoy it, and have some small text LCDs I plan to work with.
You're an inspiration!
I particularly liked the circles, and am curious what algorithm you used. (I use x = x + y/n, y = y - x/m, and with "bad precision" can make WONDERFUL things (Cite: Byte Magazine article "Serendipity circles") which look like fractals, etc.
Thanks to pjurcevi - from whom I learned SD's have an SPI mode! Cool!
Great job, To read the Sd card easily ,one way is to use the mikroC compiler it had a ready made class for mmc ;it is easy to attach to the standart SPI of PIC18FXX and read from them a bitmap for example...Good Luck
5 stars! Really nicely done! Maybe you've worked out your SD card interface already, but if not, I noticed the kronos robotics website has a good tutorial on doing that.
Sorry, rendering 3-D graphics is a bit beyond my programming abilities at this point! You might try surfing some BASIC forums where users have developed programs that emulate that, just to get your head around it, and then see if you can port what you've learned into the PIC via Proton?
nice old school vector grafix with pic . people seame to understimate the power of the pic. I cannot build something like this shit my pic programing is terrible. I however can apreciate this great project.
You already had my respect 40 seconds into the video, the time you spent just soldering it must have taken hours! Then you have vector graphics (the 80s rule!), as well as a file-system check, and moving drawings...as well as a backlight, SD card, and Infrared port...hey, it could be made into an Infrared oscilloscope, optical narrowband television receiver, SD photo viewer/movie player (the LCD seems pretty fast), If I had your smarts I'd have a ball with this thing...
very nice porject!! im not sure about 3d graphics on MCs, but i think u have to write a simple 3d engine... maybe there r some opensource projects for this.
Very interesting is your project, may I ask you something, What kind of uController you are using with what enwirement "to program it"?
You are storing the receiving Data(Usart) in to what kind of Chip(I2C), EEPROMs have a limited number of write circles? But I see it works quiet fast and is powerful, nice work.
Why two uC, one for Display and the other one for IR detector?
stiligt!
macvegard 7 months ago
terrific
mehsar80 10 months ago
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.
HOUSEOFWISDOM1 11 months ago
can you buy a project box for that?
njdevil281 11 months ago
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.
brandonhughes7 1 year ago
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
Webking271 1 year ago
Great Project!!
But in spanish languaje is better
Kumbalaa 1 year ago
McGuywer 1 year ago
Okej! Good for you!
Kdg86 1 year ago
Nice work, I'm working on a GLCD project too ... thanks for the video
odessa999 1 year ago
This has been flagged as spam show
Free energy is finaly here!But the Big corporations spend millions to ensure that information does not spread to the masses,if you want a real Free energy Magnet Motor, get the blueprints at LT-MAGNET-MOTORdotCOM ,take part in the revolution!
hungarylnnjsd 1 year ago
WOO =O
electron2222 1 year ago
hi... what is the name from the program?. can you send me the your email?.....thanks
dilorenzo42 1 year ago
whow, :-), impressive :-)
erichertsens 1 year ago
Fuckin great work man!
SourceCode2006 1 year ago
good job man
payamnet 1 year ago
do you have a source for the glcd library?
Sp33dstix 1 year ago
haiiiiiiiiiiiiiii
kantharaju246 1 year ago
good work man.
KJJohnson05 1 year ago
Whered you get that SD card slot?
itsmeohmeandme 2 years ago
Neat project ! i would like to Jtag into cell phones to play a bit with the tiny camera on the fone! might you have any ideas?
Dan
dplauritsen 2 years ago
Really nice work! I just bought my first microcontroller and GLCD today...can't wait to get started with it ;)
caesiume 2 years ago
I have experience with SD cards less than 4GB. Once you go 4GB and above, you have to pay for the data sheets as the higher densities cards operate slightly different than the smaller ones. Message me if you still need help with the SD card.
TooKoolKris 2 years ago
nice work, men du får jobba på engelskan lite mannen!
natn0 2 years ago
This has been flagged as spam show
I have little knowledge on PIC microcontrollers. can U help with tutorials on PIC18F series controllers
eminaray 2 years ago
I have little knowledge on PIC microcontrollers. can U help with tutorials on PIC18F series controllers
eminaray 2 years ago
Very good, really! What compiler did you used? C language, assembler? I am starting a project that needs to use a graphic lcd with a rtc and a sd card to store data. Congratulations.
ssaguiar 2 years ago
Great work man thats really awesome
eman737 2 years ago
Can it run Crysis?
Gintaras 2 years ago
Epic win.
yuraider87 2 years ago
fuckn loled
DavidAlshNZ 2 years ago
Good work and an impressive project. I'm currently starting to get into PIC microcontrollers for audio projects and found your vid while looking around youtube. An inspiring and well explained video for those looking to get into working with these.
manufacturedZ3R0 2 years ago
Oh my... very good... Go check my channel, there are some relations videos...
lucianomulki 2 years ago
I have some basic PIC knowledge, how did you overcome the flickering on the GLCD with so much movement of graphics??
(Very cool project by the way, congrats!)
josuecarnivoro 2 years ago
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...
tiagofumo 2 years ago
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
Kdg86 2 years ago 2
good job¡¡
robo3001 2 years ago
nice device ;)
bernardstef 2 years ago
man what did u use to draw these shapes ?
and how did u get that LCD, it looks big
Angeluszq 3 years ago
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.
Kdg86 3 years ago
very well explained, very cool project; thanks for sharing.
averagemale 3 years ago
Dude I'm Peter Manoj what is the cost of your project and drawbacks..?
MyDestinTeChNoCrAt 3 years ago
diagram! diagam!!
edtronic 3 years ago
hello from portugal.
as told, mikroc has a library that allows you to read/write to a sd/mmc card...it also has a built in library for the I2C protocol, USART, LCD and GLCD displays among others. Very easy to use them, with some samples to follow. Everything you need is in that program. You could also use Proteus to simulate your project, instead of buying the hardware and mount it. At least, you'll know if your code works.
I'm also interested on the algorithm for the circles...
Pulstar 3 years ago
You made it in C.. right? Or in assembler..?
UntakenNick 3 years ago 4
That's gotta be in C. I can't imagine 6 kb of code in assembly...
jld837 2 years ago
cool ! that was awesome.
samir1612 3 years ago
Snyggt jobbat! Blir själv sugen på att testa glcd...
73 de Sam
sm5uiu 3 years ago
Hey, Your project it's very cool, I don't know a lot about pics, but I think that I have seen some info on some websites, so let my search it and I'll talk to you when I have some info.
I'm Argentinian, but next year I'll move to USA to begin with my studies (I Think I'll study Computer Engineering Technology, or something like that, because I'd like to merge computers and electronics.). But when I finish my studies on the US, I'd like to move Sweden and work in any luxury cars company.
thedragonsreborn 3 years ago
I want to ask a question.. Have you find any job in that field in your Country?
If yes What is your country?...Thank you ..Ramy
rboghdady 3 years ago
Hi! Nope, not yet. But that´s because I don´t have any papers about my knowledge. That´s why, as you can read in my profile, I´m moving to Gothenburg to begin my studies this fall. And after that it will probaly be fairly easy for me to find work in this field. My country is Sweden, I´m Swedish.
It will be a while before I upload any new videos here now, because of the moving to Gothenburg, but after that I will begin my upload again.
But I´m still here to answer comments and questions! /Kdg86
Kdg86 3 years ago
Dont give up! you will find something in eletronics area.
Your video is so nice, you made a fantastic job with it!
r0nd0m 3 years ago
This is great, you have done a wonderful job!
I'm a PIC programmer myself, enjoy it, and have some small text LCDs I plan to work with.
You're an inspiration!
I particularly liked the circles, and am curious what algorithm you used. (I use x = x + y/n, y = y - x/m, and with "bad precision" can make WONDERFUL things (Cite: Byte Magazine article "Serendipity circles") which look like fractals, etc.
Thanks to pjurcevi - from whom I learned SD's have an SPI mode! Cool!
WardXmodem 3 years ago
Hello Kdg86.
Could you tell me where do you learn to program this GLCD? Where I can find information about it?
What model is it?
I always wanted to do the hardware of a video game console, and I like very much your project .
Do you have schematics or webpage?
Very good job.
latecruz 3 years ago
I´d learned by trying, many hours of failure. But once you got the hang of it, you will be able to do what ever you like.
The GLCD did I bought on ebay, it´s a standard GLCD and uses the KS0108-controller. It´s easy to find datasheet and info for it on the web.
I got no schematics but it all depends on your configuration in your code.
Kdg86 3 years ago
Mycket bra! fast... det tog mig ett tag att fatta att det var en IR-mottagare. (uttalas ganska likt "aj-ar")
grrumpff 3 years ago
cool
bytedildo 3 years ago
Great job, To read the Sd card easily ,one way is to use the mikroC compiler it had a ready made class for mmc ;it is easy to attach to the standart SPI of PIC18FXX and read from them a bitmap for example...Good Luck
rboghdady 3 years ago
I made a full smart home project by ATmega8 and C language, but I still need the interface between the microcontroler and SD or CF if possible.
thaks
msohed911 3 years ago
I did do the samples of proton pic basic, but I dont have the sample about SD card on basic.
I have the sample of microchip USB card with SD card. but this are do at C lenguage for mass storage class.
I hope you can helpme how do the interface to PIC to SD CARD.
thanks
sersol2 3 years ago
5 stars! Really nicely done! Maybe you've worked out your SD card interface already, but if not, I noticed the kronos robotics website has a good tutorial on doing that.
Sorry, rendering 3-D graphics is a bit beyond my programming abilities at this point! You might try surfing some BASIC forums where users have developed programs that emulate that, just to get your head around it, and then see if you can port what you've learned into the PIC via Proton?
Good luck, whatever you do!
hankfletcher 3 years ago
nice project
80amnesia 3 years ago
Hi,
To communicate with the SD-Card you can use the SPI interface of the PIC and initialize the SD-Card in SPI-Mode
pjurcevi 3 years ago
nice old school vector grafix with pic . people seame to understimate the power of the pic. I cannot build something like this shit my pic programing is terrible. I however can apreciate this great project.
WarriorFootball 3 years ago
fantastic!!!
carlosmangini 3 years ago
Very cool project.
mdmde 3 years ago
You already had my respect 40 seconds into the video, the time you spent just soldering it must have taken hours! Then you have vector graphics (the 80s rule!), as well as a file-system check, and moving drawings...as well as a backlight, SD card, and Infrared port...hey, it could be made into an Infrared oscilloscope, optical narrowband television receiver, SD photo viewer/movie player (the LCD seems pretty fast), If I had your smarts I'd have a ball with this thing...
Amishman35 3 years ago
hi can i know your college degree! that cool man. but is there eny kind of protocol between EPROM and the pic. and how could you work with Sd's.
mohsinkada 1 year ago
Wow, I wish I could make something like that!
Nice work.
GRIMMREPS 3 years ago
very nice porject!! im not sure about 3d graphics on MCs, but i think u have to write a simple 3d engine... maybe there r some opensource projects for this.
morto360 4 years ago
Hi,
Very interesting is your project, may I ask you something, What kind of uController you are using with what enwirement "to program it"?
You are storing the receiving Data(Usart) in to what kind of Chip(I2C), EEPROMs have a limited number of write circles? But I see it works quiet fast and is powerful, nice work.
Why two uC, one for Display and the other one for IR detector?
Have nice Day
aleksandra1003 4 years ago
Hi!
I´m using Microhip PIC microcontroller.
I´m programing in Proton Basic.
Yes, I´m using two I2C EEPROM from Microchip 24AA1025.
Yes, One microcontroller for display and memorymanagement, and one for the IR detector.
Kdg86 4 years ago