Search found 11 matches

by honkerbob
Tue Sep 13, 2011 12:19 pm
Forum: User Modules
Topic: AD9833 code
Replies: 0
Views: 4978

AD9833 code

Hi, I have knocked together some code to talk to an AD9833 DDS for a project I am working on. It is bitbashed at the moment and could probably be vastly improved. It works well and I hope it can help someone else. The variable one_hz needs to be set up for the master clock used to drive the AD9833. ...
by honkerbob
Sun Sep 04, 2011 2:58 pm
Forum: Modules
Topic: KS108B GLCD Issue
Replies: 2
Views: 2562

KS108B GLCD Issue

Thanks for your reply octal.

I changed some of the options:

#option GLCD_CS1 = PORTE.2
#option GLCD_CS2 = PORTE.1
#option GLCD_INVERT_CS = true

It now works perfectly.

Many thanks.
by honkerbob
Sun Sep 04, 2011 11:59 am
Forum: Modules
Topic: KS108B GLCD Issue
Replies: 2
Views: 2562

KS108B GLCD Issue

Hi, I am experiencing some difficulty with a 128 x 64 KS108 GLCD. I wonder if anyone can shed any light on this. I am using an 18F452 clocked at 6MHz. I am using example code to test the display, but the results are rather random, usually only 1 side of the screen is displayed and this is badly corr...
by honkerbob
Sun Mar 22, 2009 11:05 am
Forum: IDE
Topic: Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
Replies: 19
Views: 18100

Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10

I too would be interested to know if these paths need to be set; I have tried adding the directories in c:\documents and settings, but I still can't get it to build. I would really like to be able to use my ICD2 with swordfish for a project I have planned, but this problem seems to be intractable at...
by honkerbob
Sat Feb 07, 2009 6:17 pm
Forum: IDE
Topic: MPLAB 8.10 problem
Replies: 4
Views: 5184

MPLAB 8.10 problem

Hi, I'm trying to use Swordfish with MPLAB 8.10 and I can't get it working. When I attempt to build, I get the following error messages: Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\Mecanique\Swordfish\Swordfish.exe" Test.bas -p18F452 Swordfish BASIC Compi...
by honkerbob
Sat Jan 31, 2009 12:08 pm
Forum: General
Topic: Useful USB HID stuff
Replies: 1
Views: 2678

Useful USB HID stuff

Hi, I found a useful USB HID page: http://labs.mike-obrien.net/Document.aspx?id=hidlibrary I downloaded his HID library and knocked together a quick VB.NET program to talk to an 18F4550. It works very well indeed. If anyone would like to see the program that I used, feel free to drop me a line. Very...
by honkerbob
Thu Jul 31, 2008 6:45 am
Forum: General
Topic: SD card sockets
Replies: 3
Views: 3071

SD Card sockets

Just as an update - CPC stock a good range of SD card sockets, including through PCB connectors.

They are reasonably priced, but the shipping charge is outrageous unless your order is over £25.

Very best regards.
by honkerbob
Wed Jul 30, 2008 10:12 pm
Forum: General
Topic: SD card sockets
Replies: 3
Views: 3071

SD Card sockets

Thanks for your reply Steve. Putting wires through the board was an idea I missed. I'll give the surface mount stuff a go.

By the way, your backup plugin & monochrome image converter have become indispensable around here. Thanks for those, much appreciated.

Very best regards.
by honkerbob
Wed Jul 30, 2008 7:21 pm
Forum: General
Topic: SD card sockets
Replies: 3
Views: 3071

SD card sockets

I'd like to start using the SD card stuff but I'm having some difficulty tracking down a supplier of SD card sockets. Does anyone know where I can get them? I know that Toby Electronics do them, but they seem to be the surface mount type and I'd like a through board connector if I can get one. Many ...
by honkerbob
Sat Jul 26, 2008 4:57 pm
Forum: Modules
Topic: DS18S20 Gross errors
Replies: 1
Views: 2964

I have solved this issue by doing bubblesort and median filtering over a range of values. Many thanks to Tim Box for his excellent code in the Stein Hart linearization code sample.

I was a little naive to expect perfect data everytime. Sigh.

Very best regards.
by honkerbob
Sat Jul 26, 2008 11:41 am
Forum: Modules
Topic: DS18S20 Gross errors
Replies: 1
Views: 2964

DS18S20 Gross errors

I am new to Swordfish. I have been experimenting with the DS18S20, an LCD and the USB CDC stuff. I am currently running 3 DS18S20's together. They are taking readings when requested by a VB.Net application. On a sample run of 100 readings, 32% were grossly inaccurate, with an ambient temperature of ...