<?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>SSFG - Simple stupid function generator</title><link>/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><description>I recently went through this blog post Creating a function generator from an Arduino board that can be programmed by means of a VT100 serial terminal looks a good idea to. After all, it&amp;#39;s a very common scenario to have a PC on your workbench and, ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SSFG - Simple stupid function generator</title><link>https://community.element14.com/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><pubDate>Mon, 18 Nov 2024 05:47:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a3100f02-5964-43fe-b74c-30413b30b7a1</guid><dc:creator>kevinmp</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;have a look at dac function generator&amp;nbsp; &lt;a href="https://github.com/RobTillaart/FunctionGenerator" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://github.com/RobTillaart/FunctionGenerator&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22289&amp;AppID=356&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: SSFG - Simple stupid function generator</title><link>https://community.element14.com/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><pubDate>Thu, 12 Aug 2021 10:17:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a3100f02-5964-43fe-b74c-30413b30b7a1</guid><dc:creator>dubbie</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;[mention:af9afcdd12d240cc981e22fc1d60c025:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&lt;span&gt; ,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Great project. I&amp;#39;ve tried using escape codes with an Arduino to control a PC display, but without much success, so I might have to look into the VT100 library that you have identified if I ever need to do this again.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Dubbie&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22289&amp;AppID=356&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: SSFG - Simple stupid function generator</title><link>https://community.element14.com/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><pubDate>Wed, 11 Aug 2021 21:01:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a3100f02-5964-43fe-b74c-30413b30b7a1</guid><dc:creator>javagoza</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi, &lt;span&gt;[mention:af9afcdd12d240cc981e22fc1d60c025:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; the Arduino Nano 33 IoT has a digital-to-analog converter (DAC) attached to pin A0.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=c_cpp&amp;amp;text=++%2F%2F+set+DAC+resolution+to+10-bit%3A%0A++analogWriteResolution%2810%29%3B]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;then&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=c_cpp&amp;amp;text=++%2F%2F+set+the+DAC+using+the+analog+in+level%3A%0A++analogWrite%28A0%2C+level%29%3B]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://content.arduino.cc/assets/mkr-microchip_samd21_family_full_datasheet-ds40001882d.pdf" rel="nofollow ugc noopener" target="_blank" title="https://content.arduino.cc/assets/mkr-microchip_samd21_family_full_datasheet-ds40001882d.pdf"&gt;https://content.arduino.cc/assets/mkr-microchip_samd21_family_full_datasheet-ds40001882d.pdf&lt;/a&gt; &lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;The Analog-to-Digital Converter (ADC) converts analog signals to digital values. The ADC has 12-bit resolution, and is capable of converting up to 350ksps. The input selection is flexible, and both differential and single-ended measurements can be performed. An optional gain stage is available to increase the dynamic range. In addition, several internal signal inputs are available. The ADC can provide both signed and unsigned results. ADC measurements can be started by either application software or an incoming event from another peripheral in the device. ADC measurements can be started with predictable timing, and without software intervention. Both internal and external reference voltages can be used. An integrated temperature sensor is available for use with the ADC. The bandgap voltage as well as the scaled I/O and core voltages can also be measured by the ADC. The ADC has a compare function for accurate monitoring of user-defined thresholds, with minimum software intervention required. The ADC may be configured for 8-, 10- or 12-bit results, reducing the conversion time. ADC conversion results are provided left- or right-adjusted, which eases calculation when the result is represented as a signed value. It is possible to use DMA to move ADC results directly to memory or peripherals when conversions are done.&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22289&amp;AppID=356&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: SSFG - Simple stupid function generator</title><link>https://community.element14.com/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><pubDate>Wed, 11 Aug 2021 15:54:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a3100f02-5964-43fe-b74c-30413b30b7a1</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Ambrogio,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Very useful project, and great user interface!&lt;/p&gt;&lt;p&gt;Like you, I sometimes want terminal or console control, but so far have been using a command-line type structure.&lt;/p&gt;&lt;p&gt;Building an actual text graphics interface as you have is very neat, much more user-friendly. Looking forward to exploring your code sometime for hopefully future projects.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22289&amp;AppID=356&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: SSFG - Simple stupid function generator</title><link>https://community.element14.com/challenges-projects/project14/diy-test-instrumentation/b/blog/posts/ssfg---simple-stupid-function-generator</link><pubDate>Wed, 11 Aug 2021 08:03:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a3100f02-5964-43fe-b74c-30413b30b7a1</guid><dc:creator>navadeepganeshu</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Cool project, interesting to see a lot of different waveforms being generated clean and smooth.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22289&amp;AppID=356&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>