Search found 55 matches

by ebolisa
Sun Aug 09, 2020 9:09 pm
Forum: General Discussion and Questions
Topic: Unable to POST data
Replies: 0
Views: 1375

Unable to POST data

Hi, I'm trying to post data using an ESP32. A similar code shown below works fine when executed from a Raspberry. I'm getting a response from the server stating that the api key is wrong, but it's not so, I'm sure I've an error in my code. I appreciate some feedback. TIA EDIT: Solved. My issue was r...
by ebolisa
Thu May 21, 2020 3:13 pm
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

@lemariva I didn't think to change the SD card as it worked with the Arduino code and, Yes, it was the culprit. Thank you!!
by ebolisa
Wed May 20, 2020 11:50 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

Hi @lemariva, Yes, I tried it several times being last time, few minutes ago. This' what I get: MicroPython v1.10-128-g584bc5b2a on 2019-09-01; ESP32 module with ESP32 Type "help()" for more information. >>> MPY: soft reboot network config: ('192.168.0.69', '255.255.255.0', '192.168.0.1', '192.168.0...
by ebolisa
Thu May 14, 2020 9:08 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

Thank you for helping out @pythoncoder . I'd like to think that I have a bogus module, but I'm resisting to believe it cause the Arduino code works. So what I've done is the following: Flashed the module with the latest firmware. esptool.py --chip esp32 --port com4 write_flash -z 0x1000 esp32-idf3-2...
by ebolisa
Wed May 13, 2020 3:12 pm
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

@pythoncoder Thanks for the confirmation, I've not tried the code on other devices as I don't have an external SD card reader/writer. The ESP32-CAM module has a built in SD card slot so is the one I'm using. It's possible the SPI bus is shared with the camera but @LeMaRiva got it working modifing t...
by ebolisa
Wed May 13, 2020 11:56 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

I think that may be my problem. The sdcard.py library works only on the pyboard and not on the ESP32-CAM module. However, I can assure you that the Arduino code shown here works well on said module.
by ebolisa
Tue May 12, 2020 11:57 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

BTW: This' the Arduino test code which works with this module (ESP32-CAM). #include "FS.h" // SD Card ESP32 #include "SD_MMC.h" // SD Card ESP32 void writeFile(fs::FS &fs, const char * path, const char * message) { Serial.printf("Writing file: %s\n", path); File file = fs.open(path, FILE_WRITE); if ...
by ebolisa
Tue May 12, 2020 9:37 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

Ok, I updated the sdcard.py file with the official code and changed the bit from 1 to -1 with no avail. In both cases (1 and -1) the code stops when reaches this line: sd = sdcard.SDCard(spi, machine.Pin(13)) No errors with the following code which indicates that the SPI is initializing ok: import m...
by ebolisa
Tue May 12, 2020 7:29 am
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

Re: ESP32-CAM Revisited

Hi,

Sorry, I failed to mention in my post that I'm following this procedure https://lemariva.com/blog/2019/09/micro ... hoto-esp32 and the sdcard lib was taken from here https://github.com/lemariva/uPyCam/tree ... pse-camera.
by ebolisa
Mon May 11, 2020 5:01 pm
Forum: General Discussion and Questions
Topic: ESP32-CAM Revisited [SOLVED]
Replies: 20
Views: 17136

ESP32-CAM Revisited [SOLVED]

Hi, I cannot communicate with the board's sd card using Micropython however, it works fine with Arduino's code. The camera works fine with Micropython. I'm probably using the wrong pins but I ran out of ideas. I appreciate any help. TIA PS Yes, the sd card is plugged in and FAT32 formatted. import m...