mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#esp32cam

0 posts0 participants0 posts today

Машинка на радиоуправлении с одним каналом связи для видеопотока и управления

Ставим себе задачу «Just For Fun»: построить машинку на радиоуправлении с камерой, используя компоненты с AliExpress. Управление и видеопоток с камеры совместить в один канал связи. Управление реализовать без отдельных пультов, с помощью своего интерфейса на пк. Так же реализовать возможность изменять скорость.

habr.com/ru/articles/900724/

ХабрМашинка на радиоуправлении с одним каналом связи для видеопотока и управленияПредставление ИИ о машинке на радиоуправлении с камерой Ставим себе задачу «Just For Fun»: построить машинку на радиоуправлении с камерой, используя компоненты с AliExpress. Управление и видеопоток с...
#esp32#stm32#wpf

Проект Смотритель — удаленно управляемый робот на ESP32-CAM

Разрабатываем робота с нуля - от ИИ-дизайна до полного проектирования и реализации всех компонентов устройства. Зачем? Ради фана, конечно - этот проект практически квинтессенция моих увлечений - электроника, 3d-печать, программирование микроконтроллеров, ИИ и в целом все, что можно включить в сферу DIY. Но если уж придумывать практическое обоснование - то было бы удобно иметь возможность из отпуска покататься по квартире и проверить, выключен ли утюг, не заливают ли квартиру соседи. Но ключевое, конечно - покататься . Поехали

habr.com/ru/articles/898936/

ХабрПроект Смотритель — удаленно управляемый робот на ESP32-CAMРазрабатываем робота с нуля - от ИИ-дизайна до полного проектирования и реализации всех компонентов устройства. Зачем? Ради фана, конечно - этот проект практически квинтессенция моих увлечений -...

#Garden news!
We started a couple dozen seeds the other weekend, mostly peppers. So far the herbs are all popping (purple basil, thyme, etc) but the peppers are shy.
Yesterday something new came up though. Gnats.
:blobcry: Everything is coated in DE now. Cross your fingers for the seedlings pushing through.
The screenshot is part of the Home Assistant dashboard I use to look in on them (
#esp32cam, #miflora and a BLE hygrometer). The seedling kit itself is made mostly with free items off Vine tied to cheap metal shelving.
Pictured are three flats with seedlings (peppers on top and bottom, herbs in the middle) coated in DE "fossil flower". In the opposite corner on the floor are 4 standalone pots holding marigold seeds. Nothing is big enough to be visible on the camera yet.

#homeautomation #gardening

Все мои Ардуинки: часть третья, ESP8266 и ESP32

И снова, уже в третий раз ( здесь у нас первый , вон там второй ) вашему вниманию предлагается моя коробочка с Ардуинками. На этот раз будем извлекать из неё и рассматривать под светом допросной лампы платы на микроконтроллерах ESP8266 и ESP32. Также изучим краткую историю появления этих контроллеров, некоторые их особенности и роль в мировой революции место в экосистеме Arduino.

habr.com/ru/companies/ruvds/ar

ХабрВсе мои Ардуинки: часть третья, ESP8266 и ESP32И снова, уже в третий раз ( здесь у нас первый , вон там второй ) вашему вниманию предлагается моя коробочка с Ардуинками. На этот раз будем извлекать из неё и рассматривать под светом допросной лампы...

Yesterday was definitely a neutral-karma day. On the good side, I got the #prusa online again with still more redesigned parts. (Another new filament detector, one that works like pre-MMU stock. Link below.) It is still attached to an #mmu2 with only one sorta-working slot, but it is better than nothing.

On the flip, I broke yet another $%_* SD card when the pi fell out of it's case. The
#raspberrypi has always felt intentionally designed to snap cards in half. I guess the next project is multi-instance #octoprint. (Lol "octo" you'd think it could handle 8 printers. Or just 2. But no, the official answer is "human time counts a lot, so buy more raspberry pis instead". I guess the amplified maintenance time and effort from hundreds of users doesn't count. It is easy enough to run multiples with docker, but they end up as pets instead of cattle.)

I also managed to "test" the P1S power fail recovery and it was PERFECT. (I think it skipped about 3" of an infill line.) Why did I test it? Because I was moving stuff around finding Prusa parts and the workshop is still on a light switch..
🤦 So the first Prusa print was a switch cover. (I got the 10 prints cancelled award along the way but eventually, acceptable success.)

This morning I went to print a quick
#gridfinity battery holder and wow! The P1S can get it done in a pretty reasonable 3 hours, but the Prusa will take 3 times as long, 9 hours. Same settings, using the default 'standard' profile, generic PLA, etc. (It isn't the slicer; Orca is within a minute of PrusaSlicer.) I expected the Prusa to be slower and planned to let it take it's time building small objects, but I was also hoping to be done before the Extinction.

Also surprising yesterday was the quality difference between Prusa original factory parts and the ones I casually printed on the P1S. I get that the factory parts are never going to be as clean as reprints, but this was night and day different. As much as I hate the nightmare nature of the BambuLabs software, it is without a doubt excellent hardware.

Now I'm off to solder power to this espcam and hw-468 because I don't trust the Prusa without machine oversight (self-hosted spaghetti detective.)

www.printables.com/model/275550-no-chimney-mmu2s-mod-super-easy-fs-calibration plus www.printables.com/model/799165-no-chimney-mmu-mod-remix

#3dprinter #3dprinting #bambulabs #p1s #octoprint #esp32 #esp32cam #espcam @3dprinting #prusa #mk3s #homelab #obico #spaghettidetective

www.printables.comPrintables

ESP32-CAM soll ja ganz einfach sein.

Ich habe lastminuteengineers.com/gettin befolgt.

Jetzt bekomme ich einen Fehler beim Kompilieren eines simplen Blink-Skripts:

import serial
ModuleNotFoundError: No module named 'serial'
exit status 1
Error compiling for board AI Thinker ESP32-CAM.

Habe den Eindruck, dass es an der Python-Installation unter Debian bookworm liegen könnte.

🤔

#esp32cam #esp32

:BoostOK:

Last Minute Engineers · Getting Started With ESP32-CAM: A Beginner's GuideA complete ESP32-CAM beginner's guide, covering hardware overview, pinout, programming with FTDi and ESP32-CAM-MB adapter, video streaming example code.

Boost appreciated 🙂

Does anyone have the #Rollei 372 #actioncam ? In wifi, can it be connected without the manufacturers app? Is there RTSP or a webserver or similar?

Anyone aware of a similarly cheap action cam that can be accessed vendor-independently via wifi?

I know an #ESP32cam and a power bank will do the job but I am looking for something more robust with less tinkering :-/

Link to the original blog post with a nice text/pictures layout.

The problem:

  • I want to see what’s happening around the house, especially if the dog is naught and digging holes.
  • Actually, there is no problem. I just like to tinker.

The solution:

HW parts:

  • esp32 cam (I ordered the variant with USB hat and external antenna)
  • 3Dprinted enclosure
  • USB cable and power supply

SW:

The process:

The camera comes with internal and external antenna. To use the external antenna, a resistor must be resoldered (instructions).

  1. I re-soldered a tiny resistor near the antenna connector to switch the antenna from internal to external. It would be great if the board producer used some kind of jumper instead. I know, the costs.

It took me quite some time and burned fingers to solder a resistor. It’s probably the size of 0603 (metric). Here’s the photo under a magnifying glass, red circle:

2. Then I searched for the appropriate case on Printables. I liked this 3dmodel, because it has a stand and a hole for the antenna. I used some remaining filaments of various colours:

I had to enlarge (using a special technique involving a hot drill) the bottom-right hole because the onboard LED on my board was slightly shifted:

4. I flashed the board with ESPHome firmware (actually I did it before the assembly). I used an online flasher. I had some issues – I still don’t know which button to hold during the start of the board (left or right). Anyways, after some retries flashing succeded.

ESPHome configuration

Then I searched for various pieces of code on the ESPHome community forums and blogs (1, 2, 3) and came up with this:

ESP32-Cam exposes the following entities:

  • a camera
  • a switch (for the white LED)
  • a switch (for the red status LED)
  • a slider (for the white LED brightness)
  • a switch (for restarting a board)
  • a binary sensor (for the status of the board).

+ it is accessible as a web server on port 8080 (stream) and 8081 (still pictures).

The ESPHome yaml code to achieve above functionalities:

... skipping the first part, wifi connectivity, substitutions etc.esp32_camera:  id: espcam  name: esp-cam  external_clock:    pin: GPIO0    frequency: 20MHz  i2c_pins:    sda: GPIO26    scl: GPIO27  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]  vsync_pin: GPIO25  href_pin: GPIO23  pixel_clock_pin: GPIO22  power_down_pin: GPIO32  resolution: 1280x1024  jpeg_quality: 10  # max. 63  max_framerate: 10.0fps  idle_framerate: 0.1fps  vertical_flip: False  horizontal_mirror: false  brightness: 2 # -2 to 2  contrast: 1 # -2 to 2  special_effect: none  # exposure settings  aec_mode: auto  aec2: false  ae_level: 0  aec_value: 300  # gain settings  agc_mode: auto  agc_gain_ceiling: 2x  agc_value: 0  # white balance setting  wb_mode: autoesp32_camera_web_server:  - port: 8080    mode: stream  - port: 8081    mode: snapshotoutput:# white LED  - platform: ledc    channel: 2    pin: GPIO4    id: espCamLED# red status light  - platform: gpio    pin:      number: GPIO33      inverted: True    id: gpio_33light:  - platform: monochromatic    output: espCamLED    name: esp-cam light  - platform: binary    output: gpio_33    name: esp-cam ledswitch:  - platform: restart    name: esp-cam restartbinary_sensor:  - platform: status    name: esp-cam status   #slider for lednumber:  - platform: template    name: Camera Led Slider    optimistic: true    min_value: 0    max_value: 100    step: 1    mode: slider    on_value:      then:        lambda: 'id(espCamLED).set_level(x/150);'

Home Assistant

I’ve set up a simple dashboard in Home Assistant that shows idle preview (0.1 fps), uptime, switches for white LED and status led and a slider for adjusting white LED.

The image below shows various statuses related to the ESP32 board, like restart switch, firmware, connection status, IP, firmware version and WIFI signal (the code above does not include these entities).

Conclusions/Key takeaways

Except the soldering, this DIY camera is not too difficult to build.

The image quality is ok-ish (1600×1200).

The framerate is okay-ish for special purposes (e. g. door camera, environment camera). I get about 3-5fps in my case (different floor than the wifi router).

TODO

What still remains is:

  • I’d like to adjust the brightness etc. on the fly (without recompiling the firmware), but I didn’t find the appropriate .yaml code for it.
  • integration in MotionEye (for recording the videos and motion detection) or Frigate (for object detection). I tried to integrated it to MotionEye, but it is very slow or the stream is mostly broken.

Disclaimer

The links to the products are not affiliate links and I don’t receive any compensation for linking.

The code and the ideas are mostly from HomeAssistant and ESPHome community forums.

Hashtags: #esphome #esp32cam #homeassistant #diy

https://blog.rozman.info/homemade-esp32-webcam/