Make Your Own Developement Board @ 2014.4.21 JuluOSDev

  • Published on

  • View

  • Download

Embed Size (px)


<ul><li><p>Make Your Own Development Board</p><p>ATMega8 series for example</p><p>StarNight @ 2014.4.21 JuluOSDev</p></li><li><p>After sharing Simple Scheduler @ 2014,</p><p>it is a good chance to talk about the hardware implementation of </p><p>Simple Osilloscope</p></li><li><p>1. (Highest Order)Meet the specification.</p><p>2. Smallest cost.</p><p>3. Finish it in shortest time.</p><p>by </p><p>Boundary Conditions!!!</p></li><li><p>Lessons Learned from PMP (Partial)</p><p> Initiating Develop project charter</p><p> Planning Collect requirements Define scope Plan Quality Estimate costs Develop schedule</p><p> Excuting Monitoring &amp; controlling Closing</p><p>The specification going to be met.</p><p>Find the smallest cost.Find the shortest time.</p></li><li><p>The Specification of osilloscope</p><p> Signal range: 0 ~ 5V</p><p> Sampling frequency: 100 Hz</p><p> Sampling channels: 6 ~ 8 channels</p><p> Connects to computer with UART</p><p> Communication protocal: Modbus</p></li><li><p>Students homework is a practice which finds the f(x) from x. However, engineers work is </p><p>a problem which finds the x from f(x).</p><p>by </p></li><li><p>The Cost and Time</p><p> I can use: The ADC channels of AVR. The timer of AVR for periodic sampling. The USART function of AVR.</p><p> I can buy an AVR with the money that I can afford.</p><p> I am familiar with AVR, which shorts development time.</p><p> There are open source resource for AVR, ex: toolchain, programmer ...</p></li><li><p>Read Datasheet</p><p>Reference from: ATmega328 datasheet </p></li><li><p>Build a development board</p><p>That will be an oscilloscope.</p></li><li><p>Tools</p><p> Toolchain:avr-gcc</p><p> Libc:avr-libc</p><p> Downloader/Uploader:avrdude</p><p> Prgrammer:USBtinyISP, USBasp ...</p></li><li><p>I flashedSimple Oscilloscope</p><p>firmware into the development board.</p><p></p></li><li><p>Function Generator for SignalsSchmitt Trigger Integrator</p><p>Could reference:</p></li><li><p>Function Generator</p></li><li><p>Oscilloscope Console by python + pyserial + matplotlib</p></li><li><p>All Circuits Analysis Begins with</p><p> On - Off</p><p> For a resistor:v(t) = i(t) r(t)</p><p> For a capacitor:q(t) = C(t) v(t)</p><p> For an inductor:v(t) = d ( L(t) i(t) ) / dt</p></li><li><p>Lessons Learned from Oscilloscope</p><p>Nyquist Frequency / Aliasing</p><p></p></li><li><p>We need to integrate the knowledge learned from school and use it when implementation.</p></li><li><p>Build your own tools ~</p><p>Thats maker !!!!!</p></li><li><p>Thank you and Q &amp; A</p><p></p></li></ul>


View more >