Test Data - Can not connect to Bluetooth

Vic

Member
I have a problem connect to the Bluetooth with Sunray APP. Any suggestions?

WiFI works but hard to control the mower because it suddenly disconnect. I tryied to set up AP- mode with own network but feels the same.

Here is some logs

Test



07:57:14.122 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=9.87 y=-7.23 delta=-1.92 tow=367052000 lon=18.32959462 lat=59.47154944 n=-7.23 e=9.87 d=-5.07 sol=1 age=0.01

07:57:37.261 -> Ardumower Sunray,1.0.73

07:57:37.261 -> enableCharging 0

07:57:37.261 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)9600...

07:57:37.261 -> AT

07:57:37.776 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)115200...

07:57:37.776 -> AT

07:57:38.265 -> SERIAL_BUFFER_SIZE=128 (increase if you experience GPS checksum errors)

07:57:38.265 -> -----------------------------------------------------

07:57:38.265 -> NOTE: if you experience GPS checksum errors, try to increase UART FIFO size:

07:57:38.265 -> 1. Arduino IDE->File->Preferences->Click on 'preferences.txt' at the bottom

07:57:38.265 -> 2. Locate file 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h

07:57:38.265 -> change: #define SERIAL_BUFFER_SIZE 128 into into: #define SERIAL_BUFFER_SIZE 1024

07:57:38.265 -> -----------------------------------------------------

07:57:38.791 -> [WiFiEsp] Initializing ESP module

07:57:42.211 -> [WiFiEsp] Initilization successful - 1.5.4

07:57:42.211 -> WiFi found!

07:57:42.211 -> Attempting to connect to WPA SSID: DIG

07:57:47.224 -> [WiFiEsp] Connected to DIG

07:57:48.213 -> [WiFiEsp] IP address set 192.168.1.56

07:57:48.213 -> You're connected with SSID=DIG and IP=192.168.1.56

07:57:48.247 -> [WiFiEsp] Server started on port 80

07:57:48.247 -> MPU ID=0x0

07:57:48.247 -> MPU6050/9150/9250/9255 not found - Did you connect AD0 to 3.3v and choose it in config.h?

07:57:50.735 -> CHARGER CONNECTED

07:57:50.735 -> enableCharging 1

07:57:50.946 -> temp=998.0 humidity=998

07:57:50.946 -> setOperation op=2

07:57:50.946 -> ctlDur=5.00 op=2 freem=44975 volt=29.06 chg=0.10 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=0 lon=0.00000000 lat=0.00000000 n=0.00 e=0.00 d=0.00 sol=0 age=0.00

07:57:51.081 -> ublox chka error, msgclass=1, msgid=7, msglen=5C: 0!=96

07:57:55.956 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=367093800 lon=18.32960271 lat=59.47158271 n=-3.52 e=10.33 d=-1.67 sol=0 age=0.41

07:58:00.952 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.32 y=-3.83 delta=0.00 tow=367098800 lon=18.32960244 lat=59.47157971 n=-3.83 e=10.32 d=-1.84 sol=1 age=0.40

07:58:05.954 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.38 y=-3.98 delta=0.00 tow=367103800 lon=18.32960945 lat=59.47158723 n=-3.02 e=10.71 d=-2.03 sol=0 age=0.40

07:58:10.946 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367108800 lon=18.32960522 lat=59.47158244 n=-3.55 e=10.47 d=-1.68 sol=1 age=0.38

07:58:15.960 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367113800 lon=18.32961021 lat=59.47158684 n=-3.03 e=10.75 d=-1.51 sol=0 age=0.42

07:58:20.958 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367118800 lon=18.32962214 lat=59.47158432 n=-3.31 e=11.43 d=-1.47 sol=0 age=0.27

07:58:25.950 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.42 y=-3.79 delta=0.00 tow=367123800 lon=18.32961000 lat=59.47158073 n=-3.71 e=10.75 d=-1.46 sol=0 age=0.41















Test 2





:29.277 -> [WiFiEsp] New client 0

07:54:31.320 -> [WiFiEsp] TIMEOUT: 102

07:54:31.320 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=92

07:54:31.320 ->

07:54:31.320 -> +IPD,0,21,192.168.1.11,59420:AT+M,0.21,-0.05,0x16

07:54:31.320 ->

07:54:31.320 -> CRC ERROR16,E

07:54:31.564 -> ctlDur=0.03 op=2 freem=44975 volt=28.85 chg=1.01 tg=0.00,0.00 x=9.24 y=-4.21 delta=-2.47 tow=366887400 lon=18.32958304 lat=59.47157632 n=-4.21 e=9.24 d=-1.07 sol=1 age=0.25

07:54:31.564 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=2C

07:54:31.564 -> [WiFiEsp] Disconnecting 0

07:54:31.665 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=FD

07:54:36.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.86 chg=1.01 tg=0.00,0.00 x=9.12 y=-5.08 delta=-1.48 tow=366894400 lon=18.32958151 lat=59.47156873 n=-5.08 e=9.12 d=-0.98 sol=1 age=0.21

07:54:41.554 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.16 y=-5.72 delta=-1.48 tow=366899400 lon=18.32958195 lat=59.47156272 n=-5.72 e=9.16 d=-1.12 sol=1 age=0.04

07:54:46.576 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.03 delta=0.66 tow=366904400 lon=18.32958293 lat=59.47155963 n=-6.06 e=9.20 d=-1.28 sol=0 age=0.21

07:54:47.682 -> ublox chka error, msgclass=7, msgid=12, msglen=24: 1D!=23

07:54:51.547 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.41 y=-6.19 delta=-0.65 tow=366909400 lon=18.32958605 lat=59.47155840 n=-6.20 e=9.38 d=-1.14 sol=0 age=0.02

07:54:56.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366914400 lon=18.32958263 lat=59.47155635 n=-6.43 e=9.20 d=-0.84 sol=0 age=0.22

07:55:01.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366919400 lon=18.32958255 lat=59.47155744 n=-6.34 e=9.20 d=-0.66 sol=0 age=0.02

07:55:06.575 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366924400 lon=18.32958272 lat=59.47155824 n=-6.25 e=9.19 d=-0.48 sol=0 age=0.21

07:55:11.580 -> ctlDur=0.02 op=2 freem=44975 volt=28.89 chg=1.01 tg=0.00,0.00 x=15.66 y=-13.13 delta=-0.68 tow=366929400 lon=18.32969675 lat=59.47149644 n=-13.13 e=15.66 d=-3.17 sol=1 age=0.02

07:55:16.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=15.67 y=-14.52 delta=-1.68 tow=366934400 lon=18.32969681 lat=59.47148365 n=-14.56 e=15.67 d=-3.78 sol=0 age=0.02







Test 3



08:11:39.912 -> AT+S,0x13

08:11:39.912 ->

08:11:40.162 -> [WiFiEsp] Disconnecting 0

08:11:40.268 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: ED!=C2

08:11:41.471 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.30 y=-2.20 delta=2.50 tow=367919400 lon=18.32956692 lat=59.47159424 n=-2.20 e=8.30 d=-1.40 sol=1 age=0.15

08:11:43.854 -> [WiFiEsp] New client 0

08:11:43.921 -> AT+S,0x13

08:11:43.921 ->

08:11:44.129 -> [WiFiEsp] Disconnecting 0

08:11:44.271 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 1C!=BA

08:11:46.476 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.36 y=-2.42 delta=1.54 tow=367924400 lon=18.32956813 lat=59.47159255 n=-2.42 e=8.36 d=-1.39 sol=1 age=0.14

08:11:47.865 -> [WiFiEsp] New client 0

08:11:47.932 -> AT+S,0x13

08:11:47.932 ->

08:11:48.037 -> [WiFiEsp] Disconnecting 0

08:11:49.070 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 5!=26
 
Check out that. It could be, that you module doesn't work with \r\n with AT commands.

 
Check out that. It could be, that you module doesn't work with \r\n with AT commands.

This code does not work, I have tried this.

I tried also add a capacitator on Wifi-card but it still really not responsive and really hard to manual steer the robot. Any suggestions??
 
Thank you Im going to take a look at this.

Im doing AT+E test and it have done this for soon 20 min, something wrong or it take this time?

xxx
t=882 ticks Left=0 Right=0 current Left=0.07 Right=0.03
t=883 ticks Left=0 Right=0 current Left=0.10 Right=0.08
t=884 ticks Left=0 Right=0 current Left=0.03 Right=0.05
t=885 ticks Left=0 Right=0 current Left=0.09 Right=0.10
t=886 ticks Left=0 Right=0 current Left=0.12 Right=0.06
t=887 ticks Left=0 Right=0 current Left=0.06 Right=0.08
t=888 ticks Left=0 Right=0 current Left=0.09 Right=0.06
t=889 ticks Left=0 Right=0 current Left=0.04 Right=0.12
t=890 ticks Left=0 Right=0 current Left=0.12 Right=0.11
t=891 ticks Left=0 Right=0 current Left=0.12 Right=0.06
t=892 ticks Left=0 Right=0 current Left=0.07 Right=0.12
t=893 ticks Left=0 Right=0 current Left=0.06 Right=0.15
t=894 ticks Left=0 Right=0 current Left=0.10 Right=0.07
t=895 ticks Left=0 Right=0 current Left=0.06 Right=0.09
t=896 ticks Left=0 Right=0 current Left=0.09 Right=0.10
t=897 ticks Left=0 Right=0 current Left=0.04 Right=0.04
t=898 ticks Left=0 Right=0 current Left=0.01 Right=0.07
t=899 ticks Left=0 Right=0 current Left=0.10 Right=0.09
xxxx 20 min and counting..
 
Now when connecting cables it work better to steer but not perfect.

Im connected with Wifi as own access point because this works better. I was add 2200uf /63v capacisator on the WiFi card but this did not help so much.

i can also not get Bluetooth to work. Can not find it with iPhone and with Android it only work to connect in settings.
The WiFi signal seams to disconnect with socket error sometimes. Fails to write to socket 0.

AT+E motor test worked 3times to 49. Success but now it get stuck and hangs so I need to reflash software.

see screenshots
 

Anhänge

  • FE71DBBE-104A-481C-9378-92D1E6AE114B.jpg
    FE71DBBE-104A-481C-9378-92D1E6AE114B.jpg
    37,1 KB · Aufrufe: 7
  • BE7BFF54-764C-4CCE-8D6C-32E34CA3221F.jpg
    BE7BFF54-764C-4CCE-8D6C-32E34CA3221F.jpg
    38,4 KB · Aufrufe: 7
  • 3B4295B1-1C92-4506-8B26-E71932A9C536.jpeg
    3B4295B1-1C92-4506-8B26-E71932A9C536.jpeg
    155,3 KB · Aufrufe: 6
  • 3754D87B-491B-49B8-A5A6-37ECD22D9601.jpg
    3754D87B-491B-49B8-A5A6-37ECD22D9601.jpg
    47,7 KB · Aufrufe: 6
  • F4496764-4B92-4517-A9ED-1FA5C5F2A368.jpg
    F4496764-4B92-4517-A9ED-1FA5C5F2A368.jpg
    48,3 KB · Aufrufe: 5
Zuletzt bearbeitet:
Oben