Search found 190 matches

by viki2000
Fri Nov 14, 2014 9:21 am
Forum: Flowcode V6
Topic: Using the Data Scope
Replies: 6
Views: 4800

Using the Data Scope

Based on the help page from here: http://www.matrixtsl.com/wiki/index.php?title=Using_the_Data_Scope I tried to test the given example under “Adding a digital pin or port to a stream” by monitoring the pin A0 when turning on/off a LED. Here is the program: PIC18F4550_SCOPE_LED.fcfx But it is not wor...
by viki2000
Thu Nov 13, 2014 4:39 pm
Forum: Flowcode V6
Topic: Rotary Quadrature Encoder
Replies: 19
Views: 13973

Re: Rotary Quadrature Encoder

No. It should work also with the internal oscillator 4MHz from a smaller PIC. Let's make some calculations. The average speed when turning the rotary encoder is about half of turn in 1 second and maximum 1 turn per second. This is what I tested for real. If you read the datasheet of such encoders, t...
by viki2000
Thu Nov 13, 2014 3:03 pm
Forum: Flowcode V6
Topic: Rotary Quadrature Encoder
Replies: 19
Views: 13973

Rotary Quadrature Encoder

I use PIC18F4550, a rotary quadrature encoder with a push button contact and a LCD 20x4 lines. The program is based on original “Quad_Encode_Test” from here: http://www.matrixtsl.com/wiki/index.php?title=Component:_Quad_Encoder_%28Mechatronics%29 Here is the program that I use: PIC18F4550_ENCODER.fc...
by viki2000
Tue Nov 04, 2014 9:26 am
Forum: General Programming
Topic: LCD – OLED interface
Replies: 3
Views: 7634

Re: LCD – OLED interface

Worth to mention that I used the LCD Generic component for both Raystar LCD and OLED. I just set the number of rows and columns and the hardware displays works. I did not have to choose the OLED component (Adafruit) for Raystar OLED. The Raystar OLED works with classical LCD component on 4 bits. LCD...
by viki2000
Fri Oct 31, 2014 12:37 pm
Forum: General Programming
Topic: LCD – OLED interface
Replies: 3
Views: 7634

Re: LCD – OLED interface

I can confirm the YES above. I purchased next LCD and OLED from http://www.tme.eu : LCD: RAYSTAR OPTRONICS RC2004A-BIW-ESX ( http://www.tme.eu/en/details/rc2004ab/lcd-alphanumeric-displays/raystar-optronics/rc2004a-biw-esx /) OLED: RAYSTAR OPTRONICS REC002004AYPP5N00000 ( http://www.tme.eu/en/detail...
by viki2000
Thu Oct 23, 2014 7:32 am
Forum: General Programming
Topic: LCD – OLED interface
Replies: 3
Views: 7634

LCD – OLED interface

When I look at the OLED components, I see: A) Inside of FlowCode 6: “LCD (Adafruit, OLED)” and “LCD 4x20 (Adafruit, OLED)” B) Help File: “LCD (Adafruit, OLED) component” What differences are between these 2 components? Is it the second one 2), without 20x4 in its name, able to drive also OLED displa...
by viki2000
Thu Sep 18, 2014 2:15 pm
Forum: Feature requests
Topic: Lighting communication protocols
Replies: 5
Views: 5274

Re: Lighting communication protocols

When you say „I generated Master/Slave components“ what does exactly mean?: - Would they be included/released in the next FlowCode upgrade or new version? By default? Or attached optional? - Can we add those components in the existing FlowCode 6 version? Will you upload/publish them here? - Are they...
by viki2000
Thu Sep 18, 2014 8:12 am
Forum: Feature requests
Topic: Lighting communication protocols
Replies: 5
Views: 5274

Lighting communication protocols

Hello,

I would suggest/request to add in future, if it is possible, next communications protocols used in many lighting applications:
- DALI
- DMX
- KNX

It would be a valuable tool for many programers and I think will increase the sales of FlowCode.
by viki2000
Mon Sep 08, 2014 8:07 am
Forum: General Programming
Topic: ADCON0 – ADC Channel 15 Error
Replies: 2
Views: 6722

ADCON0 – ADC Channel 15 Error

I have simple code producing PWM output in order to generate a sine wave using lookup table. The code is below. PIC18F4550_PWM_SINE.fcfx When I import the hex file in the PROTEUS ISIS, then I got an error related with ADCON0 register because is set for Channel 15, which does not exist: http://i926.p...
by viki2000
Tue Sep 02, 2014 3:16 pm
Forum: General Programming
Topic: Bit testing in a register
Replies: 2
Views: 4713

Re: Bit testing in a register

Dear Martin, Thank you for the answer. I tried to understand from where do you know that beside your experience. Or better said, how should I know/search such info? Where is the help file, the manual which leads to such info in case was no answer in the forum. Well, I found next: - the "FCV_" functi...
by viki2000
Tue Sep 02, 2014 11:04 am
Forum: Flowcode V6
Topic: Where is the PWM and LUT
Replies: 2
Views: 2947

Re: Where is the PWM and LUT

Thank you Martin.
I just found that 30sec before I have read your post.
Why I did not try that in those 15-20 min of my previous search, before posting, is hard to say...
Thank you one more time for the quick answer.
by viki2000
Tue Sep 02, 2014 10:54 am
Forum: General Programming
Topic: Bit testing in a register
Replies: 2
Views: 4713

Bit testing in a register

This is a general question about any PIC or any FlowCode version. Personally I use v6. How do I address a PIC register at the bit level in the flow diagram using Decision block? For example, if we take Timer2 and we want to see/test the state of TMR2IF bit, how do you do that? How do you make known ...
by viki2000
Tue Sep 02, 2014 10:30 am
Forum: Flowcode V6
Topic: Where is the PWM and LUT
Replies: 2
Views: 2947

Where is the PWM and LUT

Hi, I use FlowCode v6. The PC is Win7 64bits. I tried several PICs as PIC16F88, PIC18F4550, PIC16F877A with the same result. The FlowCode v6 works, but I cannot find the PWM component. So far I tried next: - Looking at the Flowcode Help File and searching at Outputs and Mechatronics. It is not there...
by viki2000
Tue Sep 02, 2014 9:59 am
Forum: Bug reports
Topic: PIC18F4550 - oscillator settings - CPU Sys CLK Select
Replies: 2
Views: 3680

Re: PIC18F4550 - oscillator settings - CPU Sys CLK Select

Dear Benj,

Now looks fine.
Thank you for the corrections.
by viki2000
Thu Aug 28, 2014 8:50 am
Forum: Bug reports
Topic: PIC18F4550 - oscillator settings - CPU Sys CLK Select
Replies: 2
Views: 3680

PIC18F4550 - oscillator settings - CPU Sys CLK Select

Hi, Please have a look at the pictures below, where the PIC18F4550 oscillator settings are specified for: http://i926.photobucket.com/albums/ad102/viki2000/Microchip/Page33_Datasheet_zpse4bc66c1.jpg http://i926.photobucket.com/albums/ad102/viki2000/Microchip/Page145_Addendum_zps7553175d.jpg http://i...