Hi all,
I’m a researcher, looking at the effects of various parameters on flow through a system. The process is pretty simple - the lines will be set up with, say, different lengths and diameters of tubing. Then I’ll inject a bolus of fluid and look at how long it takes to pass through. This is repeated at intervals, looking at robustness over time.
Because I have a lot of variables to test, I’d like to set up multiple lines in parallel. They don’t have to all run simultaneously (one at a time is fine), but I can’t really have just one set up for a week, then the next for a week…
The thing will be controlled via a PC interface (probably in python), which will turn on a camera to watch the flow, open a valve, wait until the end of the process is detected (openCV motion detection), then save the results (time, and the video file - possibly more, but that’s a software issue, not the concern here). I’d prefer a USB interface versus WiFi.
The IO for triggering valves and such is fine. It’s the camera that has me stuck. I don’t need much - QVGA should be more than fine (maybe even less, I need to test the limits to be sure), I can probably even live with B&W. But I need one camera per line, and around 25 fps. Duration is typically up to 5 min.
I found the OV7670 modules, thought they’d be awesome. Even found some hints on setting them up so more than one can share data pins, by only turning one on at a time. But it looks like getting the video over to the PC is a problem, limited by microcontroller transfer rates.
I’m not a total newb at this sort of thing - I can cobble together sensors and controllers to get things done (and communicate data across to process it) but this camera thing is a new challenge. Arduinos, which I’m most familiar with, seem obviously out. I thought of a Pi or similar, but I’m not so familiar with them, and couldn’t see much on hooking up multiple cameras. I stumbled on the Teensy 4.1, or a Feather ESP32-S3, thought one of them might work - but lack the depth of knowledge required to figure that out.
Any advice anyone might have on a microcontroller that could be suitable, or pointers to a way to set up a pi or similar, or any other suggested platforms (I’m willing to learn, within reason!) would be really helpful.
Thanks!
I’m a researcher, looking at the effects of various parameters on flow through a system. The process is pretty simple - the lines will be set up with, say, different lengths and diameters of tubing. Then I’ll inject a bolus of fluid and look at how long it takes to pass through. This is repeated at intervals, looking at robustness over time.
Because I have a lot of variables to test, I’d like to set up multiple lines in parallel. They don’t have to all run simultaneously (one at a time is fine), but I can’t really have just one set up for a week, then the next for a week…
The thing will be controlled via a PC interface (probably in python), which will turn on a camera to watch the flow, open a valve, wait until the end of the process is detected (openCV motion detection), then save the results (time, and the video file - possibly more, but that’s a software issue, not the concern here). I’d prefer a USB interface versus WiFi.
The IO for triggering valves and such is fine. It’s the camera that has me stuck. I don’t need much - QVGA should be more than fine (maybe even less, I need to test the limits to be sure), I can probably even live with B&W. But I need one camera per line, and around 25 fps. Duration is typically up to 5 min.
I found the OV7670 modules, thought they’d be awesome. Even found some hints on setting them up so more than one can share data pins, by only turning one on at a time. But it looks like getting the video over to the PC is a problem, limited by microcontroller transfer rates.
I’m not a total newb at this sort of thing - I can cobble together sensors and controllers to get things done (and communicate data across to process it) but this camera thing is a new challenge. Arduinos, which I’m most familiar with, seem obviously out. I thought of a Pi or similar, but I’m not so familiar with them, and couldn’t see much on hooking up multiple cameras. I stumbled on the Teensy 4.1, or a Feather ESP32-S3, thought one of them might work - but lack the depth of knowledge required to figure that out.
Any advice anyone might have on a microcontroller that could be suitable, or pointers to a way to set up a pi or similar, or any other suggested platforms (I’m willing to learn, within reason!) would be really helpful.
Thanks!