MuIN USB is a demoboard useful for sperimentation with pic18F2550. It can be used also in finished applications.
Main Features
Applications
MuIN USB can be easily used as simple interface between computers and other devices using USB. The USB communication can be used as serial com port or as HID device. The bootloader can be used to load new firmware without the need of a programmer.
Is made of 5 groups of 4 contacts each. First 4 groups are general purpose I/O, 5th group is used for I2C communication.
In the first 4 group the signal order is:
Signal 1 and Signal 2 are connected together and can be used for double connections on the same signal.
Group 1
Group 2
Main Features
- Equipped with an 8bit Microcontroller with SIE USB on board (Microchip PIC18F2550)
- Power supply: 6-9Vdc
- Power supply by external source or by USB port
- TTL and CMOS compatibles inputs
- USB 2.0 full speed
- Clock @ 48MHz (12Mips)
- Can be used stand-alone or as a combo
- up to 32 endpoints, 64byte each
- Microchip USB Stack compatible (all devices)
- Preloaded Microchip HID USB Bootloader 2.6
Applications
- Generic interface between pc and other devices using USB port
- Servocommands control by USB
- Control of I2C devices by USB
MuIN USB can be easily used as simple interface between computers and other devices using USB. The USB communication can be used as serial com port or as HID device. The bootloader can be used to load new firmware without the need of a programmer.
Advice: download the Microchip App Lib from Microchip website
Main connector pinoutIs made of 5 groups of 4 contacts each. First 4 groups are general purpose I/O, 5th group is used for I2C communication.
In the first 4 group the signal order is:
- GND
- V+ (5V or Vin selectable by a jumper on Ports A and B but B0 e B1. 5V on others)
- Signal 1
- Signal 2
Signal 1 and Signal 2 are connected together and can be used for double connections on the same signal.
Group 1
RB0 -> B0 (I2C sda)
RB1 -> B1 (I2C scl)
Those are the GPIO used by I2C. If I2C is used, those connections must be non connected or can be used to connects other I2C devices
RB1 -> B1 (I2C scl)
Those are the GPIO used by I2C. If I2C is used, those connections must be non connected or can be used to connects other I2C devices
Group 2
RB2 -> B2
RB3 -> B3
RB4 -> B4
RB5 -> B5
RB6 -> B6
RB7 -> B7
B6 and B7 are PGC and PGD signals used by ICSP (In Circuit Serial Programming) and debug. Take care using this pins if you use a debug tool or a classic ICSP programmer
Group 3RB3 -> B3
RB4 -> B4
RB5 -> B5
RB6 -> B6
RB7 -> B7
B6 and B7 are PGC and PGD signals used by ICSP (In Circuit Serial Programming) and debug. Take care using this pins if you use a debug tool or a classic ICSP programmer
RA0 -> A0
RA1 -> A1
RA2 -> A2
RA3 -> A3
RA4 -> A4
RA5 -> A5
Those pins can be used as GPIO or as Analog inputs. The led is connected on RA4 that cannot be used as analog input
Group 4RA1 -> A1
RA2 -> A2
RA3 -> A3
RA4 -> A4
RA5 -> A5
Those pins can be used as GPIO or as Analog inputs. The led is connected on RA4 that cannot be used as analog input
RC0 -> C0
RC1 -> C1 (PWM 2)
RC2 -> C2 (PWM 1)
C1 and C2 are used as PWM outputs if PWM is used
Group 5RC1 -> C1 (PWM 2)
RC2 -> C2 (PWM 1)
C1 and C2 are used as PWM outputs if PWM is used
GND
V+
SDA
SCL
By soldering the jumper on the back of the board, the pullup resistor on I2C line is enabled
Pullup resistor can be connected on 5V or on 3.3V, but the function of I2C is not guaranteed on 3.3Volts
Here are showed the functionality of pins:V+
SDA
SCL
By soldering the jumper on the back of the board, the pullup resistor on I2C line is enabled
Pullup resistor can be connected on 5V or on 3.3V, but the function of I2C is not guaranteed on 3.3Volts