Sine Wave Generator circuit with simple microcontroller - Part 17 Microcontroller Basics (PIC10F200)

preview_player
Показать описание
Creating a sine wave generator without a hardware DAC and only 3 GPIOs may seem like an impossible task but Sergey was up to it! In this tutorial, we show how, using an R-2R resistor array and a PIC10F200, you can create a simple and low cost sine wave generator.

If you find this interesting, subscribe to the CircuitBread channel for more videos on microcontrollers and other beginner and intermediate electronics!

Table of Contents
0:00 Introduction
0:21 Hardware setup with an R-2R resistor array
1:31 Discussion on the resolution of the sine wave with only 3 GPIOs
2:12 How we did the math to know what to output
3:48 Reviewing the very simple assembly code
4:47 Showing the outputs at different points in the R-2R array
8:07 Restrictions and ways around the restrictions with this setup

CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.

Connect with CircuitBread:
Рекомендации по теме
Комментарии
Автор

Amazing channel I love it keep up the great work

ashveet
Автор

Subscribed! Very inspiring. A sine wave generator using one of the simplest of MCUs.

I tried combining an NE555 with a capacitor once, and you can get some pretty smooth waves even with just that.

zetaconvex
Автор

Hi Sir Thanks for sharing how much frequency of this sine and how to configure 100Hz please guide me

vengug
Автор

dammit your channel is freaking awesome.. keep teaching

dhruvgoyal
Автор

Can you please help me writing a programme such that for a single input the output comes forever until the input is send in a sound sensor

sweekarkhadka
Автор

Hello again, is this output all positive (Unipolar) ?

mnada
Автор

Can you change the frequency in program?

dreamyrhodes
Автор

What version of MPLAB X are you using? I recently started learning this stuff but with MPLAB X 5.4 the MPASM compiler is gone, leaving only XC8 which is, as far as I was able to see, a strange mix of C and assembly

Mrjeje