Esp32 Mcq

0 views
Skip to first unread message

Bok Wykes

unread,
Aug 5, 2024, 1:05:29 AM8/5/24
to phuymarlita
Hithere. Im new to platformio using esp-idf to program an esp32. Everything seems nice. However, the lack of make menuconfig makes things a bit more difficult. Is there any plans to change this in the near future?

Thanks in advance.


I am unaware of any up coming changes for ESP-IDF, that would allow this, other than the release of Cmake, which they already have done. I think the issue is that PlatformIO is not using the current Cmake build system yet.


When I run pio run -t menuconfig it displays but the up arrow and down arrow keys do not function so I am stuck on the first item. I can open the first item with [enter] and leave it with [esc], other keys work. Any ideas?


My esp23 was working fine running espruino, but after doing some interfacing which seemed to work I now can not connect to it via the ide. I decided to reflash as a similar thing had=s happened before when I used the esp8266, and reflashing sorted it.


Hi thanks for the comments, its a ESP VROOM-32 dev board with boot with two buttons boot and en. I've tried varios combinations of the buttons. when writing or trying to erase with no success. As I mentioned previously it worked without touching these. I checked the 'Actual Flash' section and that implies that this would be the case. So I am of the opinion, I am stuffed.


It's sounding like it really is a brick.

What do you have it connected to?

Chip, power, USB cable?

Other circuits?

Use Voltmeter to confirm 3 Volts. Do the LEDs flash when you plug it in?

Is the USB cable functioning with some other device?

If connected to other circuits can you disconnect and try it?

Certain pins have to be at the correct levels to program the chip.

Some other pins may be used by the SPI mode to talk to the flash chip.


I see that this is an old post, but just wanted to let any future frustrated person with the same problem know this:

I had the exact same problem, and what fixed it for me was to reflow the pins on the esp32 processor itself. Obviously one of the pins had lost connection.


I am really wanting a camera on the MK4 that is not PrusaConnect nor Octoprint. I am thinking of using an ESP32 Cam receiving serial data from the usb-c port initiated from custom layer change GCODE. Upon that command it will snap a picture.


Currently I use programmer board and micro USB connector for power supply. But it's possible use 5V power supply (maybe from USB charger) and connect wire just to board. But for me is very intersting this 3D case (or idea from case) -esp32-cam-housing


Maybe is possible use 5V from printers board. But I didn't research it, and I didn't want to interfere with the printer's board. If the ESP32-cam module fails, I could damage the base of the printer board. I do not like this idea


The SparkFun ESP32 Thing equips the ESP32 with everything necessary to program, run and develop on the wonderchip. In addition to the WiFi SoC, the Thing includes an FTDI FT231x, which converts USB to serial, and allows your computer to program and communicate with the microcontroller. It also features a LiPo charger, so your ESP32 project can be battery-powered and truly wireless. Additionally, the board includes a handful of LEDs and buttons to aid in your development.


Should have paid attention to #1102822's review ("Serious hardware issues - look elsewhere") as I'm seeing exactly the same problems. Wifi bandwidth on this board is about 20x worse compared to the ESP32 -DevKitC (ESP-WROOM-32), using the official iperf example and identical environments (same Wifi network, clients, etc.).This is also hinted at in =3718, with the potential reason being the 26 MHz crystal used on the Sparkfun board. Or maybe it's the antenna design?


Where would you put a power switch to power on or off the device? It seems like the voltage regulator's EN pin is tied to the VIN... So is there another way to turn off the device when not in use, while still charging the battery? Since it's battery powered, it doesn't make sense to have it on 100% of the time having to charge the battery every so hours.


Okay I have gone ahead and taken the plunge. And mine was bought from Micro Center today. The thing performed as expected regarding both WiFi and via the BLE functions.In both cases after sending it the all important blink sketch I needed to hold the reset button down and then release it to trigger a load function to enable it to work further. The big problem is still the classic, where do I go from there.


Is there a way to press the "BOOT" button like other ESP32 boards have? My ESP32 Thing is stuck in a boot loop and I cannot flash new firmware. Most guides recommend holding the BOOT key while uploading but I cannot find it on this board. This board is very nice but I find it surprising that it lacks such a basic feature.


Looking for code examples for this board, the free pfodDesigner app generates code for Wifi, Bluetooth and BLE connections. The pfodDesigner is primarily aimed at supporting pfodApp, but the generated code provides templates you can use yourself.


Has anyone used one of these ESP-32 "Thing"s (or the Adafruit "Feather HUZZAH 32") to talk to Neo-Pixels (aka WS2812) addressable LEDs? (Unfortunately, the DotStar LEDs are not available in formats appropriate to the project I have in mind.)


Happened to find something of an answer over on the Adafruit Forums: it seems that there's a timing issue if you try to drive more than 33 Neo-Pixels from an ESP-32, but it looks like it will work for shorter strings, and there may be a work-around for that limitation. (Fortunately, my project requires fewer LEDs than that!)


I don't know about your first question. To answer your second question, yes you can connect your battery to the VBAT and GND terminals. Plugging a power source into the usb port will charge the battery (the charge light will turn on).


And no analog I/O in the Arduino support yet? Ouch. I think I may put this board back in the "to give away" box until the Arduino IDE support is closer to ready. To reiterate: If a feature isn't supported in the Arduino IDE, it essentially doesn't exist for me.


hi, its been 8 months since the last update on the Github library, I bought 5 of these 4 months ago and still no news on one of the main features ... NO BLE support.When is it going to be available via Arduino libraries provided by developer (you guys) ? Because I still feel like I was ripped of with a product that doesn't provide what it promised ... BLE + WIFI Support.


I'm seeing an issue where the processor falls back into interpreter mode when I connect something to pin 12. After looking at the schematic it looks like this is an MTDI pin which has some special startup purpose? Is there anything I can do to allow me to use this pin?


I had the same error among others. I am using the Arduino IDE on Windows 10 per the instructions on Git. Uploading works by holding down the Pin0 button (or use a switch) until the flashing begins (may be difficult to tell exactly when that is). Then let go (or unswitch) and it should be fine until it's done flashing.


The Espressif CEO mentioned in a Facebook post ( _location=ufi) that the ESP32 and ESP8266 have 5v tolerant GPIO. Can you confirm that this is the case on the ESP32 Thing and a 5V input won't fry anything?


Does anyone else have trouble with the ESP32 chip getting very hot (I've measured at about 46 C max -- painful to the touch within a few seconds) and possibly having flaky behavior because of this? I've had this experience and seen some other anecdotal evidence of this on the ESP32 forums. Thanks, -c


I'm posting this comment in case anybody else tries their ESP32 Thing and wondering the same thing after powering up the board for the first time. It appears to just be the program that's already flashed to the SPI flash chip that is causing the heat issues.Once I've tried out any of the examples in the esp-idf repository the chip no longer heats up, even when using wifi for a long duration. I've experienced this with the two boards I've ordered.


Also best to enable the external 32KHz oscillator (disabled by default) in the make menuconfig and set SPI flash to 80MHz with qio (quad input/output) as default is just 40MHz with dio (dual input/out).


I have the ESP32 Thing and got it working in Arduino IDE. I can down load blink and other Sketches. When I wrote a Sketch for the WS2812B and use getCycleCount(void) for timing cycles it looks like the ESP32 is running at 160MHz instead of 240MHz that is in the default in the Espressif's esp-idf GitHub repository. I selected ESP32 DEV MODULE in Arduino IDE.Any suggestions on how to switch to the faster speed?


My Sketch stops executing after about 45 seconds of running my application. Resetting start it back up for about 45 seconds. The problem looks like it is in the Arduino delayMicroseconds(100); which I call every 1ms. If I replace this with delay(1); or use _getCycleCount() spin delay I do not have a problem.


When i am outputting the Neopixel BitBanger I lock interrupts during the high state to insure timing. I notice that the CPU looks like it stops executing every 1ms for about 8.5us. It does not matter if interrupts are locked or not. This is a show stopper for outputting to Neopixels. Could this have something to do with the second CPU servicing WIFI beacon (every 1ms) and locking I/O inhibiting my CPU from doing GPIOs?


Because of the various uses (male headers for breadboarding, female headers for plugging jumper wires in directly, or just soldering wires and parts directly on the board) we do not include headers on most of our boards.

3a8082e126
Reply all
Reply to author
Forward
0 new messages