evandude
New Member
what about part number WM17115-ND ? through-hole, mini-b, and in stock at digikey.ca...blueroomelectronics said:The digikey.ca mini-b USB is surface mount
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
what about part number WM17115-ND ? through-hole, mini-b, and in stock at digikey.ca...blueroomelectronics said:The digikey.ca mini-b USB is surface mount
https://www.accesscomms.com.au/Reference/USB.htmblueroomelectronics said:I'll need to find the pinouts D- D+ for the 5 PIN...
blueroomelectronics said:The layout is done, and sent to the PCB house. I'll post the schematic on my site. Here is Unicorn mounted to the bottom of an Inchworm+ (fast USB ICD2 mode)
The USB connector will take a mini B or type A, There is a socket for an I2C 24Lxxx EEPROM and the USER connector supports 5V SCL, SDA, A0,A1,A2,A3 & GND
I'll be dropping PCBs off at dipmicro and Creatron this week. I've got to finish the user manual too.gregmcc said:When can we start ordering?
list p=18F4550
include <p18F4550.inc>
CONFIG FOSC = HS, WDT = OFF, LVP = OFF, DEBUG = ON
#define LCD_E LATE,2
#define LCD_RS LATE,0
#define LCD_RW LATE,1
#define LCD_BL LATB,3
#define LCD_DAT LATD
cblock 0 ; ram starts at 0x000
delay
temp
endc
org 0
nop
Init movlw 0x0A
movwf ADCON1
movlw b'11110111'
movwf TRISB
clrf TRISD ; LCD Data output
clrf PORTE ; LCD Control
clrf TRISE
clrf LATE ; zero output on E
movlw b'00000010' ; use internal osc
movwf OSCCON ; 32KHz internal clock
;wait 50ms before using LCD
movlw .50
call dly1ms
movlw .3
movwf temp ; loop counter
_init3 movlw 0x30
bsf LCD_E
movwf LCD_DAT ; LCD = 0x38
movlw .50 ; 50ms delay
bcf LCD_E
call dly1ms
decfsz temp
bra _init3 ; repeat 3 times
bsf LCD_BL ; turn on backlight
movlw 0x38 ; eight bit display
call LCD_Ins
movlw 0x01 ; clear display
call LCD_Ins
movlw 0x0F ; clear display
call LCD_Ins
movlw 'H'
call LCD_Chr
movlw 'i'
call LCD_Chr
movlw 0xC0
call LCD_Ins
movlw 'U'
call LCD_Chr
movlw 'n'
call LCD_Chr
movlw 'i'
call LCD_Chr
movlw 'c'
call LCD_Chr
movlw 'o'
call LCD_Chr
movlw 'r'
call LCD_Chr
movlw 'n'
call LCD_Chr
bra $
; LCD entry routines watches busy flag
LCD_Chr bsf LCD_RS ; enable Charater mode
LCD_Ins bsf LCD_E
clrf TRISD ; make PORTD an output
movwf LCD_DAT ; put data on LCD port
bcf LCD_E ; latch byte to LCD
movlw 0xFF
bcf LCD_RS
movwf TRISD ; make LCD port input
bsf LCD_RW ; enter read mode
bsf LCD_E ; enable LCD
_BusyFl btfsc PORTD,7 ; wait for bit 7 to be pulled low
bra _BusyFl
bcf LCD_RW ; return to Instruction mode
return
dly1ms movwf delay ; enter with delay in ms via W
_loop1 bra $+2
bra $+2
nop
decfsz delay
bra _loop1
return
END
call PutString
db "Main Menu\r\n\n\0"
call PutString
db "<1> Setup\r\n\0"
;******************************************************************
;
; PutString - print in-line string via Stack and TBLPTR
;
; string must be terminated with a 00 byte and does not need
; to be word aligned
;
PutString
movff TOSH,TBLPTRH ; copy return address to TBLPTR
movff TOSL,TBLPTRL ;
clrf TBLPTRU ; assume PIC with < 64-KB
PutNext
tblrd *+ ; get in-line string character
movf TABLAT,W ; last character (00)?
bz PutExit ; yes, exit, else
rcall Put232 ; print character
bra PutNext ; and do another
PutExit
btfsc TBLPTRL,0 ; odd address?
tblrd *+ ; yes, make it even (fix PC)
movf TBLPTRH,W ; setup new return address
movwf TOSH ;
movf TBLPTRL,W ;
movwf TOSL ;
return ;
;
;******************************************************************
;
_Print "Main Menu\r\n\n"
_Print "<1> Setup\r\n"
_Print "<2> Exit\r\n"
;
;******************************************************************
;
; _Print macro
;
_Print MACRO str ; print in-line string macro
call PutString ;
db str,0
ENDM
;
MiniB normally comes with SMD package, through hole package is not so easy to find. Mini-B does save lot of space than a regular type B. The following picture is not the same scale, but does give some reference on size.I understand that, what I suggested was the mini B connector, which are smaller than either the regular A or B connectors:
**broken link removed**
https://www.electro-tech-online.com/custompdfs/2008/12/32005-601.pdf
(datasheet with dimensions)