Older Version Newer Version

mmiscool mmiscool Mar 26, 2015

Title of Article

By Mike Molianri
Me.png
Title of Article | Home automation, Robots, Vending machines. What do they have in common? | Second Part Title | Third Part Title

Home automation, Robots, Vending machines. What do they have in common?

The answer is computers controlling hardware. Making lights go on and off. Controlling motors, relays and other electronic components.
Liberty Basic for windows makes programming simple but lacks the ability to directly control or interface with hardware (except the parallel port).

To make hardware interface coding simpler a set of functions is required to facilitate the communication with external hardware. Because the arduino is the most widely used hobby micro controller in the world and has so much support I wanted to make it simple for LB users to take advantage of this great platform for there projects.


The things covered in this article are limited to simple port I/O (Input and output).
  • Test if pin is high or low
    • Get input from buttons and other sensors connected to the arduino
  • Set a pin high or low
    • Turn things on and off like lights, buzzers, motors, ect.
  • PWM (Pulse width modulation) output
    • Dim lights, Control servo motors, interface with variable speed motor controllers
  • PWM (Pulse width modulation) input
    • Get input from things like sliders and position information



'code here

Second Part Title

Text here.
'code here

Third Part Title

Text here.
'code here

Title of Article | Home automation, Robots, Vending machines. What do they have in common? | Second Part Title | Third Part Title