logo elektroda
logo elektroda
X
logo elektroda

Quasar Four Digit Up/Down Counter: Triggering Relays & Using with Magnitude Comparator

156 14
ADVERTISEMENT
  • #1 21680449
    Michelle OBrien
    Anonymous  
  • ADVERTISEMENT
  • #2 21680450
    Rick Curl
    Anonymous  
  • ADVERTISEMENT
  • #3 21680451
    Rick Curl
    Anonymous  
  • ADVERTISEMENT
  • #4 21680452
    David Ashton
    Anonymous  
  • #5 21680453
    PeterTraneus Anderson
    Anonymous  
  • #6 21680454
    Rick Curl
    Anonymous  
  • #7 21680455
    Michelle OBrien
    Anonymous  
  • #8 21680456
    David Ashton
    Anonymous  
  • #9 21680457
    Michelle OBrien
    Anonymous  
  • #10 21680458
    David Ashton
    Anonymous  
  • #11 21680459
    Conrad Mannering
    Anonymous  
  • ADVERTISEMENT
  • #13 21680461
    David Ashton
    Anonymous  
  • #14 21680462
    Michelle OBrien
    Anonymous  
  • #15 21680463
    David Ashton
    Anonymous  

Topic summary

✨ The discussion centers on a Quasar four-digit up/down counter kit based on the Atmel AT90S1200 microcontroller. The original poster seeks advice on triggering relays at specific counts and integrating two counters with a magnitude comparator. Responses highlight that adding such features requires firmware modification of the AT90S1200 MCU, for which source code or schematics would be necessary. Alternative approaches include using discrete synchronous counters like the 74HC90, 74HC390, 74HC162, or 74HC163 combined with a 7486 comparator or 7447 decoder for display driving. Some suggest that the Quasar kit’s simplicity limits its direct use for advanced control tasks such as stepper motor position tracking without additional logic or microcontroller intervention. The Arduino platform is recommended for more complex functions including pulse division, stepper control, and interfacing with displays and counters. Another suggestion is the Cypress PSoC 5 development board for programmable hardware solutions. The suitability of Quasar’s smart kit 1172 with dual relay outputs is questioned due to potential input limitations and count rate constraints, as many kits are designed for low-frequency pushbutton inputs. The Cebek counters with "Next" and "Reset" inputs are mentioned but noted as out of stock and having operational quirks. Overall, the consensus is that while the Quasar counter kit is educational and functional as a basic counter, achieving relay triggering and comparator integration for stepper motor applications likely requires additional hardware or programmable microcontrollers.
Generated by the language model.

FAQ

TL;DR: Want a relay to trip at a preset count or compare two counts? The Velleman K8035 handles up to 200 counts/second and is “very versatile”. [Elektroda, Anonymous, post #21680461]

Why it matters: This FAQ helps hobbyists using Quasar’s four‑digit up/down counter add presets, relays, or comparators without guesswork.

Quick Facts

How do I trigger a relay when the counter hits a set value?

Your Quasar board lacks documented relay outputs and count‑rate specs. Easiest path: use a counter kit with preset and relay, e.g., Velleman K8035. It signals when the programmed count is reached and keeps running without a forced reset. Add your relay to its output terminals and feed your pulses into its input within its 200 counts/s limit. “Very versatile” for this use. [Elektroda, Anonymous, post #21680461]

Can I compare two counts (magnitude comparator) using this kit?

Comparing the Quasar’s 7‑segment lines needs many bits and several comparators. A cleaner approach is comparing BCD lines from dedicated counter ICs, which reduces wiring to 16 bits for four digits. Alternatively, implement both counters and the compare in a single MCU, which is simpler and more robust. [Elektroda, Anonymous, post #21680456]

Is it better to use two separate counters or one MCU for dual counting plus compare?

Use one microcontroller with enough I/O to implement two 4‑digit counters and a comparator. This approach simplifies hardware and ensures synchronized logic, presets, and outputs in firmware. It’s more solid than lashing two independent counters to an external comparator. [Elektroda, Anonymous, post #21680451]

What microcontroller is on the Quasar counter, and can I modify it?

It uses an Atmel AVR (AT90S1200 family). Adding features like relays or presets requires firmware changes. If you can obtain the code or schematic, you can reprogram or replace the chip since it’s socketed. Otherwise, rewriting firmware from scratch is possible but advanced. [Elektroda, Anonymous, post #21680450]

Will the Quasar kit work as a stepper position display and control stops?

It can show position, but it’s a simple counter. To stop at positions and reverse, use a controller (e.g., Arduino) that counts steps, divides as needed, and drives the display. “Your counter is a simple soul” and not enough for full stepper control alone. [Elektroda, Anonymous, post #21680458]

What count rate should I design around for external kits?

Plan for at least 200 counts/s if you’re feeding step pulses from a motor driver. Some counters accept only ~25 Hz, which is too slow. The Velleman K8035 supports up to 200 counts per second and is a practical choice for faster sources. [Elektroda, Anonymous, post #21680461]

Which ready‑made counter kits suit presets and relays?

The Velleman K8035 is a strong contender. It’s versatile, keeps counting after reaching a preset, and supports up to 200 counts/s. Many other kits include relays but may stop on limit or lack clear input specs, so verify behavior before buying. [Elektroda, Anonymous, post #21680461]

Any caveats with Cebek CD‑series counters (e.g., CD‑5)?

Yes. After reaching a programmed limit, the counter blocks and requires a “NEXT” input to continue. That behavior can disrupt continuous up/down positioning. Also note stock availability; several models were reported out of stock at the time discussed. [Elektroda, Anonymous, post #21680463]

How can I integrate an Arduino with my Quasar display?

Use the Arduino to handle step counting, presets, and logic. Then drive the Quasar display with three lines: clock, up/down, and reset. The Arduino can scale counts (e.g., divide by 200 to show revolutions) and place a decimal point as needed. [Elektroda, Anonymous, post #21680458]

What discrete logic parts help me learn and build custom counters?

Breadboard classic TTL/CMOS counters like 74HC90/74HC390 for BCD digits, add a 555 or crystal for timing, and decode with a 7447 for seven‑segment displays. This “coal face” approach teaches counting, BCD, and comparator interfacing step by step. [Elektroda, Anonymous, post #21680452]

Are there single‑chip 4‑digit counters I can still buy?

Yes, the 74C925–74C928 family is obsolete but still available from some sources. These integrate multiplexed display drive and can simplify four‑digit projects compared to discrete counters and decoders. Availability varies, so check vendors. [Elektroda, Anonymous, post #21680454]

What’s the exact MCU part used on some Quasar boards?

AT90S1200‑12PC was reported on the chip label. The DIP package and socket make replacement or in‑circuit programming more approachable for hobby upgrades. [Elektroda, Anonymous, post #21680455]

How‑To: Use a preset counter kit to drive a relay at a target count

  1. Program the kit’s preset value and enable its limit output.
  2. Feed step pulses within the kit’s rated count speed (e.g., 200 counts/s).
  3. Wire the relay coil to the kit’s output, observing contact ratings and flyback protection. [Elektroda, Anonymous, post #21680461]

What’s an edge case that can break my project?

Some kits lack accessible input contacts and publish no count‑per‑second spec. If their inputs suit only pushbuttons, they may accept only a few pulses per second, making them unusable for steppers without heavy modification. [Elektroda, Anonymous, post #21680461]
Generated by the language model.
ADVERTISEMENT