PIC Microcontroller Project
หน้า: [1]   ลงล่าง
  พิมพ์  
ผู้เขียน หัวข้อ: PIC Microcontroller Project  (อ่าน 33795 ครั้ง)
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« เมื่อ: กรกฎาคม 15, 2007, 10:45:34 PM »

0.ต้องมีตังอยู่พอประมาณ Grin Grin

1.ต้องมีเครื่อง Programmer ก่อนครับ

2.โปรแกรม MPLAB ของ Microchip เอาไว้เขียน Programs ภาษา ASM ครับ

3.อุปกรณ์ หนังสือคู่มือ data sheet ควรมีไว้

4.ขาดไม่ได้เลยเครื่อง computer ที่มี Com port และ LPT portไม่ต้องแรงมาก ที่ ZEER ราคา 3000 ก็แจ๋วแล้ว


บันทึกการเข้า

JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #1 เมื่อ: กรกฎาคม 15, 2007, 10:56:35 PM »

เครื่อง Programmer ของ www.coolcircuit.com ตัวนี้ดีครับทำง่ายไม่ซับซ้อน
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #2 เมื่อ: กรกฎาคม 15, 2007, 11:07:07 PM »

เป็น Programs ที่ใช้กับ เครื่อง Programmer ของเราได้เป็นอย่างดี
www.inex.co.th/store/programs/mpic_setup.exe

แก้ปัญหา Windows XP จากการวน polling printer port
เนื่องจากระบบของ Windows XP จะคอยวนตรวจสอบ printer ports เป็นระยะๆ ทำให้ซอฟต์แวร์ทำงานผิดพลาด
ให้ดาวน์โหลดไฟล์ XP_stop_polling.reg และเรียกใช้เพื่อแก้ไขการทำงาน
www.inex.co.th/store/programs/xp_stop_polling.zip
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #3 เมื่อ: กรกฎาคม 15, 2007, 11:43:50 PM »

โปรแกรม MPLAB ASM Editor ที่ใช้ในปฎิบัติการครั้งนี้
ww1.microchip.com/downloads/en/DeviceDoc/mp760a.zip

ถ้า link ใช้ไม่ได้ก็เข้าไปดูที่ www.microchip.com ได้เลย แล้วอย่าลืม Download มาด้วยนะครับ
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #4 เมื่อ: กรกฎาคม 16, 2007, 09:49:59 PM »

ขอแนะนำ board ทดลองตัวนี้ครับ หรือทำเองก็ได้ เพื่อความสะดวกในการทดลองครับ
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #5 เมื่อ: กรกฎาคม 20, 2007, 01:21:59 PM »

ผมจะใช้ภาษา asm เป็นหลักนะครับ(จริงๆเขียนภาษาอื่นไม่เป็น)เอา project ง่ายๆก่อน เป็นไฟวิ่งครับ เพื่อศึกษาการทำงานของขา PORT ต่างๆ
และสามารถนำไปประยุคใช้งานได้ ในครั้งต่อไปเราค่อยมาศึกษาเกี่ยวกับการเขียน program ภาษา asm กันอย่างละเอียดอีกทีครับ
บันทึกการเข้า
sathiya2526
member
*

คะแนน0
ออฟไลน์ ออฟไลน์

กระทู้: 48


อีเมล์
cdi
« ตอบ #6 เมื่อ: สิงหาคม 10, 2007, 02:24:33 PM »

มีใครทำบ้างcdiใช้pic
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #7 เมื่อ: สิงหาคม 11, 2007, 02:11:46 AM »

มันทำงานยังไงอะครับ Undecided
บันทึกการเข้า
mcuritek
member
*

คะแนน1
ออฟไลน์ ออฟไลน์

กระทู้: 12


siamdata@hotmail.com
อีเมล์
« ตอบ #8 เมื่อ: สิงหาคม 11, 2007, 09:52:06 AM »

ไฟล์ PCB สำหรับท่านที่สนใจจะทำบอร์ดทดลอง PIC เอง
บันทึกการเข้า
hs5xld
member
*

คะแนน2
ออฟไลน์ ออฟไลน์

กระทู้: 100


« ตอบ #9 เมื่อ: สิงหาคม 16, 2007, 12:59:34 PM »

ผมเปิดใน  PCB Wizard 3.50 Pro Unlimited ไม่ได้ครับ ทำไงดีครับ Cheesy
บันทึกการเข้า
jumbo_it
member
*

คะแนน3
ออฟไลน์ ออฟไลน์

กระทู้: 43


อีเมล์
« ตอบ #10 เมื่อ: สิงหาคม 16, 2007, 02:45:49 PM »

สนใจปะ ผมใช้ภาษาเบสิก Picbasic Pro ง่ายมาก เดวมาลงให้
บันทึกการเข้า
hs5xld
member
*

คะแนน2
ออฟไลน์ ออฟไลน์

กระทู้: 100


« ตอบ #11 เมื่อ: สิงหาคม 16, 2007, 03:43:59 PM »

เอา  Wink Cheesy
บันทึกการเข้า
pao1
member
*

คะแนน0
ออฟไลน์ ออฟไลน์

กระทู้: 10


« ตอบ #12 เมื่อ: สิงหาคม 16, 2007, 03:52:27 PM »

 ผมใช้ภาษาเบสิก Picbasic Pro เหมือนกัน  Grin
บันทึกการเข้า
pao1
member
*

คะแนน0
ออฟไลน์ ออฟไลน์

กระทู้: 10


« ตอบ #13 เมื่อ: สิงหาคม 16, 2007, 04:02:39 PM »

ลอง DOWNLOAD มาอ่านดูครับ เพื่อเปิดทางในการทำความเข้าใจ ยิ่งถ้ามีพื้นฐานเกียวกับ CONTROLLER  มาบ้างแล้ว มันจะสนุก และเหมือนจะง่ายมาก      Grin Grin
www.bpcd.net/new_subject/industry/somboon/PicBasicPro/manual_PICBASIC.pdf -
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #14 เมื่อ: สิงหาคม 17, 2007, 12:07:47 AM »

ผมเคยเขียนแล้วเหมือนกัน ง่ายมากๆ แต่ขนาดของ File ซิครับ ใหญ่มาก Shocked ขอบอก  Grin
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #15 เมื่อ: พฤศจิกายน 03, 2007, 01:15:36 AM »

 Cool
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #16 เมื่อ: มีนาคม 05, 2008, 09:50:07 AM »

งามจริงๆขอบอก

www.unusualelectron ics.co.uk/projects/star.php
บันทึกการเข้า
drdr61♥
ซุปเปอร์ วีไอพี
member
*

คะแนน292
ออฟไลน์ ออฟไลน์

กระทู้: 2663


ดูสิ่งที่มากระทบใจ อย่าเอาจิตไปปรุงแต่ง


อีเมล์
« ตอบ #17 เมื่อ: มีนาคม 05, 2008, 10:20:59 AM »

อยากได้ Epic Win น่ะครับ
บันทึกการเข้า

คนเราต่างที่มา ต่างที่ไป ย่อมคิดและทำอะไรที่ต่างกัน ยอมรับและเข้าใจ  จะสงบสุข
ขายอุปกรณ์ไวเลส และสายอาศไวเลส wifi
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #18 เมื่อ: มีนาคม 06, 2008, 12:50:51 AM »

ลองดูครับ

www.melabs.com/downloads/E246BETA.ZIP
บันทึกการเข้า
pao1
member
*

คะแนน0
ออฟไลน์ ออฟไลน์

กระทู้: 10


« ตอบ #19 เมื่อ: มีนาคม 08, 2008, 11:33:47 AM »

  Cool Cool Cool

1. TIP   เล็กๆน้อยๆสำหรับ pic basic

   ตามที่เราเข้าใจว่า pic basic pro มีขนาดความจุ files  ที่ใหญ่ ดังนั้นการเขียน จำเป็นต้องให้มีจำนวนของบรรทัดคำสังน้อยที่สุดเท่าที่จะทำได้   แต่ยังคงการทำงานของโปรแกรมให้เหมือนเดิม

     ด้วยคํ าสั่ง GOSUB. . RETURN
เป็นคํ าสั่งให้โปรแกรมกระโดดไปทํ างานที่ Subroutine เสร็จแล้วกลับมายังโปรแกรม
หลักด้วยคํ าสั่ง RETURN 

ตัวอย่างที่ 1  ***********************

        LED1 VAR PORTA.0
        LED2 VAR PORTA.1
        LED3 VAR PORTA.2

START1:   
        LOW LED1
         PAUSE 300
         HIGH LED1

         LOW LED2
         PAUSE 300
         HIGH LED2

         LOW LED3
         PAUSE 300
         HIGH LED3

         PAUSE 1000        /****   รอบที่ 1

         LOW LED2
         PAUSE 300
         HIGH LED2

        LOW LED3
         PAUSE 300
         HIGH LED3

         LOW LED1
         PAUSE 300
         HIGH LED1

        PAUSE  1000       /****   รอบที่ 2

        LOW LED3
         PAUSE 300
         HIGH LED3

         LOW LED2
         PAUSE 300
         HIGH LED2

         LOW LED1
         PAUSE 300
         HIGH LED1

         PAUSE  1000     /****   รอบที่ 3

        GOTO  START1

/**************************************

ตัวอย่างที  2  **************************

        LED1 VAR PORTA.0
        LED2 VAR PORTA.1
        LED3 VAR PORTA.2     

START:
        GOSUB  LED11
        GOSUB  LED12
        GOSUB  LED13

        PAUSE  1000           /****   รอบที่ 1
     
        GOSUB  LED12
        GOSUB  LED13
        GOSUB  LED11

         PAUSE  1000          /****   รอบที่ 2
     
        GOSUB  LED13
        GOSUB  LED11
        GOSUB  LED12

        PAUSE 1000          /****   รอบที่ 3

       GOTO  START

 LED11:      LOW LED1
                    PAUSE 300
                     HIGH LED1
                     RETURN

LED12:       LOW LED2
                     PAUSE 300
                     HIGH LED2
                     RETURN

LED13:       LOW LED3
                     PAUSE 300
                     HIGH LED3
                     RETURN

 Wink Wink Wink    ทั้ง 2 ตัวอย่าง มีการทำงานที่เหมือนกัน แต่การเขียนต่างกัน  ตัวอย่างที่ 2  เป็นการสร้าง OUTPUT ที่เราใช้ บ่อยๆแยกออกมา   จะช่วยให้เรา ลดความจุของ file ที่เราเขียนได้

บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #20 เมื่อ: เมษายน 22, 2008, 09:58:32 AM »

VGA tester ครับผมลองแล้วใช้ได้กับ monitor รุ่นเก่าๆได้ แต่รุ่นใหม่ๆอาจจะมีปัญหาบ้าง แต่เอาไว้ศึกษาและพัฒนาต่อได้ครับ
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #21 เมื่อ: พฤศจิกายน 02, 2008, 11:09:32 PM »

ไปดูเพิมเติมที่ www.jproject.tk ครับ หิว
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #22 เมื่อ: พฤศจิกายน 06, 2008, 01:55:51 PM »

Super Probe สุดยอด Probe ระดับเทพ มี 17 ฟังค์ชั่นที่จำเป็นและครอบคลุมงานดิจิตอลพื้นฐานเกือบทั้งหมด


In any mode, holding down both buttons exits to the menu. Once there, releasing and pressing button #1 cycles thru its modes forward. New Feature: Button #2 cycles thru modes backwards.

The mode is saved on power down. Since this device takes its power from the circuit being tested, powering down and back up will restore the same operating mode.

Prob - Logic Probe
The logic probe shows 'H' for high (over 3.7 volts), 'L' for low (below 0.8 volts) and '-' for floating in the first display location. If a pulse is detected (0.5 usec minimum), the second location flashes a 'P'.

PULS - logic pulser
The logic pulser shows the pulse rate (5, 50, 500, 5.0) in the last 3 locations. The first location shows the sensed logic level as a dash in the bottom or top of the digit. When button #1 is held down, a series of 0.5 microsecond pulses are generated in the opposite direction and the center segment is lit. Pushing button #2 cycles thru the 4 pulse rates. The selected pulse rate is saved on power down.

FrEq - Frequency Counter
In the frequency counter mode, hitting button #1 switches the display to the next 4 digits of the count. For instance, the display shows '12.57' for a frequency of 12,576 hz. Holding down button #1 shows '2576' - the lowest 4 digits. If a decimal point shows, the value is in Khz, if the decimal is flashing, the value is in Mhz. Hence, a frequency of 42,345,678 hz is displayed as 42.34 with a flashing decimal. Holding down button #1 in this case will display 5678.

Cnt - Event Counter
In the event count mode, the display shows the lowest 4 digits. Button #1 switches to the next higher 4 digits while held down. Button #2 resets the count.

VoLt - Voltmeter
The voltmeter uses the power going into the probe as a voltage reference. The current implementation shows only an approximate voltage - about 2% high. This can still be very usefull for most measurements. Do not connect the probe to voltages that exceed 5 volts under any conditions.

diod - Diode Junction Voltage
This is just the voltmeter function with 10k resitor feeding current to the probe tip. When a diode or transistor junction is connected from the tip to the ground lead, the drop voltage is displayed.

Cap - Capacitance Measurement
When a capacitor is connected from the tip to the ground lead, and button #1 is pushed, its value is displayed. Values from .001 uf to about 500 uf are displayed. The larger the capacitor, the longer it takes to measure. A value of 100uf takes a couple of seconds.

Coil - Inductance Measurement
When an inductorr is connected from the tip to the ground lead, and button #1 is pushed, its value is displayed. Values from 0.1 to 999.9 millihenries are displayed. Note: this function assumes that the DC resistance is not more than a few ohms. Also, if the unit gets 'stuck' in this mode, jumper the tip to ground to free it.

SIG - Signal Generator
This mode generates a 500hz squarewave at about 0.5 volts. The signal is only generated while button #1 is held down.

ntSC - Video Patern
Generates an NTSC video frame with a white dot pattern when button #1 is held down.

9600 - Serial Ascii
Each time button 1 is pushed, the letters A-Z followed by cr/lf is generated. Auto polarity sensing. If the signal injection point is orignally high, then normal (zero start bit) ascii is generated. Otherwise, the other polarity is done. New feature: Button #2 cycles thru 1200, 2400, 4800, 9600 baud.

Midi - Midi Note
Sends note number 60 (middle C) on any of the 16 midi channels. Holding button 1 sends 'note on'. Release of button 1 sends 'note off'. Buttton 2 cycles thru the 16 channels. The midi channel number is stored.

R/C Servo
Generates 1ms to 2ms pulse for r/c servos. Button 1 increases pulse, Button 2 decreases pulse. Defaults to 1.5 ms each time mode is entered.

[ ] Sqaure Wave
Generates 1 - 9999 hz squarewave. Button 1 decreases frequency, Button 2 increases frequency.

Prn - Pseudo Random Number
Generates 10khz digital PRN series.

ir38
Generates 1 millisecond on and 2.5 millisecond off of 38khz square wave. When connected to IR LED, used for testing IR reciever modules.

PWM
Generates variable pulse width 3-97 percent of a 6khz (approx) digital signal. Button 1 decreases pulse width, Button 2 increases pulse width
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #23 เมื่อ: พฤศจิกายน 29, 2008, 01:14:34 PM »

ไฟวิ่ง (อีกแล้ว) 
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #24 เมื่อ: มิถุนายน 14, 2009, 03:45:46 PM »

ขาย Pic Programmer (มือสอง)ราคา 390 บาท จัดส่งฟรีทั่วประเทศ(ส่งแบบธรรมดา)
ในชุดประกอบไปด้วย สายLPT 1เส้น ตัวโปรแกรมเมอร์ และ CD Software พร้อม Project ตัวอย่างกว่า 60 โปรเจคท์
โทร 089-8194508 Email: jeng_modify@hotmail.com
วิธีสั่งซื้อ

**ขายไปแล้วครับ**
บันทึกการเข้า
JUB
Full Member
member
**

คะแนน81
ออฟไลน์ ออฟไลน์

กระทู้: 1157



« ตอบ #25 เมื่อ: มิถุนายน 14, 2009, 03:47:39 PM »

ขาย PICkit 2 ของ ETT (ของใหม่)ราคา 990 จัดส่งฟรีทั่วประเทศ(ส่งแบบธรรมดา)
โทร 089-8194508 Email: jeng_modify@hotmail.com
วิธีสั่งซื้อ
บันทึกการเข้า
หน้า: [1]   ขึ้นบน
  พิมพ์  
 
กระโดดไป: