Search found 8 matches

by Quernon
Tue Sep 18, 2018 10:59 am
Forum: ESP32 boards
Topic: Recording and sending audio through MQTT?
Replies: 5
Views: 6169

Re: Recording and sending audio through MQTT?

@pythoncoder Thanks for the pointers. I was imagining that the audio file would need to be chopped up prior to sending but if this seems unnecessarily complicated, is there a more suitable file transfer protocol that you would recommend? Unfortunately, I can't process the audio file on the ESP32 as ...
by Quernon
Thu Sep 13, 2018 2:55 pm
Forum: ESP32 boards
Topic: Recording and sending audio through MQTT?
Replies: 5
Views: 6169

Recording and sending audio through MQTT?

I'm trying to set up remote monitoring of some beehives. I have the environmental monitoring hardware and scripts in place (a simple DHT22 setup and script using umqtt.simple). The next step would be for the ESP32 to send a short recording, ideally 30 seconds long, in mp3 every X minutes. Hourly wou...
by Quernon
Wed Aug 29, 2018 9:19 pm
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

Re: main.py loop runs in REPL but not on Boot

I used rshell to copy the scripts over to the boards initially and to edit them since then. I added the following to my main.py and the LED blinks when resetting or powering on the ESP32. I was able to piece that together quickly thanks to a post that you responded to on this board, so thank again! ...
by Quernon
Wed Aug 29, 2018 5:11 pm
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

Re: main.py loop runs in REPL but not on Boot

I've now measured from the pins you've suggested. Regardless of whether measured when powered with or without a data connection they all measure between 3.22V and 3.26V to GND. To measure without data, I have used the same USB cable but have plugged it directly into a USB power supply (i.e. a mobile...
by Quernon
Wed Aug 29, 2018 1:05 pm
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

Re: main.py loop runs in REPL but not on Boot

Thanks Robert, I'll test them this evening and get back to you. I'll test them with and without a data connection to help narrow down the issue.
by Quernon
Wed Aug 29, 2018 12:35 pm
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

Re: main.py loop runs in REPL but not on Boot

I bought a 'dev' board off AliExpress. See the link below. I connect to the board via the micro USB port using rshell on a Raspberry Pi. I have also used adafruit-ampy but find it less intuitive than rshell. One thing I've noticed is that when I exit rshell by hitting Ctrl + D, I have to power cycle...
by Quernon
Wed Aug 29, 2018 11:23 am
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

Re: main.py loop runs in REPL but not on Boot

I'm using an ESP32.
by Quernon
Wed Aug 29, 2018 9:18 am
Forum: ESP32 boards
Topic: main.py loop runs in REPL but not on Boot
Replies: 9
Views: 6081

main.py loop runs in REPL but not on Boot

My main.py script is quire simple, it just imports time a script to connect to WiFi and a script to publish sensor readings through MQTT. When I enter REPL I can reset the board and see that it connects to WiFi and publishes a value. It will then successfully wait 15 minutes (900s) before publishing...