fbpx
วิกิพีเดีย

ตัวถอดรหัส

การถอดรหัส ภาษาอังกฤษ decoding คือการแปลงเลขแบบฐาน 10 ไปเป็นแบบฐาน 2 หรือฐานอื่นไปเป็นฐาน 2 รหัส BCD หรือรหัสใดๆให้สามารถแสดงผลลัพธ์ โดยใช้ logic gate เป็นตัวถอดรหัส ให้สามารถแปลงข้อมูลในลักษณะของเลขฐานอื่นๆที่สามารถเข้าใจได้โดยง่าย

การถอดรหัสของเลขฐานสอง 3 บิต

เป็นการจัดการเลขฐานสองเพื่อรับข้อมูลจำนวน 3บิต โดยต้องการผลลัพธ์ได้ 8 ค่า โดยการใช้รหัสเลขฐาน 2 ที่มีค่าลอจิกเป็น 0 หรือ 1 ก็ได้ดังตาราง

   

การถอดรหัส จาก BCD เป็นเลขฐานสิบ

inputเป็นเลข BCD และให้ outputเป็นเลขฐานสิบ ซึ่งมี outputได้ 10 ค่า ในตารางจะเป็นเลขBCD ที่สอคล้องกัลเลขฐานสิบ ถ้าใช้ Gate แบบ NAND จะได้ 0utput เป็น 0 แต่ถ้าสร้างจากGate แบบ AND จะได้ 0utput เป็น 1

 

การถอดรหัสจาก BCD เป็น 7 ส่วน

การแสดงผลออกมาในรูปของ LED 7 ส่วน ( 7 segment ) จะทำให้อ่านการแสดงผลได้ง่ายขึ้น วงจรถอดรหัสก็ต้องเป็นวงจรถอกรหัสสำหรับจุด LED 7ชิ้นส่วน

   

วงจรถอดรหัสจึงต้องให้ Output ไปจุด LED แต่ละชิ้นส่วนแล้วได้ Output ตามรหัส Input เช่น ถ้าป้อนรหัส BCD เป็น 0000 LED ชิ้นที่ a,b,c,d,e,f ต้องสว่าง ส่วน g ดับ นั่นคือ เราจะมองเห็นเป็นเลข 0 ในทำนองเดียวกัน ถ้า BCD Input เป็น 0001 LED ชิ้น b และ c ติด นอกนั้นดับ เราจะมองเห็นเป็นเลข 1 เป็นต้น

วถอดรห, การถอดรห, ภาษาอ, งกฤษ, decoding, อการแปลงเลขแบบฐาน, ไปเป, นแบบฐาน, หร, อฐานอ, นไปเป, นฐาน, รห, หร, อรห, สใดๆให, สามารถแสดงผลล, พธ, โดยใช, logic, gate, เป, ให, สามารถแปลงข, อม, ลในล, กษณะของเลขฐานอ, นๆท, สามารถเข, าใจได, โดยง, ายการถอดรห, สของเลขฐานสอง,. karthxdrhs phasaxngkvs decoding khuxkaraeplngelkhaebbthan 10 ipepnaebbthan 2 hruxthanxunipepnthan 2 rhs BCD hruxrhsidihsamarthaesdngphllphth odyich logic gate epntwthxdrhs ihsamarthaeplngkhxmulinlksnakhxngelkhthanxunthisamarthekhaicidodyngaykarthxdrhskhxngelkhthansxng 3 bit aekikhepnkarcdkarelkhthansxngephuxrbkhxmulcanwn 3bit odytxngkarphllphthid 8 kha odykarichrhselkhthan 2 thimikhalxcikepn 0 hrux 1 kiddngtarang karthxdrhs cak BCD epnelkhthansib aekikhinputepnelkh BCD aelaih outputepnelkhthansib sungmi outputid 10 kha intarangcaepnelkhBCD thisxkhlxngklelkhthansib thaich Gate aebb NAND caid 0utput epn 0 aetthasrangcakGate aebb AND caid 0utput epn 1 karthxdrhscak BCD epn 7 swn aekikhkaraesdngphlxxkmainrupkhxng LED 7 swn 7 segment cathaihxankaraesdngphlidngaykhun wngcrthxdrhsktxngepnwngcrthxkrhssahrbcud LED 7chinswn wngcrthxdrhscungtxngih Output ipcud LED aetlachinswnaelwid Output tamrhs Input echn thapxnrhs BCD epn 0000 LED chinthi a b c d e f txngswang swn g db nnkhux eracamxngehnepnelkh 0 inthanxngediywkn tha BCD Input epn 0001 LED chin b aela c tid nxknndb eracamxngehnepnelkh 1 epntnekhathungcak https th wikipedia org w index php title twthxdrhs amp oldid 4714376, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม