Search found 208 matches

by f.h-f.s.
Mon May 07, 2018 12:42 pm
Forum: ESP32 Arduino
Topic: How to use the SPI and send continuous data no gaps...
Replies: 6
Views: 2020

Re: How to use the SPI and send continuous data no gaps...

You can send data in 8 or 16 bit chunks but also as a array.
Syntax

receivedVal = SPI.transfer(val)
receivedVal16 = SPI.transfer16(val16)
SPI.transfer(buffer, size)
https://www.arduino.cc/en/Reference/SPITransfer
by f.h-f.s.
Wed Apr 18, 2018 8:29 am
Forum: Hardware
Topic: Reed Relay resetting ESP32
Replies: 2
Views: 1061

Re: Reed Relay resetting ESP32

Thanks for the response Markus.
I will get back to testing this issue when I have a stable board. I was getting some shorts because of solder resin residue. Perhaps this also caused the strange behaviour.
by f.h-f.s.
Fri Apr 13, 2018 10:54 am
Forum: Hardware
Topic: Reed Relay resetting ESP32
Replies: 2
Views: 1061

Reed Relay resetting ESP32

Hi all, We have created a PCB with a Reed relay(SIL05-1A72 + flyback diode) switched on using a transistor, esp32(DOIT) and a lm2596 for supplying 5v. I soldered the board, tested it without load on the relay and it works fine. When I put load on the relay by connecting a 12V 0.7A device and switch...
by f.h-f.s.
Mon Jan 22, 2018 10:24 am
Forum: General Discussion
Topic: Task stack size
Replies: 4
Views: 3404

Re: Task stack size

You need the stack space for all the variables in the scope of that task. (not including malloc, which goes on the heap) You can see how much of that space is/was used by calling "uxTaskGetStackHighWaterMark(NULL)" inside the task. Or passing the task handle instead of NULL, calling the function fro...
by f.h-f.s.
Mon Jan 22, 2018 9:44 am
Forum: General Discussion
Topic: How to use ESP32 as server to send data of a sensor through its bluetuth
Replies: 2
Views: 1996

Re: How to use ESP32 as server to send data of a sensor through its bluetuth

Have you looked up what ssp does? Serial Port Profile (SPP) If you're replacing a serial communication interface (like RS-232 or a UART) with Bluetooth, SPP is the profile for you. SPP is great for sending bursts of data between two devices. Bluetooth Basics - learn.sparkfun.com https://learn.sparkf...
by f.h-f.s.
Mon Jan 22, 2018 9:35 am
Forum: General Discussion
Topic: Esp32 new IC programming issue
Replies: 1
Views: 662

Re: Esp32 new IC programming issue

if you open a Serial Terminal (Putty, idf_monitor) and put your device in download mode you should see this message:
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
Then you can close the terminal and run "make flash"
by f.h-f.s.
Sat Dec 23, 2017 10:57 am
Forum: General Discussion
Topic: reason for watchdog trigger.
Replies: 10
Views: 4470

Re: reason for watchdog trigger.

did you try to add a "vTaskDelay(100/portTICK_RATE_MS);" do{ rv = select(n, &readfds, NULL, NULL, &tv); #if (defined WIFI_DEBUG_PRINT) && (defined WIFI_SERVER_LINK_STATUS) ESP_LOGI(Display, "\n\nselect returns= %d\n\n",rv); #endif if (rv > 0) { if (FD_ISSET(s, &readfds)) { bzero(recv_buf, sizeof(rec...
by f.h-f.s.
Mon Dec 18, 2017 1:21 pm
Forum: General Discussion
Topic: reason for watchdog trigger.
Replies: 10
Views: 4470

Re: reason for watchdog trigger.

Your last log msg is "ESP_LOGI(Display, "... socket send success");" WiFive: Add some debug to the do while loop Means this loop: do{ rv = select(n, &readfds, NULL, NULL, &tv); if (rv > 0) { if (FD_ISSET(s, &readfds)) { bzero(recv_buf, sizeof(recv_buf)); read(s, recv_buf, sizeof(recv_buf)-1); strcat...
by f.h-f.s.
Tue Dec 12, 2017 2:23 pm
Forum: General Discussion
Topic: reason for watchdog trigger.
Replies: 10
Views: 4470

Re: reason for watchdog trigger.

Can you post your main task?
Probably your app_main()
by f.h-f.s.
Tue Dec 05, 2017 10:50 am
Forum: General Discussion
Topic: MSYS Issues - cygheap base mismatch detected
Replies: 2
Views: 1933

Re: MSYS Issues - cygheap base mismatch detected

It just happend again, did not update esp-idf or anything else. My windows desktop only has 4gb memory, that could be the problem.
idf_monitor keeps crashing too...

Go to advanced search