Search found 21 matches

by Overclocked
Tue Aug 25, 2015 3:23 pm
Forum: User Modules
Topic: PCD8544 Driver for Nokia 3310/5510
Replies: 1
Views: 3826

PCD8544 Driver for Nokia 3310/5510

Hello everyone. I was in need of a small LCD display for a project, and I noticed no driver was written for this LCD. I Read the datasheet and took a few notes from quite a few sources. The driver is mostly complete, but I need some help finishing. You can get these LCD's for quite cheap on ebay and...
by Overclocked
Wed Aug 05, 2015 12:19 am
Forum: General
Topic: Cant get to sleep
Replies: 9
Views: 6212

Re: Cant get to sleep

Oops! Looks like when I changed the timer init code for the 13K22 I set the SYNC bit the wrong way around. In the TMR1_Initialize() routine change: T1CON.2 = 0 // T1SYNCn = 0 - do not sync external clock (OSCEN overrides this anyway) to: T1CON.2 = 1 // T1SYNCn = 1 - do not sync external clock On th...
by Overclocked
Mon Aug 03, 2015 11:39 pm
Forum: General
Topic: Cant get to sleep
Replies: 9
Views: 6212

Re: Cant get to sleep

Hmm. Works if I comment out the sleep command. What did you have to do to get it to work on your PIC?
by Overclocked
Sun Aug 02, 2015 11:36 pm
Forum: General
Topic: Cant get to sleep
Replies: 9
Views: 6212

Re: Cant get to sleep

Hmm. Gave it a shot tonight. Not much time in the coming week (vacation next week). I want to get a laptop up and working so I can atleast give it a shot during my downtime. Anyway. I looked on my scope and OSC1 and OSC2 are oscillating at 32kHz. RB6 just sits low.
by Overclocked
Wed Jul 29, 2015 10:37 pm
Forum: General
Topic: Cant get to sleep
Replies: 9
Views: 6212

Re: Cant get to sleep

Hmm. Pin Sits high. Ive kept most of the code the same, but I plan on using the sub for the pins at some point. Just wanted to get the sleep working before moving on to other power saving techniques. { ***************************************************************************** * Name : Dataloger_D...
by Overclocked
Wed Jul 29, 2015 12:34 am
Forum: General
Topic: Cant get to sleep
Replies: 9
Views: 6212

Cant get to sleep

Im using a PIC18F13K22 for data logging purposes. I have a 32kHz crystal on timer one with 2 10pf caps. It interrupts once per second and counts how many seconds go by, until it reaches a if statement so it can do more things. I want it to sleep while its waiting for the interrupt, but cant figure o...
by Overclocked
Fri Apr 03, 2015 12:27 am
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

Gave it a shot, still nothing. Mine has a "AO" pin. Im assuming its a r/w pin. I might just buy the legit TFT from adafruit Just to make sure its nothing on my end. Im willing to mail the displays I have at this point to anyone who wants to get them working.

I do thank you for all the help!
by Overclocked
Thu Mar 26, 2015 11:23 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

Hi everyone. For some reason the forum didnt tell me there were responses. Now I suspected the 5v thing would be trouble, so I just ran it at 3.3v. Still nothing. Got my new one in the mail. Which is this one http://www.ebay.com/itm/381139173995?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%...
by Overclocked
Tue Mar 17, 2015 10:17 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

The PLL is available only when it's configured to use the internal oscillator block as its "primary" Thanks for this code, the bus is now running at a speedy 800Khz, wooo, but still no dice. Im beginning to wonder if the display is bad. Only way to find out is to buy the Adafruit display. EDIT: Its...
by Overclocked
Tue Mar 17, 2015 11:26 am
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

Even at 8MHz, that code should give you a 200KHz clock on the sck pin. What Config and OSCCON settings are you using? The 2410 has a 4x PLL that you can use with the internal osc to run at 32MHz. Enable it using OSCTUNE.bits(6) = 1 OSCCON = %11110110 Placed After my includes. Now Ive used those Osc...
by Overclocked
Mon Mar 16, 2015 11:06 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

I'm using a 18F47J53, the only difference is that it is a 3.3v device, I can't see that being the issue though?. :roll: Would you mind posting your code? Also what speed did your bus run at? Mine seems to clock in at a measly 50Khz :/ Something tells me it may be because Im using the internal oscil...
by Overclocked
Mon Mar 16, 2015 12:16 am
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

You said you are using 18F2410 and PORTA? Have you tried setting PORTA (ADC) to digital? you may want to include the following in your code ADCON1 = $0F CMCON = $07 Added that code in, still nothing. But Im noticing that the clock is A lot faster than the data and needs to be slowed down quite a bi...
by Overclocked
Sun Mar 15, 2015 9:00 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

Odd, I did exactly that this time RST to PortA.5 CS to PortA.4 RS to PortA.3 SCLK to PortA.1 SDA to PortA.2 Back light to a resistor that goes to VCC (+5V). But I noticed something. You have a blue background, mine is White. If im understanding the code correctly, we are setting the brush color to b...
by Overclocked
Sun Mar 08, 2015 1:56 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

That is true, but I only need to display a few things. TFT seemed the way to go. I also saw that the libraries were ported over, and no ones tested them (except again, I dont know where to go from here). Wonder if I should buy a chipkit to see if the display can be driven using the source code that ...
by Overclocked
Fri Mar 06, 2015 9:16 pm
Forum: Modules
Topic: 1.8'' TFT Display
Replies: 29
Views: 26237

Re: 1.8'' TFT Display

Hello, TFT_RS connected to RESET (pin 1) TFT_RW connected to pin D/C (pin 3) TFT_CS connected to pin CE (pin 2) TFT_SCK connected to pin CLK (pin 5) TFT_SDA connected to pin DIN (pin 4) This is how I connected it :) Basically how it was shown in Source. I also verified that the 8 and 16 pin connect...