Page 12 - The Journal of the Royal Society of Thailand
P. 12

วารสารราชบััณฑิิตยสภา
                                          ปีที� ๔๙ ฉบับที� ๑ มกราคม-เมษายน ๒๕๖๗

             2                 การต่่อประสานแผงวงจรไมโครคอนโทรลเลอร์เพื่่�อการเรียนร้�กับหน่วยความจำอีอีพื่ร็อมแบบอนุกรมต่ามเกณฑ์์วิธีี I2C





                Abstract: Interfacing the Microcontroller Board for Learning with a Serial EEPROM

                           Under the I2C Protocol
                           Professor Emeritus Dr. Mongkol Dejnakarintra

                           Fellow of the Academy of Science,
                           The Royal Society of Thailand

                                  This paper presents a method for sending-receiving serial data in the

                           I2C system between the Microcontroller Board for Learning (controller),
                           which uses the 8088 IC as its CPU, and a serial EEPROM AT24C256 (peripheral).
                           The network used consists of a data signal line and a clock signal line, both

                           connecting the controller with the peripheral and each connected to

                           a 5-volt dc supply through a 10-kilohm resistor. The software for the
                           controller is written in the Assembly language for the 8088 CPU and based
                           on the I2C protocol. The result from an experiment with the I2C system

                           shows that, after the controller has sent (written) 100 bytes of serial data

                           to the peripheral and has received (read) the same number of bytes from
                           the peripheral, each of the received bytes corresponds with the byte sent
                           in the same sequence. However, the bit rates for sending and receiving data

                           in the I2C system of this paper are rather low, being about 18-32 kilobits

                           per second, due to a low clock frequency (5 MHz) of the 8088 CPU.


                           Keywords: Microcontroller Board for Learning, serial EEPROM, I2C protocol





             บทนำ

                    ผ้�เขีียนเคยนำเสนอบทความวิชาการจำนวนหน่�งเกี�ยวกับแผงวงจรไมโครคอนโทรลเลอร์เพื่่�อการเรียนร้�
             ซึ่่�งใช�ไมโครโพื่รเซึ่สเซึ่อร์ 8088 ขีองบริษััท Intel เป็็นส่วนป็ระกอบหลัก เริ�มจากบทความบทแรก (มงคล

             เดชนครินทร์, ๒๕๕๖ : ๓๖-๖๑) ซึ่่�งแสดงรายละเอียดเกี�ยวกับฮาร์ดแวร์และแสดงโป็รแกรมภาษัาแอสเซึ่มบลีที�

             จะใช�ทดสอบส่วนป็ระกอบส่วนต่่าง ๆ ในแผงวงจรที�สร�างขี่�น บทความบทที� ๒ (มงคล เดชนครินทร์, ๒๕๕๖ :
             ๑๔๖-๑๗๑) ได�นำเสนอซึ่อฟต่์แวร์ระบบ (system software) ที�จะใช�อำนวยความสะดวกแก่ผ้�ใช�แผงวงจรในการ
             ควบคุมการทำงานขีองฮาร์ดแวร์ บทความบทที� ๓ (มงคล เดชนครินทร์, ๒๕๕๗ : ๑๕๖-๑๗๕) ได�นำเสนอวิธีีการ

             แบบต่่าง ๆ ในการใส่ขี�อม้ลผ่านช่องทางเขี�าแบบขีนานขีองแผงวงจรไมโครคอนโทรลเลอร์ที�เกี�ยวขี�อง บทความ
   7   8   9   10   11   12   13   14   15   16   17