<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image]]></title><description><![CDATA[<p dir="auto">I just received my new UnitCamS3 and I was dissatisfied with the built in app, so I tried to program it in Arduino IDE.<br />
(The camera only showed a series of  lo-res images of an increasingly perplexed and annoyed old man)<br />
The specs say 2 megapixel, but the supplied app is only 640x480 (0.3 megapixel).<br />
I cannot find an Arduino sketch that will compile and run and output a 2mp image.<br />
The demo firmware is written for Platformio and I am not interested in installing that and the learning curve.<br />
Is it possible to program with Arduino IDE and achieve 2mp?</p>
]]></description><link>https://community.m5stack.com/topic/6361/unitcams3-trouble-programming-in-arduino-ide-and-getting-2mp-image</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:03:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6361.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Apr 2024 00:36:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image on Fri, 26 Apr 2024 21:13:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Sure, here it is:</p>
<p dir="auto">Here is the full example for all ESP32s using the OV2640 camera in Arduino IDE<br />
(in the IDE board selection choose M5Stack UnitCamS3)<br />
Remember to edit the .ino file to include your WiFi credentials!</p>
<p dir="auto">The full sketch is here:<br />
 <a href="https://github.com/espressif/arduino-esp32/tree/cf448906b3836fbe9368934713b697469254c62f/libraries/ESP32/examples/Camera/CameraWebServer" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/espressif/arduino-esp32/tree/cf448906b3836fbe9368934713b697469254c62f/libraries/ESP32/examples/Camera/CameraWebServer</a></p>
<p dir="auto">You can choose CAMERA_MODEL_ESP_EYE, and apply a little tweak in camera_pins.h like this: <br />
<a href="https://github.com/m5stack/UnitCamS3-UserDemo/blob/main/firmware/src/hal/cam/camera_pins.h#L21" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/UnitCamS3-UserDemo/blob/main/firmware/src/hal/cam/camera_pins.h#L21</a></p>
<p dir="auto">Also in the library used in your sketch<br />
app_httpd.cpp<br />
I had to change Line 77 from ('1" enabled) to ('0' not enabled )</p>
<pre><code>#define CONFIG_LED_ILLUMINATOR_ENABLED 0   
</code></pre>
<p dir="auto">Successful upload serial output reads like this:</p>
<pre><code>20:48:24.952 -&gt; E (516) esp_core_dump_flash: No core dump partition found!
20:48:24.952 -&gt; 
20:48:24.952 -&gt; ......
20:48:24.952 -&gt; WiFi connected
20:48:24.952 -&gt; Camera Ready! Use 'http://192.168.0.37' to connect
</code></pre>
]]></description><link>https://community.m5stack.com/post/24950</link><guid isPermaLink="true">https://community.m5stack.com/post/24950</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 26 Apr 2024 21:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image on Fri, 26 Apr 2024 05:51:28 GMT]]></title><description><![CDATA[<p dir="auto">can you post the link?</p>
]]></description><link>https://community.m5stack.com/post/24945</link><guid isPermaLink="true">https://community.m5stack.com/post/24945</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 26 Apr 2024 05:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image on Fri, 26 Apr 2024 00:57:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> I made an #Issue on the GitHub repository and got patient, expert advice on how to edit the libraries and select the options in the .ino sketch!<br />
Got it working!</p>
]]></description><link>https://community.m5stack.com/post/24941</link><guid isPermaLink="true">https://community.m5stack.com/post/24941</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 26 Apr 2024 00:57:14 GMT</pubDate></item></channel></rss>