Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
anchordemo [2021/06/07 19:35] dpisuperadmin [Peripheral and Hardware Selection] |
— (current) |
====== Anchor Demonstration Board ====== | |
| |
==== Introduction ==== | |
Anchor Electronics sells a selection of new and surplus Demand Peripherals boards. | |
The project described on this page gives Anchor customers a quick, visual | |
introduction to the Demand Peripherals product line and and open-source peripherals. | |
| |
| |
==== Overview ==== | |
{{ ::anchordemo.jpg?200|}}This page is organized as follows: | |
* Peripheral and hardware selection | |
* Physical construction and wiring notes | |
* Linux configuration | |
* Applications | |
* distance | |
* rgbled | |
* demomotor | |
| |
==== Peripheral and Hardware Selection ==== | |
Our goal was to give Anchor customers a simple demonstration of the capabilities of the Demand Peripherals software defined peripherals. There are three separate applications running on the demo system. | |
| |
The first is an ultrasonic distance sensor whose reading are displayed on a 6 digit LCD. The distance is shown in inches and tenths of an inch. We use the us8 peripheral ([[http://exampldemandperipherals.com/peripherals/us8.htmle.com|us8]]) and card ([[https://demandperipherals.com/cards/us8.htmlh|us8]]). The distance is shown in inches using the lcd6 peripheral ([[http://https://demandperipherals.com/peripherals/lcd6.html|lcd6]]) and the lcd6 card ([[http://https://demandperipherals.com/cards/lcd6.html|lcd6]]). The sensor is an Adafruit HC-SR04 ([[https://www.adafruit.com/product/3942|HC-SR04]]). | |
| |
The second application uses a quad slide potentiometer peripheral ([[https://demandperipherals.com/peripherals/slide4.html|slide4]]) and card ([[https://demandperipherals.com/cards/slider4.html|slider4]]) to control the red-green-blue brightness of a string of eight WS2812 LEDs from Adafruit ([[https://www.adafruit.com/product/1426|NeoPixel Stick]]). | |
| |
The third application uses a rotary encoder to control the speed and direction of a DC motor. The RPM speed of the motor is displayed on a second 6 digit LCD. The rotary encoder peripheral and card are the rotary encoder interface ([[https://demandperipherals.com/peripherals/roten.html|roten]]) and the rotary encoder card([[https://demandperipherals.com/cards/roten.html|roten]]). We use a DC gearhead motor from Adafruit ([[https://www.adafruit.com/product/4416|Geared DC Motor]]). The motor is controlled with the dual DC motor controller peripheral ([[https://demandperipherals.com/peripherals/dc2.html|DC2]]) and the dual H-bridge card ([[https://demandperipherals.com/cards/d7hb.html|d7hb]]). The motor has a magnetic quadrature encoder to measure the speed. The encoder outputs go to a general purpose IO card ([[https://demandperipherals.com/cards/gpio4.html|gpio4]]) and from there to a dual quadrature decoder peripheral ([[https://demandperipherals.com/peripherals/quad2.html|quad2]]). A second LCD6 card and peripheral display the speed of the motor in revolutions per minute. | |
| |
| |
| |