<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[CANNY logic forum — create a simple frame]]></title>
	<link rel="self" href="https://forum.cannylogic.com/extern.php?action=feed&amp;tid=7&amp;type=atom" />
	<updated>2018-10-12T18:25:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.cannylogic.com/viewtopic.php?id=7</id>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=751#p751" />
			<content type="html"><![CDATA[<p>OK this time, it&#039;s good that it works in both directions and immediately.<br />Thank you again for your help.</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-10-12T18:25:23Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=751#p751</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=750#p750" />
			<content type="html"><![CDATA[<p>The TX and RX levels for Nextion is 3.3v<br />So please slightly change your schematic (see attachment)<br />Also, this model of levels converter have internal pull-ups, so is not necessary to use Pulled-up UART configuration for CANNY 7.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-10-12T12:57:35Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=750#p750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=749#p749" />
			<content type="html"><![CDATA[<p>Hello,<br />Sorry, but I do not have the hardware to make diagrams with an oscilloscope.<br />Here is where I bought the logic converter: <a href="https://fr.aliexpress.com/item/5PCS-IIC-I2C-Logic-Level-Converter-Bi-Directional-Module-5V-to-3-3V-For-Arduino/32216849765.html?spm=a2g0s.9042311.0.0.27426c37AIUVL8" target="_blank">https://fr.aliexpress.com/item/5PCS-IIC … 6c37AIUVL8</a></p><p>You will find in the following link the information of each Canny7, as well as the programs of Nextion and Canny 7. The wiring diagram.</p><p><a href="https://www.dropbox.com/sh/v3o03oesdphht13/AABHhInyi8ReW36iA1GNPVsoa?dl=0" target="_blank">https://www.dropbox.com/sh/v3o03oesdphh … PVsoa?dl=0</a></p><br /><p>I tried to change the Pulled-UP UART configuration, but that does not change anything.</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-10-12T08:17:35Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=749#p749</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=748#p748" />
			<content type="html"><![CDATA[<p>It&#039;s extraordinary.<br />Oscillograms would help a lot. A lot.<br />Anyway, Can you provide a Canny&#039;s diagram, Nextion project, your logic converter product page link/docs, and your wiring diagram with ALL connections of ALL devices include ALL signal and ALL power connections, please? We will try to reproduce your situation in our lab. You may be sure, we will provide a solution or will replace your hardware after all. </p><div class="quotebox"><blockquote><p>I point out that this is the same wiring and the same program.</p></blockquote></div><p>Also, please provide the CannyLab Main menu-&gt;Device-&gt;Information screenshots for each controller.</p><p>But before all: if you use logic converter without internal pull-ups, you need to setup Pulled-up UART configuration for CANNY 7</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-10-11T21:51:16Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=748#p748</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=747#p747" />
			<content type="html"><![CDATA[<p>Hello,<br />Sorry to come back so late.<br />But I still have communication problems between Canny 7 and Nextion.</p><p>I have several problems:<br />Video 1, Canny 7 Old Components: <a href="https://www.dropbox.com/s/couubvuoielt74l/Video%201%2C%20Canny%207%20Old%20Components.mov?dl=0" target="_blank">https://www.dropbox.com/s/couubvuoielt7 … s.mov?dl=0</a><br />After feeding 12 V, the Nextion sends a message continuously to Canny 7, as soon as the message is received, the Canny 7 returns another message to the Nextion.<br />Canny 7 - »Immediate -» Nextion<br />Nextion - »Temperature 40 ° of Canny 7 -» Canny7<br />Once the Canny7 is at temperature, the communication works instantly.</p><br /><p>Video 2, Canny 7 new components: <a href="https://www.dropbox.com/s/ngotod57bztnmce/Video%202%2C%20Canny%207%20new%20components.mov?dl=0" target="_blank">https://www.dropbox.com/s/ngotod57bztnm … s.mov?dl=0</a><br />There is no communication in the direction Nextion to Canny 7.<br />Canny 7 - »Immediate -» Nextion<br />Nextion - »X -» Canny7</p><p>I point out that this is the same wiring and the same program.<br />On the cabling, I used a logic converter that allows Canny 7 communication to Nextion (Video 2 only), but not the other way around.</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-10-11T14:54:32Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=747#p747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=736#p736" />
			<content type="html"><![CDATA[<p>Congratulations!<br />Thanks that reported that the problem is solved, it&#039;s important.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-09-20T16:03:52Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=736#p736</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=735#p735" />
			<content type="html"><![CDATA[<p>Hello ,<br />OK, it worked with the data converter.<br />Thank you again for your help.<br />cordially</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-09-20T06:45:25Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=735#p735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=734#p734" />
			<content type="html"><![CDATA[<p>As I say before - the 3.3V signal is on the edge of controller&#039;s sensitivity. The parameters of individual controller instances on the edge of sensitivity may slightly vary. I see you did not attempt to check the channels as I advised you. So, please check the operation of the controller channels using the attached diagram. Upload the attached diagram to the controller, connect power to the controller and short-circuit the controller ch 9 and ch 10 to each other but do not connect display to it. Observe the LED for 10 seconds or so. If the green LED turns on twice and red twice&nbsp; and so on - the channels are working. In this case, just use a level converter to connect the 3.3V display to the controller as I advice you before.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-09-18T21:13:35Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=734#p734</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=733#p733" />
			<content type="html"><![CDATA[<p>My oscilloscope does not work, it is down.</p><p>It worked on a Canny 7, but not on the other 2, with the same program and wiring.<br />I think there is a problem on the in and out 9 and 10.<br />I tried it with another very simple program, it does not work.<br />See the video, the second Canny 7 works, but the other 2 do not work, they have the same program and the same wiring: <br /><a href="https://www.dropbox.com/s/kc37b04j7gddk4d/IMG_3702.m4v?dl=0" target="_blank">https://www.dropbox.com/s/kc37b04j7gddk … 2.m4v?dl=0</a></p><br /><p>Mon oscilloscope ne fonctionne pas, il est en panne. </p><p>Cela a fonctionné sur un Canny 7, mais pas sur les 2 autres, avec le même programme et le même câblage. <br />Je pense qu’il y a un problème sur les entré et sortir 9 et 10.<br />Je l’ai essayé avec un autre programme très simple, cela ne fonctionne pas.<br />Voir la vidéo, le deuxième Canny 7 fonctionne, mais les 2 autres ne fonctionne pas, ils ont le même programme et le même câblage :</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-09-18T20:00:20Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=733#p733</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=732#p732" />
			<content type="html"><![CDATA[<p>I&#039;m afraid that I do not quite understand what&#039;s happening on the video. When I asked for an oscillogram, I hoping for something like this photo: <a href="https://i.stack.imgur.com/lo51J.jpg" target="_blank">https://i.stack.imgur.com/lo51J.jpg</a><br />The signal levels and voltage offset on the controller&#039;s channel 8 (RX) related to controller&#039;s GND when controller &quot;hear&quot; Nextion and then it not - are mostly important for diagnostic. The common GND and the signal crossing over 3.1-3.2V level is critical for communication.<br />An alternative and more stable way to connect a 12V(!) IO controller (CANNY 7) to a 3.3V(!) display (Nextion) is to using a level converter like this: <a href="https://www.sparkfun.com/products/12009" target="_blank">https://www.sparkfun.com/products/12009</a><br />All controllers undergo quality control. You can check ch9 and ch10 channels by writing a simple diagram, which will be read, for example, pressing buttons on these channels and turning onboard LED.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-09-16T11:46:49Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=732#p732</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=731#p731" />
			<content type="html"><![CDATA[<p>I found where the communication problem came from.<br />I tried with an old Canny 7 and it worked with your program without problems.<br />On the other hand, I have 2 more received from last week that still refuses to work with the same program and the same wiring.<br />Watch the video: (My oscilloscope does not work properly but allows to see the pulses)<br /><a href="https://www.dropbox.com/s/rf1le2vxff6gdom/IMG_3652.m4v?dl=0" target="_blank">https://www.dropbox.com/s/rf1le2vxff6gd … 2.m4v?dl=0</a></p><br /><p>Do you have any idea where the problem might come from?<br />The 2 Canny 7 that does not work in UART works very well with the CAN, I reinject the firmware and the program several times without change.</p><p>J’ai trouvé d’où venait le problème de communication. <br />J’ai essayé avec un ancien Canny 7 et cela a fonctionner avec votre programme sans problème.<br />Par contre, j’en ai 2 autres reçu de la semaine dernière qui refuse toujours de fonctionner avec le même programme et le même câblage.<br />Voir la vidéo :&nbsp; (Mon oscilloscope ne fonctionne pas correctement mais permet de voir les impulsions)</p><p>Avez-vous une idée d’où pourrait venir le problème ?<br />Les 2 Canny 7 qui ne fonctionne pas en UART fonctionne très bien avec le CAN, j’ai réinjecter le firmware et le programme plusieurs fois sans changement.</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-09-15T13:01:27Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=731#p731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=730#p730" />
			<content type="html"><![CDATA[<p>This is mature and tested diagram, but I&#039;ll check it anyway. This diagram sends exactly 17 bytes in every message. And the UART2 TX D1: D0 register is next under UART2 TX LEN on this diagram. I&#039;m afraid that for further diagnostics I need oscillograms of TX(ch10) and RX(ch9) at CANNY 7 for your installation with this diagram loaded.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-09-14T19:54:03Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=730#p730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=729#p729" />
			<content type="html"><![CDATA[<p>Thank you for the programs, but unfortunately it still does not work.<br />The Nextion sends the commends well, I capture them with an RS232 reader.<br />But I did not receive any order from Canny 7 and there was no reaction to the order.</p><p>I noticed a small error in your program at (17 UART2 TX LEN) and not (UART2 TX D1: D0).</p><p>Do you have any idea where the problem might come from?</p><p>Merci pour les programmes, mais malheureusement cela ne fonctionne toujours pas.<br />Le Nextion envoie bien les commendes, je les capte avec un lecteur RS232. <br />Mais je n’ai capté aucune commande du Canny 7 et il n’y a eu aucune réaction à l’envoi de commande.</p><p>J’ai repéré une petite erreur dans votre programme au niveau du (17 UART2 TX LEN) et non pas (UART2 TX D1:D0). </p><p>Avez-vous une idée d’où pourrait provenir le problème ?</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-09-14T19:26:20Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=729#p729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=728#p728" />
			<content type="html"><![CDATA[<p>The 9 and 10 channels&nbsp; of Canny 7 can be configured as half-duplex UART RX/TX each. Please see the docs: <a href="http://wiki.cannylogic.com/index.php?title=CANNY_7,_UART_Driver" target="_blank">http://wiki.cannylogic.com/index.php?ti … ART_Driver</a><br />You decide which one to assign to TX and which one to RX.<br />I believe that the main problem is in your Nextion project<br />Please see in attachment the working example of the CANNY diagram and Nextion project.<br />I posted the connection diagram for this example above.<br />You can take it as a basis for your project.</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2018-09-10T17:41:57Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=728#p728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: create a simple frame]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=727#p727" />
			<content type="html"><![CDATA[<p>Hello,<br />Sorry, but it still does not work.<br />What should I put in the UART inputs?<br />How to know if the exit number 9 and 10 of Canny 7 are RX or TX?<br />See the picture of my wiring and the program attached.<br />Do you know why it does not work?<br />cordially<br /><a href="https://www.dropbox.com/sh/sit6lkoyz9910h8/AADz0sW-t940SK5OUJjxncJFa?dl=0" target="_blank">https://www.dropbox.com/sh/sit6lkoyz991 … ncJFa?dl=0</a></p><br /><p>Bonjour,<br />Désolé, mais cela ne fonctionne toujours pas.<br />Que dois-je mettre dans les entrées UART ?<br />Comment savoir si la sortie numéro 9 et 10 du Canny 7 sont RX ou TX ?<br />Voir la photo de mon câblage et le programme en pièce jointe. <br />Savez-vous pourquoi cela ne fonctionne pas ?<br />Cordialement</p>]]></content>
			<author>
				<name><![CDATA[cogito44]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=217</uri>
			</author>
			<updated>2018-09-10T07:26:33Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=727#p727</id>
		</entry>
</feed>
