Preloader image
   

Arduino

Arduino Programming Syntax

Knowing how to properly format your code is essential to having a program compile and run correctly. The set of rules defining how to format, spell, and structure your code is known as “syntax,” and it’s what we cover in this episode of Adventures in Science as we continue talking about computer science. We look at the history of the C and C++ languages and how to apply syntax rules to an Arduino program.  

Introduction to Arduino

Go from blinking an LED to virtual prototyping in seven hours and still have time to eat lunch! This class is for anyone who has never played around with Arduino before and those who have played around a little bit but aren’t entirely sure what it’s all about. It’s easier than you think! We’ll put together basic single component electrical circuits that will teach you about analog and digital, input and output, and basic programming concepts such as “if” statements. We’ll also practice basic serial communication, and briefly cover basic virtual prototyping using Fritzing (www.fritzing.org). In case you haven’t noticed,…

How to use 16×2 LCD with Arduino || Arduino tutorial

In this video I’m demonstrating how to start using a 16×2 LCD with an Arduino. The first example displays a static text message and number of seconds since Arduino reset. The next one covers modification of my Arduino ohmmeter project to display data on the 16×2 Hitachi HD44780 LCD. It is a step by step tutorial, which will walk you through wiring the alphanumeric (text) LCD to work with Arduino Uno. You will also learn how to write a sketch (program), which lets you control the liquid-crystal display with the Arduino.  

Controlling DC Motors with the L298N H Bridge and Arduino

The L298N Dual H-Bridge Motor Controller is an inexpensive device which allows you to control two independent DC motors using 5 volt digital logic signals, such as the digital output pins of an Arduino. The L298N can also be used to control a single stepper motor or two sets of LED lighting strips.   In this tutorial we’ll learn how to control two 6-volt DC motors with the L298N.   First we will enlighten ourselves by learning a quick bit of the history of DC motors and discovering how they actually work. We will also learn what an “H-Bridge” is,…

Arduino BIG Stepper Motor control. Rotary Axis for milling machine.

Wiring connections – Arduino Pin 8 to stepper driver pulse +5V – Arduino Pin 9 to stepper driver direction +5V – Arduino Ground to stepper driver signal ground Pulse -ve, Dir -ve, enable -ve – Arduino +5 volts to on/off switch to stepper driver enable +5V   Helpful hints: 1. Pick the size of motor you need for the torque/power you need. Don’t know? FIND OUT! 2. Determine the voltage and current of the stepper motor. 3. Determine the stepper motor driver that will power your stepper motor with some extra fudge factor (this stuff is cheap). Big Easy driver…

Homemade DIY CNC – ClearPath Servo Motors used on KR33 CNC

Many have asked what motors I’m using on the KR33 Mini CNC so I wanted to do a video specifically on the topic. The motors are ClearPath Digital Servo motors by Teknic. I communicate with them the same way that I’ve done with stepper motors, with step and direction commands. The speed and power is fantastic. The servo motors power doesn’t fade with speed like steppers do.  

error: Context Menu disabled!