video thumbnail 8:22
Arduino Basics 103: Library, Port Manipulation, Bit Math, Faster PWM/ADC

2017-04-16

[public] 285K views, 8.82K likes, dislikes audio only

channel thumbGreatScott!

Support me for more videos: https://www.patreon.com/GreatScott

Previous video: /youtube/video/UvH49nzpJts

Arduino Basics 101: /youtube/video/BtLwoNJ6klE

Arduino Basics 102: /youtube/video/YT3birSKLLU

Facebook: https://www.facebook.com/greatscottlab

Twitter: https://twitter.com/GreatScottLab

You can get Arduino boards here (affiliate links):

Aliexpress:

Arduino Uno: https://s.click.aliexpress.com/e/_dT23rY7

Arduino Nano: https://s.click.aliexpress.com/e/_dULoNXh

Arduino Pro Mini: https://s.click.aliexpress.com/e/_d62ALdV

FTDI board: https://s.click.aliexpress.com/e/_dV4Gqp1

Ebay:

Arduino Uno: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=281638689314&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

Arduino Nano: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=162002876661&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

Arduino Pro Mini: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=331809989705&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

FTDI board: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=381374421597&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

Amazon.de:

Arduino Uno: http://amzn.to/2ljDLFL

Arduino Nano: http://amzn.to/2ljnq3J

Arduino Pro Mini: http://amzn.to/2kMv0ly

FTDI board: http://amzn.to/2ljvuRY

In this third and final epsiode of the Arduino Basics video series I will talk about how to use libraries, how you can use port manipulation to turn a pin on/off faster and how you can modify the registers of the Arduino µC with Bit Math in order to increase the frequency of the PWM Signal or the sampling rate of the ADC.

Music:

In the Hall of the Mountain King, Kevin MacLeod

Killing Time, Kevin MacLeod

(incompetech.com)


attach external components to your drina
/youtube/video/EVm0qVJ56II?t=22.76
include it in the library folder of your arduino software
/youtube/video/EVm0qVJ56II?t=84.559998
take a closer look at the data sheets of the atmega 32
/youtube/video/EVm0qVJ56II?t=170.31