Search found 40 matches
- Thu Dec 18, 2008 6:12 pm
- Forum: Flowcode V2 & V3
- Topic: Pic16f870 and LM35
- Replies: 2
- Views: 2948
Re: Pic16f870 and LM35
Hello. The 10-bit ADC conversion, with the default 5v reference, resolves down to 4.88mV. The resolution can be increased to 1.95mV by selecting one of the external reference voltage options (requires a modified .fcd file for the device - http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=5&t...
- Mon Dec 15, 2008 8:24 pm
- Forum: Flowcode V2 & V3
- Topic: Pic16f870 and LM35
- Replies: 2
- Views: 2948
Pic16f870 and LM35
Hello there,
The LM35 is a temperature sensor and 10mV is 1 degree.
I use a pic 16f870 and I use the analoge input that is 0 to 1023
and I use a 4 digit led.
Is it possible to make a calculation so that I can see 0,1mV is 1 bit?
Henk
The LM35 is a temperature sensor and 10mV is 1 degree.
I use a pic 16f870 and I use the analoge input that is 0 to 1023
and I use a 4 digit led.
Is it possible to make a calculation so that I can see 0,1mV is 1 bit?
Henk
- Sun May 18, 2008 9:35 pm
- Forum: Flowcode V2 & V3
- Topic: Let Us Know What You Are Doing With Flowcode
- Replies: 42
- Views: 86386
Re: Let Us Know What You Are Doing With Flowcode
Hi there,
I use Flowcode to make a micro wetherstation with temperature, barometer, windspeed and winddirection.
Also I make a program for a flightsimulator and many other programs.
I like flowcode. It's a great program.
Henk Middendorp.
I use Flowcode to make a micro wetherstation with temperature, barometer, windspeed and winddirection.
Also I make a program for a flightsimulator and many other programs.
I like flowcode. It's a great program.
Henk Middendorp.
- Sun May 18, 2008 7:05 pm
- Forum: Flowcode V2 & V3
- Topic: New color gLCD(Flowcode)
- Replies: 8
- Views: 9679
New color gLCD(Flowcode)
Hi there,
I used last week the new graphical gLCD but I don't no how to work all the functions.
Do you have a description of the Color gLCD?
And what is the type of the LCD?
Greetings, Henk
I used last week the new graphical gLCD but I don't no how to work all the functions.
Do you have a description of the Color gLCD?
And what is the type of the LCD?
Greetings, Henk
- Wed Jan 09, 2008 7:11 pm
- Forum: Flowcode V2 & V3
- Topic: Problem with Flowcode
- Replies: 3
- Views: 2933
Hello Henk Please send the program to support@matrixmultimedia.co.uk and I will take a look for you. . Hello Ben, Yesterday it was a ferry bad day because every time I send the program to the pic 16f870 than the program V 3.0 says Building a casm file and the sending stopped. To day is everything o...
- Tue Jan 08, 2008 8:07 pm
- Forum: Flowcode V2 & V3
- Topic: Problem with Flowcode
- Replies: 3
- Views: 2933
Problem with Flowcode
Hello there,
I have a problem with Flowcode.
If I sending a program to the Pic 16f870 than the program says >buillding CASM file. En of the end of it I see> Return code=259<.
Can you tell me what the problem is?
I have a problem with Flowcode.
If I sending a program to the Pic 16f870 than the program says >buillding CASM file. En of the end of it I see> Return code=259<.
Can you tell me what the problem is?
- Mon Aug 06, 2007 9:08 pm
- Forum: Flowcode V2 & V3
- Topic: Stringmanipilatie
- Replies: 1
- Views: 2214
Stringmanipilatie
Hello,
I want to use the stringmanipilatie in a Flowcode program, but I don't no how. There is nothing about this in the help.
Is er any user manual for this?
Henk
I want to use the stringmanipilatie in a Flowcode program, but I don't no how. There is nothing about this in the help.
Is er any user manual for this?
Henk
- Fri Jul 06, 2007 12:20 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Which ADC channel are you sampling. If you refer to the device datasheet under ADC then you will see that the values that I picked convert one or two of the AN channels into the VREF channels. In my programm I sampling the an0 and I use the variable an0 and read it as INT.( I see this on my LCD).No...
- Thu Jul 05, 2007 8:12 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Hello All three of your sample functions contain exactly the same code. You need to assign a different adcon1 value for the VRef+ and VRef-. //VREF+ char ta, te, cnt; adcon1 = 0x01; ta = trisa; ........... //VREF- char ta, te, cnt; adcon1 = 0x08; ta = trisa; ........... Hello Ben, I Idid what you s...
- Tue Jul 03, 2007 7:17 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Hello Sorry I only gave the code for the sample routine. Definitions and declarations //Function Prototypes void FCD_ADC0_SampleADC(char Channel); int FCD_ADC0_GetVal(void); Function Implementations void FCD_ADC0_SampleADC(char Channel) { char ta, te, cnt; adcon1 = 0x00; ta = trisa; trisa = trisa |...
- Thu Jun 07, 2007 5:37 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Hello Sorry I only gave the code for the sample routine. Definitions and declarations //Function Prototypes void FCD_ADC0_SampleADC(char Channel); int FCD_ADC0_GetVal(void); Function Implementations void FCD_ADC0_SampleADC(char Channel) { char ta, te, cnt; adcon1 = 0x00; ta = trisa; trisa = trisa |...
- Tue Jun 05, 2007 9:20 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Hello The conversion clock is alread set to Fosc / 64. you could change this for example to the internal RC clock by changing the line adcon0 = 0x81 | (Channel << 3); //Set Fosc/64 to adcon0 = 0xC1 | (Channel << 3); //Set Internal RC The Channel variable will let you sample from more then one Analo...
- Thu May 31, 2007 8:37 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Hello Henk To use the supplementary code you do the following. Insert your function into the function implementations box. void FCD_ADC0_SampleADC() { char ta, te, cnt; ... } Then in the definitions box enter the function prototype. void FCD_ADC0_SampleADC(); You can now call the function from flow...
- Wed May 23, 2007 4:00 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
Supplementary code
Hello Henk To do this you will have to create your own ADC routine which enables these registers on the PIC. the easiest way todo this is to create a flowcode program with an ADC sample routine and then compile it to C and copy / change the parts that need editing (refer to the PICmicro datasheet f...
- Sun May 20, 2007 8:24 pm
- Forum: Flowcode V2 & V3
- Topic: ADC from a PIC 16f877a
- Replies: 15
- Views: 13723
ADC from a PIC 16f877a
Hi there, I would like to use the 10 bits function of FlowCode 3.0. I have a program in mind in which I have to divide 0,521V over 27 bits. This limits my calculation options. To solve this, I want to make use of the VREF+ with 4,830V on it and I’ll put 4,309V on the VREF- That way I have 0,521V t...