CircuitGizmos

Electronic Products for Creative Minds

  • Home
  • Gizmo Store/Products
  • Documentation/Datasheets
  • Projects/Libraries
  • GizmoBlog
  • Services/Contact
    • Design
    • Contact Gizmo!
  • Your Gizmo Cart
    • Your Account
You are here: Home / Projects / ColorMax MMStick Projects / CGMMSTICK Digital and Analog Input

CGMMSTICK Digital and Analog Input

Simple input is pretty simple to test using MMIDE. All of the 20 pins of the CGMMSTICK can be set to be digital inputs. To test a simple button input, just use this testing facility.

All 20 of the CGMMSTICK1 lines can be controlled for testing.

CGMMSTICK1 button input.

A simple button input for the CGMMSTICK would use a 10 kilo ohm resistor to pull the input line (in this case MMBasic pin 20) high, then the button press would short the line low.

Testing the input.

With the right pin set to “Digital Input” both states of the button can be tested using MMIDE to do the work. In the picture above the red square and value of 1 indicate that the button is not pushed – the resistor is pulling the input line high.

Ten pins (Pin 1-10 from the perspective of MMBasic) can be used to read analog values from 0V up to a maximum of 3.3V.

MMIDE provides a voltmeter applet that can be set to any of those ten pins and will repeatedly measure the voltage on the selected pin for display as both a small bar graph and numerically.

MMIDE “voltmeter” application.

 

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

A Ton of Documentation

Open all | Close all

Projects made by Gizmo, Friends, and Members

open all | close all

Recent GizmoBlog Musings

  • Altair 8800 using a ColorMax!
  • Re-energizing the ColorMax, Pt. 3

Visit us!

  • Facebook

Electronic Products for Creative Minds

CircuitGizmos is your source for electronic products that help you create your embedded projects. Here at CircuitGizmos.com you will find a friendly store filled with creative products and all of the documentation that you need to use these gizmos.

We create devices that we believe make electronics fun, but we also know that our products are used for professional designs. For decades we have designed products for commercial, military, and medical industries. Our gizmos here are great for engineers and hobbyists alike.

Copyright © 2008+ CircuitGizmos, L.L.C. All rights reserved

Image already added

Recently Viewed Products

Copyright © 2023 · Generate Pro Theme on Genesis Framework · WordPress · Log in