Search found 68 matches
- Thu Oct 24, 2013 8:03 am
- Forum: General Programming
- Topic: Resonator setting on 16F886
- Replies: 6
- Views: 5888
Resonator setting on 16F886
Hi there, I have programmed a flowcode (V5) listing and send it into a SOIC version of the PIC with ICSP. On the PCB is a 20MHz resonator (instead of a crystal with two capacitors) When I program the PIC with Oscillator set to HS in the configuration screen, the PIC doesn't seem to run. When I chang...
- Tue Oct 22, 2013 1:12 pm
- Forum: General Programming
- Topic: Calculate with 16 bits value
- Replies: 1
- Views: 2979
Calculate with 16 bits value
Hi there, I use a external ADC with 16 bit resolution to measure a voltage on the input. The value is put in two byte´s, value-low and value-hi. I would like to read the value from the ADC approx. 10 times a second. After that I would like to calculate the average value of this 10 measurements. Is i...
- Tue Oct 22, 2013 1:07 pm
- Forum: General Programming
- Topic: Interupt every 1 second
- Replies: 1
- Views: 3064
Interupt every 1 second
Hi there, Is it possible to have a interrupt every 1 second, to send information on CAN? I have inserted an interrupt and set it to TMR0 (internal clock of 20MHz) Prescaler is 1:256 so the frequency is 76.294 Hz. I can use a counter from zero to 76 and than have an overflow on approx. a second. How ...
- Mon Oct 14, 2013 9:08 am
- Forum: Flowcode V5
- Topic: CAN problem in FC5
- Replies: 5
- Views: 4027
Re: CAN problem in FC5
Hello Leigh,
I have changed the value from %h to 9.
Seems to work fine, thanks for your help.
Rinie
I have changed the value from %h to 9.
Seems to work fine, thanks for your help.
Rinie
- Mon Oct 14, 2013 8:30 am
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Hello there, Is there any news on this problem? We have to start designing the PCB and we need CAN functionality on this. If we can´t use the 18F2480, we have to use an older (16F) processor with CAN controller instead. However, we also need I2C and these are the same pins as SPI for the CAN. So, i´...
- Fri Oct 11, 2013 5:15 pm
- Forum: Flowcode V5
- Topic: CAN problem in FC5
- Replies: 5
- Views: 4027
Re: CAN problem in FC5
Hello again, The can system works with 16F877A processors now, the receiver site reacts on pressing the button on the transmitter. This is the test from the getting started file in the help function. I have a new question on the transmission speed. There are some standard values 125, 250, 500 and 10...
- Fri Oct 11, 2013 1:11 pm
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Hello Ben, When I run PPP (V3.9.12.26), in the expert screen, the PIC is detected with "auto detect". Only one chip is inserted in the programmer. I have replaced the EB006-00-7 programmer with a EB006-00-6 version. This made it possible to program the PIC once with a blinking led. It blinked a few ...
- Fri Oct 11, 2013 12:08 pm
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Hi there,
Any news on this?
I´m still trying to program the 18F2480 but no result yet.
Rinie
Any news on this?
I´m still trying to program the 18F2480 but no result yet.
Rinie
- Fri Oct 11, 2013 12:03 pm
- Forum: General Programming
- Topic: I2C problems with 16F877A
- Replies: 2
- Views: 3065
Re: I2C problems with 16F877A
Hello Ben, This works well, I can receive the 2 bytes with the value of the ADC. The ADC is set to 16 bits, so that´s working well, I have checked the values and it´s exactly the voltage connected. The third byte is the configuration byte but that one still has a strange value, other than expected a...
- Fri Oct 11, 2013 9:36 am
- Forum: Flowcode V5
- Topic: CAN problem in FC5
- Replies: 5
- Views: 4027
Re: CAN problem in FC5
Hello Leigh, Thanks for your answer, this functions well. The datasheet on the EB018 shows a connection to port A (text below) @@ The microcontroller that is being used determines which port and which jumper. For example, if a PIC16F877A is being used, the CAN board must be connected to port A, with...
- Thu Oct 10, 2013 4:21 pm
- Forum: Flowcode V5
- Topic: CAN problem in FC5
- Replies: 5
- Views: 4027
CAN problem in FC5
Hi there, I have a EB006 programmer with a CAN bus (EB018) connected to port A and a LCD (EB005) connected to port B. The programmer has a PIC16F877A controller inserted. I have made a program to check the CAN bus on any messages. Programming to the PIC does work (no errors) but the program doesn´t ...
- Thu Oct 10, 2013 10:39 am
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Ben, I have some eblocks with a 16F877A processor installed, It has I2C functionality (other post that you have answered to) The configuration works well, now i have tried to change to the 18F2480 again. I have received 10 brand new chips so they should operate. The programmer is a EB-006-00-7. Whil...
- Wed Oct 09, 2013 1:25 pm
- Forum: General Programming
- Topic: I2C problems with 16F877A
- Replies: 2
- Views: 3065
I2C problems with 16F877A
Hi there, I have made a program to configure a MCP3421 AD converter and than read the value and show on LCD. First I write a "write" command to the ADC (0xD0) and send a configuration byte (0x18) 0x18 means "Continious conversion" and "16 bits conversion, no gain" After this, I close the I2C and tha...
- Mon Oct 07, 2013 3:37 pm
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Ben,
the chip is a brand new one, however I have ordered several now.
Hopefully the problem is solved than.
Thanks for your help for now.
Rinie
the chip is a brand new one, however I have ordered several now.
Hopefully the problem is solved than.
Thanks for your help for now.
Rinie
- Mon Oct 07, 2013 3:27 pm
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
Re: PIC18F2480 programming error
Hello Ben,
I have no 18F2480 available at the moment, however I will order some.
The settings screenprint is included with this reply.
Rinie
I have no 18F2480 available at the moment, however I will order some.
The settings screenprint is included with this reply.
Rinie
- Mon Oct 07, 2013 2:10 pm
- Forum: General Programming
- Topic: PIC18F2480 programming error
- Replies: 9
- Views: 8172
PIC18F2480 programming error
Hi there, I´m trying to program a 18F2480 on EB006 programmer with ledboard on port c. Just blinking led, but there seems to be a problem. A 16F1824 in the same configuration does work well. Below a copy of the compiler messages. Please let me know what the do. Rinie COMPILER MESSAGES STARTS HERE: G...
- Wed Jun 05, 2013 1:29 pm
- Forum: Flowcode V5 Issues
- Topic: Error while downloading to EB-006
- Replies: 2
- Views: 7070
Re: Error while downloading to EB-006
Problem is solved Ben,
Thanks for your help.
Rinie
Thanks for your help.
Rinie
- Tue Jun 04, 2013 3:15 pm
- Forum: Flowcode V5 Issues
- Topic: Error while downloading to EB-006
- Replies: 2
- Views: 7070
Error while downloading to EB-006
Hi there,
I have made a program in Flowcode 5.
When I send the program to the EB-006, a message shows.
After clicking the OK button, downloading continues.
Can you please let me know how to fix this?
Rinie
I have made a program in Flowcode 5.
When I send the program to the EB-006, a message shows.
After clicking the OK button, downloading continues.
Can you please let me know how to fix this?
Rinie
- Tue Jun 04, 2013 2:41 pm
- Forum: Flowcode V4
- Topic: Use of PWM
- Replies: 6
- Views: 4967
Re: Use of PWM
Martin,
I have tested this in hardware and that works as it should.
Thanks very much for your help on this.
Rinie
I have tested this in hardware and that works as it should.
Thanks very much for your help on this.
Rinie
- Tue Jun 04, 2013 12:47 pm
- Forum: Flowcode V4
- Topic: Use of PWM
- Replies: 6
- Views: 4967
Re: Use of PWM
Hello Medelec, Thanks for your reply. For now, i only have tested the software simulation on PWM. I want to connect a led to an output pin and adjust the brightness while flashing. So the led has to go from 0% to 100% and back to 0% in approx. 1 second. For this i want to use the PWM signal and set ...
- Tue Jun 04, 2013 11:30 am
- Forum: Flowcode V4
- Topic: Use of PWM
- Replies: 6
- Views: 4967
Re: Use of PWM
Hello Ben,
Thanks for your reply.
I have used the PWM function and the duty-cycle is changing, according the counter value.
When I connect a led to the output RC1 or RC5 of the PIC16F1824, nothing shows.
I don´t know how to get the value of the PWM to an output pin.
Rinie
Thanks for your reply.
I have used the PWM function and the duty-cycle is changing, according the counter value.
When I connect a led to the output RC1 or RC5 of the PIC16F1824, nothing shows.
I don´t know how to get the value of the PWM to an output pin.
Rinie
- Tue Jun 04, 2013 10:58 am
- Forum: Flowcode V4
- Topic: Use of PWM
- Replies: 6
- Views: 4967
Use of PWM
Hi there,
I´m trying to use PWM in Flowcode 5 (I can´t post in the FC5 forum)
I use a counter to set PWM duty cycle on CCP1.
How can I connect the PWM signal to a led to adjust brightness?
If a connect a led, nothing is shown.
Please give me some hints on this.
I´m trying to use PWM in Flowcode 5 (I can´t post in the FC5 forum)
I use a counter to set PWM duty cycle on CCP1.
How can I connect the PWM signal to a led to adjust brightness?
If a connect a led, nothing is shown.
Please give me some hints on this.
- Mon Mar 05, 2012 12:56 pm
- Forum: E-blocks
- Topic: Rotary Encoder
- Replies: 16
- Views: 13998
Re: Rotary Encoder
Ok, thaks Ben.
I will use this for now, we are planning on updating to V5 soon.
Rinie
I will use this for now, we are planning on updating to V5 soon.
Rinie
- Mon Mar 05, 2012 12:25 pm
- Forum: E-blocks
- Topic: Rotary Encoder
- Replies: 16
- Views: 13998
Re: Rotary Encoder
Hello to all,
Are there any component macro´s available yet for the Rotary encoder board (EB073)?
I´m working with Flowcode V4.5 at the moment.
Please let me know.
Rinie
Are there any component macro´s available yet for the Rotary encoder board (EB073)?
I´m working with Flowcode V4.5 at the moment.
Please let me know.
Rinie
- Fri Apr 15, 2011 12:34 pm
- Forum: Flowcode V4
- Topic: Split RS232 information in PIC
- Replies: 1
- Views: 1880
Split RS232 information in PIC
Hi there, I´m receiving a string on RS232 (trough a Xport) that looks a bit like this: 1,71,1,POLL,1297418487,0x00 This has to be split into several variables like PROTOCOL, ID, NUMBER, TIME etc. I need some help getting started with this. I can read from RS232 with BYTE or STRING. Which one is easi...