If you are talking about serial communications to a usb com port on the pc, like to Hperterminal or??, then probably any pic will work. Just use either the GCBasic software or hardware Usart libraries, a Max232 type chip and db9, and then a usb to serial converter cable. OK, maybe that's why the UBW looks good. A Usart example was given in the contributor section.
Kent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
USB Com port I got the serial port printing stuff out of a pic 16 ... useing GCB I would rather print from the usb port on the pic 18 to the virtual com port that the UBW has.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No Pic will act as a USB host, slave only, as far as I know. I think something like a USBWiz (http://www.alfat.co.uk/) would work. I imagine you are stuck with the Usart, I2C, or SPI, unless someone else has the answer.
Kent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would theoretically be possible to use the USB on an 18F in GCBASIC, but I wouldn't recommend it - lots of work, and the compiler really needs better interrupt handling first. One day GCBASIC will probably support USB, but not until after it has improved interrupts, non-byte arrays, AVR support, ...
I'd recommend using an I2C or SPI connection to the UBW, it's probably the easiest way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
will the pic 18 print to the usb port com? The UBW from sparkfun has a usb that acts like a com help?
That's a neat board.
If you are talking about serial communications to a usb com port on the pc, like to Hperterminal or??, then probably any pic will work. Just use either the GCBasic software or hardware Usart libraries, a Max232 type chip and db9, and then a usb to serial converter cable. OK, maybe that's why the UBW looks good. A Usart example was given in the contributor section.
Kent
USB Com port I got the serial port printing stuff out of a pic 16 ... useing GCB I would rather print from the usb port on the pic 18 to the virtual com port that the UBW has.
No Pic will act as a USB host, slave only, as far as I know. I think something like a USBWiz (http://www.alfat.co.uk/) would work. I imagine you are stuck with the Usart, I2C, or SPI, unless someone else has the answer.
Kent
It would theoretically be possible to use the USB on an 18F in GCBASIC, but I wouldn't recommend it - lots of work, and the compiler really needs better interrupt handling first. One day GCBASIC will probably support USB, but not until after it has improved interrupts, non-byte arrays, AVR support, ...
I'd recommend using an I2C or SPI connection to the UBW, it's probably the easiest way.