Search found 17 matches

by BaartCM
Tue Sep 25, 2018 9:01 am
Forum: ESP32 Arduino
Topic: Starting WiFi with custom mac address
Replies: 2
Views: 9505

Re: Starting WiFi with custom mac address

Thanks ESP_igrr. I have (almost) succeeded. For anyone else wishing to do something similar, I am posting working code here. First of all, you need to include #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" #include "esp_wifi.h" byte mac[6]; Then you can read the mac, change it and reset it using...
by BaartCM
Mon Sep 24, 2018 5:56 am
Forum: ESP32 Arduino
Topic: Starting WiFi with custom mac address
Replies: 2
Views: 9505

Starting WiFi with custom mac address

Hi Guys, I have a project which involves a number of ESP32's with Ethernet modules reading from sensors and sending the sensor info to a Client PC running a Python app as and when the client requests said data. So that I can identify my ESP32 modules on the network, I assign them all a mac address s...
by BaartCM
Wed Sep 19, 2018 4:44 pm
Forum: General Discussion
Topic: ADC speed?
Replies: 30
Views: 91822

Re: ADC speed?

I also need a higher sampling rate. Is there any way to get good results with higher sampling rate than 6Khz? External adc is no solution for me I’m afraid it would seem not. Your only option with the ESP32 is an external ADC. The STM32duino (BluePill) can sample much faster but has no WiFi or Blue...
by BaartCM
Sat Sep 08, 2018 1:19 pm
Forum: General Discussion
Topic: ADC speed?
Replies: 30
Views: 91822

Re: ADC speed?

I found out by experimenting that I can read the adc’s at a much higher rate than 6k but that the data is garbage. If I sample vibration readings from a motor at say 4K sps, I get a peak at the correct frequency when I do an fft but if I sample at a higher rate than 6k, the peak is not at the correc...
by BaartCM
Tue Apr 17, 2018 10:20 am
Forum: General Discussion
Topic: ADC speed?
Replies: 30
Views: 91822

Re: ADC speed?

Yes, I know I could use an mcp3208 and get higher sampling rates, I designed and sold an 8 channel board for the raspberry pi on eBay and got 100ksps no problem. It’s an option of course but if there’s any way the internal ADC can get a higher sample rate, why waste money?
by BaartCM
Tue Apr 17, 2018 7:46 am
Forum: General Discussion
Topic: ADC speed?
Replies: 30
Views: 91822

Re: ADC speed?

Hi, I have a vibration analysis project. I have been using the stm32f103 which can get high sampling rates with analogRead() and even higher using DMA but I want to go wireless and the ESP32 seems the logical step forward. Whilst 6 ksps is ok for most of my application, Lubrication deficiency shows ...
by BaartCM
Fri Mar 30, 2018 7:13 pm
Forum: General Discussion
Topic: Help with strings
Replies: 1
Views: 4389

Help with strings

Hello, This post is a request for help using painlessMesh , but it is to do with string manipulation above all else. I am creating a character array of 65536 elements representing 32784 ADC readings. The ADC read routine is rdg=analogRead(ADC0); twf[a]=(char)encoder((int(rdg/64))); twf[a+1]=(char)en...
by BaartCM
Wed Mar 28, 2018 4:01 pm
Forum: Showcase
Topic: painlessMesh (the painless way to build a mesh) now also supports ESP32
Replies: 3
Views: 14224

Re: painlessMesh (the painless way to build a mesh) now also supports ESP32

Hi Blackedder,

I have been trying painlessMesh and it seems that it might be the answer to my quest so I have a cunning plan to use it! Thank you for your hard work and for making it available.

Can you tell me what is the maximum number of nodes connected in the mesh?

Regards

Steve.
by BaartCM
Wed Mar 28, 2018 11:25 am
Forum: General Discussion
Topic: Is it possible to use the code ESP8266_MESH_DEMO in ESP32?
Replies: 5
Views: 8949

Re: Is it possible to use the code ESP8266_MESH_DEMO in ESP32?

ESP_Sprite wrote:We have code for ESP32 meshes in development, however it is not finished yet. We should be making something public about it in a month or two, however.
Is this available yet? A few months have passed. Fingers crossed, Steve.
by BaartCM
Wed Mar 28, 2018 9:08 am
Forum: General Discussion
Topic: Wi-Fi : Client server data transmission
Replies: 8
Views: 16451

Re: Wi-Fi : Client server data transmission

Hi Rakesh Can I ask you what your project is, it sounds like we need a similar solution except I need much more data sending and I dont need to collect that data within a period of time. This is what I have done so far https://github.com/BaartCM/FFT-Analyser/blob/master/BaartFFT.zip the pc requests ...