Hi Sean,
I have been using MultiServo2.fcf with 16F887 successfully.
How do i change the "Custom interrupt properties" for CCP1 and CCP2 so that i can use it for 16F690?
Do i need to change any thing else to make it work?
Thanks in advance.
TanLS
Search found 31 matches
- Sat Dec 11, 2010 12:46 am
- Forum: Programming Tips & Tricks
- Topic: Multiple Servo Control
- Replies: 12
- Views: 17791
- Mon Nov 29, 2010 12:56 pm
- Forum: Programming Tips & Tricks
- Topic: Wireless Serial Data Link
- Replies: 3
- Views: 6520
Re: Wireless Serial Data Link
TQ, it can reset now.
- Sat Nov 27, 2010 6:15 am
- Forum: Programming Tips & Tricks
- Topic: Wireless Serial Data Link
- Replies: 3
- Views: 6520
Re: Wireless Serial Data Link
Benj, I am using V3 and have duplicated your example in V3, so far it work untill software reset part, it just hang the PIC (16F887) without resetting it, below is the C Code content from your example: - intcon=0; //Disable Interrupts option_reg=8; //Enable watchdog timer with 1:1 prescale while(1);...
- Wed Oct 06, 2010 1:34 pm
- Forum: Flowcode V2 & V3
- Topic: Reference voltage for A/D inputs
- Replies: 50
- Views: 55357
Re: Reference voltage for A/D inputs
Benj,
16F887 datasheet says that there is a "Fixed voltage reference (0.6V)" in the device for Comparators
and ADC Module.
how can i set it as Vref for ADC using Flowcode 3 to get more resolution (for 0V~0.5V range ADC application).
Please help
thanks in advance.
Tan
16F887 datasheet says that there is a "Fixed voltage reference (0.6V)" in the device for Comparators
and ADC Module.
how can i set it as Vref for ADC using Flowcode 3 to get more resolution (for 0V~0.5V range ADC application).
Please help
thanks in advance.
Tan
- Sun May 16, 2010 12:58 am
- Forum: Freelance Embedded Engineers
- Topic: Article generation
- Replies: 5
- Views: 18271
Re: Article generation
Steve,
where are those already publish article located? i want to learn how to write an article.
Tq
TanLS
where are those already publish article located? i want to learn how to write an article.
Tq
TanLS
- Fri May 14, 2010 10:44 am
- Forum: General / Misc
- Topic: LOW BATTERY WARNING
- Replies: 7
- Views: 13616
Re: LOW BATTERY WARNING
It should work, however it require external components.
how nice if do not need external components
Regards
how nice if do not need external components

Regards
- Thu May 13, 2010 12:32 pm
- Forum: General / Misc
- Topic: LOW BATTERY WARNING
- Replies: 7
- Views: 13616
Re: LOW BATTERY WARNING
Medelec35, I am developing an application that is battery operated, 3 pcs of AAA battery =4.5V, this applies to the PIC VDD. in this case i guess i cannot use the method discribe earlier. may be need to select PIC that has build in fixed reference 0.6V for detecting battery low condition. if can det...
- Wed May 12, 2010 11:47 am
- Forum: General / Misc
- Topic: LOW BATTERY WARNING
- Replies: 7
- Views: 13616
Re: LOW BATTERY WARNING
Benj,
If the Vref is configure to VDD, the 2 resistor voltage divider will always be 1/2 of the VDD.
when we read ADC, we should read at around 127 (1/2 of 255).
don't understand why we can detect battery low with this method.
please explain a little bit.
Thanks in advanced
TanLS
If the Vref is configure to VDD, the 2 resistor voltage divider will always be 1/2 of the VDD.
when we read ADC, we should read at around 127 (1/2 of 255).
don't understand why we can detect battery low with this method.
please explain a little bit.
Thanks in advanced
TanLS
- Wed May 05, 2010 11:53 am
- Forum: Flowcode V2 & V3
- Topic: Manchester Code
- Replies: 4
- Views: 6335
Re: Manchester Code
Thanks Benj,
Regards
TanLS
Regards
TanLS
- Wed May 05, 2010 7:25 am
- Forum: Flowcode V2 & V3
- Topic: Manchester Code
- Replies: 4
- Views: 6335
Re: Manchester Code
Benj,
The code looks very complicated, not easy for me.
I plan to use FSK ISM band TX RX module for the purpose of sending data, if do not use manchester code, will it be successful and reliable?
if you tried before please comment a little bit details/more
.
The code looks very complicated, not easy for me.
I plan to use FSK ISM band TX RX module for the purpose of sending data, if do not use manchester code, will it be successful and reliable?
if you tried before please comment a little bit details/more
.
- Tue May 04, 2010 9:21 am
- Forum: Flowcode V2 & V3
- Topic: Manchester Code
- Replies: 4
- Views: 6335
Manchester Code
Hi Ben,
I need to develop application using ISM Band FSK RF transmitter and receiver, understand that the data need to be Manchester Coded for reliable Tx and Rx.
Is there any easy way flowcode3 can do the coding and decoding?
I need to develop application using ISM Band FSK RF transmitter and receiver, understand that the data need to be Manchester Coded for reliable Tx and Rx.
Is there any easy way flowcode3 can do the coding and decoding?
- Sat Mar 13, 2010 2:04 pm
- Forum: Flowcode V2 & V3
- Topic: Using Watchdog in 12F675
- Replies: 5
- Views: 5449
Re: Using Watchdog in 12F675
Benj,
Earlier when i search for "watchdog" it returns only 1 hit, (that was during the time i can not post new topic).
now i do a search for "watchdog" it returns 170 hit. (and i found many info from there).
anyway thanks for helping.
Tq
TanLS
Earlier when i search for "watchdog" it returns only 1 hit, (that was during the time i can not post new topic).
now i do a search for "watchdog" it returns 170 hit. (and i found many info from there).
anyway thanks for helping.
Tq
TanLS
- Sat Mar 13, 2010 5:45 am
- Forum: Flowcode V2 & V3
- Topic: Using Watchdog in 12F675
- Replies: 5
- Views: 5449
Re: Using Watchdog in 12F675
Benj With Clock speed =4Mhz, the max time period to clear_wdt() = 0.032Sec. if i use delay in the program that longer then above value, the watchdog will reset the MCU right? how to go about using delay of say 0.5sec to blink LED while able to clear the watchdog timer? do i need to use nested loop o...
- Fri Mar 12, 2010 12:18 pm
- Forum: Flowcode V2 & V3
- Topic: Using Watchdog in 12F675
- Replies: 5
- Views: 5449
Re: Using Watchdog in 12F675
Thanks a lot Benj,
If i am using 4Mhz internal oscillator and let everything else default in Flowcode V3, how long before the watchdog reset occur?
Thanks in advance.
TanLS
If i am using 4Mhz internal oscillator and let everything else default in Flowcode V3, how long before the watchdog reset occur?
Thanks in advance.
TanLS
- Mon Jan 11, 2010 9:36 am
- Forum: Programming Tips & Tricks
- Topic: Adding interrupts to FCD files
- Replies: 2
- Views: 9063
Re: Adding interrupts to FCD files
Hi Steve, I have added RS232 interrupt into .FCD file and wrote a program to try out, the program can compile and written to the F887 chip, however i can not get it to display data from RS232 to LCD (LCD always display initialize value "0" just like the interrupt never happened). I have co...
- Wed Nov 18, 2009 3:06 am
- Forum: Components (Comms)
- Topic: Triggering an event with specific sting received via RS232
- Replies: 1
- Views: 8516
Triggering an event with specific sting received via RS232
Hi Benj In Flowcode V4 section there is a thread with the same Subject, because i use Flowcode3, i post my quention here. I try to convert the attachment "StringComp.fcf" to Flowcode3 but can not compile with below error, also attached with flowcode3 program. please help: - File name: D:\T...
- Tue Nov 03, 2009 9:20 am
- Forum: Programming Tips & Tricks
- Topic: Multiple Servo Control
- Replies: 12
- Views: 17791
Re: Multiple Servo Control
Hi Sean, I have done the change as recommended, result is not the same compare to running at 19.6608Mhz. below is the result: - Running at 19.6608MHz external X'tal --------------------------------------- Servo Interval = 20.0mS Servo Pulse Min (adc1val=00) =0.44mS Servo Pulse Max (adc1val=ff) = 2.1...
- Sat Oct 31, 2009 7:15 am
- Forum: Programming Tips & Tricks
- Topic: Multiple Servo Control
- Replies: 12
- Views: 17791
Re: Multiple Servo Control
Hi Matrix support team, I have change the Chip Config and add C Code to "MultiServo2" - to make use of internal 8MHz oscillator of 16F887. The servo now no longer having interval of 20ms and the pulse width also is no longer correct. how do i change the code so that the servo can run prope...
- Sat Oct 10, 2009 2:29 am
- Forum: General / Misc
- Topic: How to default to 16F887 at "Choose a Target"
- Replies: 1
- Views: 3114
How to default to 16F887 at "Choose a Target"
Hi Flowcode developer,
Everytime when open new file with: File -> New in Flowcode v3.6, it show the "Choose a Target" dialogbox, default to 16F88 device.
How do i change the default device highlighted to 16F887?
Please help
Thanks in advance
TanLS
Everytime when open new file with: File -> New in Flowcode v3.6, it show the "Choose a Target" dialogbox, default to 16F88 device.
How do i change the default device highlighted to 16F887?
Please help
Thanks in advance
TanLS
- Sat Oct 10, 2009 1:52 am
- Forum: Flowcode V2 & V3
- Topic: Let Us Know What You Are Doing With Flowcode
- Replies: 42
- Views: 100603
Controlling Test Equipment and Capturing Test Data
Next Project is using PIC16F887 to work with below hardware: - 1. Capture data from Barcode reader. 2. Controlling production test equipment. 3. Controlling UUT on production test jigs. 4. Capturing test data from test equipment and test jig. 5. Sending test data to a remote PC. 6. Displaying test r...
- Sat Oct 10, 2009 1:33 am
- Forum: Flowcode V2 & V3
- Topic: Let Us Know What You Are Doing With Flowcode
- Replies: 42
- Views: 100603
Pass / Fail Test Jig for manufacturing use
I am using flowcode to develop Production test jig that test product for functional pass/fail. During test, the jig will capture test data and send it to PC through RS232. (may use ZigBee in future). PC running Excel VBA will collect test data and save them in network server. Regards The project ha...
- Sat Oct 10, 2009 1:22 am
- Forum: General / Misc
- Topic: Adding 16C55 device in "Choose a Target"
- Replies: 1
- Views: 3021
Adding 16C55 device in "Choose a Target"
Hi Flowcode Developer. I found 35Pcs of 16C55 in my company, they are legacy device, rather than throw them away, i want to use them. I know that adding a .fcd file will add a device in "Choose a Target", but what are the content of .fcd file should i put in? It would be best if you can he...
- Sat Sep 12, 2009 11:20 am
- Forum: Components (Comms)
- Topic: RS232 out and bit bang
- Replies: 10
- Views: 15989
Re: RS232 out and bit bang
OK, i will stict to Flowcode V3 for now.
thanks alot.
thanks alot.
- Fri Sep 11, 2009 7:37 am
- Forum: Components (Comms)
- Topic: RS232 out and bit bang
- Replies: 10
- Views: 15989
Re: RS232 out and bit bang
Benj,
I use Lookup table to do the conversion job, the problem is solve but please let me know if there are better way to do it.
Thanks in advance.
I use Lookup table to do the conversion job, the problem is solve but please let me know if there are better way to do it.
Thanks in advance.
- Thu Sep 10, 2009 9:08 am
- Forum: Components (Comms)
- Topic: RS232 out and bit bang
- Replies: 10
- Views: 15989
Re: RS232 out and bit bang
Benj, i got a problem that need help, i am using 16F887 to read ADC and send the data through RS232 to a PC, (PC running Excel VBA). My question is how do i convert the value read by ADC and send to PC as Voltage? (i am measuring 0.76V at the ADC input and how do i convert the ADC Byte value to 0.76...