<?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[TOF CAM Sensor]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">can M5Stack "talk" serially with <a href="https://www.espros.com/downloads/02_Cameras_and_Modules/Installation_and_Operation_Manual_TOFCAM635.pdf?fbclid=IwAR1GULRETt4xHPXNqR6cUo__23p22xEeJSrJPg-BDx6FgGk2MjSn_KJUwiw" target="_blank" rel="noopener noreferrer nofollow ugc">this sensor</a>?</p>
<p dir="auto">datasheet say it needs a TTL UART interface:</p>
<p dir="auto">Baud rate 10 Mbit/s 1 bit = 0.1 µs<br />
Start bits 1 Bit low active<br />
Data 8 Bit<br />
Stop bits 1 Bit high active<br />
Parity No<br />
Voltage level LVTTL 3.3 V</p>
<p dir="auto">happy new year!!!</p>
]]></description><link>https://community.m5stack.com/topic/1566/tof-cam-sensor</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 19:47:33 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1566.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Dec 2019 18:02:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 12:34:32 GMT]]></title><description><![CDATA[<p dir="auto">You need just one Serial;<br />
Serial.begin(10000000);<br />
//connect to proper TX&lt;&gt;RX pins of M5Stack</p>
<p dir="auto">For proper debug you can connect sensor with any USB&lt;&gt;UART board and try to run it with any  terminal software (I use TeraTerm)</p>
<p dir="auto">If you want to debug derictly with M5Stack you will need Serial2 as your example shows, but keep in mind that if its a software serial, such high speed wont work properly most likely</p>
]]></description><link>https://community.m5stack.com/post/6845</link><guid isPermaLink="true">https://community.m5stack.com/post/6845</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Thu, 02 Jan 2020 12:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 11:44:09 GMT]]></title><description><![CDATA[<p dir="auto">the sensor want:</p>
<p dir="auto">Baud rate 10 Mbit/s 1 bit = 0.1 µs<br />
Start bits 1 Bit low active<br />
Data 8 Bit<br />
Stop bits 1 Bit high active<br />
Parity No<br />
Voltage level LVTTL 3.3 V</p>
<p dir="auto">can I try something like that?</p>
<pre><code>
#include &lt;M5Stack.h&gt;

#define RXD2 16
#define TXD2 17


void setup() {

  Serial.begin(115200);
  Serial2.begin(10000000, SERIAL_8N1, RXD2, TXD2); 
  Serial.println("Serial Txd is on pin: " + String(TX));
  Serial.println("Serial Rxd is on pin: " + String(RX));

}

void loop() { 
  while (Serial2.available()) {
    Serial.print(char(Serial2.read()));
  }
  }



</code></pre>
]]></description><link>https://community.m5stack.com/post/6844</link><guid isPermaLink="true">https://community.m5stack.com/post/6844</guid><dc:creator><![CDATA[cepics]]></dc:creator><pubDate>Thu, 02 Jan 2020 11:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 08:48:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/935">@cepics</a> should work with serial.begin(params)<br />
Then use any com port software, teraterm or termite and try to "talk" with sensor</p>
]]></description><link>https://community.m5stack.com/post/6840</link><guid isPermaLink="true">https://community.m5stack.com/post/6840</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Thu, 02 Jan 2020 08:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 07:51:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> tnks for answering ..</p>
<p dir="auto">for the moment I need just to send/receive commands/response serially....</p>
]]></description><link>https://community.m5stack.com/post/6839</link><guid isPermaLink="true">https://community.m5stack.com/post/6839</guid><dc:creator><![CDATA[cepics]]></dc:creator><pubDate>Thu, 02 Jan 2020 07:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 07:45:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1795">@thrasher</a> I'm in Arduino environment ..</p>
<p dir="auto">How can I set up a serial communication with this sensor?</p>
<p dir="auto">tnks a lot</p>
]]></description><link>https://community.m5stack.com/post/6838</link><guid isPermaLink="true">https://community.m5stack.com/post/6838</guid><dc:creator><![CDATA[cepics]]></dc:creator><pubDate>Thu, 02 Jan 2020 07:45:53 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Thu, 02 Jan 2020 07:41:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/700">@lukasmaximus</a> I'm talking about this sensor module: <a href="https://www.espros.com/photonics/tofcam635/" target="_blank" rel="noopener noreferrer nofollow ugc">TOF&gt;cam 635</a> I need to talk with it serially. is it possible?</p>
]]></description><link>https://community.m5stack.com/post/6836</link><guid isPermaLink="true">https://community.m5stack.com/post/6836</guid><dc:creator><![CDATA[cepics]]></dc:creator><pubDate>Thu, 02 Jan 2020 07:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Wed, 01 Jan 2020 14:56:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/935">@cepics</a> code probubly doesn't exist for it as the tofs are VL53 based.</p>
]]></description><link>https://community.m5stack.com/post/6827</link><guid isPermaLink="true">https://community.m5stack.com/post/6827</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 01 Jan 2020 14:56:41 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Wed, 01 Jan 2020 14:03:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi, according to datasheet it can.<br />
I mean, ESP32 which is M5stack based on can</p>
<p dir="auto">However, it needs to be tried with UIFlow.</p>
<p dir="auto">Can do with Arduino / Micropython most likely</p>
]]></description><link>https://community.m5stack.com/post/6826</link><guid isPermaLink="true">https://community.m5stack.com/post/6826</guid><dc:creator><![CDATA[Thrasher]]></dc:creator><pubDate>Wed, 01 Jan 2020 14:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to TOF CAM Sensor on Wed, 01 Jan 2020 13:50:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi just want to clear up if you are talking about the tof hat for stick c or the tof unit?</p>
]]></description><link>https://community.m5stack.com/post/6825</link><guid isPermaLink="true">https://community.m5stack.com/post/6825</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Wed, 01 Jan 2020 13:50:39 GMT</pubDate></item></channel></rss>