r/esp32 • • 6d ago

Hardware help needed IR module camera for monitoring pellets

hello! I am looking for a ESP32-CAM module with an OV2640 camera that works with IR. I need to install inside my boiler room pellet storage so that I can remotely check in on the level of the pellets.

I found this on Amazon: https://www.amazon.co.uk/gp/product/B08X3GRK22?th=1

Where can I find the corresponding IR camera for this? I am a bit of a noob in this matter, so any help would be appreciated. I will then use AI to guide me on the software side.

Thanks!

1 Upvotes

12 comments sorted by

1

u/Western_Rhubarb_7959 5d ago

I'll be one of THOSE guys, lol....why do you need to use IR?

I'm guessing because there's no/low light? If so, some ESP32 cams modules i got from Micro Center have a built-in LED that may be enough for you. My DILTGDO uses one and the LED isn't quite enough to light up the whole garage but it's enough to see if the doors are opem.

DILTGDO = Did I Leave The Garage Door Open, lol

1

u/Puzzleheaded-Tiger-5 5d ago

They come with built in LEDs? Might be the solution, yeah. Can the module be bought separately?

1

u/Puzzleheaded-Tiger-5 5d ago

Ah also I thought of IR as it won't be a risk for overheating, as the LED would always stay on

1

u/Western_Rhubarb_7959 5d ago

I reckon you don't need the LED to always stay on, it only needs to be on when someone is connecting to take a look.

1

u/Puzzleheaded-Tiger-5 5d ago

Oh that's cool! Is the led on the same side of the camera?

1

u/Western_Rhubarb_7959 4d ago

I gotta chuckle....why would it be on any other side? <socks OP on shoulder> See pic below.

Arduino IDE has spiffy built-in example code that will set one320.

of these up to run a web server that lets you tweak a gazillion adjustments, one of which is the brightness of the flashlight LED. You just need to select your particular board in one of the files (you uncomment the line for your board)

The boards I got from Micro Center need something separate to power them (duh, hear me out) whereas some ESP32-CAM boards I got from Ali are all-in-one and have USB-C ports that make life a little easier. Not that adding a little USB adapter board is difficult, for an ESP32-CAM it's only 2 wires.

Something else to consider is if you will need an external antenna or not. I'm a bit surprised at the range I get from the built-in antenna but am fixinta use external. To use the external antenna a "zero-ohm resistor" (the term pains me, i call those jumpers) needs to be moved from one set of pins to another. I can only put one pic in a reply, 2nd reply pending.

1

u/Western_Rhubarb_7959 4d ago

Antenna jack is the round thing, the "zero-ohm resistor" <cough, JUMPER> is circled. I can't remember which position is which, I believe it needs to be moved from / to \ and lemme tell ya, those things are tiny.

1

u/Comm_Raptor 5d ago edited 5d ago

Be better to to use ultrasonic https://shillehtek.com/products/jsn-sr04t-waterproof-ultrasonic-distance-sensor-arduino-esp32

Edit to say the ultrasonic can give you a tangible reading, rather than an image for review.

1

u/Puzzleheaded-Tiger-5 5d ago

Thanks for this. Only issue is that the hopped is sloped, so the pellets tend to form a sort of ramp rather than a flat surface. It would be a nightmare to read.

1

u/rattushackus 1 say I make awesome posts. 5d ago

I don't know of any IR camera that will work with a board intended for an OV2640 camera.

IR cameras are generally expensive. The cheapest I know of is the MLX90640 but that's very low resolution (32 x 24) and it's still around £25 in the UK.

If you really need a camera then I'd agree with the suggestion in another answer of adding an LED to provide illumination. You can turn on the LED from your program so it's only on when needed. Alternatively use some form of distance sensor to measure the pellet level. Perhaps a LIDAR sensor like the VL53L0X.