ช่วยแนะนำหน่อยครับ

คือ จะลองเขียน ภาษา C ติดต่อผ่านport ต่างๆอะครับ

ไม่ทราบว่าควรจะเริ่มที่ไหนยังไงก่อนดี

ละก้อ ซื้อบอร์ดสำเร็จรูปอย่างพวก mcs-51 หรือ ทำบอร์ดเอง อันไหนดีกว่ากันครับ

ตอนนี้เขียนเป็นแค่ C นิดหน่อย - -"

ขอบคุณครับ

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

lew Mon, 27/07/2009 - 22:30

โดยทั่วไปแล้วพื้นฐานที่สุดคือการต่อผ่านพอร์ต Serial ครับ ในวินโดวส์ทำยังไงผมไม่แน่ใจ แต่ในลินุกซ์นี่ cat file > /dev/ttyS1 ได้เลยครับ (จริงๆ มีอะไรมากกว่านี้หน่อยพวกตั้งค่าความเร็ว ฯลฯ

LewCPE

PiKO Tue, 28/07/2009 - 15:54

ก่อนอื่นต้องถามก่อนครับ ว่าพัฒนาบน platform ไหน ถ้าพวก micro-controller ลองหาวิธีเขียน
ติดต่อส่วนต่างของเบอร์นั้นๆ ได้จาก Internet และดู Data Sheet ประกอปได้เลยไม่น่ายากอะไร
บอร์ดก็ซื้อเอาดีกว่าครับ บอร์ดพัฒนามันมี I/O ต่างๆ ไว้ให้ใช้งานดีอยู่แล้วจะได้ไม่ต้องคิดมาก อิอิ

ส่วนถ้าเป็นบน PC ก็แยกไปว่าจะบน Linux หรือ Windows ด้วย เพราะระบบการติดต่อ Hardware
ของ OS แต่ละตัวไม่เหมือนกัน (ผู้ใช้จะติดต่อ Hardware ผ่าน OS ได้เท่านั้น เพราะฉนั้นจึงขึ้นอยู่กับ OS)
โดยส่วนตัวบน Windows ไม่ค่อยถนัดเลยแนะนำไม่ได้ ส่วนหลักการของ Linux จะเห็น Hardware เป็น
ไฟล์ เช่นการเขียนข้อมูลส่งออก Serial Port ก็เขียนโปรแกรมเปิดไฟล์ /dev/ttyS0 แล้วก็
เขียนด้วย write() ลงไป ง่ายๆ (รายละเอียดมีอีกนิดหน่อยนะ)

I'm a DS Lover ^^

nut29951 Wed, 29/07/2009 - 21:49

In reply to by PiKO

ส่วนตัวไม่ค่อยชอบ VB อะครับ 555 อ่านยากเกิน

โครงสร้างภาษามันไม่สวยงามเหมือน C++ , PHP ไรพวกนี้

0xffeeddaa Wed, 29/07/2009 - 04:58

ถ้าผ่าน port แนะนำ python ครับเขียนแล้วรันได้หลายโอเอส หรือภาษาอื่นๆ ก็ได้ แต่ไม่แนะนำพวกภาษาที่ยึดติดกับโอเอสเดียว มันไม่อาร์ต

ต้องถามก่อนว่าติดต่อกับอะไรครับ ถ้าง่ายๆ ควบคุม led ผ่านพอร์ต Parallels ก็ใช้งาน PyParallel ได้ครับ เช่นตัวอย่างนี้ http://orionrobots.co.uk/tiki-index.php?page=Simple+Parallel+Port+LED+Board หรือวีดีโอ http://www.youtube.com/watch?v=wuoNy6jYdtg

เรื่องทำงานได้หลายระบบ มันอยู่ที่ไลบารี่นะครับ เท่าที่ผมเจอไลบารี่ของ Python จะทำได้ค่อนข้างเยอะ