I sell on Tindie

Saturday, February 19, 2022

Word Generator in Multisim - 7 Segment Counter

Using the Word Generator for 7 Segment Counter Circuit

Date: 2/28/2022

Authors: Bits4Bots Team

We have designed simple 4 bit counter circuits using dip switches and ones using BCD to 7-segment decoder IC's. Here we use the Word Generator instrument in Multisim to send digital words or (bit patterns) into the digital circuit. 

  • Start by placing the Word Generator instrument onto the workspace. Locate this component on the right panel 0101 icon.
  • Next add at least one (1) 7 segment cathode display (any color)
  • Add at BCD to 7 Segment decoder. We used the 4511BP_5V
Power and ground the circuit according to the IC pinouts. See image. 

Wire the circuit by connecting the segments A-G to the decoder. The output pins (0-7) on the Word Generator are used to connect the BCD of the 4511BP chip. The enable (EN) - (~LE in Multisim)  pin is grounded. The LT and BI pins are connected to power. 

Double click the Word Generator component to configure the settings. 

Recommended settings:
  1. Frequency: 60Hz
  2. Controls: Cycle
  3. Display: Binary
  4. Trigger: Internal

Click the "set" tab to configure the following

  1.  Preset Pattern: Up Counter *starting at zero (0)
  2. Display Type: Hex
  3. Buffer Size: 0400 by default
  4. Output Voltage Level: 4.5V - High and 500mV - Low by default

Now run the simulation by clicking the green icon in the Multisim ribbon.

Further learning: Try adding a switch to control the trigger externally. Also add a second 7 segment display and cascade it to count up to 6 bits (63). If you are really into electronics how about adding three (3) 7 segment displays and counting up to 8 bits (255).

🖰 Drag and drop the snippet below and simulate it on your own.

Word Generator Snippet

If you enjoyed this project follow us here and on Instagram.



PIC Driven LCD Display 20x4 Multisim

Demo of how the PIC16F84A MCU controls the LCD display

Date 2/19/2022
Author: Bits4Bots Team

A simulation of a PIC16F84A that controls a scrolling “Bits4Bits” text on a LCD display. The text shifts from left to right until the MCLR pin is grounded in the software by pressing the "spacebar" on the keyboard.

  • The PIC reads an 8-bit character from its internal EEPROM
  • The text data must be loaded beforehand by loading an external file named Bits4Bots.mch
  • The PIC then sends instructions to the LCD display component to control the text being displayed.

Function: PIC mid-range 8 Bit Microcontroller

Assembly language is used to program the PIC. Right click the IC in the Multisim workspace to view the code. 
The source code view shows the assembly or C source code for the MCU program.
If you are building this circuit, set the MCLR pin to VCC (high). The Master Clear pin is an optional external reset that is activated by pulling the pin low. During normal operation, it needs to be pulled high typically through a resistor to VCC.

Along with its selection of MCUs, Multisim contains a number of peripheral devices.

The MCU Group contains RAM and ROM devices that are designed to function specifically with the MCUs.

Watch us modify this Multisim MCU LCD Display on YouTube. 
Tell us what sample file you would like to see in our next blog.

To help you with your personal text message consider visiting to quickly convert ASCII to Hex. Save the file in Notepad software with the extension .mch *Try saving different messages to load into the LCDDisplay sample .ms14 file. In our demo we used a message that says 
Bits4Bots 🠊  42 69 74 73 34 42 6F 74 73, 
Subscribe 🠊53 75 62 73 63 72 69 62 65 , and 
Follow us on Instagram 🠊 46 6F 6C 6C 6F 77 20 75 73 20 6F 6E 20 49 6E 73 74 61 67 72 61 6D . 

The MCP Memory view is where the Hex code can be changed manually. The main focus for quickly changing the original code is the EEPROM. It stands for electrically erasable programmable read-only memory and is a type of non-volatile memory.

Just double click in the Hex box to create a new message. It can be saved as new .mch file or a file can be imported as well as cleared from the memory.

The contents of the MCU Memory View change depending on the type of MCU. It may, for example, contain internal memory information, register views and configuration information.

👈 Drag and drop this snippet to your Multisim workspace to practice.

To learn more visit the links below.

Reference material: 

Raspberry Pi Pico W - 2 Quick Projects to Get You Started

July 1st 2022 💖We love new arrivals! Here are two quick projects to get you started with the Raspberry Pi Pico W. Tips :  Get the latest fi...

Popular Post