Search found 43 matches

by newb
Thu Jun 18, 2020 1:11 pm
Forum: General Discussion and Questions
Topic: Archiving without compression
Replies: 1
Views: 1385

Archiving without compression

Hi, I'm creating a time-lapse script where I take many pictures with esp32-cam throughout the day and I intend to upload them to a local ftp server in the evening. I recall that uploading many files is slower than uploading one single big file (provided the total size is the same). It seems there're...
by newb
Tue Apr 07, 2020 4:11 pm
Forum: General Discussion and Questions
Topic: Check for valid bytes
Replies: 8
Views: 4889

Re: Check for valid bytes

May be I've taken wrong approach? Because when I plug the esp8266 I don't know what byte will be first caught by the UART, I'm reading one byte from UART until that byte is the data frame start (0xff), then I read the immediate next 3 other bytes. That's why I can't access all bytes as the same time...
by newb
Tue Apr 07, 2020 11:11 am
Forum: General Discussion and Questions
Topic: Check for valid bytes
Replies: 8
Views: 4889

Re: Check for valid bytes

Thank you, guys!
I'm now getting somewhere by dividing individual bytes with hex() and parsing the dataframe :D
by newb
Tue Apr 07, 2020 9:36 am
Forum: General Discussion and Questions
Topic: Check for valid bytes
Replies: 8
Views: 4889

Re: Check for valid bytes

I thought every byte should start with \x. Do you mean that e.g. this bytearray - b'\xff\x08kr' has valid 4 bytes in it? If that's the case, how do I separate each individual byte for further processing?
by newb
Tue Apr 07, 2020 8:53 am
Forum: General Discussion and Questions
Topic: Check for valid bytes
Replies: 8
Views: 4889

Check for valid bytes

Hi, I've got a general question. I'm reading a serial sensor which is suppose to produce a data frame of 4 bytes(always starting with 0xff and the last 4th byte being the checksum). I've got problems with detecting a valid data frame because some of the bytes are just garbage. My question is how do ...
by newb
Sun Jun 16, 2019 7:20 pm
Forum: ESP32 boards
Topic: esp32 with built-in camera and sd card
Replies: 5
Views: 10025

Re: esp32 with built-in camera and sd card

All works now. I forgot to base64 encode the attached image :)
by newb
Wed Jun 05, 2019 2:21 pm
Forum: ESP32 boards
Topic: esp32 with built-in camera and sd card
Replies: 5
Views: 10025

Re: esp32 with built-in camera and sd card

I've got this strange picture, when using the driver. Does anyone know what could cause this? My module seems to be the same as the one the driver author was using (judging by the picture in the repo). I'm emailing the picture as a attachment, using this uMail https://github.com/shawwwn/uMail cam.jp...
by newb
Sun Jun 02, 2019 2:57 pm
Forum: ESP32 boards
Topic: esp32 with built-in camera and sd card
Replies: 5
Views: 10025

Re: esp32 with built-in camera and sd card

It seems there is one from a couple of weeks :) Just found it and I'm about to test it.

https://github.com/tsaarni/esp32-micropython-webcam
by newb
Sat May 18, 2019 1:02 pm
Forum: Drivers for External Components
Topic: vl53l0x max distance
Replies: 1
Views: 3271

vl53l0x max distance

Hi, I'm using @deshipu driver https://bitbucket.org/thesheep/micropython-vl53l0x/src/default/ for this time of flight sensor. All working fine, except it measures always in "normal mode" where the max distance measured is 1.2m-1.3m. The datasheet https://www.st.com/resource/en/datasheet/vl53l0x.pdf ...
by newb
Tue Feb 19, 2019 7:24 am
Forum: ESP8266 boards
Topic: Designing resilient IOT applications
Replies: 8
Views: 5694

Re: Designing resilient IOT applications

Hi Peter and Kevin, great stuff and documentation as usual! Have you tried to make the server run on esp8266 as well?