Serial or Speed..

This video above demonstrates the speed difference between serial enabled/disabled on an Arduino Uno while toggling a pin output. Just a really simple test of how fast it can pull a pin high and low (without using direct port manipulation), with and with out serial enabled. I think that was the smallest Arduino sketch I ever wrote..

The DSO Nano v2 Pocket Oscilloscope Explained

Hi everybody! I have had a few request for information about the small portable pocket scope I’m using in a few of my videos, so I’m going to share it with you. In this video, I’ll walk you through installing the BenF Firmware as well take you through the menu structure and functions of the device. Seeed Studio did a fantastic job with this little device, it really is an awesome portable tool. Compared to the stock firmware, the BenF firmware has better navigation, features, and the SD card features work a lot smoother.

The Nano (DSO Nano v2) is a great tool for a great price! You can get them for under $100, they come with a case, 2 sets of probes, a stand, and it’s open source!

Below is the feature summary from the manual and the links to the scope product page, firmware manual, firmware and firmware install tool.

*UPDATE: Adafruit now sells this scope! 🙂
Continue reading

Using PWM outputs with an Arduino and a LED

Hi everyone, been a while since my last post, but I have been a busy new daddy. 🙂 I wanted to demonstrate what PWM output was and how to use it nicely in a sketch. I’m really big on ramping lights on and off (my entire house is set up that way) and would like to share how do accomplish that. I also wanted to use a video to show PWM outputs on a scope to help me explain the process.

Slide from video above

Pulse Width Modulation (PWM, but also sometimes referred to as Pulse-Duration Modulation -PDM) is the manipulating (modulating) of the width of a fixed pulse. The pulses are sent at the same voltage and frequency, so just the width of the pulse is changed. In the screen shot above the fixed voltage is 3.2V and the Frequency is 490Hz.

You can grab the serial controlled Arduino code here, or the shorter fading sketch here.