Search found 115 matches

by SILVESTROS9
Fri Mar 20, 2020 9:00 pm
Forum: Flowcode V7
Topic: DIGITAL POT CONTROLLED WITH ENCODER
Replies: 2
Views: 2834

DIGITAL POT CONTROLLED WITH ENCODER

Hello to all . I would like to control a digital pot MAX-5484 , 1024 STEPS, 50K , with a BOURNS incremental encoder PEC-11R. I made a demo code to move the wiper of pot step by step in directions up/down with a pulse. According to PEC-11R data sheet with 1 pulse wiper moves 1 step of 1024. In my cas...
by SILVESTROS9
Sun Oct 06, 2019 4:21 pm
Forum: Flowcode V8
Topic: 2 PHASE INTERLEAVED BUCK CONTROLLER
Replies: 2
Views: 2204

2 PHASE INTERLEAVED BUCK CONTROLLER

Hallo to all.
is there an example code, or a way to realize a 2 phase interleaved buck converter for FC8 , as in the design file ( page 8, figure 10 ) below ? It gives the MPLAB X project files, but I would like to realize that with FC8 .
by SILVESTROS9
Mon Sep 16, 2019 1:47 pm
Forum: Flowcode V8
Topic: C CODE TO FC8 CONVERSION
Replies: 2
Views: 2267

C CODE TO FC8 CONVERSION

I would like to convert a code in C TO FC8. The firmware below is for a MCU , MSP430F5132 of Texas ...I would like to convert the main.c to FC8, to transfer to a PIC MCU for easier programming. Is it possible that , and how can I do it ? the firmware is a part of TIDA-010042 project of Texas Instr. ...
by SILVESTROS9
Fri Aug 23, 2019 12:12 am
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35, ok, I found the way to display the numbers of security code...also I would like to reduce the number of buttons....a way is to use 3 buttons ...UP and DN to select the number 0-9 , and SET to input at circular buffer...is there a component for that , or a code example with numbers display...
by SILVESTROS9
Thu Aug 22, 2019 2:02 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35, the timing is correct on hardware ...with a typical crystal the deviation is 2 seconds at 1 hour...its ok ... another issue...sometimes the security code not inserted correct ...it needs 2 or 3 times to get the message "security code ok "....its about accuracy or keyboard resistors ? what...
by SILVESTROS9
Wed Aug 21, 2019 8:55 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35,
the 5 variables was cleared....but we forget to add also in calculation box the TimeUpFlag=0...after that the timer works fine....
by SILVESTROS9
Wed Aug 21, 2019 11:59 am
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35, I set the calculation box to clearing variables before timer interrupt enable...the timer works ok only the first time of password set after hardware reset ...the second time that I set the password without hardware reset , the timer works for 3 seconds...it seems that there is no variabl...
by SILVESTROS9
Tue Aug 20, 2019 10:25 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35,
I think that there is no reset at variables after timer disable....below is the flowchart for your opinion... most important for me is the accuracy of timer at 1 month, and the max theoretical deviation at that period...
by SILVESTROS9
Tue Aug 20, 2019 4:11 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35,
is it possible to calculate the accuracy of timer at 1 month period ? what are the factors that have effect in that ?
by SILVESTROS9
Mon Aug 19, 2019 9:13 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

medelec35,
I use external oscillator ( a crystal 16 MHz ).
about verylongdelays code ( at main ) in decision branch there is " if TimeUpFlag? "..... is this correct , or " if TimeUpFlag=1 ?
by SILVESTROS9
Mon Aug 19, 2019 1:21 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

Re: LONG TIME TIMER

Medelec35,
thanks for your answer...is there a way to test the timer without waiting days ? how to calculate and set up the clock speed of the target ? ( I'll use a PIC16F1939 ).
by SILVESTROS9
Sun Aug 18, 2019 2:42 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 14
Views: 6268

LONG TIME TIMER

Dear sirs, i would like to run a part of FC8 code for a long time ( some days to 1 month )...is it possible to do that and how ? when the code goes to that part ( a macro ) starts a timer that runs in the background...at the end of preset time, the code leave the macro and goes to a connection point...
by SILVESTROS9
Sun Aug 11, 2019 5:24 pm
Forum: Flowcode V7
Topic: FLOWCODE7 PACKS
Replies: 1
Views: 2455

FLOWCODE7 PACKS

Dear sirs,
would you like to inform me how to buy the feature pack MiscA ( storage components) for FLOWCODE7 ? thanks.
by SILVESTROS9
Wed Jun 12, 2019 11:35 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 5307

Re: ERROR IN PIC16F1709 CODE

update....after config changes (thanks medelec35), the code runs (flash test ok), but no chars on LCD....The same communication error.."invalid checksum in response "...a hardware damage at SN75176 maybe ? it seems that there is no valid response code....line10 below...response code : no slave addre...
by SILVESTROS9
Wed Jun 12, 2019 7:30 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 5307

Re: ERROR IN PIC16F1709 CODE

I made the flasher test...not work....Ι would like to use use INTOSC ....what is the proper fosc.? what is the proper config? the test was with HS osc.config and 16MHZ fosc.
by SILVESTROS9
Wed Jun 12, 2019 12:16 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 5307

ERROR IN PIC16F1709 CODE

below are the schematic and the code...the project is to send chars with a Modbus master (a PLC) , to a 4x20 lcd..
by SILVESTROS9
Wed Jun 12, 2019 12:07 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 5307

ERROR IN PIC16F1709 CODE

Hello to all.... I was loaded a working code with PIC16F1939 that displays chars on a 4x20LCD, to a smaller pcb using a PIC16F1709....the code runs, but have no chars on LCD and get an error "invalid checksum"....where is the problem? at FC7 code , or at programmer ? my programmer is PICkit2 with mo...
by SILVESTROS9
Thu May 30, 2019 10:48 pm
Forum: Flowcode V7
Topic: PIC16F1579 SUPPORT
Replies: 0
Views: 4309

PIC16F1579 SUPPORT

I need to use PIC16F1579 for a project , but I noticed that that chip not supported by FC7...is there a possibility to add that chip in the PIC16F family to load my flowcode in the chip ?
thanks.
by SILVESTROS9
Sat Apr 13, 2019 9:34 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

Re: INTERRUPT FOR PIC 16F1937

I tried with an external comparator LM 393 with IOC for output pin, , and works fine....many thanks for help...
by SILVESTROS9
Mon Apr 08, 2019 9:33 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

Re: INTERRUPT FOR PIC 16F1937

thanks QMESAR , I know that , but I have no free inputs....I 'll try with ext. comparator (LM339 or LM393).
by SILVESTROS9
Mon Apr 08, 2019 3:23 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

Re: INTERRUPT FOR PIC 16F1937

good idea ...I'll test it....what if Imax must be total current IL + IH ? that's a puzzle because we need calculation therefore extra time....
by SILVESTROS9
Mon Apr 08, 2019 12:23 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

Re: INTERRUPT FOR PIC 16F1937

unfortunately , I have no free pins in PIC , only E.2 (ADC7) and B.5 (ADC2) ....using a small code with ADC, then when Imax set a pin to 1 , and then use the IOC for that pin, that works some times, but because the main code has many time delays , I can't have permanent monitor of current...i think ...
by SILVESTROS9
Sun Apr 07, 2019 11:45 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

Re: INTERRUPT FOR PIC 16F1937

thanks medelec35...I was think that , but with the desired limit of 20A resistors must be 0.25ohm/5w, large enough,with heat dissipation ...I prefer to use 3 resistors 0.03ohm/1w in parallel (smd), so for 20A I have to handle 0.2V ...there are some problems ..i need some additional circuits to isola...
by SILVESTROS9
Sun Apr 07, 2019 6:27 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 6097

INTERRUPT FOR PIC 16F1937

Hello to all ! I would like to monitor the total current on 2 resistors (schematic) in a project with FC7..I use ADC2 and ADC7 to measure the current with VL, VH..When Itot exceeds a imax then the flowcode will call a macro ( LOAD_OVERCURRENT1), to set off some inputs and write a warning message on ...
by SILVESTROS9
Fri Jan 25, 2019 10:45 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 5611

Re: VARIABLES IN FC7

Martin, many thanks for your help....yes, according to T6963 data sheet must be read the status of pin STAO, STA1 before each instruction , data or command...PORTB works as I/O between mcu and glcd....I'll make some changes and try again....in your opinion how can I test if the glcd is initialized c...