Search found 30 matches

by JAW
Wed Nov 04, 2015 9:54 am
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

Just added your suggestion and as always, You are bang on the money!!

Many Thanks

James :D
by JAW
Tue Nov 03, 2015 4:40 pm
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

Hi All, I've written a macro now so you can pass the channel number you want to read and it will return the reading of that channel. Took me a little while, with moving house and looking after children over half term! I've tested it and it works great. Saves a lot of time and memory space! Regards J...
by JAW
Tue Oct 20, 2015 12:45 pm
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

Hi Benj

It works!!

I have been banging my head against the wall for ages!!. I just need to sit down and understand what you have done differently. I notice you have done the comms in one send char as I did it in two as suggested in the datasheet.

Many Thanks

James
by JAW
Tue Oct 20, 2015 9:55 am
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

Has anyone got any help or advice to give?

This chip is driving me up the wall!!! I coming to the mind of finding a different ADC.

Regards

James
by JAW
Thu Oct 08, 2015 4:23 pm
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

More progress but still not quite there!!! I've inverted the MSB using some code off the forum and altered the chars sent to the SPI. It works much better but still can't fathom the last bit, Any ideas ???

Cheers

James
by JAW
Thu Oct 08, 2015 11:48 am
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

Re: MCP3208

I've made some progress. The new chart is giving a more stable reading but the MSB appears to be inverted. When I increment the pot I get the following on the MSB :- 10000000 128 01000000 64 11000000 192 00100000 32 10100000 160 01100000 96 11100000 224 If the bits were the other way round it would ...
by JAW
Thu Oct 08, 2015 11:04 am
Forum: Flowcode V5
Topic: MCP3208
Replies: 8
Views: 12450

MCP3208

Hello all, I'm currently trying to get data out of an MCP3208 8 channel SPI DAC. I can set the address for each channel and get data back but it is meaningless! I've attached a file of what I'm doing. From the datasheet I've ascertained that on reply from the DAC I get the MSB and then the LSB (page...
by JAW
Mon Oct 05, 2015 3:17 pm
Forum: Flowcode V6
Topic: MCP3208 12bit SPI Help needed
Replies: 8
Views: 6082

Re: MCP3208 12bit SPI Help needed

Hi Jordy,

I have just started to try and use the MCP3208 and wondered if you could send me the tutorial previously mentioned in this thread.

Regards

James
by JAW
Mon Oct 07, 2013 2:29 pm
Forum: General Programming
Topic: Limited Software Download for Intellectual Property
Replies: 4
Views: 4654

Re: Limited Software Download for Intellectual Property

Rapid electrinics do a product called a tea clipper.

Part nos 43-0096 and 43-0097

Sounds like it fits with what you are trying to do!

Regards

JAW
by JAW
Sat Nov 05, 2011 2:26 pm
Forum: Flowcode V4
Topic: SPI Sending Stings
Replies: 7
Views: 4771

Re: SPI Sending Stings

Hi Jay Dee,

I've found an application note:-

http://www.ti.com/lit/an/slva267a/slva267a.pdf

Hope this helps !!

Regards

JAW
by JAW
Sat Oct 01, 2011 7:52 pm
Forum: General Programming
Topic: Suggestions for LED Driver, SPI and PWM output?
Replies: 5
Views: 5771

Re: Suggestions for LED Driver, SPI and PWM output?

Hello Jay Dee,

Have you looked at the TLC5940 made by Texas Instruments? 16 CHANNEL LED DRIVER WITH DOT CORRECTION AND GRAYSCALE PWM CONTROL. Available on eBay.

Regards

JAW
by JAW
Fri Oct 29, 2010 5:11 pm
Forum: Flowcode 4 Suggestions
Topic: How hard would it be to alter the CAN module
Replies: 3
Views: 7963

Re: How hard would it be to alter the CAN module

Hi Benj,

I want to drop the data rate lower than your minimum 125 Kbs. I know this involves altering the crystal connected to the CAN chip but what about in terms of software alteration?

Regards

JAW
by JAW
Tue Sep 28, 2010 6:01 am
Forum: E-blocks
Topic: 18f4455 breadboard versus e blocks
Replies: 5
Views: 5256

Re: 18f4455 breadboard versus e blocks

Hi PUTS_JO,

One thing I've experienced with bread board is that it suffers from parasitic capacitance. This could be stopping the crystal from going into oscillation. Hence stopping your circuit from functioning.

Regards

JAW
by JAW
Wed Jul 07, 2010 7:37 pm
Forum: Flowcode 4 Suggestions
Topic: How hard would it be to alter the CAN module
Replies: 3
Views: 7963

How hard would it be to alter the CAN module

Hi Guys, How hard would it be to alter the CAN module so I can use lower data rates for longer distances ? I know from reading the datasheet that the crystal on the CAN chip would need to be altered. Software wise how hard would this be? I know nothing aboutC or how you write your modules but I have...
by JAW
Mon Jul 05, 2010 6:57 pm
Forum: Flowcode V4
Topic: Fat16 - Numerous Minor Bug Fixes and FAT32 Support v4.3
Replies: 10
Views: 8797

Re: Fat16 - Numerous Minor Bug Fixes and FAT32 Support v4.3

Hi Benj,

I have not had time to test yet but as soon as I do I'll let you know.

Thanks

JAW
by JAW
Mon Jul 05, 2010 6:23 am
Forum: Flowcode V4
Topic: Fat16 - Numerous Minor Bug Fixes and FAT32 Support v4.3
Replies: 10
Views: 8797

Re: Fat16 - Numerous Minor Bug Fixes and FAT32 Support v4.3

Hi Benj,

I could really use the following :-


//char Erase_Disk(void)
//char Format_Disk(void)

Regards

JAW
by JAW
Tue Jun 15, 2010 7:43 am
Forum: Flowcode V4
Topic: Fat16 - Numerous Minor Bug Fixes and FAT32 Support v4.3
Replies: 10
Views: 8797

Re: Fat16 - Dissapearing or Missing Files, Disk corruption

Hi Benj,

I have started to use the SD Card quite a lot and would really like to see you implement the 32 bit option, Thus giving more scope to what can be placed on the card.

Regards

JAW
by JAW
Thu May 27, 2010 12:41 pm
Forum: Flowcode V4
Topic: Converting data types
Replies: 4
Views: 4921

Re: Converting data types

Thanks Medelec that's working perfectly now.

Many Thanks

James
by JAW
Thu May 27, 2010 9:48 am
Forum: Flowcode V4
Topic: Converting data types
Replies: 4
Views: 4921

Re: Converting data types

Hi Benj, Thank you for your reply. I'm trying to go down the route of converting the decimal value to a bcd code. So far I've found a previous post but can't get it to workk correctly :- dec_t = dec/10 dec_u = dec MOD 10 bcd = (dec_u << 4) bcd = bcd + dec_u dec is the original decimal value dec_t an...
by JAW
Thu May 27, 2010 7:54 am
Forum: Flowcode V4
Topic: Converting data types
Replies: 4
Views: 4921

Converting data types

I'm having trouble being able to convert to decimal values into a hex value to send to a dallas time chip. I'm trying to write code for a clock with a menu enabelling you to change the time. The display shows the decimal value but I can't get my head round converting to hex and then sending down the...
by JAW
Sat Mar 13, 2010 1:30 pm
Forum: Flowcode V4
Topic: RA5 and NOT MCLR ??
Replies: 2
Views: 2466

Re: RA5 and NOT MCLR ??

Hi Ksor.

To remove the MCLR function from the pin you need to turn it off in the advanced section of the chip config page.

e.g. Chip > Configure > Switch to expert config page.

Then disable the Master Clear Enable.

Regards

Jim
by JAW
Mon Feb 15, 2010 11:29 am
Forum: Flowcode V4
Topic: Compile errors.
Replies: 15
Views: 8662

Re: Compile errors.

Hi Mikat,

One quick thing to try is to copy the program and try running it off your desktop. I have had similar problems with the compiler not liking network drives.

Regards

James
by JAW
Mon Oct 26, 2009 10:42 am
Forum: Flowcode 4 Bugs
Topic: problem compiling
Replies: 3
Views: 3551

Re: problem compiling

Hi Steve,

Just went to Beta version and compiled first time.

Thanks

James
by JAW
Mon Oct 26, 2009 10:07 am
Forum: Flowcode 4 Bugs
Topic: problem compiling
Replies: 3
Views: 3551

Re: problem compiling

Hi Steve,

I have version 4.1 . How can I get my hands on this new version as the "Check for Updates" says I have latest version ?

Regards

James
by JAW
Fri Oct 23, 2009 7:00 pm
Forum: Flowcode 4 Bugs
Topic: problem compiling
Replies: 3
Views: 3551

problem compiling

Hi All, I'm trying to use the lcd, can, I2C, RS232, Fat, EEprom and afew buttons in a data logging project. The project hangs when trying to compile assembly code. I've wittled it down to if you try to compile the LCD, CAN and I2C components. I've attached a very basic file to try and show what I me...