Search found 15 matches

by BruceNZ
21 Sep 2008 06:02
Forum: mikroBasic Wish List
Topic: GPS library
Replies: 6
Views: 10412

Hows it going?

How is the GPS/Nmea hardware / libraries going? It has been a few years since it was first discussed.

There are quite a few of us quite keenly waiting for the software library in particular.

Thanks

Bruce
by BruceNZ
18 Sep 2008 06:30
Forum: mikroBasic General
Topic: GPS interpreter
Replies: 34
Views: 32735

Gps and Navigation Formulae

I have been working quite a bit on some of these navigation formulae for a pic based gps autopilot I am working on. Because of the large amounts of maths I have written a small application in Visual Basic to double check the results I am returning from the pic. Anyway.... the formula I have been usi...
by BruceNZ
30 Jul 2008 08:43
Forum: mikroBasic General
Topic: I2c Problem With pic16f877A
Replies: 12
Views: 9277

Success at last..... well kind of

Hi all Thanks Everbody for your help. In desperation I went out and bought another i2c compass sensor board, the devantech cmps03, I got it out of the packaging, built up an adapter board and it worked straight away. The irony of it all is that the devantech board uses a similar pic processor for it...
by BruceNZ
15 Jul 2008 19:24
Forum: mikroBasic General
Topic: I2c Problem With pic16f877A
Replies: 12
Views: 9277

Will Do

Sure, I will from now on, still learning all the little forum tweaks.

Thanks

Bruce
by BruceNZ
15 Jul 2008 09:53
Forum: mikroBasic General
Topic: I2c Problem With pic16f877A
Replies: 12
Views: 9277

Different Compass

Hi Thanks for your help so far I have tried to modify the compass code in the example as suggested but it is still locking up in the i2c section. It sounds like the cmps03 is similar (I even considered purchasing it for this project) but a bit different. in my compass 0X00 is the Heading LSB 0X01 is...
by BruceNZ
12 Jul 2008 10:06
Forum: mikroBasic General
Topic: I2c Problem With pic16f877A
Replies: 12
Views: 9277

Compass Code

Still Developing the final code but you will get the picture from the code below. Compass manufacturer (www.techdesign.be) speaks of compass emulating an i2c eeprom, he also speaks of 'checking that the eeprom is ready) I am yet to work out how to implement this. My hardware is nothing fancy, a dev ...
by BruceNZ
12 Jul 2008 05:03
Forum: mikroBasic General
Topic: I2c Problem With pic16f877A
Replies: 12
Views: 9277

I2c Problem With pic16f877A

Hi All I am using a compass with an i2c interface to connect to my pic 16f877a. I am using the standard hardware i2c functions with pc4 as sda and pc3 as scl. The idea is for the pic to get the heading from the compass and display is on the lcd I am using a 10mhz ocilator and my config bits are all ...
by BruceNZ
15 Jun 2008 09:24
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

Success at Last

Success at Last I have been using separate lcd displays for my trial with lcd 4 bit and 8 bit demo programs. Both of these interfaces are soldered up on breadboard. I had visually checked that the wires go where they should a number of times. Tonight in desperation I got the meter out again, followi...
by BruceNZ
15 Jun 2008 06:31
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

Sample Code

Hi here is some code I hav written to test the lcd, It is meant to test the lcd by sending it various character codes and having it display the character based on its code dim count as integer TRISB = 0 TRISD = 0 main: count = 0 Lcd8_Config(PORTB, PORTD, 7,5,6, 7,6,5,4,3,2,1,0) delay_ms(10) Lcd8_Cmd...
by BruceNZ
15 Jun 2008 02:06
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

LCD

Hi,

Yes compiled for 10Mhz

Arghhhh Starting to stress out

Thanks

Bruce
by BruceNZ
14 Jun 2008 21:07
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

Another update

Hi again

It appears that the lcd is not just displaying a foreign character set.
A number of the characters it is displaying are the same even though they are given a different character number.

Hmmmm I dont know
by BruceNZ
14 Jun 2008 20:54
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

Funny Characters

Hi guys Thanks for your help so far I will try connecting the lcd's control lines to some other port but its gonna take a while. (My board has full 8 bits available for use on 10 pin headers, port c and port a are only 0 - 5 on the headers) I will try to post a pic of the characters I am seeing, but...
by BruceNZ
14 Jun 2008 10:02
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

Dev Schematic

Hi Thanks for your help so far see http://www.ett.co.th/product/pic/et-base-pic40/CIRCUIT%20ET-BASE%20PIC40.pdf for the schematic of the board. I am using Port D for the Data bits and port B7 for RS and B6 for E, rw is not used but I hav specified it as B5 Both the Dev board and the Lcd are out of T...
by BruceNZ
14 Jun 2008 09:18
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

PORT D

Hi, I tried Portd with no luck May have been a hardware fault because I did not correct the VEE (Contrast pin) properly (Just tied it to 5v or gnd) I have connected a 8 bit example up with some success. (VEE connected properly now) The Lcd control commands are now working ( it will clear the lcd, go...
by BruceNZ
14 Jun 2008 00:32
Forum: mikroBasic General
Topic: LCD on PIC 16F877A
Replies: 17
Views: 5945

LCD on PIC 16F877A

Hi all I am using a pic16f877a on a development board by futurlec. I have wired a lcd according to the diagram provided in the help files upon compiling the sample program even NO GO :( It may well be the config fuses but I do not know. I am using a parralel port LVP Programmer with winpic800 to dow...

Go to advanced search