Á¦¸ñ RE: RE: RE: FBL701À» ÀÌ¿ëÇÑ ble µ¥ÀÌÅÍ Åë½Å
ÀÛ¼ºÀÚ firmtech7
À̸ÞÀÏ
ÀÛ¼ºÀÏÀÚ 2023-01-16
Á¶È¸¼ö 1814
Ãßõ¼ö 34
¾È³çÇϽʴϱî ÆßÅ×Å©ÀÔ´Ï´Ù.
FBL701BC´Â BLE Á¦Ç°ÀÔ´Ï´Ù.
BLE Á¦Ç°ÀÇ °æ¿ì ±âÁ¸ Classic Á¦Ç°°ú ¿¬°á ¹æ¹ýÀÌ ´Ù¸¨´Ï´Ù.
BLE Á¦Ç°Àº PCÀÇ ³»ÀåµÈ Bluettooth¿Í ¿¬°áÀÌ ºÒ°¡´ÉÇϸç
Dongle°ú ¿¬°áÇÑ ÀÌÈÄ COM Port¸¦ »ý¼ºÇÏ´Â °ÍÀÌ ¾Æ´Ñ
Åë½Å ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© µ¥ÀÌÅÍ ¼Û¼ö½ÅÀÌ °¡´ÉÇÕ´Ï´Ù.
¶ÇÇÑ Bypass ¼Ò½º ÄÚµå´Â À̸ÞÀÏ·Î º¸³»µå·È½À´Ï´Ù.
È®ÀÎ ºÎŹ µå¸³´Ï´Ù.

°¨»çÇÕ´Ï´Ù.
ÁÁÀº ÇÏ·ç º¸³»¼¼¿ä.

------- ¿øº» ³»¿ë ---------



¾È³çÇϼ¼¿ä °¡À̵å ÁֽŠ³»¿ë È®ÀÎ ÈÄ "ATZ" ´Â ÇØ°áÀÌ µÇ¾úÀ¸³ª, Ãß°¡ ¹®ÀÇ»çÇ×ÀÌ ÀÖ½À´Ï´Ù.
¾ÆµÎÀ̳ë Mega 2560 ¸ðµ¨À» »ç¿ëÇÏ¿© FBL701À» ½¯´õ ¾øÀÌ Á¡ÆÛ·Î VCC, GND, TX, RX 4Æ÷ÀÎÆ® °á¼±ÇÏ¿´°í,
Àü´ÞÇØ ÁֽŠ»ùÇà ÄÚµå Áß
SoftwareSerial bleSerial(A0, A1); // RX, TX
À§ ÄÚµå´Â Mega 2560¿¡¼­ »ç¿ë ÇÒ ¼ö ¾ø¾î ¾Æ·¡¿Í °°ÀÌ initialÀ» ÇØÁÖ¾ú½À´Ï´Ù.
void setup() {
 Serial.begin(9600); // system print log
 Serial1.begin(9600); // ble device(FBL701)
 Serial.println("HELLO!");
}
¸ñÇ¥´Â PC (USB Dongle BLE 5.0):central <=> FBL701:periperal Serial Åë½Å µ¿ÀÛÀÔ´Ï´Ù.
À§ ÄÚµå ¹× Mega 2560 °³¹ß ȯ°æ¿¡¼­ phone (BLE Scanner)·Î FBL701 periperal µ¥ÀÌÅÍ Åë½ÅÀº È®ÀÎ µÇ¾úÀ¸³ª PC¿Í Åë½Å µ¿ÀÛÀº È®ÀεÇÁö ¾Ê¾Ò½À´Ï´Ù.

1. Æä¾î¸µ±îÁö ¼º°øÇߴµ¥, COM port°¡ ÀâÈ÷Áö ¾Ê¾Æ Åë½ÅÀ» ÇÒ ¼ö ¾ø½À´Ï´Ù.
FBL701°ú USB dongle Æä¾î¸µ ¼º°ø ÈÄ COM port »ý¼º ¹æ¹ýÀ» °¡ÀÌµå ºÎŹ µå¸³´Ï´Ù.
¸¸¾à Com port »ý¼º¾øÀÌ Åë½ÅÀÌ °¡´ÉÇÏ´Ù¸é ÀÌ ¹æ¹ýÀ» °¡ÀÌµå ºÎŹµå¸³´Ï´Ù.

2. Ÿ»ç¸ðµâ°ú FBL701ÀÇ Bluetooth Æä¾î¸µ ½Ã PC ÀåÄ¡°ü¸®ÀÚ¿¡¼­ comport »ý¼º Â÷ÀÌ°¡ ¾Æ·¡ ½ºÅ©¸°¼¦°ú °°ÀÌ È®ÀÎ µÇ°íÀÖ½À´Ï´Ù. ¿¬°áµÈ FBL701ÀÌ ÀåÄ¡°ü¸®ÀÚ¿¡¼­ comport·Î ÇÒ´çµÇÁö ¾Ê½À´Ï´Ù.


°¨»çÇÕ´Ï´Ù.

------- ¿øº» ³»¿ë ---------


¾È³çÇϽʴϱî ÆßÅ×Å©ÀÔ´Ï´Ù.
Software ResetÀÌ ÁøÇàÀÌ ¾ÈµÇ½Å ´Ù´Â°Ô
´Ù¸¥ AT Command´Â ÀÔ·ÂÀÌ µÇÁö¸¸
Software ResetÀÇ AT Command "ATZ"¸¸ ÀÔ·ÂÀÌ ¾ÈµÈ´Ù´Â °Í ÀÎÁö
¾Æ´Ï¸é AT Command ÀÚü°¡ ÀÔ·ÂÀÌ ¾ÈµÈ´Ù´Â °Í È®ÀÎ ºÎŹ µå¸³´Ï´Ù.
¾ÆµÎÀ̳븦 ÀÌ¿ë FBL701BC¿Í UART Åë½Å¿¡´Â
Bluetooth Shield°¡ ²À ÇÊ¿äÇÏÁö´Â ¾ÊÀ¸¸ç ¾ÆµÎÀ̳ë¿Í FBL701BC°£
3.3V, GND¸¦ ¿¬°áÇÑ ´ÙÀ½ UART Port RX, TX¸¦ Å©·Î½º ¿¬°áÇÏ¸é µË´Ï´Ù.
ÀÌÈÄ ¾ÆµÎÀ̳뿡 ±³À°»ç¾÷ºÎ ȨÆäÀÌÁö
https://drive.google.com/drive/folders/15lG1BjnXmlkLUrIe9vZTD78Qm3OuSJpzÀÇ
Bypass ¼Ò½º Äڵ带 ¾ÆµÎÀ̳뿡 ¾÷·Îµå ÈÄ
AT Command Å×½ºÆ®¸¦ ÁøÇàÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù.
È®ÀÎ ºÎŹ µå¸³´Ï´Ù.
 
°¨»çÇÕ´Ï´Ù.
ÁÁÀº ÇÏ·ç º¸³»¼¼¿ä.

------- ¿øº» ³»¿ë ---------


¾È³çÇϼ¼¿ä
±Í»ç FBL701¸ðµâÀ» ÀÌ¿ëÇÏ¿© ¾ÆµÎÀ̳ë ȯ°æ µ¥ÀÌÅÍ Åë½Å±¸Çö ÁøÇàÁßÀÔ´Ï´Ù
Ble connection 1:N (ÀÏ´ë´ÙÅë½Å) ±¸ÇöÀ» ¸ñÇ¥ÇÏ°íÀÕ½À´Ï´Ù
·¹ÆÛ·±½º´Â ±Í»çºí·Î±× »ùÇÃÀ» äÅÃÇÏ¿© ÁøÇàÁßÀε¥
ù¹ø° SW reset ºÎÅÍ ÁøÇàµÇÁö ¾Ê½À´Ï´Ù
https://m.cafe.naver.com/ca-fe/web/cafes/24824499/articles/1313?fromList=true&menuId=97
1. ¾ÆµÎÀ̳ë+FBL701 ¸ðµâ (peripheral) À» ¼¼ÆÃÇÏ·Á¸é ±Í»ç bluetooth ½¯µå°¡ ÇÊ¿äÇÑ°¡¿ä?
2. SW reset ¾ÈµÇ´Â ÀÌÀ¯ È®ÀÎ ºÎŹµå¸³´Ï´Ù


°¨»çÇÕ´Ï´Ù
IP ..xxx.xxx
À̸§ ºñ¹Ð¹øÈ£
¡Ø ÇÑ±Û 1000ÀÚ ±îÁö¸¸ ÀԷ°¡´É : ÀÚ