Camera Recommendations

can someone recommend a cheap camera to use with Hassio? Ideally I would like a pinhole camera or something I can setup with arduino for the learning experience, but i’ll take the cheapest option. The use-case is just to watch my garden, so I don’t have to keep unzipping my tent. lol. Thanks in advance!