Search found 115 matches

by SILVESTROS9
Thu Jan 24, 2019 11:20 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 5612

Re: VARIABLES IN FC7

I send you the FC7 that I've made so far..also the code that I try to convert , and some info for glcd controller T6963C....the code after a cycle stops at status sub. i think the problem is maybe at set portB as input/output....my goal is to send a text to a glcd 240x128 with T6963C controller..I'v...
by SILVESTROS9
Thu Jan 24, 2019 12:19 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 5612

Re: VARIABLES IN FC7

Martin , I would like to thank you, for the info... another problem with following subroutine that I try to convert to FC7. 1. busy_chk: 2. glcd_ce = 1 3. glcd_tris= %11111111 4. glcd_cd = 1 5. glcd_wr = 1 5 glcd_ce = 0 6. glcd_rd = 0 7. pauseus GL_PAUSE 8. if (glcd_sta0 <> 1) AND (glcd_sta1 <> 1) t...
by SILVESTROS9
Tue Jan 22, 2019 8:31 pm
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 5612

VARIABLES IN FC7

Hello to all ! I would like to use the following subroutine (in picbasicpro) in a FC7 code... 1. for gl_y= $1027 to $1528 step $28 2. gl_ad1= gl_y.BYTE1 3. gl_ad2= gl_y.BYTE0 4. gl_k= %11000001 5. num_1 =1 6. num_2 =1 7. gosub ln1 8. next about lines 2,3, gl_y. BYTE1 is 8bit msb , gl_y.BYTE0 is 8bit...
by SILVESTROS9
Mon Jan 21, 2019 2:52 pm
Forum: 8-Bit PIC
Topic: LOOP COMMANDS AT FC7
Replies: 2
Views: 4699

Re: LOOP COMMANDS AT FC7

dear Ben, thanks for your answer... for gl_i = 1 to 240 ' Clear Graphic Screen for gl_j = 1 to 64 glcd_msb = $00 'Clear byte glcd_cmd = DATA_WR_INC 'Command gosub send_1 'Send glcd_msb followed by glcd_cmd next next 'Do it 240x64 times the above part of PBP is a loop ...the conversion to FC7 is at l...
by SILVESTROS9
Sun Jan 20, 2019 10:23 pm
Forum: 8-Bit PIC
Topic: LOOP COMMANDS AT FC7
Replies: 2
Views: 4699

LOOP COMMANDS AT FC7

I try to convert a code in PICBASICPRO to FC7 code. it is a demo code to write some characters to a GLCD 240X128 with T6963 controller. I have some problems in conversion ...in some part of code must set a port of PIC16F1939 ( PORTB) as inputs to read status of some bits of GLCD.. after that must se...
by SILVESTROS9
Thu Nov 15, 2018 6:12 pm
Forum: General Programming
Topic: 8051 ASSEMBLY TRANSLATION
Replies: 0
Views: 3072

8051 ASSEMBLY TRANSLATION

Hello to all !! I try to convert an .asm code to to a language that I can handle...I have no knowledge about assembly , so if someone has any idea on how to convert that code to any other language than assembly, like C, or PICBASIC, it will hepl me ...I would like to convert the code to FC7 or FC8 t...
by SILVESTROS9
Mon Oct 29, 2018 10:23 pm
Forum: 8-Bit PIC
Topic: GLCD NOT WORK
Replies: 34
Views: 22405

Re: GLCD NOT WORK

Hello to all ! I continue to find some way to drive a GLCD ...so I asked for some manufacturers to send me some info about that LCD.... one of them , send me a code in assembly for a GLCD 240x128 with T6963C controller....I would like to convert that in C , and then to FC8 to test if that works and ...
by SILVESTROS9
Mon Oct 01, 2018 2:58 pm
Forum: 8-Bit PIC
Topic: PIC16F887 DELAY TIME
Replies: 3
Views: 5411

Re: PIC16F887 DELAY TIME

many thanks medelec35 and Benj for info...I use Microchip PICkit-2 to load the code to pic mcu, so I import .EXE to that programmer.Until now I have not problems for delay timing..I need relative accurate delays in the area 5-100μs. Is anything else that I can do to impove the accuracy? Instead of d...
by SILVESTROS9
Thu Sep 27, 2018 3:33 pm
Forum: 8-Bit PIC
Topic: PIC16F887 DELAY TIME
Replies: 3
Views: 5411

PIC16F887 DELAY TIME

Hello to all! I made some tests with PIC16F887, to get some delays that I need for a code..I make a simple code to check the duration accuracy of delays...I note that for a delay 80μs at FC7 code the scope shows 100μs and for delay 5μs the scope shows 20μs....Is there something wrong with FC7 code c...
by SILVESTROS9
Sun Aug 26, 2018 4:20 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, sorry for delay, but i've some problems with internet connection. About bluetooth modules , my supplier not give me info about modules, the 2 modules HC-05 and HC-06 that he was give me to test, is the same as hardware. if there is data sheet for both , or diagram to understand the d...
by SILVESTROS9
Sun Jul 29, 2018 8:07 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, I think that my BT module is HC-06, but not work, I don't know why...maybe there is a mistake to hardware but what? is there a way to test it? would you like to inform me for your connections in your hardware and with what flowchart the HC-06 works? is there some photo of your module...
by SILVESTROS9
Sat Jul 28, 2018 12:22 am
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, I would like to thank you for your efforts...yes I have an oscilloscope (Rigol DS-1054), also LCD 4x20...I made some changes to lcd component and I connect LCD ...i get the info as below...about BT module, it seems that my module is HC-05....I have no module with 4 pin...Ι get some m...
by SILVESTROS9
Fri Jul 27, 2018 5:31 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, many thanks for help....about BT , I set Disabled MCLR Pin Function Select..I was checked wiring again...BT module has 6 pins (photo)...I was connected 4 pins and pin EN as LOW/HIGH to switching data/at command mode...pin STATE I don't know what it is....I made a new test, no results...
by SILVESTROS9
Fri Jul 27, 2018 2:58 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, thanks for your help...about connections BT with mcu, I think that there is no need to use a resistor to pool HIGH MCLR pin of PIC16F1939...I connect 4 pins to BT as it shows at schematic....pin EN is data/at command according to HC-06 details for connection....for command mode I set...
by SILVESTROS9
Thu Jul 26, 2018 3:31 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, many thanks for your help...about HC-06 working, I send you the updated flowchart for PIC16F1939...The flasher test is ok, but nothing works for HC-06.....no change name , no change pairing code....I have no problem to change the mcu , just I used that to make a working test for HC-0...
by SILVESTROS9
Wed Jul 25, 2018 10:48 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, thanks again for your help...about device is an electronic world clock that needs update perodically...what is wrong with data transfer? You said that that the code that you send me works at your HC-06...why not work for me? it's about different programming of my module? is there a w...
by SILVESTROS9
Wed Jul 25, 2018 7:50 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, many thanks for your help...I send you circuit diagram....about HC-06 red led flashes quickly 3-4 times/sec...it seems that there is no change from AT command to DATA mode, because there is no communication between mcu and BT module...about Android the problem is that the program run...
by SILVESTROS9
Wed Jul 25, 2018 5:21 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Dear medelec35, thank you for info..I used the code in your previous post but I've a message "unable to pair"when I set the new code...there is a detail about program that send rtc info to my device....my device accepts only rtc info from that program, maybe the info is coded....I can't use a common...
by SILVESTROS9
Wed Jul 25, 2018 1:50 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

Re: BLUETOOTH MODULE NOT WORK

Thanks medelec35 for help...let me explain what I would like to do ....I have a tablet that runs Windows-8 ...I've a small program that works as real time clock....that info I send to a device that has rs-232 port to correct the time....that info send to device with cable..I would like to send that ...
by SILVESTROS9
Tue Jul 24, 2018 7:19 pm
Forum: 8-Bit PIC
Topic: BLUETOOTH MODULE NOT WORK
Replies: 22
Views: 14223

BLUETOOTH MODULE NOT WORK

TIME-BT-01.fcfx Dear sirs, I would like to use a bluetooth module, an HC-06, to make a device with RS232 port a bluetooth slave, and send data to that device with my tablet....so I tried to use a PIC16F1939 to interface with bluetooth module....i was used bluetooth component to change some paramete...
by SILVESTROS9
Sat May 26, 2018 5:40 pm
Forum: 8-Bit PIC
Topic: LEAD ACID BATTERY CAPACITY MONITOR
Replies: 3
Views: 4300

LEAD ACID BATTERY CAPACITY MONITOR

Hello to all! I would like to use ADC inputs of PIC16F1937/39 to make some measurements of battery voltage (lead acid 12V) , and display that as percentage (%), to monitor the capacity of the battery, on a LCD 4x20. I have 2 voltage limits of the battery , high=14.4V and low=11.2V. I would like to s...
by SILVESTROS9
Thu May 17, 2018 8:05 pm
Forum: 8-Bit PIC
Topic: PWM NOT WORK ON PIC16F1939
Replies: 2
Views: 3435

Re: PWM NOT WORK ON PIC16F1939

Thanks Ben , with corrected definition file for PIC16F1939 all PWM work fine....
by SILVESTROS9
Tue May 15, 2018 9:42 pm
Forum: 8-Bit PIC
Topic: PWM NOT WORK ON PIC16F1939
Replies: 2
Views: 3435

PWM NOT WORK ON PIC16F1939

Hallo to all! I would like to use PWM to controi load with mosfets. I used 5 channels of PWM at PIC16F1939 , but only CH1 (pin C.2) and CH2 (pinC.1) works..the other 3 channels (CH3-C.6, CH4-B.0, CH5-A.4) not work...PWM setup is simple, no wrong...I made a test with PIC16F1937 and all PWM channels w...
by SILVESTROS9
Thu Apr 19, 2018 12:34 pm
Forum: 8-Bit PIC
Topic: MPPT FOR SOLAR PANEL WITH PIC16F1939
Replies: 2
Views: 3535

Re: MPPT FOR SOLAR PANEL WITH PIC16F1939

Thanks QMESAR for info.My problem is how to handle the V*I multipication with FC7 code and display the result as watts at a LCD ..Is there an example code for FC7 where I can use ADC inputs of a 8Bit PIC ( a PIC 16F1939 or similar), to take the measurements of V (from a voltage divider, and I (from ...
by SILVESTROS9
Wed Apr 18, 2018 9:00 pm
Forum: 8-Bit PIC
Topic: MPPT FOR SOLAR PANEL WITH PIC16F1939
Replies: 2
Views: 3535

MPPT FOR SOLAR PANEL WITH PIC16F1939

Hello to all! I made a solar panel controller with a PIC16F1939 to charge a 12V Pbo battery.I would like to use a Maximum Power Point Tracking algorithm in the pic code , so is there any idea on how to implement the MPPT in the FC7 code? The flow chart of a type of MPPT is at site below, but I have ...