Search found 99 matches

by Eric
Tue May 03, 2011 3:01 pm
Forum: Programming Tips & Tricks
Topic: Dual Channel Temperature Logger
Replies: 4
Views: 12245

Re: Dual Channel Temperature Logger

Hello Ben,

Do you mean by last component the one mentioned in this post: viewtopic.php?f=29&t=7461&p=19498#p19450
or is there in the meantime a newer version?

Best regards,

Eric
by Eric
Mon May 02, 2011 12:09 am
Forum: Programming Tips & Tricks
Topic: Dual Channel Temperature Logger
Replies: 4
Views: 12245

Re: Dual Channel Temperature Logger

Hello John, Nice work, very interesting application. I made a similar program some time ago and therefore I would like to ask you 2 questions on this. 1) Did you already tried to log your data over a prolongued period of time ( lets say 2 day's ?) In the beginning I also used the "append to file" me...
by Eric
Fri Dec 03, 2010 7:41 pm
Forum: Flowcode V4
Topic: Port F not working on PIC18F6622
Replies: 2
Views: 2527

Re: Port F not working on PIC18F6622

Hello Ben, I think I didn't expressed myself clear enough. I am using Flowcode V4.3.7.63 Pro and the I am using the same fcd you sent me. The problem is not that I cannot select PORTF, the problem is that the lcd doesn't work when I attach it to PORTF, but when I reconfigure the lcd to PORTD it work...
by Eric
Thu Dec 02, 2010 11:04 pm
Forum: Flowcode V4
Topic: Port F not working on PIC18F6622
Replies: 2
Views: 2527

Port F not working on PIC18F6622

Hello,

I can't configure PORTF on PIC18F6622 as an output in Flowcode.
The port is unable to control an lcd.
Any idea's?

Best regards,

Eric
by Eric
Thu Nov 25, 2010 9:10 pm
Forum: Flowcode 4 Bugs
Topic: Error in FAT16 component?
Replies: 6
Views: 10819

Re: Error in FAT16 component?

Hello Ben,

The problem is still there.
See attachement: were the zero's begin, it continued logging by overwriting the first file.

Best regards,

Eric
by Eric
Tue Nov 23, 2010 1:22 pm
Forum: Flowcode 4 Bugs
Topic: Error in FAT16 component?
Replies: 6
Views: 10819

Re: Error in FAT16 component?

Ok Ben, I will keep you informed. It will take a few days.

Rgds,

Eric
by Eric
Thu Nov 18, 2010 6:21 pm
Forum: Flowcode 4 Bugs
Topic: Error in FAT16 component?
Replies: 6
Views: 10819

Re: Error in FAT16 component?

Hi Ben,

Thanks for your reply.
Yes, I am using the component code mentioned in that post.

Regards,

Eric
by Eric
Sun Nov 14, 2010 11:05 am
Forum: Flowcode 4 Bugs
Topic: Error in FAT16 component?
Replies: 6
Views: 10819

Error in FAT16 component?

Hello, I am afraid there still is an error in the FAT16 component when the total number of sektors written to the Media Card exceeds the 65536 boundary. Awhile ago I created a datalogging system which recorded central heating data over an extended period of time on a 512 Meg SD Card. Each time the d...
by Eric
Thu Nov 04, 2010 3:10 pm
Forum: Flowcode V4
Topic: Ver.5
Replies: 13
Views: 8196

Re: Ver.5

Hello Dan81,

I need Pic to Pic communication via I2C.
Just interconnecting 2 slave Pics and a DS1307 real time clock to 1 master Pic without the use of additional driver ic's.
The addressing possibility of the I2C protocol looks ideal for this.

Regards,

Eric
by Eric
Wed Nov 03, 2010 2:34 pm
Forum: Flowcode V4
Topic: Ver.5
Replies: 13
Views: 8196

Re: Ver.5

Hello Benj,

I really would like an I2C and/or SPI slave component.

Best regards,

Eric
by Eric
Sun Aug 08, 2010 9:59 am
Forum: Flowcode V4
Topic: TMR3 not available on PIC18F452
Replies: 1
Views: 1987

TMR3 not available on PIC18F452

Hello team,

Can you please activate TMR3 on PIC18F452.
It is not selectable in the interrupt macro.

Thanks,

Eric
snap0611.jpg
snap0611.jpg (24.89 KiB) Viewed 1987 times
by Eric
Mon May 31, 2010 6:55 pm
Forum: Flowcode V4
Topic: Passing array's to macro's
Replies: 1
Views: 2249

Passing array's to macro's

Hello, Passing strings to a macro is not a problem in Flowcode. However, passing an array is, because array's can have null bytes in it. If you pass an array to a macro, the operation will succeed until it encounters a null byte. Thereafter the transfert stops. This can lead to very hard to find bug...
by Eric
Sat May 29, 2010 10:21 am
Forum: Flowcode V4
Topic: One Wire Example - Failure on linking
Replies: 54
Views: 35804

Re: One Wire Example - Failure on linking

Hello Jan, I am glad you have results now. I never tried the 2-wire setup. After all, I am using standard UTP cable, where I have plenty of wires. But I think that if you want to use the 2-wire setup, you need an extra Port to generate a hard pull-up via the mosfet during the temperature conversion ...
by Eric
Fri May 28, 2010 9:11 am
Forum: C and ASM Programming
Topic: finding sub_array in array
Replies: 2
Views: 3972

Re: finding sub_array in array

Thanks Ben, I will give it a try.

Rgds,

Eric
by Eric
Fri May 28, 2010 9:08 am
Forum: Flowcode V4
Topic: One Wire Example - Failure on linking
Replies: 54
Views: 35804

Re: One Wire Example - Failure on linking

Hello Jan, Some things are not clear to me: 1) You use C-code: osccon=0x70, meaning oscillator freq is set to 8Mhz, but in the project options you assign the clockspeed to 19660800 Hz. I removed the c-code. 2) For some reason ( I don't know why ) I don't get my lcd to work with the connections you h...
by Eric
Thu May 27, 2010 7:11 pm
Forum: C and ASM Programming
Topic: finding sub_array in array
Replies: 2
Views: 3972

finding sub_array in array

Hello,

I need to verify the occurence of a 8 byte sub-array in another 130 bytes array.
I can't use the C-function strstr because there are zero bytes in both arrays.
Can anybody show me the way how to do this?

Best regards,

Eric
by Eric
Thu May 27, 2010 6:21 pm
Forum: Flowcode V4
Topic: One Wire Example - Failure on linking
Replies: 54
Views: 35804

Re: One Wire Example - Failure on linking

Hello Jan, You don't need to adapt the print routine. Unavailable sensors are simply blanked. What you can eliminate is the Required_SensorCount check. I don't know which processor you are using but please check this: 1) Be sure port A is set to digital, not analogue. 2) I noticed that the one wire ...
by Eric
Thu Mar 25, 2010 3:06 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 10164

Re: DS2401 Silicon Serial Number help

Hi Ondra, I migrated once from a PIC18F452 to a PIC18F8250 ( due to lack of output ports). There I noticed that everything worked as before except for the onewire sensors. When I examined the C code, I noticed that for the PIC18F452 Flowcode compiled as first command: adcon1 = 0x07; For the PIC18F82...
by Eric
Thu Mar 25, 2010 7:41 am
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 10164

Re: DS2401 Silicon Serial Number help

Hello Ondra,

It is possible to use C3.
I suggested PORTA0 only to eliminate possible differences between my hardware ( where I tested it ) and your hardware.

Best regards,

Eric
by Eric
Wed Mar 24, 2010 9:19 am
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 10164

Re: DS2401 Silicon Serial Number help

Hello Ondra,

I think you need to do 2 things:

1) add the following c-code at the beginning of your program: adcon1 = 0x07;
2) connect the one wire device to port A0 and change the connection properties to A0 in the property field of the one-wire component

Best regards,

Eric
by Eric
Sun Mar 14, 2010 9:41 am
Forum: Flowcode V4
Topic: Problem with FAT component
Replies: 6
Views: 4779

Re: Problem with FAT component

Hello Ben,

Any progress on this issue?

Regards,

Eric
by Eric
Sat Mar 06, 2010 7:57 am
Forum: Flowcode V4
Topic: V4.2 OneWire Variable type declarations dont look correct
Replies: 3
Views: 3491

Re: V4.2 OneWire Variable type declarations dont look correct

George,

What crystal frequency do you use?
It can be a timing problem.
I use 8 Mhz.
Also: try adding delays of 100 ms after each command


Eric
by Eric
Fri Mar 05, 2010 10:07 am
Forum: Flowcode V4
Topic: V4.2 OneWire Variable type declarations dont look correct
Replies: 3
Views: 3491

Re: V4.2 OneWire Variable type declarations dont look correct

Hello George, I tried your program and it actualy works. It needs of course to be refined but the basic principles are correct. Now I am even more convinced that you have a hardware problem somewhere. Look at the attached diagram with simulation. I had to make some changes to make it run on my hardw...
by Eric
Tue Mar 02, 2010 11:21 am
Forum: Flowcode V4
Topic: Problem with FAT component
Replies: 6
Views: 4779

Re: Problem with FAT component

Hi Ben, Thanks for your reply. But unfortunatly XP Pro SP3 doesn't offer me the choise to format the MMC in another format as the default one. snap0422.jpg It is important to know that in my full program the filesize of the even files with no data in it are effectively growing as the logging continu...
by Eric
Tue Mar 02, 2010 7:29 am
Forum: Flowcode V4
Topic: One Wire Example - Failure on linking
Replies: 54
Views: 35804

Re: One Wire Example - Failure on linking

Hello George, I propose you run the program with additional stops build-in to it, to find out where your error exactly occurs ( standard debugging procedure ) Also, I don't use hardware from Matrix, but from MikroElektronica. Maybe there are some differences like internal pull-up or pull-down resist...