Search found 17 matches

by BaartCM
Tue Mar 27, 2018 9:22 pm
Forum: General Discussion
Topic: Sensor data transmission from node to hub using espnow
Replies: 0
Views: 1148

Sensor data transmission from node to hub using espnow

Hi, I’m working on a project where a number of nodes connect to a hub using espnow and the example code here https://github.com/pcbreflux/espressif/tree/master/esp32/arduino/sketchbook/ESP32_espnow_MasterSlave Firstly, I have never worked with WiFi before so forgive me if this isn’t the best method ...
by BaartCM
Thu Mar 22, 2018 4:28 pm
Forum: General Discussion
Topic: Using the 'flash' pins for GPIO
Replies: 1
Views: 1450

Using the 'flash' pins for GPIO

Hi, I have a NodeMCU ESP32. The pinout diagram shows the following pins, 6,7,8,9,10 & 11 as being connected to the flash. They are also shown as being able to be used for PMW. I would like, if I may ... to use them for inputs so I set up the following code to test them int pinButton = 6; //the pin w...
by BaartCM
Tue Mar 20, 2018 11:48 am
Forum: General Discussion
Topic: ESP32 WIFI-AP + TCP-Socket-Server
Replies: 5
Views: 6005

Re: ESP32 WIFI-AP + TCP-Socket-Server

Hello roge_

I too am very new to ESP32 and trying to learn wifi.

Can you please post your working code so I can learn from it?

Thanks, Steve.
by BaartCM
Tue Mar 20, 2018 9:36 am
Forum: ESP32 Arduino
Topic: Advice needed for vibration analysis project comms.
Replies: 6
Views: 3427

Re: Advice needed for vibration analysis project comms.

One other thing I forgot to mention was that the ESP32s must set up their own network, they can’t connect to an existing WiFi network for security (the customers not mine) data stored on the pi would be sent to the cloud via cellular comms.
by BaartCM
Tue Mar 20, 2018 9:28 am
Forum: ESP32 Arduino
Topic: Advice needed for vibration analysis project comms.
Replies: 6
Views: 3427

Re: Advice needed for vibration analysis project comms.

Hello Krzysztof, Thank you again for that. I have given the websockets tutorial a quick glance and it looks interesting. As it stands, I take data from all 4 channels sequentially, send the data, wait for the timer and do it again. I could sample just 1 channel at a time, store the data in an array,...
by BaartCM
Sat Mar 17, 2018 3:56 pm
Forum: ESP32 Arduino
Topic: Advice needed for vibration analysis project comms.
Replies: 6
Views: 3427

Re: Advice needed for vibration analysis project comms.

Thanks for the encouragement. I like Your ideas but I’m at a loss though as to how the nodes would send their data to the cloud. I think it would need something like a Pi to request the data on a schedule. The data would comprise four arrays of 32768 Int numbers representing the voltages. These woul...
by BaartCM
Fri Mar 16, 2018 5:13 pm
Forum: ESP32 Arduino
Topic: Advice needed for vibration analysis project comms.
Replies: 6
Views: 3427

Advice needed for vibration analysis project comms.

Hi Guys, Im new to the ESP32. Previously, I have been using an STM32F103 board for my vibration analysis project. I have written code for the STM32 which basically sits waiting for a request via USB to send it data. It then reads from 4 ADC channels, at the samples per second requested by the host a...

Go to advanced search