edelans / Heart-Rate-Smart-Fan

Control your fan speed with your heart beat.
GNU General Public License v3.0
13 stars 0 forks source link

ESP32 Rebooting #3

Open JanRacka opened 1 year ago

JanRacka commented 1 year ago

Hi, I have used your code with ESP32 Mini but its still rebooting in loop. I'm not programmer so I cant figure out what could be wrong. Can you check this?

19:29:20.182 -> BLE Advertised Device found: Name: 1600-177, Address: ed:38:4a:b3:e8:6b, appearance: 833, manufacturer data: ffff6b004006b14800010076, serviceUUID: 0000180d-0000-1000-8000-00805f9b34fb, rssi: -56 19:29:20.182 -> Found our device! 19:29:20.182 -> Forming a connection to ed:38:4a:b3:e8:6b 19:29:20.182 -> - Created client 19:29:21.199 -> - Connected to server 19:29:22.103 -> - Found our service 19:29:22.103 -> - Found our characteristic 19:29:22.103 -> The characteristic value was: 19:29:23.060 -> ets Jun 8 2016 00:22:57 19:29:23.060 -> 19:29:23.060 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 19:29:23.060 -> configsip: 0, SPIWP:0xee 19:29:23.060 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 19:29:23.060 -> mode:DIO, clock div:1 19:29:23.060 -> load:0x3fff0030,len:1184 19:29:23.060 -> load:0x40078000,len:13260 19:29:23.060 -> load:0x40080400,len:3028 19:29:23.060 -> entry 0x400805e4 19:29:23.462 -> 19:29:23.462 -> ESP32 HRM BLE Smart Fan | Compiled: Nov 3 2023/14:50:58 19:29:23.462 -> Starting Arduino BLE Client application... 19:29:24.209 -> BLE Advertised Device found: Name: , Address: 02:6b:87:c2:a2:a4, manufacturer data: 060001092002406b54f13a0c96602c5f4836d4cc58d6afc93eed1e514b, rssi: -46 19:29:24.262 -> BLE Advertised Device found: Name: , Address: a7:d3:de:66:f6:7d, serviceUUID: 0000a201-0000-1000-8000-00805f9b34fb, rssi: -78, serviceData: ⸮ދ⸮⸮ֽR9⸮fp" 19:29:24.262 -> BLE Advertised Device found: Name: , Address: 67:5e:ea:d0:ee:23, manufacturer data: 2d01020001102236c5855f8449a9bf4677fccbefc1daaff5015dced2, rssi: -86 19:29:24.262 -> BLE Advertised Device found: Name: , Address: 4a:18:3c:38:e1:c2, manufacturer data: 2d01020001102926a33152aa478a833befac1b18741f6d153be63903, rssi: -59 19:29:24.262 -> BLE Advertised Device found: Name: , Address: 7c:b1:eb:fd:01:30, manufacturer data: 4c00021550765cb7d9ea4e2199a4fa879613a492a2d57855ce, rssi: -87 19:29:24.309 -> BLE Advertised Device found: Name: , Address: 52:3b:d1:cc:50:ee, manufacturer data: 4c00021550765cb7d9ea4e2199a4fa879613a49223cd59c6ce, rssi: -59 19:29:24.309 -> BLE Advertised Device found: Name: , Address: 58:12:a9:e7:aa:8c, manufacturer data: 4c0010052398cabcaf, txPower: 9, rssi: -83 19:29:24.309 -> BLE Advertised Device found: Name: GR-AC_10001_09_aae6_SC, Address: 50:2c:c6:b4:aa:e6, manufacturer data: 5d00000201502cc6b4aae6000000000000, rssi: -89 19:29:24.363 -> BLE Advertised Device found: Name: , Address: f1:fc:4e:55:3f:20, manufacturer data: 4c0012020002, rssi: -85 19:29:24.363 -> BLE Advertised Device found: Name: , Address: 73:1e:65:5b:cc:22, manufacturer data: 4c001007201fe8be07a028, txPower: 6, rssi: -90 19:29:24.563 -> BLE Advertised Device found: Name: , Address: d1:1f:3a:b6:24:8f, manufacturer data: 4c0012020001, rssi: -84 19:29:24.563 -> BLE Advertised Device found: Name: , Address: 4d:08:7f:cf:bf:ff, manufacturer data: 060001092002397eeb20e4eb862e9ed6a4d345a999cb870c4b84dd5c1a, rssi: -94 19:29:24.810 -> BLE Advertised Device found: Name: , Address: 73:48:ab:ac:07:1a, serviceUUID: 0000fef3-0000-1000-8000-00805f9b34fb, rssi: -78 19:29:25.063 -> BLE Advertised Device found: Name: Qingping Alarm Clock 19:29:25.410 -> BLE Advertised Device found: Name: , Address: cc:f3:41:a3:34:82, manufacturer data: 4c0012020002, rssi: -94 19:29:28.484 -> BLE Advertised Device found: Name: 1600-177, Address: ed:38:4a:b3:e8:6b, appearance: 833, manufacturer data: ffff6b004006b14800010076, serviceUUID: 0000180d-0000-1000-8000-00805f9b34fb, rssi: -55 19:29:28.484 -> Found our device! 19:29:28.484 -> Forming a connection to ed:38:4a:b3:e8:6b 19:29:28.484 -> - Created client 19:29:29.562 -> - Connected to server 19:29:30.464 -> - Found our service 19:29:30.464 -> - Found our characteristic 19:29:30.464 -> The characteristic value was: 19:29:31.415 -> ets Jun 8 2016 00:22:57 19:29:31.415 -> 19:29:31.415 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 19:29:31.415 -> configsip: 0, SPIWP:0xee 19:29:31.415 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 19:29:31.415 -> mode:DIO, clock div:1 19:29:31.415 -> load:0x3fff0030,len:1184 19:29:31.415 -> load:0x40078000,len:13260 19:29:31.415 -> load:0x40080400,len:3028 19:29:31.415 -> entry 0x400805e4 19:29:31.815 -> 19:29:31.815 -> ESP32 HRM BLE Smart Fan | Compiled: Nov 3 2023/14:50:58 19:29:31.815 -> Starting Arduino BLE Client application... 19:29:32.516 -> BLE Advertised Device found: Name: , Address: 52:3b:d1:cc:50:ee, manufacturer data: 4c00021550765cb7d9ea4e2199a4fa879613a49223cd59c6ce, rssi: -59 19:29:32.569 -> BLE Advertised Device found: Name: , Address: 67:5e:ea:d0:ee:23, manufacturer data: 2d01020001102236c5855f8449a9bf4677fccbefc1daaff5015dced2, rssi: -86 19:29:32.569 -> BLE Advertised Device found: Name: , Address: 4d:08:7f:cf:bf:ff, manufacturer data: 060001092002397eeb20e4eb862e9ed6a4d345a999cb870c4b84dd5c1a, rssi: -93 19:29:32.569 -> BLE Advertised Device found: Name: , Address: 58:12:a9:e7:aa:8c, manufacturer data: 4c0010052398cabcaf, txPower: 9, rssi: -80 19:29:32.616 -> BLE Advertised Device found: Name: , Address: d1:1f:3a:b6:24:8f, manufacturer data: 4c0012020001, rssi: -82 19:29:32.616 -> BLE Advertised Device found: Name: , Address: 02:6b:87:c2:a2:a4, manufacturer data: 060001092002406b54f13a0c96602c5f4836d4cc58d6afc93eed1e514b, rssi: -48 19:29:32.669 -> BLE Advertised Device found: Name: , Address: 4a:18:3c:38:e1:c2, manufacturer data: 2d01020001102926a33152aa478a833befac1b18741f6d153be63903, rssi: -60 19:29:32.716 -> BLE Advertised Device found: Name: GR-AC_10001_09_aae6_SC, Address: 50:2c:c6:b4:aa:e6, manufacturer data: 5d00000201502cc6b4aae6000000000000, rssi: -88 19:29:32.915 -> BLE Advertised Device found: Name: , Address: 7c:b1:eb:fd:01:30, manufacturer data: 4c00021550765cb7d9ea4e2199a4fa879613a492a2d57855ce, rssi: -87 19:29:32.969 -> BLE Advertised Device found: Name: , Address: a7:d3:de:66:f6:7d, serviceUUID: 0000a201-0000-1000-8000-00805f9b34fb, rssi: -76, serviceData: ⸮ދ⸮⸮ֽR9⸮fp" 19:29:33.270 -> BLE Advertised Device found: Name: Qingping Alarm Clock 19:29:34.170 -> BLE Advertised Device found: Name: , Address: 73:48:ab:ac:07:1a, serviceUUID: 0000fef3-0000-1000-8000-00805f9b34fb, rssi: -78, serviceData: J#XAHW2⸮⸮⸮⸮⸮⸮+ž'⸮:z{⸮ 19:29:34.349 -> BLE Advertised Device found: Name: , Address: f1:fc:4e:55:3f:20, manufacturer data: 4c0012020002, rssi: -77 19:29:34.518 -> BLE Advertised Device found: Name: , Address: d4:85:8a:28:9b:c1, manufacturer data: 4c0012020000, rssi: -86 19:29:34.818 -> BLE Advertised Device found: Name: , Address: 73:1e:65:5b:cc:22, manufacturer data: 4c001007201fe8be07a028, txPower: 6, rssi: -89 19:29:36.873 -> BLE Advertised Device found: Name: 1600-177, Address: ed:38:4a:b3:e8:6b, appearance: 833, manufacturer data: ffff6b004006b14800010076, serviceUUID: 0000180d-0000-1000-8000-00805f9b34fb, rssi: -56 19:29:36.873 -> Found our device! 19:29:36.873 -> Forming a connection to ed:38:4a:b3:e8:6b 19:29:36.873 -> - Created client 19:29:38.908 -> - Connected to server 19:29:39.795 -> - Found our service 19:29:39.795 -> - Found our characteristic 19:29:39.848 -> The characteristic value was: 19:29:40.788 -> ets Jun 8 2016 00:22:57 19:29:40.788 -> 19:29:40.788 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 19:29:40.788 -> configsip: 0, SPIWP:0xee 19:29:40.788 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 19:29:40.788 -> mode:DIO, clock div:1 19:29:40.788 -> load:0x3fff0030,len:1184 19:29:40.788 -> load:0x40078000,len:13260 19:29:40.788 -> load:0x40080400,len:3028 19:29:40.788 -> entry 0x400805e4 19:29:41.197 ->

Landixus commented 10 months ago

Looks like you have not enough power, make sure your power source deliver minimum 1A for the ESP