HobbyCNC fórum
FTP tárhely: http://cnctar.hobbycnc.hu v0.9.6 Régi HobbyCNC oldal: http://archiv.hobbycnc.hu

Új regisztráció / Átregisztráció a régi fórumról
    
   


Arduino



 

Időrend:
Oldal 29 / 41 Ugrás ide:
Sorok:
|◄ Első  ◄ Előző   25  26  27  28  29  30  31  32  33   Következő ►  Utolsó ►|

  Fórum főoldal  |  A lap aljára

Törölt felhasználó    2017-09-10 10:23:09 [630]

pl arduino atmega328p csak 1 hadveres van csak ha több rs232 is akarsz / eszközt már csak emulált marad az az szoftveres persze vanak hátrányai!

Előzmény: Wappler Tibor, 2017-09-10 00:19:06 [626]


Arany János | 1357    2017-09-10 08:19:46 [629]

Jó reggelt!
Úgy tűnik, hogy minden a helyén volt.
Jelenleg itt tart:

Arduino BLE module identification and setup sketch.
Interact with this interface using serial in CR&LF mode.
Enter the number of the RX pin on the Arduino, TX on the module [10] :
Enter the number of the TX pin on the Arduino, RX on the module [11] :
Enter the number of the State pin on the Arduino, State on the module (enter -1 if not present or not connected) [9] :
Opening serial connection to BLE module at pins: 10, 11, 9
Checking module state...
The signal on the state pin is LOW. This means the device is not connected and is in command mode.
Detecting module type
Unexpected result of length=26
x

Előzmény: Arany János, 2017-09-09 23:37:27 [625]


Wappler Tibor | 155    2017-09-10 00:58:48 [628]

Ja, úgy! Az arduino 2560 ( mega ) talán több db hw Rx-Tx vonalat is kezel, ha jól emlékszem.

Előzmény: dezsoe, 2017-09-10 00:47:34 [627]


dezsoe | 2917    2017-09-10 00:47:34 [627]

Az, hogy egyszerre használja a hardverest a PC felé és a szoftverest a BT modul felé.

Előzmény: Wappler Tibor, 2017-09-10 00:19:06 [626]


Wappler Tibor | 155    2017-09-10 00:19:06 [626]

Mi az oka, hogy a <SoftwareSerial.h> használjátok? Miért nem jó a fizikai hardveres serial Rx - Tx communikáció?

Ez a szoftveres megoldás nagyon erőforrás igényes.

Előzmény: Törölt felhasználó, 2017-09-09 23:27:19 [624]

Arany János | 1357    2017-09-09 23:37:27 [625]

Lehetséges!
Már csak reggel próbálom újra.
Nagyon köszönöm!!!

Előzmény: Törölt felhasználó, 2017-09-09 23:24:08 [623]


Törölt felhasználó    2017-09-09 23:27:19 [624]

AUTO CONFIG HC05 RE!!!

/*
1, HC05 BUTTON PRESS + CONTACT VCC HC05 LES 2S BLINKING AT MODE!



AUTO SETTING VALUE HC05
AT+CMODE=1
AT+ROLE=0
AT+UART=115200,1,0
--------------------
AT+ORGL

*/


#include <SoftwareSerial.h>
#define ledPin 9 // Connect the HC-05 STATE
SoftwareSerial BTserial(10, 11); // RX | TX
// Connect the HC-05 TX to Arduino pin 10 RX.
// Connect the HC-05 RX to Arduino pin 11 TX
//
void setup() {
// put your setup code here, to run once:
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, HIGH);
Serial.begin(9600);
BTserial.begin(38400);
Serial.println("AUTO AT SETTING HC05");

delay(1000);
sendCommand("AT");
delay(100);
sendCommand("AT+CMODE=1");
delay(100);
sendCommand("AT+ROLE=0");
delay(100);
sendCommand("AT+UART=115200,1,0");


}

void sendCommand(const char * command){
Serial.print("Command send :");
Serial.println(command);
BTserial.println(command);
//wait some time
delay(100);

char reply[100];
int i = 0;
while (BTserial.available()) {
reply[i] = BTserial.read();
i += 1;
}
//end the string
reply[i] = '\0';
Serial.print(reply);
Serial.println("Reply end");
}

void loop() {

}

Előzmény: PallMallMan, 2017-09-09 20:18:27 [577]


Törölt felhasználó    2017-09-09 23:24:08 [623]

valami nem volt a helyén lábak vagy state!
azt látom at09 nyitot portot de nem került at modba....

Előzmény: Arany János, 2017-09-09 23:16:57 [621]


Törölt felhasználó    2017-09-09 23:21:04 [622]

A beszurás kihagya a text formátumot ha < > van!

[615]⎆
eredeti
#include <SoftwareSerial.h>

beszurva csak ez jelenik meg...

#include

Előzmény: PSoft, 2017-09-09 22:50:04 [616]


Arany János | 1357    2017-09-09 23:16:57 [621]

Bocsánat!
Nem gondoltam, hogy figyelni is kell!
Most itt tart:
Arduino BLE module identification and setup sketch.
Interact with this interface using serial in CR&LF mode.
Enter the number of the RX pin on the Arduino, TX on the module [10] :
Enter the number of the TX pin on the Arduino, RX on the module [11] :
Enter the number of the State pin on the Arduino, State on the module (enter -1 if not present or not connected) [9] :
Opening serial connection to BLE module at pins: 10, 11, 9
Checking module state...
The signal on the state pin is LOW. This means the device is not connected and is in command mode.
Detecting module type
Unexpected result of length=27
xx

Előzmény: Törölt felhasználó, 2017-09-09 22:50:20 [617]


Törölt felhasználó    2017-09-09 22:58:52 [620]

ILYENKOR NINCS HC05 AT MODBAN NINCS "OK"!

  

Előzmény: Törölt felhasználó, 2017-09-09 22:54:26 [618]


jani300 | 12051    2017-09-09 22:55:04 [619]

Ott van az még Csak már ellapozódott ...
Nem igen szoktam rányomni a törlésre .

Előzmény: PSoft, 2017-09-09 22:50:04 [616]


Törölt felhasználó    2017-09-09 22:54:26 [618]



  

Előzmény: Törölt felhasználó, 2017-09-09 22:46:39 [615]


Törölt felhasználó    2017-09-09 22:50:20 [617]

TESSÉK TANULNI!
#define BLE_BAUD 9600
ird át
#define BLE_BAUD 38400

Előzmény: Arany János, 2017-09-09 22:40:11 [613]


PSoft | 18469    2017-09-09 22:50:04 [616]

Műxik ez, faszán!
Máskor, máshol, másra is használható ám ez a hasznos opció!:)

Előzmény: jani300, 2017-09-09 22:36:23 [612]

Törölt felhasználó    2017-09-09 22:46:39 [615]

AUTO CONFIG HC05 RE!!!


/*
1, HC05 BUTTON PRESS + CONTACT VCC HC05 LES 2S BLINKING AT MODE!



AUTO SETTING VALUE HC05
AT+CMODE=1
AT+ROLE=0
AT+UART=115200,1,0
--------------------
AT+ORGL

*/


#include <SoftwareSerial.h>
#define ledPin 9 // Connect the HC-05 STATE
SoftwareSerial BTserial(10, 11); // RX | TX
// Connect the HC-05 TX to Arduino pin 10 RX.
// Connect the HC-05 RX to Arduino pin 11 TX
//
void setup() {
// put your setup code here, to run once:
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, HIGH);
Serial.begin(9600);
BTserial.begin(38400);
Serial.println("AUTO AT SETTING HC05");

delay(1000);
sendCommand("AT");
delay(100);
sendCommand("AT+CMODE=1");
delay(100);
sendCommand("AT+ROLE=0");
delay(100);
sendCommand("AT+UART=115200,1,0");


}

void sendCommand(const char * command){
Serial.print("Command send :");
Serial.println(command);
BTserial.println(command);
//wait some time
delay(100);

char reply[100];
int i = 0;
while (BTserial.available()) {
reply[i] = BTserial.read();
i += 1;
}
//end the string
reply[i] = '\0';
Serial.print(reply);
Serial.println("Reply end");
}

void loop() {

}


Előzmény: PallMallMan, 2017-09-09 20:18:27 [577]


PSoft | 18469    2017-09-09 22:44:49 [614]

A tizedik, igen!

Előzmény: jani300, 2017-09-09 22:36:23 [612]


Arany János | 1357    2017-09-09 22:40:11 [613]

Arduino BLE module identification and setup sketch.
Interact with this interface using serial in CR&LF mode.
Enter the number of the RX pin on the Arduino, TX on the module [10] :
Enter the number of the TX pin on the Arduino, RX on the module [11] :
Enter the number of the State pin on the Arduino, State on the module (enter -1 if not present or not connected) [9] :
Opening serial connection to BLE module at pins: 10, 11, 9
Checking module state...
The signal on the state pin is LOW. This means the device is not connected and is in command mode.
Detecting module type
Unexpected result of length=10
ERR
ERR

Enter the number of the RX pin on the Arduino, TX on the module [10] :
Enter the number of the TX pin on the Arduino, RX on the module [11] :
Enter the number of the State pin on the Arduino, State on the module (enter -1 if not present or not connected) [9] :
Opening serial connection to BLE module at pins: 10, 11, 9
Checking module state...
The signal on the state pin is LOW. This means the device is not connected and is in command mode.
Detecting module type
Unexpected result of length=5
ERR

és csak ismétlődik, és ismétlődik...
Mikor végez?

Előzmény: Törölt felhasználó, 2017-09-09 22:11:33 [604]


jani300 | 12051    2017-09-09 22:36:23 [612]

Ok ! De automatikusan törli ?

Előzmény: PSoft, 2017-09-09 22:29:28 [608]


Arany János | 1357    2017-09-09 22:34:46 [611]

Megvolt!

Előzmény: PSoft, 2017-09-09 22:29:28 [608]


Íjász | 822    2017-09-09 22:34:00 [610]

Megvóót...

Előzmény: PSoft, 2017-09-09 22:29:28 [608]


PallMallMan | 446    2017-09-09 22:31:17 [609]

Én voltam az első aki rányomott!
(aszem)

Előzmény: PSoft, 2017-09-09 22:29:28 [608]


PSoft | 18469    2017-09-09 22:29:28 [608]

Nyomjatok már az [563]-ra egy törlést.
Csak összejön a tíz!


Arany János | 1357    2017-09-09 22:26:41 [607]

Már rájöttem!

Előzmény: Arany János, 2017-09-09 22:24:24 [606]


Arany János | 1357    2017-09-09 22:24:24 [606]

A terminált hogyan lehet itt megmutatni?

Előzmény: Törölt felhasználó, 2017-09-09 22:11:33 [604]

Arany János | 1357    2017-09-09 22:11:59 [605]

De kell, mert ezek már a válaszok!

Előzmény: Törölt felhasználó, 2017-09-09 22:06:39 [601]


Törölt felhasználó    2017-09-09 22:11:33 [604]

Ez a progi felismeri a modult!

https://data.hu/get/10732794/arduino-ble-ident-n-set.rar

Előzmény: Arany János, 2017-09-09 22:02:25 [600]


Törölt felhasználó    2017-09-09 22:08:55 [603]

http://www.martyncurrey.com/hm-10-bluetooth-4ble-modules/

Előzmény: Arany János, 2017-09-09 22:02:25 [600]


Törölt felhasználó    2017-09-09 22:07:17 [602]

csak HELP ...

Előzmény: Törölt felhasználó, 2017-09-09 22:06:39 [601]


Törölt felhasználó    2017-09-09 22:06:39 [601]

nem kell egyelöség jel!
AT+BAUD4

Előzmény: Arany János, 2017-09-09 22:02:25 [600]


Arany János | 1357    2017-09-09 22:02:25 [600]

HELP, AT+HELP- "err"
AT+BAUD=4

Előzmény: Törölt felhasználó, 2017-09-09 21:55:51 [599]


Törölt felhasználó    2017-09-09 21:55:51 [599]

help parancsot kerestem az kilistáza az at összes utasitásba!
lehet elég a HELP ....
3 verzio at parancs készlet van amik eltérnek de amit elfogadot az elég neked!

baund 115200 és slave mode lett most beálitva!

Előzmény: Arany János, 2017-09-09 21:49:59 [598]


Arany János | 1357    2017-09-09 21:49:59 [598]

Birkóznék még, ha segítesz!!!
Szerintem megér ennyit egy kis tanulás!
Még a saját káromon is!MELYIK PARANCSOKAT használhatom "büntetlenül"?

Előzmény: Törölt felhasználó, 2017-09-09 21:37:14 [597]


Törölt felhasználó    2017-09-09 21:37:14 [597]

igen de egy tipus hc05 hazai/kina....

eladot piszkáld meg mert lehet téged is sirba fog vini az at09!
De probáld ki!
kiváncsi vagyok androidos telefon eldobája e a kapcsolatot vele üzem közbe!

Előzmény: Arany János, 2017-09-09 21:24:14 [596]


Arany János | 1357    2017-09-09 21:24:14 [596]

Hát így ránézésre:igen.
Nevetni fogsz: azt a linket választottam amit még az elején tettél be, a "Melyiket válasszam..." megjegyzéssel.

Előzmény: Törölt felhasználó, 2017-09-09 21:09:01 [594]

Törölt felhasználó    2017-09-09 21:12:07 [595]

hc05 igy néz ki...


Törölt felhasználó    2017-09-09 21:09:01 [594]

ö volt akitöl veted?

http://www.vatera.hu/hc-05-rf-wireless-bluetooth-transceiver-module-rs232-ttl-uart-converter-and-adapter-arduino-2526506519.html

Előzmény: Arany János, 2017-09-09 20:59:17 [591]


Törölt felhasználó    2017-09-09 21:05:47 [593]

at09...hm10 ez szivatot...

https://blog.yavilevich.com/2016/12/hm-10-or-cc41-a-module-automatic-arduino-ble-module-identification/


Törölt felhasználó    2017-09-09 21:02:46 [592]

jo édes anyát ez at09 nem hc05!
vaterás eladó hc05 ként árulja!

Előzmény: Arany János, 2017-09-09 20:59:17 [591]


Arany János | 1357    2017-09-09 20:59:17 [591]

Szemüveg mellé elővettem a nagyítót is!
Hát betűre stimmel!

Előzmény: Törölt felhasználó, 2017-09-09 20:54:47 [590]


Törölt felhasználó    2017-09-09 20:54:47 [590]

ilyen a modul amit kaptál?

Előzmény: Arany János, 2017-09-09 20:47:01 [588]


Törölt felhasználó    2017-09-09 20:51:12 [589]

state láb csak at modhoz kell!

Előzmény: Arany János, 2017-09-09 20:44:46 [587]


Arany János | 1357    2017-09-09 20:47:01 [588]

CMODE1:"err"
A többi:"ok"

Előzmény: Törölt felhasználó, 2017-09-09 20:41:03 [585]


Arany János | 1357    2017-09-09 20:44:46 [587]

9-est visszadugjam?
Ne dugjam?
Nagy dilemma: Dugjak vagy ne dugjak?

Előzmény: Törölt felhasználó, 2017-09-09 20:42:38 [586]


Törölt felhasználó    2017-09-09 20:42:38 [586]

keresem enek a moduknak az at parancsait 3 fajta létezik...

Előzmény: Arany János, 2017-09-09 20:32:47 [584]

Törölt felhasználó    2017-09-09 20:41:03 [585]

AT+ROLE0
AT+CMODE1
AT+BAUD4

Előzmény: Arany János, 2017-09-09 20:32:47 [584]


Arany János | 1357    2017-09-09 20:32:47 [584]

"err"

Előzmény: Törölt felhasználó, 2017-09-09 20:29:11 [583]


Törölt felhasználó    2017-09-09 20:29:11 [583]

AT+HELP

Előzmény: Arany János, 2017-09-09 20:20:27 [579]


Törölt felhasználó    2017-09-09 20:27:19 [582]

János kérdez meg a vaterás eladot hogy tisztába van e mit árul!
Mert ez valoszinü hogy ez nem hc05 az tuti ezel a firmwerel!
Ez egy a at09 modul lesz AT parancsok is teljesen mások!
párositásnál kéri a kodot

000000
vagy
123456

Előzmény: Arany János, 2017-09-09 19:59:51 [575]


Arany János | 1357    2017-09-09 20:26:10 [581]

Ne ríjá mán!
OLVASSÁL

Előzmény: PallMallMan, 2017-09-09 20:21:26 [580]


  Fórum főoldal  |  A lap tetejére

Időrend:
Oldal 29 / 41 Ugrás ide:
Sorok:
|◄ Első  ◄ Előző   25  26  27  28  29  30  31  32  33   Következő ►  Utolsó ►|


 ◊