Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32 Cam implementation #182

Open
kleffa opened this issue May 28, 2024 · 5 comments
Open

esp32 Cam implementation #182

kleffa opened this issue May 28, 2024 · 5 comments

Comments

@kleffa
Copy link

kleffa commented May 28, 2024

anyone have pinout to conect SD to boards or it can be setup by thae code?
Im trying to flah it to a esp32cam, wich comes with a SD card slot, but not sure if pins are already

@probonopd
Copy link
Owner

Good idea to use the esp32cam due to its built-in SD slot. I don't think I have tried using it so far.

Probably you would have to adjust

SPI.begin(14, 2, 15, 13); // TTGO-T1 V1.3 internal microSD slot

to match the esp32cam.

@kleffa
Copy link
Author

kleffa commented May 30, 2024

it should be
SPI.begin(14, 12, 13, 15); // esp32cam built in microSD{
what I'm doing wrong? by now SD is not working... what happend with GPIO 4 and GPIO 2? those should

by now werbserver and octoprint plugin work, some comunication to printer... but doesnt show ip on screen and webserver didnt show printers name (any idea?)
I tried the last relase of a wemos D1, it show ip and SPIFFS, some kind of work, but when send print from pc, it just say terminated, so I´m not sure if has point???

here some changes I had made to work serial

in ESP8266Wiresprint...ino I make this
#define LED_BUILTIN 33
HardwareSerial PrinterSerial(0); //esp32 cam only have this
PrinterSerial.begin(serialBauds[serialBaudIndex], SERIAL_8N1, 3 ,1 ); // gpio3 = rx, gpio1 = tx

werbserver works and get response from printer, EX
Free heap: 197268

File system: SPIFFS
Filename length limit: 11
Uploaded file: cached.gco
Uploaded file size: 272477

Last command sent: M115
Last received response: 0x400805f0"ok

also set definitions for this things to exchange for TTgoT1 or simple make changes for other esp32 models

@kleffa kleffa changed the title SD Pinout? esp32 Cam implementation May 31, 2024
@probonopd
Copy link
Owner

Actually now I vaguely remember that I had looked at this some time ago and had concluded that the pinout of th ESP32Cam wasn't compatible. Don't remember the details though, and I might be wrong, so please take with a grain of salt. Anyhow, I don't know how to make it work on this board.

@kleffa
Copy link
Author

kleffa commented Jun 2, 2024 via email

@probonopd
Copy link
Owner

So do we agree that it is not possible with this hardware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants