最新日志

发表于:2008-5-10 11:33:33
标签:无标签

1

MEGA8做的USB编程器PCB板

        前些日子(时日有些长了)网友济世看了圈圈发的MEGA8做的USB下载线的原理图,想做一块PCB板,以满足美观实用的愿望,在做电路的过程中我为他提供了一些帮助,最后这块USB编程器的PCB板也成功问世了,呵呵。

        一直想把做的实物和PCB的图都贴出来让大家看看,但是没找着好点的相机来拍图,昨天终于有机会拍了几张照片,现在就上传了大家看看。如果感兴趣,大家可以向济世(QQ:530883031),也可以向我,询问购买事宜。

        PCB图:

点击开大图

点击开大图

点击开大图

        实物图:

点击开大图

点击开大图

上图中的这个飞线是长了些,我把固件改了一下,让573的OE可以接到离OE脚最近的MEGA8空闲引脚上了,也就是下面那排焊点从左向右的第三个(上图中接的是第五个),修改如图所示(点击查看大图):

点击开大图

先沿着竖着的红线将PCB铜铂割断,然后将右边蓝色的那块PCB敷铜表面的阻焊层刮掉,再上焊锡,最后焊到从左向右数第三个焊盘上(涂蓝的那个点)。这样就OK了,我试过很好用的,修改也变的非常小了。

修改后就不能用以前的固件了,可以发EMAIL向我索取新的固件yjttust@163.com

点击此处查看原文 >>

系统分类: 单片机   |    用户分类: 无分类    |    来源: 原创

评论(5) | 阅读(615)
发表于:2008-4-9 21:35:13
标签:无标签

3

MEGA8 USB编程器固件改进

        用的是圈圈找的USB编程器的原理图(http://blog.21ic.com/user1/2198/archives/2008/45205.html),做了一块小PCB板,下载器用起来很爽,但是也有一个缺点,就是编程的时候经常报错“chip enable program error!”,这是复位信号未在短时间内成功建立的原因。

        圈圈发布原理图与固件的RAR时,里面带了MEGA8的C程序,但是苦于是用AVR GCC编译的,前些日子一直没有找到好方法重新编译,好在昨天在网上看到一个AVR开发软件能在WINDOWS下使用GCC对AVR程序进行编译,于是对原来的固件进行了小修改。

      修改内容是:S5x芯片时,在执行RST信号拉高后,加了N多延时,等待RST高电平信号稳定后再接着进行后续操作。MEGA系列芯片则是在RST信号变低后,加了N多延时,也是等待复位信号稳定。

        好了,不说废话了,下面就是修改后的固件,大家可以试用一下,有问题就再提,反正我不怕麻烦,哈哈。

点击下载mega8usb.rar

        我用修改后的固件成功的给S51,S52,MEGA8下载了程序,都没有再出现“chip enable program error!”错误,编程速度还是和以前的一样,我没有改动编程部分的语句。

 

        现在有USB接口编程器的空PCB板和成品或套件发售:

        PCB:http://auction1.taobao.com/auction/item_detail-0db2-effe05a90374cb3c170672c8bbcecf12.jhtml

        成品:http://auction1.taobao.com/auction/item_detail-0db2-ff1ea855abd0aea06310fceadf20b995.jhtml

       成品照片:http://blog.ednchina.com/billowtust/114406/message.aspx

点击此处查看原文 >>

系统分类: 单片机   |    用户分类: 无分类    |    来源: 原创

评论(24) | 阅读(1782)
发表于:2008-1-24 20:53:44
标签:密引脚  贴片  IC  焊接  

2

密引脚IC焊接视频教程

为了节省空间,在这里就转一下链接吧:http://group.ednchina.com/93/7842.aspx

推荐新手们在焊接密引脚IC前好好看看。

点击此处查看原文 >>

系统分类: 嵌入式   |    用户分类: 无分类    |    来源: 原创

评论(3) | 阅读(790)
发表于:2008-1-24 19:36:14
标签:USB键盘  码值  

0

USB键盘常用码值表

0 00 Reserved (no event indicated)9 N/A √ √ √ 4/101/104

1 01 Keyboard ErrorRollOver9 N/A √ √ √ 4/101/104

2 02 Keyboard POSTFail9 N/A √ √ √ 4/101/104

3 03 Keyboard ErrorUndefined9 N/A √ √ √ 4/101/104

4 04 Keyboard a and A4 31 √ √ √ 4/101/104

5 05 Keyboard b and B 50 √ √ √ 4/101/104

6 06 Keyboard c and C4 48 √ √ √ 4/101/104

7 07 Keyboard d and D 33 √ √ √ 4/101/104

8 08 Keyboard e and E 19 √ √ √ 4/101/104

9 09 Keyboard f and F 34 √ √ √ 4/101/104

10 0A Keyboard g and G 35 √ √ √ 4/101/104

11 0B Keyboard h and H 36 √ √ √ 4/101/104

12 0C Keyboard i and I 24 √ √ √ 4/101/104

13 0D Keyboard j and J 37 √ √ √ 4/101/104

14 0E Keyboard k and K 38 √ √ √ 4/101/104

15 0F Keyboard l and L 39 √ √ √ 4/101/104

16 10 Keyboard m and M4 52 √ √ √ 4/101/104

17 11 Keyboard n and N 51 √ √ √ 4/101/104

18 12 Keyboard o and O4 25 √ √ √ 4/101/104

19 13 Keyboard p and P4 26 √ √ √ 4/101/104

20 14 Keyboard q and Q4 17 √ √ √ 4/101/104

21 15 Keyboard r and R 20 √ √ √ 4/101/104

22 16 Keyboard s and S4 32 √ √ √ 4/101/104

23 17 Keyboard t and T 21 √ √ √ 4/101/104

24 18 Keyboard u and U 23 √ √ √ 4/101/104

25 19 Keyboard v and V 49 √ √ √ 4/101/104

26 1A Keyboard w and W4 18 √ √ √ 4/101/104

27 1B Keyboard x and X4 47 √ √ √ 4/101/104

28 1C Keyboard y and Y4 22 √ √ √ 4/101/104

29 1D Keyboard z and Z4 46 √ √ √ 4/101/104

30 1E Keyboard 1 and !4 2 √ √ √ 4/101/104

31 1F Keyboard 2 and @4 3 √ √ √ 4/101/104

32 20 Keyboard 3 and #4 4 √ √ √ 4/101/104

33 21 Keyboard 4 and $4 5 √ √ √ 4/101/104

34 22 Keyboard 5 and %4 6 √ √ √ 4/101/104

35 23 Keyboard 6 and ^4 7 √ √ √ 4/101/104

36 24 Keyboard 7 and &4 8 √ √ √ 4/101/104

37 25 Keyboard 8 and *4 9 √ √ √ 4/101/104

38 26 Keyboard 9 and (4 10 √ √ √ 4/101/104

39 27 Keyboard 0 and )4 11 √ √ √ 4/101/104

40 28 Keyboard Return (ENTER)5 43 √ √ √ 4/101/104

41 29 Keyboard ESCAPE 110 √ √ √ 4/101/104

42 2A Keyboard DELETE (Backspace)13 15 √ √ √ 4/101/104

43 2B Keyboard Tab 16 √ √ √ 4/101/104

44 2C Keyboard Spacebar 61 √ √ √ 4/101/104

45 2D Keyboard - and (underscore)4 12 √ √ √ 4/101/104

46 2E Keyboard = and +4 13 √ √ √ 4/101/104

47 2F Keyboard [ and {4 27 √ √ √ 4/101/104

48 30 Keyboard ] and }4 28 √ √ √ 4/101/104

49 31 Keyboard \ and | 29 √ √ √ 4/101/104

50 32 Keyboard Non-US # and ~2 42 √ √ √ 4/101/104

51 33 Keyboard ; and :4 40 √ √ √ 4/101/104

52 34 Keyboard ‘ and “4 41 √ √ √ 4/101/104

53 35 Keyboard Grave Accent and Tilde4 1 √ √ √ 4/101/104

54 36 Keyboard, and <4 53 √ √ √ 4/101/104

55 37 Keyboard . and >4 54 √ √ √ 4/101/104

56 38 Keyboard / and ?4 55 √ √ √ 4/101/104

57 39 Keyboard Caps Lock11 30 √ √ √ 4/101/104

58 3A Keyboard F1 112 √ √ √ 4/101/104

59 3B Keyboard F2 113 √ √ √ 4/101/104

60 3C Keyboard F3 114 √ √ √ 4/101/104

61 3D Keyboard F4 115 √ √ √ 4/101/104

62 3E Keyboard F5 116 √ √ √ 4/101/104

63 3F Keyboard F6 117 √ √ √ 4/101/104

64 40 Keyboard F7 118 √ √ √ 4/101/104

65 41 Keyboard F8 119 √ √ √ 4/101/104

66 42 Keyboard F9 120 √ √ √ 4/101/104

67 43 Keyboard F10 121 √ √ √ 4/101/104

68 44 Keyboard F11 122 √ √ √ 101/104

69 45 Keyboard F12 123 √ √ √ 101/104

70 46 Keyboard PrintScreen1 124 √ √ √ 101/104

71 47 Keyboard Scroll Lock11 125 √ √ √ 4/101/104

72 48 Keyboard Pause1 126 √ √ √ 101/104

73 49 Keyboard Insert1 75 √ √ √ 101/104

74 4A Keyboard Home1 80 √ √ √ 101/104

75 4B Keyboard PageUp1 85 √ √ √ 101/104

76 4C Keyboard Delete Forward1;14 76 √ √ √ 101/104

77 4D Keyboard End1 81 √ √ √ 101/104

78 4E Keyboard PageDown1 86 √ √ √ 101/104

79 4F Keyboard RightArrow1 89 √ √ √ 101/104

80 50 Keyboard LeftArrow1 79 √ √ √ 101/104

81 51 Keyboard DownArrow1 84 √ √ √ 101/104

82 52 Keyboard UpArrow1 83 √ √ √ 101/104

83 53 Keypad Num Lock and Clear11 90 √ √ √ 101/104

84 54 Keypad /1 95 √ √ √ 101/104

85 55 Keypad * 100 √ √ √ 4/101/104

86 56 Keypad - 105 √ √ √ 4/101/104

87 57 Keypad + 106 √ √ √ 4/101/104

88 58 Keypad ENTER5 108 √ √ √ 101/104

89 59 Keypad 1 and End 93 √ √ √ 4/101/104

90 5A Keypad 2 and Down Arrow 98 √ √ √ 4/101/104

91 5B Keypad 3 and PageDn 103 √ √ √ 4/101/104

92 5C Keypad 4 and Left Arrow 92 √ √ √ 4/101/104

93 5D Keypad 5 97 √ √ √ 4/101/104

94 5E Keypad 6 and Right Arrow 102 √ √ √ 4/101/104

95 5F Keypad 7 and Home 91 √ √ √ 4/101/104

96 60 Keypad 8 and Up Arrow 96 √ √ √ 4/101/104

97 61 Keypad 9 and PageUp 101 √ √ √ 4/101/104

98 62 Keypad 0 and Insert 99 √ √ √ 4/101/104

99 63 Keypad . and Delete 104 √ √ √ 4/101/104

100 64 Keyboard Non-US \ and |3;6 45 √ √ √ 4/101/104

101 65 Keyboard Application10 129 √ √ 104

102 66 Keyboard Power9 √ √

103 67 Keypad =

104 68 Keyboard F13

105 69 Keyboard F14

106 6A Keyboard F15

107 6B Keyboard F16

108 6C Keyboard F17

109 6D Keyboard F18

110 6E Keyboard F19

111 6F Keyboard F20

112 70 Keyboard F21

113 71 Keyboard F22

114 72 Keyboard F23

115 73 Keyboard F24

116 74 Keyboard Execute

117 75 Keyboard Help

118 76 Keyboard Menu

119 77 Keyboard Select

120 78 Keyboard Stop

121 79 Keyboard Again

122 7A Keyboard Undo

123 7B Keyboard Cut

124 7C Keyboard Copy

125 7D Keyboard Paste

126 7E Keyboard Find

127 7F Keyboard Mute

128 80 Keyboard Volume Up

129 81 Keyboard Volume Down

130 82 Keyboard Locking Caps Lock12

131 83 Keyboard Locking Num Lock12

132 84 Keyboard Locking Scroll Lock12

133 85 Keypad Comma27 107

134 86 Keypad Equal Sign29

135 87 Keyboard International115,28 56

136 88 Keyboard International216

137 89 Keyboard International317

138 8A Keyboard International418

139 8B Keyboard International519

140 8C Keyboard International620

141 8D Keyboard International721

142 8E Keyboard International822

143 8F Keyboard International922

144 90 Keyboard LANG125

145 91 Keyboard LANG226

146 92 Keyboard LANG330

147 93 Keyboard LANG431

148 94 Keyboard LANG532

149 95 Keyboard LANG68

150 96 Keyboard LANG78

151 97 Keyboard LANG88

152 98 Keyboard LANG98

153 99 Keyboard Alternate Erase7

154 9A Keyboard SysReq/Attention1

155 9B Keyboard Cancel

156 9C Keyboard Clear

157 9D Keyboard Prior

158 9E Keyboard Return

159 9F Keyboard Separator

160 A0 Keyboard Out

161 A1 Keyboard Oper

162 A2 Keyboard Clear/Again

163 A3 Keyboard CrSel/Props

164 A