Close

Logitech C270 is not good for the project

A project log for rEmotion – a Module with Visual Input and Output

Robotic head for robotic enthusiasts

andrei-gramakovAndrei Gramakov 09/25/2024 at 19:440 Comments

So, it is turned out, that C270 does not implement the MJPEG format properly. As a result, ANY library using libjpeg will tell you about it  every time when it is trying to decode a frame. 

The issue can be easily suppressed if you patch your libjpeg with a single line change, but in that case you have to patch exactly the same library that is used by your other libraries, or you might have a problem like this: 

These complications are solvable every time, but the project is meant to be build easily (or at least as easy as possible), so I've dug into other simple solutions. The result is simple - replace C270 but with what? As I discovered. Logitech has several cameras with a similar PCB design which makes them mechanically interchangeable. They are C270, C310, C505 and probably Brio 100 plus Brio 105:

C270 C310 C505 Brio 100Brio 105
Webkamera Logitech C270Logitech Hd Webcam C310 (pc)HD webkamera Logitech C505e / 720p/30fps / černá | Externí s integrovaným mikrofonemLogitech Brio 100 černá / webkamera / 1920 x 1080 / USB 2.0Logitech Brio 100, Graphite

So I can suggest you to try any of them besides C270, but I've bought C310 and got a super simple update. In the future I might to replace it with something else with FullHD. Here are two PCB near each other:

The assembly manual is updated https://www.hackster.io/an-dr/remotion-robotic-platform-0e8301#toc-extension-module---camera--logitech-c310---c505--brio-100-4

Discussions