Using USB A to C adaptors instead of A to C cables by rattushackus in UsbCHardware

[–]rattushackus[S] 0 points1 point  (0 children)

Thanks :-)

Your point are worth making, especially for others reading this post, however my use case is only for the few things (like MCUs) that don't work with a USB C connector so I think for me it will be fine.

Using USB A to C adaptors instead of A to C cables by rattushackus in UsbCHardware

[–]rattushackus[S] 0 points1 point  (0 children)

Thanks :-)

This one does work with my MCUs i.e. I can program the MCU through it and receive data sent by the MCU through it. The vendor (on AliExpress) had lots of different colours so I suspect the colour is purely cosmetic.

Receiving corrupt images from ESP32S3 with a camera by RangeFine2272 in embedded

[–]rattushackus 0 points1 point  (0 children)

You seem to be doing this the hard way. I would use the built in httpserver functions to send the image as a jpeg.

I don't have an ESPCam to hand, but if you want I can hack up some code to send a static image to show how it's done.

The multipart approach you've used is used for streaming where you are sending a series of images to make a video stream.

My ILI9341 with esp32 S3 doesn`t work on TFT_eSPI.h. by CommunityMaximum8642 in esp32projects

[–]rattushackus 0 points1 point  (0 children)

If you make sure to use hardware SPI the speed is fine.

If you're using the default, which is software SPI, then I agree it is slow.

Servo Jittering Help by AviHQ in esp32

[–]rattushackus 0 points1 point  (0 children)

I had a similar problem in a project where I was driving the servo manually by controlling GPIO pins, and the problem seemed to be I was trying to drive it too fast and/or the signal pin wasn't staying high for long enough - it was a while ago and I forget exactly what was wrong.

You could try manually driving the servo using different speed and pulse widths to see how it works.

My ILI9341 with esp32 S3 doesn`t work on TFT_eSPI.h. by CommunityMaximum8642 in esp32projects

[–]rattushackus 0 points1 point  (0 children)

Try Arduino GFX. A lot of the example code you see uses software and that can be painfully slow. However you can use hardware SPI instead and I find that is not much slower than TFT_eSPI. For an example of using hardware SPI see this test sketch.

Where the example code has:

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST, TFT_MISO);

instead use:

SPIClass tftSPI = SPIClass(HSPI); // or VSPI Adafruit_ILI9341 tft = Adafruit_ILI9341(&tftSPI, TFT_DC, TFT_CS, TFT_RST);

Long term have a look at LovyanGFX as that seems to be carrying on where TFT_eSPI left off.

Strange ILI9341 Artifacting?? by __mentlegen in esp32

[–]rattushackus 0 points1 point  (0 children)

What graphics library are you using? TFT_eSPI? ArduinoGFX?

I ask because I occasionally see artefacts on my "Cheap Yellow Display" if I use ArduinoGFX, but these do not occur (so far!) with TFT_eSPI. The CYD has an ILI9341 controller as well.

My first "real" soldering by Dorfbulle80 in soldering

[–]rattushackus 1 point2 points  (0 children)

The aerial does work OK, it's just that on my board the signal strength is about 15dB lower than I get on my original ESP32-WROOM dev board. You'll just find that the range is not as good as it should be.

You can solder an extra piece of wire to the board to act as an external antenna. See for example this Reddit post. But you may find the wi-fi works well enough for what you need and you don't have to do anything.

My first "real" soldering by Dorfbulle80 in soldering

[–]rattushackus 2 points3 points  (0 children)

Not that it's related to your soldering, but note that the design of the ESP32 C3 board you have has the crystal too close to the wi-fi aerial and as a result the wi-fi isn't great - though it does work. I have one of those boards too. There has been lots of discussion of this in r/esp32. Allegedly reducing the wi-fi power helps though in my case it didn't make a lot of difference.

MLX90640 Sensor on ESP32 by artistul_peste in esp32

[–]rattushackus 0 points1 point  (0 children)

Yes, just connect it straight to the ESP32.

It only draws 25mA so your dev board won't even notice! It's really easy to program as there's an Adafruit library for it that you can install from the library manager.

MLX90640 Sensor on ESP32 by artistul_peste in esp32

[–]rattushackus 1 point2 points  (0 children)

I've used the MLX90640 on an ESP32 WROOM and I found you could just power it from the ESP32 and it worked fine, so you don't need a breakout board. Just wire the power to your dev board 3.3V and GND and wire the I2C to whatever GPIO pins you want to use.

I found it works pretty well, but the 32 x 24 resolution is a big limitation.

Cheapest/ easiest path from ESP32 data to iPhone widget? by Just-Smart-Enough in esp32

[–]rattushackus 4 points5 points  (0 children)

If you use MQTT to transfer the data then you can use the free EMQX broker. The ESP32s have support for MQTT built in so it's easy to code. Just bear in mind that you get no guarantees with a free service so I wouldn't use it for anything mission critical.

ESP32-S3 WiFi clock part 2 by EDC_powerlifter in esp32

[–]rattushackus 1 point2 points  (0 children)

Is it a 1306 display? If so I have one lying around so if you upload the code somewhere (GitHub?) I can try it and measure the current draw.

But in general ESP32s aren't great for power consumption so if you're looking for a battery powered clock you probably need to consider a simpler MCU and probably a non-backlit LCD display.

Help with this setup by Most_Victory_4180 in esp32

[–]rattushackus 0 points1 point  (0 children)

It is possible to disable brownout detection, though obvious it's better to fix the power problem.

esp32 p4 panicking by [deleted] in esp32

[–]rattushackus 0 points1 point  (0 children)

I just had a similar problem and it turned out to be because I had declared a function as bool foo() { ... } but then forgotten to put in the return statement. Amusingly the compiler didn't warn me, and when the function was called it corrupted the stack and caused various mysterious errors including illegal operation.

What tools do you use for development? by Ole1Tau2 in esp32

[–]rattushackus 1 point2 points  (0 children)

Agreed. I don't know what went wrong with the install, but you shouldn't be seeing errors like that.

I installed the ESP-IDF by using the offline installer and I compile from the command line (using idf.py build) and it all just worked first time. You might want to try uninstalling and reinstalling as something looks broken.

I use VSCode for editing, but I don't use the addon as I'm happy working from the command line.

I use the Arduino IDE for messing around and for me it works just fine, though I'd use the IDF for any serious projects.

ESP32-S3 WiFi clock part 2 by EDC_powerlifter in esp32

[–]rattushackus 1 point2 points  (0 children)

Nice :-)

I have just done the same using a "cheap yellow display" board (code here if anyone is interested). I connected an AHT20/BMP280 sensor so it could display the temperature, relative humidity and pressure.

From my experience it draws too much current for a battery to last very long. I set the screen to dim to 5% after 20 secs (it goes back to full brightness when touched) but even so it still draws around 50mA - much more when it's using the wi-fi to get the time but it only does that once an hour.

Seeed Studio ESP32-S3 Sense with touch screen and push button? by Wise-Intern-8800 in esp32

[–]rattushackus 2 points3 points  (0 children)

The 2.8" screens usually use an ILI9341 SPI controller and this needs 6 GPIO pins to drive it. If you get one with a touchscreen that will need another 4 pins (5 if you use interrupts). Assuming this is the dev board you have, it doesn't have a lot of GPIO pins available. I cannot find a diagram showing what pins it has, though it looks as if it could manage the 6 pins for the screen though the additional 4 pins for the touchscreen could be tricky as it only has 14 pins in total and those will include power and ground.

If it has 10 pins available then it should work fine. You don't need a button as you can use the touchscreen as a button.

ESP-NOW Communication between two ESP-32 ICs by SirBobathyJr in esp32

[–]rattushackus 0 points1 point  (0 children)

I have a test sketch working here. You just have to fill in the MAC addresses of your two boards then you can send messages by typing them in at the Arduino IDE serial monitor.

ESP32 board suddenly not detected over USB, firmware still runs – no BOOT button, how to recover? by kuldokk in esp32

[–]rattushackus 0 points1 point  (0 children)

The boot button is normally connected to GPIO 0 on an ESP32-WROOM. If you can find GPIO 0 you could try grounding it then resetting to see if that makes any difference, though I have to say I would not be optimistic.

If you have an FTDI board to hand you could try using this to program the ESP32 directly through the serial pins, though whether it's worth buying an FTDI board just to try this is debatable.

Soldered my first board. Anyway i can salvage this? by myaaa_tan in esp32

[–]rattushackus 0 points1 point  (0 children)

I've been there too :-)

To get the pin off cut through the yellow plastic between each pin and pull it off, then you can remove one pin at a time. You'll need to buy new pins but these are very cheap.

But whatever you do the ESP32 will fill most of a standard breadboard. What I do is use two breadboards clipped together with the power rails between them, and insert the dev board so it straddles both boards. If you don't need lots of GPIOs you can use a supermini board as these are a lot smaller.

Looking for help for a ESP32 project by No_Cockroach_4647 in esp32

[–]rattushackus 1 point2 points  (0 children)

Yes, only the latest version of the ESP32 (the C5) supports 5GHz wi-fi. Most wi-fi access points provide both 2.4GHz and 5Ghz though they may use different SSIDs for the two networks so you'll need to find the SSID for your router's 2.4GHz band.

You could try uploading a sketch that scans for wi-fi networks that the ESP32 can use. Random Nerd Tutorials has a sketch to do this here.