Search found 1570 matches

by kersing
Wed Mar 21, 2012 12:11 am
Forum: Flowcode V5
Topic: Keyboard USB
Replies: 6
Views: 6019

Re: KEYBOARD USB

Sorry to disappoint you, but what you want can not be done with a PIC18F2550. Starting at the beginning, there are three types of USB devices: 1) USB Host, examples: computer, media player. These devices have a USB type A socket. 2) USB Slave, examples: keyboards, mouse, USB flash drive, USB disk dr...
by kersing
Tue Mar 20, 2012 7:12 pm
Forum: Freelance Embedded Engineers
Topic: Jac Kersing
Replies: 5
Views: 33330

Re: Jac Kersing

I'll answer in a PM.
by kersing
Tue Mar 20, 2012 7:10 pm
Forum: Flowcode V5
Topic: Keyboard USB
Replies: 6
Views: 6019

Re: KEYBOARD USB

For what you want you need for USB host or USB on-the-go functionality and PIC 18 series only offer slave functionality.

Are you sure the keyboard can be connected to the eb055? The USB keyboards I know use USB type A plugs. The eb055 provides an USB type B port.
by kersing
Mon Mar 19, 2012 11:25 pm
Forum: General Programming
Topic: writing and reading to an external eeprom
Replies: 10
Views: 6598

Re: writing and reading to an external eeprom

Hi Darren, The 24xx02 devices do not use the A0-A2 address lines so sharing the bus with another device can result in problems. Because the control bytes for the two devices you've mentioned differ you should be able to use them both on the same bus. In general the safest option for multiple devices...
by kersing
Mon Mar 19, 2012 11:28 am
Forum: General Programming
Topic: writing and reading to an external eeprom
Replies: 10
Views: 6598

Re: writing and reading to an external eeprom

According to the datasheet the sequence is as I posted in the previous message. Just use 00 for BB (block address). (Actually any value is valid as the block address bits are 'don't care') So to write a single byte: start 10100000b (wait for ack) word address <-- to address one of the 256 memory loc...
by kersing
Mon Mar 19, 2012 12:48 am
Forum: General Programming
Topic: writing and reading to an external eeprom
Replies: 10
Views: 6598

Re: writing and reading to an external eeprom

Darren, It would help if you specified which eeprom you are trying to use. What is the manufacturer and what is the type? Looking at the Microchip 24AA08 (random example) you would need to send (for byte write): start 10100BB0b where BB is a two bit page address (wait for ack) word address <-- to ad...
by kersing
Fri Mar 02, 2012 9:09 am
Forum: General Programming
Topic: LCD ECIO28 Random chars
Replies: 7
Views: 5036

Re: LCD ECIO28 Random chars

It feels like I have wasted a few cycles on a component that should just work (hence the lib etc), due to facts that may well be in the 455 datasheet but not the ecio28/40 datasheet. Hi Graham, RA5 use is documented in the ECIO documentation on page 3. In the diagram there is the USB led connected ...
by kersing
Sat Feb 25, 2012 6:53 pm
Forum: General Programming
Topic: Flowcode v4 port interrupts help
Replies: 13
Views: 8042

Re: Flowcode v4 port interrupts help

well the problem is, it's a traffic light situation and for example, I interrupt because a cyclist pressed a button at one of the traffic lights, now the interrupt should occur and all traffic lights should go red while the cyclist's light goes green. if I then return from the interrupt... it will ...
by kersing
Sat Feb 25, 2012 6:18 pm
Forum: General Programming
Topic: Flowcode v4 port interrupts help
Replies: 13
Views: 8042

Re: Flowcode v4 port interrupts help

Hi, On small PIC microcontrollers only one interrupt can be active at a time. As you are not returning from that interrupt new interrupts will be ignored. A solution for your problem would be to set a variable to a predefined value (a flag) in the interrupt routine and check for that value in the ma...
by kersing
Wed Feb 22, 2012 1:09 am
Forum: Flowcode V4
Topic: serial USB doesn't start
Replies: 27
Views: 15369

Re: serial USB doesn't start

Jan, According to the diagram in the ECIO data sheet on page 3, the LED is connected to RA5 on ECIO28P or RE2 on ECIO40P. Regarding the timers, I found no references to the timers in the Matrix supplied USB code for Flowcode 4 or 5. The Microchip data sheet of the 18F2455 does not refer to the timer...
by kersing
Sat Feb 18, 2012 5:10 pm
Forum: Flowcode V2 & V3
Topic: Convert voltage to Neg kg
Replies: 28
Views: 23221

Re: Convert voltage to Neg kg

The only problem is that if I return the scale to zero and the load cell goes a little negative “-1mV” the scale only shows 0 and not the negative value, So I thought of putting zero at 1V so that I can use the 0-1V to display the negative zero Return value. So your zero weight is at 1V and max wei...
by kersing
Sat Feb 18, 2012 11:55 am
Forum: Flowcode V2 & V3
Topic: Convert voltage to Neg kg
Replies: 28
Views: 23221

Re: Convert voltage to Neg kg

How can I make the AtoD read 1-4V as 0 - 1023 counts instead of 0-5V without using the Vref+ and Vref-. Or can you set the Vref+ and Vref- with the software. If you do not supply a reference voltage to Vref- and Vref+ the voltages used are the voltages used to power the chip (usually 0V and 5V). Th...
by kersing
Fri Feb 17, 2012 2:15 pm
Forum: Flowcode V4
Topic: UART between 2 PIC16LF88's
Replies: 37
Views: 18479

Re: UART between 2 PIC16LF88's

... but I am interested in the 1.8v of the LF88's to give me better battery life. Chris, Please note the data sheet lists 2.0V to be the minimum supply voltage for the 16LF88 devices. For 1.8 volt you will have to choose a different device. (You can use the product selector to find them) Regards, Jac
by kersing
Fri Feb 17, 2012 11:27 am
Forum: Flowcode V4
Topic: UART between 2 PIC16LF88's
Replies: 37
Views: 18479

Re: UART between 2 PIC16LF88's

Chris,

Early on in the thread you mention the 16LF88 being 2.5 to 3.3V only, that is not the case, they are rated 2.0 to 5.5V. For testing you can replace one of them with a 16F88 and feed the circuit 5V just like when you are using both 16F88 chips. Could you try that?

Best regards,

Jac
by kersing
Tue Feb 14, 2012 11:01 pm
Forum: Flowcode V4
Topic: UART between 2 PIC16LF88's
Replies: 37
Views: 18479

Re: UART between 2 PIC16LF88's

Chris,

When you are testing with the 16F88 you are using 5V I guess. Are you using 3V for the 16LF88? If so, would it be possible to test them with 5V to see if it makes any difference?

Regards,

Jac
by kersing
Sun Feb 12, 2012 2:54 pm
Forum: Flowcode V4
Topic: serial USB doesn't start
Replies: 27
Views: 15369

Re: serial USB doesn't start

Jan,

A successful sessions looks like this:
ecio-prog.JPG
ecio-prog.JPG (107.26 KiB) Viewed 12424 times
After choosing "Compile to Chip" I only hit the reset button on the ECIO. At that moment the highlighted lines (bottom of the window) appeared.

Regards,

Jac
by kersing
Sun Feb 12, 2012 2:41 pm
Forum: Flowcode V4
Topic: serial USB doesn't start
Replies: 27
Views: 15369

Re: serial USB doesn't start

Jan,

This is not normal. You should never have to press cancel. Once the programmer detects the ECIO the window will disappear by itself.

Regards,

Jac
by kersing
Sat Feb 11, 2012 11:24 pm
Forum: Flowcode V4
Topic: PIC16F88 vs PIC16(L)F88
Replies: 14
Views: 9691

Re: PIC16F88 vs PIC16(L)F88

But isn't that for external timing componentsthough? You are right. Given the conditions in the data sheet I was under the impression INTOSC would not work. However, some googling resulted in a couple of messages stating it should work. I just checked Flowcode 5, the 16LF88 is not listed among the ...
by kersing
Sat Feb 11, 2012 7:53 pm
Forum: Flowcode V4
Topic: PIC16F88 vs PIC16(L)F88
Replies: 14
Views: 9691

Re: PIC16F88 vs PIC16(L)F88

Chris,

Something completely different. Have you enabled brown out detect in the (expert) settings? If so you'll need to disable it as it will keep the chip in reset mode until the voltage exceeds 3.65V.

Regards,

Jac
by kersing
Sat Feb 11, 2012 7:41 pm
Forum: Flowcode V4
Topic: PIC16F88 vs PIC16(L)F88
Replies: 14
Views: 9691

Re: PIC16F88 vs PIC16(L)F88

Chris, According to the data sheet your osccon settings should be right. The chip settings are where the settings I mentioned earlier are configured. From the data sheet (and the additional information in Oscillator - PICmicro Mid-Range MCU Family ) my best guess is you need to select "EXTRC as Port...
by kersing
Sat Feb 11, 2012 2:15 pm
Forum: Flowcode V4
Topic: PIC16F88 vs PIC16(L)F88
Replies: 14
Views: 9691

Re: PIC16F88 vs PIC16(L)F88

Hi Chris, What oscillator mode are you using? When looking at the 16(l)f88 data sheet page 165 (chapter 18.1) in the conditions column it states "HS, XT, RC and LP Oscillator mode" for the LF version. If you are using the new (according to page 35) modes RCIO, INTIO1, INTIO2 or ECIO that might expla...
by kersing
Mon Feb 06, 2012 11:57 pm
Forum: Flowcode V4
Topic: Serious Warning: 'FCD_RS2320_RS232_Delay'
Replies: 6
Views: 4701

Re: Serious Warning: 'FCD_RS2320_RS232_Delay'

You are calling the listed macro from two places in your code. If both calls can occur at the same time the result is stack corruption. Check you code for calls to the macro. If two of your own macros call this macro or the main program calls it and one of your macros calls it you should make sure t...
by kersing
Mon Feb 06, 2012 11:43 pm
Forum: General Programming
Topic: TCP_IP Component
Replies: 3
Views: 2832

Re: TCP_IP Component

bogha wrote:sorry to post again but i couldn't rely to my last topic for reason i dont know.
Your last message has been moved to the Flowcode 4 forum (it is here) which requires you to register for that forum before you are allowed to post in it.
by kersing
Mon Feb 06, 2012 11:39 pm
Forum: General Programming
Topic: TCP_IP Component
Replies: 3
Views: 2832

Re: TCP_IP Component

how can i transmit a byte to a server listening to port 23456 for example i didnt understand the meaning of dst_port_hi and dst_port_lo any help please dst_port_hi = port / 256 dst_port_lo = port - ( dst_port_hi * 256 ) (equals dst_port_lo = port % 256) So for your example port of 23456 the values ...
by kersing
Wed Feb 01, 2012 8:37 am
Forum: General Programming
Topic: other LCD device?
Replies: 6
Views: 5919

Re: other LCD device?

There is a large choice of displays with all kinds off different interfaces available on the market. I do not think Matrix will be able to provide components for every one of them. If you use one of the LCD displays with a more or less standard electrical and command interface the provided component...