<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Hội Quán Điện Tử]]></title> 
<link>http://hoiquandientu.com/index.php</link> 
<description><![CDATA[Hội Quán Điện Tử]]></description> 
<language>vi</language> 
<copyright><![CDATA[Hội Quán Điện Tử]]></copyright>
<item>
<link>http://hoiquandientu.com/read.php?1308</link>
<title><![CDATA[thiết kế bộ đo tần số hiển thị trên màn hình máy tính pc]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[ Cơ bản VXL-VDK]]></category>
<pubDate>Wed, 15 May 2013 04:22:28 +0000</pubDate> 
<guid>http://hoiquandientu.com/read.php?1308</guid> 
<description>
<![CDATA[ 
	các anh ơi giúp em với<br/>Tags - <a href="http://hoiquandientu.com/tag.php?tag=thi%25E1%25BA%25BFt" rel="tag">thiết</a> , <a href="http://hoiquandientu.com/tag.php?tag=k%25E1%25BA%25BF" rel="tag">kế</a> , <a href="http://hoiquandientu.com/tag.php?tag=b%25E1%25BB%2599" rel="tag">bộ</a> , <a href="http://hoiquandientu.com/tag.php?tag=%25C4%2591o" rel="tag">đo</a> , <a href="http://hoiquandientu.com/tag.php?tag=t%25E1%25BA%25A7n" rel="tag">tần</a> , <a href="http://hoiquandientu.com/tag.php?tag=s%25E1%25BB%2591" rel="tag">số</a> , <a href="http://hoiquandientu.com/tag.php?tag=hi%25E1%25BB%2583n" rel="tag">hiển</a> , <a href="http://hoiquandientu.com/tag.php?tag=th%25E1%25BB%258B" rel="tag">thị</a> , <a href="http://hoiquandientu.com/tag.php?tag=tr%25C3%25AAn" rel="tag">trên</a> , <a href="http://hoiquandientu.com/tag.php?tag=m%25C3%25A0n" rel="tag">màn</a> , <a href="http://hoiquandientu.com/tag.php?tag=h%25C3%25ACnh" rel="tag">hình</a> , <a href="http://hoiquandientu.com/tag.php?tag=m%25C3%25A1y" rel="tag">máy</a> , <a href="http://hoiquandientu.com/tag.php?tag=t%25C3%25ADnh" rel="tag">tính</a> , <a href="http://hoiquandientu.com/tag.php?tag=pc" rel="tag">pc</a>
]]>
</description>
</item><item>
<link>http://hoiquandientu.com/read.php?1304</link>
<title><![CDATA[help!!!]]></title> 
<author>DTC32B &lt;yuongsan@gmail.com&gt;</author>
<category><![CDATA[ Cơ bản VXL-VDK]]></category>
<pubDate>Sun, 12 May 2013 15:18:12 +0000</pubDate> 
<guid>http://hoiquandientu.com/read.php?1304</guid> 
<description>
<![CDATA[ 
	mấy anh giúp em với!!!! <br/>Bài tập thầy cho: viết chương trình chữ DNTCN chạy từ trái qua phải vi điều khiển họ 89c51<br/> mà em thì gà mấy cái vụ này lắm. mấy anh giúp đỡ ạ<br/>Tags - <a href="http://hoiquandientu.com/tag.php?tag=help%2521%2521%2521" rel="tag">help!!!</a>
]]>
</description>
</item><item>
<link>http://hoiquandientu.com/read.php?1078</link>
<title><![CDATA[Giúp mình thiết kế KIT với CPU 89C52]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[ Cơ bản VXL-VDK]]></category>
<pubDate>Wed, 07 Nov 2012 15:54:56 +0000</pubDate> 
<guid>http://hoiquandientu.com/read.php?1078</guid> 
<description>
<![CDATA[ 
	Các bạngiúp mình&nbsp;&nbsp;thiết kế Kit với CPU 89C52 giao tiếp với: 8 phím + 8led đơn, 8led 7 thanh, realtime ds1307, cảm biến nhiệt độ ds18b20.<br/>Ai có tài liệu liên quan, thì cho mình xin luôn nhé<br/>Thanh&#039;s<br/>Tags - <a href="http://hoiquandientu.com/tag.php?tag=gi%25C3%25BAp" rel="tag">giúp</a> , <a href="http://hoiquandientu.com/tag.php?tag=m%25C3%25ACnh" rel="tag">mình</a> , <a href="http://hoiquandientu.com/tag.php?tag=thi%25E1%25BA%25BFt" rel="tag">thiết</a> , <a href="http://hoiquandientu.com/tag.php?tag=k%25E1%25BA%25BF" rel="tag">kế</a> , <a href="http://hoiquandientu.com/tag.php?tag=kit" rel="tag">kit</a> , <a href="http://hoiquandientu.com/tag.php?tag=v%25E1%25BB%259Bi" rel="tag">với</a> , <a href="http://hoiquandientu.com/tag.php?tag=cpu" rel="tag">cpu</a> , <a href="http://hoiquandientu.com/tag.php?tag=89c52" rel="tag">89c52</a>
]]>
</description>
</item><item>
<link>http://hoiquandientu.com/read.php?1068</link>
<title><![CDATA[xin huog dan ket noi vdk voi pc]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[ Cơ bản VXL-VDK]]></category>
<pubDate>Thu, 01 Nov 2012 13:16:59 +0000</pubDate> 
<guid>http://hoiquandientu.com/read.php?1068</guid> 
<description>
<![CDATA[ 
	em moi hok vdk chua hieu bt j nhieu mong may anh chj giup em cach ket noi vdk voi pc wa rs 232 .neu dc cho em xin so do phan cung va phan mem lun <br/>Tags - <a href="http://hoiquandientu.com/tag.php?tag=xin" rel="tag">xin</a> , <a href="http://hoiquandientu.com/tag.php?tag=huog" rel="tag">huog</a> , <a href="http://hoiquandientu.com/tag.php?tag=dan" rel="tag">dan</a> , <a href="http://hoiquandientu.com/tag.php?tag=ket" rel="tag">ket</a> , <a href="http://hoiquandientu.com/tag.php?tag=noi" rel="tag">noi</a> , <a href="http://hoiquandientu.com/tag.php?tag=vdk" rel="tag">vdk</a> , <a href="http://hoiquandientu.com/tag.php?tag=voi" rel="tag">voi</a> , <a href="http://hoiquandientu.com/tag.php?tag=pc" rel="tag">pc</a>
]]>
</description>
</item><item>
<link>http://hoiquandientu.com/read.php?807</link>
<title><![CDATA[Hướng dẫn viết code ASM trong Protues cho 8501]]></title> 
<author>damme88 &lt;phamtoanbonmat@gmail.com&gt;</author>
<category><![CDATA[ Cơ bản VXL-VDK]]></category>
<pubDate>Sun, 15 Jan 2012 13:29:39 +0000</pubDate> 
<guid>http://hoiquandientu.com/read.php?807</guid> 
<description>
<![CDATA[ 
	Khi các các bạn học tập và nghiên cứu điện tử thì các bạn có thể lựa chọn cho mình 1 phần mềm thiết kế mạch điện tử trong vô vàn các phần mềm thiết kế mạch điện tử .<br/>Nếu như sự lựa chọn của các bạn là Proteus và với mục đích là thiết kế cho các mạch vi điều khiển.<br/>Thì phần bài viết này của tôi hy vọng sẽ giúp ích phần nào cho các bạn mới bắt đầu bước vào làm quen với Proteus.<br/><strong>Đó là việc viết code lập trình cho 1 con vi xử lý trên Proteus</strong><br/>Thông thường để viết một code lập trình, ta phải có một trình soạn thảo và một trình biên dịch, Các phần mềm lập trình thường đã có sẵn 2 chức năng này rồi.<br/>Trình soạn thảo để viết mã nguồn<br/>Trình biên dịch để tạo ra file chạy phù hợp với môi trường cần sử dụng file chạy.<br/>Proteus tích hợp sẵn 2 chức năng trên và các bạn có thể viết code ASM và thực hiện biên dịch ngay tại Proteus.<br/>Tôi lựa chọn phần mềm proteus 7.5 SP3. Bản này tôi cảm thấy dùng khá là tốt.<br/>Các bạn nên sử dụng bản này.<br/>Để thực hiện viết code chúng ta chọn&nbsp;&nbsp;<span style="color: #FF0000;">source</span> trên thanh menu – sau đó bấm chọn <br/><span style="color: #FF0000;">Add/ Remove Source</span> file <br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="250" height="250"/></a></p><br/>Cửa sổ mới hiện ra như hình minh họa dưới đây<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues1.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues1.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="350" height="350"/></a></p><br/>Các bạn phải nhớ là trong cửa sổ giao diện chúng ta phải chọn sẵn chíp rồi nhé, thì lúc này trong mục <span style="color: #FF0000;">Target Proccess </span>mới hiện ra tên chip chúng ta cần lập trình cho nó. Ở đây tôi ví dụ là con 89c51.<br/>Bên phải tại mục chọn <span style="color: #FF0000;">Code Generation Tool</span>, bạn chọn&nbsp;&nbsp;<span style="color: #FF0000;">ASEM51.</span> <br/>Sau đó các bạn bấm vào <span style="color: #FF0000;">new</span><br/>Đánh tên file vào có thể thêm đuôi ASM hoặc không cần , <br/>Code C có lẽ là không sử dụng ở đây được, vì Proteus ko hỗ trợ các thư viện cho C.<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues2.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues2.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="300"/></a></p><br/>Sau đó bấm <span style="color: #FF0000;">ok</span><br/>Các bạn tiếp tục ấn tiếp vào <span style="color: #FF0000;">source</span> sẽ thấy file asm của chúng ta hiện ra, bấm vào file đó <br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues3.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues3.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="400" height="350"/></a></p><br/>1 cửa sổ notepad hiện ra và các bạn bắt đầu viết code.<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues4.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues4.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="350"/></a></p><br/>Giả sử tôi viết đoạn code đơn giản như trên chẳng hạn<br/>Sau đó ta save rồi tắt cửa sổ code<br/>Lại ấn vào <span style="color: #FF0000;">source</span> chọn <span style="color: #FF0000;">Build </span><br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues5.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues5.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="300" height="300"/></a></p><br/>Nếu cửa sổ hiện ra có dạng như sau :<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues6.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues6.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="300"/></a></p><br/>Các bạn sẽ thấy việc buil là thành công, số line là 49 line, ko có error, file output bao gồm cả file liệt kê <span style="color: #FF0000;">test.LST</span>.<br/><br/>Còn nếu cửa sổ hiện ra có dạng sau :<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues7.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues7.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="300"/></a></p><br/>Tức là code của bạn đã có lỗi và nó nằm ở line số 4, tại command set <span style="color: #FF0000;">p1.0</span>. <br/>Chúng ta thấy ngay command này sai vì phải là <span style="color: #FF0000;">setb</span> chứ ko phải <span style="color: #FF0000;">set.</span><br/>Chúng ta có thể sửa lại code dễ dàng và thực hiện <span style="color: #FF0000;">build</span> lại <br/>Khi đã buil xong file hex của bạn được tạo ra và nó sẽ nằm ngày cùng với nới lưu file nguồn của bạn.<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues8.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues8.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="300" height="200"/></a></p><br/>Lúc này bạn tiến hành nạp cho chip trên mạch mổ phỏng.<br/>Ấn chuột phải vào chip chọn <span style="color: #FF0000;">Edit properties.</span><br/>Hoặc ấn chuột trái vào chip chọn Ctr +E.<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues9.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues9.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="450"/></a></p><br/>Ta có cửa sổ như sau :<br/><p align="center"><a href="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues10.JPG" target="_blank"><img src="http://hoiquandientu.com//images/upload/fileupload/Huong%20dan%20lap%20trinh%20Asm%20cho%208501%20trong%20Protues10.JPG" class="insertimage" alt="Bấm xem ảnh ở cửa sổ mới" title="Bấm xem ảnh ở cửa sổ mới" border="0" width="450" height="450"/></a></p><br/>Bạn chọn tần số thạch anh là 12 Mhz<br/>Kích chọn vào biểu tưởng folder màu vàng tìm đường dẫn trỏ đến file hex.<br/>Rồi ấn ok<br/>Vậy là bạn đã&nbsp;&nbsp;nạp được file hex vào chíp thành công và có thể tiên hành test thử mạch thiết kế của bạn<br/><br/><strong>Những điểm lưu ý :</strong><br/>-&nbsp;&nbsp;Mỗi lần sửa code bạn phải build lại nhưng ko cần trỏ lại file hex vì nó tự nhận<br/>-&nbsp;&nbsp;Khi bạn gói toàn bộ sản phẩm sang một folder mới rồi bật lên xem, bạn thấy nó báo lỗi ko chạy được- đừng lo lắng, hay nạp lại file hex cho chíp như ở trên.<br/>-&nbsp;&nbsp;File hex này hoàn toàn có thể sử dụng được cho việc nạp vào chíp thật ngoài đời thông qua một mạch nạp chíp và phần mềm nạp chíp<br/>-&nbsp;&nbsp;File hex code asm thường có dung lượng nhẹ, nên ko sợ code dài.<br/>Tags - <a href="http://hoiquandientu.com/tag.php?tag=h%25C6%25B0%25E1%25BB%259Bng" rel="tag">hướng</a> , <a href="http://hoiquandientu.com/tag.php?tag=d%25E1%25BA%25ABn" rel="tag">dẫn</a> , <a href="http://hoiquandientu.com/tag.php?tag=vi%25E1%25BA%25BFt" rel="tag">viết</a> , <a href="http://hoiquandientu.com/tag.php?tag=code" rel="tag">code</a> , <a href="http://hoiquandientu.com/tag.php?tag=asm" rel="tag">asm</a> , <a href="http://hoiquandientu.com/tag.php?tag=trong" rel="tag">trong</a> , <a href="http://hoiquandientu.com/tag.php?tag=protues" rel="tag">protues</a> , <a href="http://hoiquandientu.com/tag.php?tag=cho" rel="tag">cho</a> , <a href="http://hoiquandientu.com/tag.php?tag=8501" rel="tag">8501</a>
]]>
</description>
</item>
</channel>
</rss>