I have always liked the unique design of Apple devices.
I like it so much that I have been collecting those Apple devices and components that I consider to be significant for years. I’m used to buying them used on eBay at a very low price.
Sometimes I also buy devices that do not work properly or that do not work at all. Lately, I have started to think about how I can turn these collectibles into something useful, so that they will not end up being a paperweight. My latest purchase is an Apple iSight webcam, which I regard as the most beautiful webcam ever made. Browsing the web, I read about a project according to which it is possible to replace the obsolete soul of an Apple iSight webcam with a Raspberry Pi Zero W (ndr max brown). Even though interesting, this was not what I wanted to do. I wanted to do something slightly different. In particular, I started to think that it would be amazing to use it as a security camera. In order to do this, I needed something very small, something that could fit in its cylindrical body. Furthermore, I wanted it to be affordable. I automatically thought of the esp32-cam board, about which I had heard a few years before. It is an extraordinary, small-sized and economical board which can be used in a lot of projects. As a matter of fact, its price does not exceed 5$. Thus, I focused on the features that I wanted my camera to have and after reading some projects on the board, I found an interesting study which explains how to connect telegram, an app that I use on a regular basis, to the camera. I thought that it would be awesome to activate the camera remotely simply by sending a message on telegram, so as to get a photo or a live video displaying what is going on in my house. Therefore, after reading some information on the official website of the project, which you can find here, I simply decided to add a few code strings to it, in order to make it possible to utilize an optional rtsp transmission. I used this code as reference. My project is based on a telegram bot, which you can create and control. For example, you can request the bot to take a picture, to livestream a video, or to turn the flash on. Furthermore, if you create a tunnel with ngrok and change your router’s IP address from dynamic to static, you can stream a live video from your webcam even when you are not at home.
Instruction
2) Follow this guide for generate the only Telegram Bot
3) Load the code in Arduino and flash on the board
Comments
Post a Comment