Power
The Arduino BT can be powered via the V+ and GND screw terminals. The board contains a DC-DC convector that allows it to be powered with as little as 2.5V, a maximum of 12V. Higher voltages or reversed polarity in the power supply can damage or destroy the board. The protection for reverse polarity connection is ONLY on the screw terminal.
The power pins are as follows:
+VIN. The input voltage to the Arduino board (i.e. the same as the V+ screw terminal). You can supply voltage through this pin, or, if supplying voltage via the screw terminals, access it through this pin. Warning: The protection for reverse polarity connection is ONLY on the screw terminal, do not attach negative voltages to this pin. It will damage the board.
5V. This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the screw terminal (2.5V - 12V) or the VIN pin of the board (2.5V-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.
GND. Ground pins.
Memory
The ATmega328 has 32 KB of flash memory for storing code (of which 2 KB is used for the bootloader). It has 1 KB of SRAM and 512 bytes of EEPROM (which can be read and written with the EEPROM library).
Input and Output
Each of the 14 digital pins on the BT can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:
Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the corresponding pins of the Bluegiga WT11 module.
External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although provided by the underlying hardware, is not currently included in the Arduino language.
BT Reset: 7. Connected to the reset line of the Bluegiga WT11 module, which is active high.
LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.
The BT has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and some low-level code. Additionally, some pins have specialized functionality:
I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library (documentation on the Wiring website).
There are a couple of other pins on the board:
AREF. Reference voltage for the analog inputs. Used with analogReference().
See also the mapping between Arduino pins and ATmega168/328 ports.
Bluetooth Communication
The Bluegiga WT11 module on the Arduino BT provides Bluetooth communication with computers, phones, and other Bluetooth devices. The WT11 communicates with the ATmega328 via serial (shared with the RX and TX pins on the board). It comes configured for 115200 baud communication. The module should be configurable and detectable by your operating system's bluetooth drivers, which should then provide a virtual com port for use by other applications. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board over this bluetooth connection. The board can also be reprogrammed using this same wireless connection.
The WT11 is specially configured for use in the Arduino BT. Its name is set to ARDUINOBT and passcode to 12345. For details, see the complete initialization sketch.
Communication
The Arduino BT has a number of other facilities for communicating. The ATmega328's UART TTL (5V) serial communication is available on digital pins 0 (RX) and 1 (TX) as well as being connected to the WT11 module.
A SoftwareSerial library allows for serial communication on any of the BT's digital pins.
The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation on the Wiring website for details. To use the SPI communication, please see the ATmega328 datasheet.
Programming
The Arduino BT can be programmed with the Arduino software (download). For details, see the reference and tutorials.
The ATmega328 on the Arduino BT comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).
You can also bypass the bootloader and program the ATmega328 through the ICSP (In-Circuit Serial Programming) header; see these instructions for details.
Physical Characteristics
The maximum length and width of the BT are approximately 3.2 and 2.1 inches respectively. Three screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.
PowerThe Arduino BT can be powered via the V+ and GND screw terminals. The board contains a DC-DC convector that allows it to be powered with as little as 2.5V, a maximum of 12V. Higher voltages or reversed polarity in the power supply can damage or destroy the board. The protection for reverse polarity connection is ONLY on the screw terminal.The power pins are as follows:+VIN. The input voltage to the Arduino board (i.e. the same as the V+ screw terminal). You can supply voltage through this pin, or, if supplying voltage via the screw terminals, access it through this pin. Warning: The protection for reverse polarity connection is ONLY on the screw terminal, do not attach negative voltages to this pin. It will damage the board.5V. This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the screw terminal (2.5V - 12V) or the VIN pin of the board (2.5V-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.GND. Ground pins.MemoryThe ATmega328 has 32 KB of flash memory for storing code (of which 2 KB is used for the bootloader). It has 1 KB of SRAM and 512 bytes of EEPROM (which can be read and written with the EEPROM library).Input and OutputEach of the 14 digital pins on the BT can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the corresponding pins of the Bluegiga WT11 module.External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although provided by the underlying hardware, is not currently included in the Arduino language.BT Reset: 7. Connected to the reset line of the Bluegiga WT11 module, which is active high.LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.The BT has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and some low-level code. Additionally, some pins have specialized functionality:I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library (documentation on the Wiring website).There are a couple of other pins on the board:AREF. Reference voltage for the analog inputs. Used with analogReference().See also the mapping between Arduino pins and ATmega168/328 ports.Bluetooth CommunicationThe Bluegiga WT11 module on the Arduino BT provides Bluetooth communication with computers, phones, and other Bluetooth devices. The WT11 communicates with the ATmega328 via serial (shared with the RX and TX pins on the board). It comes configured for 115200 baud communication. The module should be configurable and detectable by your operating system's bluetooth drivers, which should then provide a virtual com port for use by other applications. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board over this bluetooth connection. The board can also be reprogrammed using this same wireless connection.The WT11 is specially configured for use in the Arduino BT. Its name is set to ARDUINOBT and passcode to 12345. For details, see the complete initialization sketch.CommunicationThe Arduino BT has a number of other facilities for communicating. The ATmega328's UART TTL (5V) serial communication is available on digital pins 0 (RX) and 1 (TX) as well as being connected to the WT11 module.A SoftwareSerial library allows for serial communication on any of the BT's digital pins.The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation on the Wiring website for details. To use the SPI communication, please see the ATmega328 datasheet.ProgrammingThe Arduino BT can be programmed with the Arduino software (download). For details, see the reference and tutorials.The ATmega328 on the Arduino BT comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).You can also bypass the bootloader and program the ATmega328 through the ICSP (In-Circuit Serial Programming) header; see these instructions for details.Physical CharacteristicsThe maximum length and width of the BT are approximately 3.2 and 2.1 inches respectively. Three screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.
การแปล กรุณารอสักครู่..

พาวเวอร์Arduino BT สามารถขับเคลื่อนผ่าน + V และ GND กรูขั้ว คณะกรรมการมี DC-DC convector ที่ช่วยให้สามารถขับเคลื่อนด้วยน้อยที่สุดเท่าที่ 2.5V, สูงสุด 12V แรงดันไฟฟ้าที่สูงขึ้นหรือกลับขั้วในแหล่งจ่ายไฟสามารถสร้างความเสียหายหรือทำลายคณะกรรมการ การป้องกันสำหรับการเชื่อมต่อขั้วกลับเป็นเพียงใน terminal สกรู. หมุดอำนาจดังต่อไปนี้: + VIN แรงดันไฟฟ้าที่ป้อนข้อมูลไปยังคณะกรรมการ Arduino (เช่นเดียวกับสถานี V + สกรู) คุณสามารถจ่ายแรงดันไฟฟ้าผ่านขานี้หรือหากจัดหาแรงดันไฟฟ้าผ่านขั้วสกรูเข้าถึงได้ผ่านขานี้ คำเตือน: การป้องกันสำหรับการเชื่อมต่อขั้วกลับเป็นเพียงใน terminal สกรูที่ไม่ได้แนบแรงดันไฟฟ้าในเชิงลบกับขานี้ มันจะเกิดความเสียหายของบอร์ด. 5V ขานี้ผลลัพท์จากการควบคุม 5V ควบคุมบนกระดาน คณะกรรมการสามารถจัดจำหน่ายที่มีอำนาจอย่างใดอย่างหนึ่งจากสถานีสกรู (2.5V - 12V) หรือขา VIN ของคณะกรรมการ (2.5V-12V) แรงดันไฟฟ้าจัดหาผ่านทาง 5V หรือ 3.3V ขาทะลุควบคุมและสามารถสร้างความเสียหายบอร์ดของคุณ เราไม่แนะนำให้มัน. GND หมุดพื้น. หน่วยความจำATmega328 มี 32 กิโลไบต์หน่วยความจำแฟลชสำหรับการจัดเก็บรหัส (ซึ่ง 2 KB ที่จะใช้สำหรับการ bootloader) ที่ มันมี 1 กิโลไบต์ SRAM และ 512 ไบต์ของ EEPROM (ซึ่งสามารถอ่านและเขียนด้วยห้องสมุดใน EEPROM). อินพุตและเอาต์พุตแต่ละ 14 พินดิจิตอลบนบีทีสามารถใช้เป็นอินพุตหรือเอาต์พุตใช้ pinMode () digitalWrite () และ digitalRead () ฟังก์ชั่น พวกเขาทำงานที่ 5 โวลต์ ขาแต่ละคนสามารถให้หรือรับสูงสุด 40 มิลลิแอมป์และมีความต้านทานดึงขึ้นภายใน (ตัดการเชื่อมต่อโดยค่าเริ่มต้น) 20-50 KOhms นอกจากนี้บางคนมีหมุดฟังก์ชั่นพิเศษ: อนุกรม: 0 (RX) และ 1 (TX) ใช้ในการรับ (RX) และส่ง (TX) TTL ข้อมูลแบบอนุกรม พินเหล่านี้จะเชื่อมต่อกับขาที่สอดคล้องกันของโมดูล Bluegiga WT11. ภายนอก Interrupts: 2 และ 3 ขาเหล่านี้สามารถกำหนดค่าให้เรียกขัดจังหวะในมูลค่าที่ต่ำขอบที่เพิ่มขึ้นหรือลดลงหรือเปลี่ยนค่า ดู attachInterrupt () ฟังก์ชันสำหรับรายละเอียด. PWM: 3, 5, 6, 9, 10, และ 11 ให้ 8 บิตออก PWM กับ analogWrite () ฟังก์ชัน. SPI: 10 (เอสเอส), 11 (MOSI) 12 (มิโซะ), 13 (SCK) หมุดเหล่านี้สนับสนุนการสื่อสาร SPI ซึ่งแม้ว่าจัดไว้ให้โดยฮาร์ดแวร์พื้นฐานที่ไม่รวมอยู่ในภาษา Arduino. BT รีเซ็ต: 7. เชื่อมต่อกับสายการตั้งค่าของโมดูล Bluegiga WT11 ซึ่งมีการใช้งานสูง. LED: 13. มี เป็นในตัว LED ที่เชื่อมต่อกับขาดิจิตอล 13. เมื่อขาที่มีมูลค่าสูงไฟ LED ที่อยู่บนเมื่อขาอยู่ในระดับต่ำก็ออก. บีทีมี 6 อนาล็อกซึ่งแต่ละให้ 10 บิตของการแก้ปัญหา (เช่น 1024 ค่าแตกต่างกัน) โดยค่าเริ่มต้นพวกเขาวัดจากพื้นดินถึง 5 โวลต์ แต่มันเป็นไปได้ที่จะเปลี่ยนปลายบนของช่วงของพวกเขาโดยใช้ขา Aref และบางรหัสระดับต่ำ นอกจากนี้บางส่วนได้หมุดฟังก์ชั่นพิเศษ: I2C: 4 (SDA) และ 5 (SCL) . สนับสนุน I2C (TWI) การสื่อสารที่ใช้ไลบรารีสายไฟ (เอกสารบนเว็บไซต์ของสายไฟ) ที่มีคู่ของหมุดอื่นๆ ในคณะกรรมการที่มี: Aref แรงดันอ้างอิงสำหรับอนาล็อก ใช้กับ analogReference (). ดูการทำแผนที่ระหว่างหมุด Arduino และ ATmega168 / 328 พอร์ต. บลูทู ธ การสื่อสารBluegiga WT11 โมดูลใน Arduino BT ให้การสื่อสารบลูทู ธ กับคอมพิวเตอร์, โทรศัพท์และอุปกรณ์ Bluetooth อื่น ๆ WT11 สื่อสารกับ ATmega328 ผ่านทางแบบอนุกรม (ร่วมกับเท็กซัส RX และหมุดบนกระดาน) มันมากำหนดค่าสำหรับการสื่อสาร 115200 บอด โมดูลที่ควรจะกำหนดและตรวจพบโดยระบบปฏิบัติการของคุณไดรเวอร์บลูทู ธ ที่แล้วควรให้คอมพอร์ตเสมือนจริงสำหรับการใช้งานโดยโปรแกรมอื่น ๆ ซอฟแวร์ Arduino รวมถึงจอแสดงผลแบบอนุกรมซึ่งช่วยให้ข้อมูลเกี่ยวกับใจง่ายที่จะถูกส่งไปยังและจากคณะกรรมการ Arduino การเชื่อมต่อบลูทู ธ ในช่วงนี้ คณะกรรมการนอกจากนี้ยังสามารถปรับผังใช้การเชื่อมต่อแบบไร้สายเดียวกันนี้. WT11 มีการกำหนดค่าเป็นพิเศษสำหรับการใช้งานใน Arduino BT ชื่อของมันถูกตั้งค่าให้ ARDUINOBT และรหัสผ่านเพื่อ 12345 ดูรายละเอียดในร่างการเริ่มต้นที่สมบูรณ์แบบ. การสื่อสารArduino BT มีจำนวนของสิ่งอำนวยความสะดวกอื่น ๆ สำหรับการสื่อสาร ATmega328 ของ UART TTL (5V) การสื่อสารแบบอนุกรมที่มีอยู่ในขาดิจิตอล 0 (RX) และ 1 (TX) เช่นเดียวกับการเชื่อมต่อกับโมดูล WT11. ห้องสมุด SoftwareSerial ช่วยให้การสื่อสารแบบอนุกรมใด ๆ ของหมุดดิจิตอลของ BT. ATmega328 นอกจากนี้ยังสนับสนุน I2C (TWI) และการสื่อสาร SPI ซอฟแวร์ Arduino รวมถึงห้องสมุดลวดเพื่อให้ง่ายต่อการใช้งานของบัส I2C; ดูเอกสารบนเว็บไซต์ของสายไฟสำหรับรายละเอียด ที่จะใช้การสื่อสาร SPI โปรดดูเอกสารข้อมูล ATmega328. การเขียนโปรแกรมArduino BT สามารถตั้งโปรแกรมด้วยซอฟต์แวร์ Arduino (ดาวน์โหลด) ดูรายละเอียดอ้างอิงและบทเรียน. ATmega328 ใน Arduino BT มา preburned กับ bootloader ที่ช่วยให้คุณสามารถอัปโหลดรหัสใหม่ให้มันโดยไม่ต้องใช้โปรแกรมเมอร์ฮาร์ดแวร์ภายนอก จะติดต่อสื่อสารโดยใช้โปรโตคอล STK500 เดิม (อ้างอิง C ไฟล์ส่วนหัว). คุณยังสามารถหลีกเลี่ยง bootloader และโปรแกรมที่ ATmega328 ผ่าน ICSP (ในวงจรอนุกรมการเขียนโปรแกรม) ส่วนหัว; ดูคำแนะนำเหล่านี้เพื่อดูรายละเอียด. ลักษณะทางกายภาพความยาวสูงสุดและความกว้างของบีทีประมาณ 3.2 และ 2.1 นิ้วตามลำดับ สามรูสกรูช่วยให้คณะกรรมการที่จะยึดติดอยู่กับพื้นผิวหรือกรณี โปรดสังเกตว่าระยะห่างระหว่างขาดิจิตอลที่ 7 และ 8 เป็น 160 ล้านบาท (0.16 ") ไม่ได้เป็นแม้กระทั่งหลายระยะห่าง 100 ล้านบาทของหมุดอื่น ๆ
การแปล กรุณารอสักครู่..

พลัง
Arduino BT สามารถขับเคลื่อนผ่านวี และ GND ขั้วสกรู . คณะกรรมการประกอบด้วย - คอนเวคเตอร์ที่ช่วยให้สามารถขับเคลื่อนด้วยเล็กน้อยเป็น 2.5v สูงสุด 12V . สูงกว่าแรงดันไฟฟ้าหรือขั้วตรงกันข้ามในแหล่งจ่ายไฟที่สามารถสร้างความเสียหายหรือทำลายบอร์ด การป้องกันสำหรับขั้วเชื่อมต่อเฉพาะสกรู terminal .
พลังหมุดมีดังนี้
VINแรงดันกับ Arduino บอร์ด ( เช่นเดียวกับ V สกรู terminal ) คุณสามารถจ่ายแรงดันไฟฟ้าผ่านขา นี้ หรือ ถ้าจ่ายแรงดันผ่านทางขั้วสกรู , การเข้าถึงผ่านพินนี้ คำเตือน : เพื่อป้องกันขั้วเชื่อมต่อเฉพาะสกรู terminal , ไม่แนบแรงดันลบพินนี้ มันจะทำลายบอร์ด
5V .พินนี้ผลการควบคุมจาก Regulator 5V บนกระดาน กระดานสามารถจะมาพร้อมกับพลังทั้งจากสกรู terminal ( 2.5v - 12V ) หรือ VIN pin ของบอร์ด ( 2.5v-12v ) ขายแรงดัน 5V หรือหมุดทะลุผ่าน 3.3v ควบคุม และสามารถทำลายบอร์ดของคุณ เราไม่แนะนำ
GND . หมุดดิน
หน่วยความจำการ atmega328 32 กิโลไบต์ของหน่วยความจำแฟลชสำหรับการจัดเก็บรหัส ( ซึ่ง 2 KB ใช้ bootloader ) มันมี 1 กิโลไบต์ของ SRAM แล้ว 512 ไบต์ของ EEPROM ( ซึ่งสามารถอ่านและเขียนกับ EEPROM ห้องสมุด ) .
แต่ละอินพุตและเอาต์พุตของ 14 ดิจิตอลหมุดใน BT สามารถใช้เป็น input หรือ output โดยใช้ pinmode() digitalwrite() , และฟังก์ชั่น digitalread() . พวกเขาทำงานที่ 5 โวลต์แต่ละขาสามารถให้หรือรับสูงสุดมา 40 และมีตัวต้านทานที่ปรากฏภายใน ( ตัดการเชื่อมต่อโดยค่าเริ่มต้น ) ของ 20-50 kohms . นอกจากนี้ บางหมุดมีฟังก์ชั่นพิเศษ :
อนุกรม : 0 ( RX ) และ 1 ( TX ) ใช้รับ ( RX ) และส่ง ( TX ) เป็นแบบอนุกรมข้อมูล เข็มเหล่านี้จะเชื่อมกับหมุดที่สอดคล้องกันของ bluegiga wt11 โมดูล .
ภายนอกขัดจังหวะ : 2 และ 3พินเหล่านี้สามารถปรับแต่งเพื่อกระตุ้นการขัดจังหวะในค่าต่ำ ขึ้นหรือตกขอบ หรือเปลี่ยนแปลงค่า ดูรายละเอียดฟังก์ชัน attachinterrupt() PWM .
: 3 , 5 , 6 , 9 , 10 และ 11 ให้ 8 บิต PWM ออกด้วยฟังก์ชัน analogwrite() .
SPI : 10 ( SS ) , 11 ( โมซี ) , 12 ( มิโซะ ) , 13 ( sck ) นี่พินรองรับ SPI การสื่อสาร ซึ่งแม้ว่าโดยพื้นฐานฮาร์ดแวร์ไม่ได้ในขณะนี้รวมอยู่ใน Arduino ภาษา .
BT ใหม่ : 7 เชื่อมต่อกับการตั้งค่าบรรทัดของ bluegiga wt11 โมดูล ซึ่งมีการใช้งานสูง
LED : 13 มีไฟ LED ในตัว เชื่อมต่อกับดิจิตอล pin 13 เมื่อกิ๊บมูลค่าสูง LED อยู่ เมื่อขาต่ำ มันก็ปิด
BT มี 6 อินพุตอนาล็อกซึ่งแต่ละให้ 10 บิตความละเอียด ( เช่น 1024 ค่าที่แตกต่างกัน )
การแปล กรุณารอสักครู่..
