<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Ultrasonic Reversing Monitor</title><link>/products/arduino/arduino-projects/b/blog/posts/ultrasonic-reversing-monitor</link><description>In November I offered to use an Arduino UNO as a reversing monitor. Arduino Uno THROWBACK THURSDAY Contest It&amp;#39;s a simple conceptArduinoUltrasonic ping sensorNeoPixel LED&amp;#39;s You use the ping sensor to detect the distance and change the colour of the...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Ultrasonic Reversing Monitor</title><link>https://community.element14.com/products/arduino/arduino-projects/b/blog/posts/ultrasonic-reversing-monitor</link><pubDate>Sat, 06 Feb 2016 10:01:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4dc28209-70d6-45c1-84c8-33de18591ad7</guid><dc:creator>twenty9</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;You asked about safety and gave an gave some interesting and easy-to-understand answers.&lt;/p&gt;&lt;p&gt;I am a software engineer in automotive industry for a big German company.&lt;/p&gt;&lt;p&gt;15 years ago our software fit into a 16-bit microcontroller (clocked at 16 MHz) with 32 kB of FLASH. Nowadays we use 32 bit microcontrollers with clock speed of 120 MHz and up to 3 MB of FLASH. Although there are a few improvements, the &lt;em&gt;main&lt;/em&gt; functionality - i.e. what the driver of a car with our system really sees - is basically the same.&lt;/p&gt;&lt;p&gt;What was the cause for this increase of codesize and performance needs?&lt;/p&gt;&lt;p&gt;1) Standards: First, the car manufactures required standardized (and increased) communication protocols, which only become active when your car is in repair-shop, then they requested an OSEK-operating system, (which really nobody sees). Nowadays AUTOSAR is a standard, which specifies operating system,&amp;nbsp; standard layers of drivers in basic software, and the communication between software components.&lt;/p&gt;&lt;p&gt;2) Safety: IEC 61508 &amp;#39;&lt;em&gt;&lt;strong&gt;Functional Safety of Electrical/Electronic/Programmable Electronic Safety-related Systems&amp;#39;&lt;/strong&gt;&lt;/em&gt; and its more automotive-specific successor ISO 26262 &lt;em&gt;&lt;strong&gt;&amp;#39;Road vehicles – Functional safety&amp;#39;&lt;/strong&gt;&lt;/em&gt; specify, what you have to consider, when you develop electronic systems, which might lead to accidents, injuries or death when something breaks does not work as intended.&lt;/p&gt;&lt;p&gt;Example: One cell of FLASH-memory looses its contents (some electrons diffuse faster as expected). This might lead to a pointer to a wrong address. So the part of software, which normally supervises some temperature sensor, writes in a variable, which causes full-throttle. Think what might happen, if your car accelerates on its own without any reason in any driving situation...&lt;/p&gt;&lt;p&gt;Solution: You have to execute a checksum check on the contents of your FLASH-memory. But what happens, if the checksum check itself is influenced by the corrupted memory contents?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am not against standards and safety. But it costs...&lt;/p&gt;&lt;p&gt;And sometimes people forget to think on their own. (I very much like the sign &amp;quot;This machine has no brain - use your own&amp;quot;)&lt;/p&gt;&lt;p&gt;And all the safety-concerns restrain progress. Let&amp;#39;s say you want to really sell your &amp;quot;Ultrasonic Reversing Monitor&amp;quot;. Then you have to think about all the safety stuff. Even when you install it for free in your neighor&amp;#39;s garage, he might no longer be your friend after he has crashed his car...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In my garage I use a golf-ball which is hanging from the roof. When it touches the car, I have to stop.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=962&amp;AppID=149&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Ultrasonic Reversing Monitor</title><link>https://community.element14.com/products/arduino/arduino-projects/b/blog/posts/ultrasonic-reversing-monitor</link><pubDate>Thu, 07 Jan 2016 20:03:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4dc28209-70d6-45c1-84c8-33de18591ad7</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice update.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Where did you take the picture of all the traffic lights?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It looks guaranteed to confuse the drivers and maximize accidents.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=962&amp;AppID=149&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>