Questions tagged [multiplexer]

A multiplexer lets you select one signal out of a group of (typically) 8 or 16, for both input and output purposes. Use this tag for discussing multiplexer chips.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

Using CD74HC4067 16-Channel Analog Multiplexer Demultiplexer is not working as expected

I am working on a project that needs multiple digital signals and I am considering the CD74HC4067 (on a break-board) to work as a multiplexer. More specifically i am trying to build a keypad with ...
2
votes
1answer
68 views

Multiplexer 74HC4067, conflict between channels

I am currently working on an Arduino Zero with a 74HC4067 multiplexer and I am experiencing inconsistencies when testing some of the channels. My class is the following (it should be functional for 8 ...
0
votes
2answers
53 views

How do I connect 20 outputs and 20 inputs to an Arduino board?

I am a mechanical engineer starting my journey with Arduino, so please excuse me if I put some very generalized message. I need to sequentially operate 20 output relays, and then verify if the ...
0
votes
1answer
60 views

multiple mpu9250 using tca9548a with esp32

I'm using ESP32 and 1 sensor mpu9250(only for test) with tca9548a, connections are: TCA <-> ESP VIN - VCC GND - GND SDA - GPIO21 SCL - GPIO22 TCA <-> MPU SD2 - SDA SC2 - SCL VIN - VIN GND -...
1
vote
1answer
65 views

I can change value of only one register on 8-Bit Register integrated circuit (74hc273 / DM74LS273)?

First, please be patient, I'm not electronical person. I am learning Arduino and electronics for hobby and this is my fist time with integrated circuits. Situation: I'm want to extend the Arduino ...
2
votes
1answer
235 views

Is it possible to read multiple buttons with the CD74HC4067?

I am working on a project with a claw machine. I am working on this chip (CD4067BE which is equivalent to the CD74HC4067) and I was wondering: can I read more than one button with the CD4067? I tried ...
1
vote
0answers
52 views

Using 4x1 MUX to control a servo

I was supposed to first create a 4x1 MUX using AND and NOT gates. The 4 input data lines (io,i1,i2,i3) were 4 PWM pins from the arduino (3,5,6,9), with analogWrite() values as 100,150,200,250 ...
0
votes
1answer
103 views

Connecting the cathode of a diode to the output of a multiplexer

From the image, the diodes share the same anode which is driven by 'Do Something'. My question is: through using Arduino IDE, what code should I write that connects the output of the multiplexer (Z) ...
1
vote
0answers
253 views

Getting Trouble in multiple ST7789 SPI LCDs (without CS) with ESP32

I am developing a product in which i have to use 5 LCDs. The LCD i am using does not contain CS pin. SO i had to use MUX for muxing of complete SPI bus from one LCD to other. But the issue i am facing ...
2
votes
1answer
359 views

Reading Multiple MPU 9250 Sensors using TCA9548A Multiplexer

I am trying to read multiple MPU 9250 sensors using TCA9548A multiplexer in ESP 32 and Arduino IDE. Has anyone done that successfully? I am new to the area of Arduino coding. I am trying to edit the ...
0
votes
1answer
409 views

Problem connecting 2 74HC595 8 bit shift registers in cascading connection

I have now successfully learned how to control a single 8 bit shift register 74HC595 with Arduino UNO but whenever I tried to connect another one with the first shift resistor via cascading connection ...
2
votes
1answer
168 views

What are a few good ways to connect multiple I2C busses?

I have an issue with a project. I have a backplane with an Atmega328P based microcontroller controlling an I2C bus with multiple peripheral devices. One such peripheral is a removable card with ...
1
vote
0answers
93 views

Programming multiple arduino at once

I actually made a prototype with multiplexing Chip select pin on Arduino, which connects to RESET pin of target board to program. When I am connecting one target board at once I am able to program it ...
0
votes
2answers
62 views

TPIC6B595 Output Unable to Allow Supplied Power to 7-segment Display

We have an Arduino Nano connected to 4 small (0.5") common-anode 7-segment displays and 2 large (3") common-anode 7-segment displays. We are trying to multiplex the displays. The larger one ...
0
votes
1answer
489 views

Arduino I2C Multiplexing uisng TCA9548A

I am using 5 sensors out of which two have the same I2C address and are connected via TCA9548 multiplexer. The remaining 3 sensors are connected to the main arduino I2C bus. In example sketches online ...
1
vote
0answers
188 views

Serial Hangs with multiple PN532 nfc reader and a TCA9548A

I am trying to use multiple PN532 reader. I have put all my readers on a multiplexer (TCA9548A). The script works well, but when I move my tags on readers sometimes the serial says to me there is an ...
0
votes
1answer
72 views

connected between 2 arduino

i want to connect SPI 2 arduino master and slave through the MUX , to write and read in external memory , when the master write in memory slave read . pls help . code to master #include <SPI.h&...
-1
votes
1answer
138 views

Addressable LEDs vs Multiplexing for a Matrix

I would like to building a 8x64 RGB Matrix and connect it to my Arduino. As this form factor does not really exist I would need to build one myself but now I am wondering if I should use addressable ...
-1
votes
1answer
302 views

Multiple MPU9250 Synced

I am interested in collecting data from 3 MPU9250 via I2C communication protocol. As I've read, I can collect measurements on the same I2C Bus from up to two MPUs. However, how can I collect Synced ...
0
votes
0answers
270 views

How to read from multiple multiplexers (CD74HC4067) with a library

I need to read alot of buttons and analog inputs for my project (60 buttons 15 faders) and there fore need to use multiplexers. But most mux libraries seems to only support one mux, am i wrong?
0
votes
2answers
119 views

How to get more than the 16 Analog INs on a Arduino Mega for using like 24 piezo sensors

i bought an Arduino Mega2560 and flashed it with usbmidi. So now it comes up as a midi device. I need more than those 16 analog ins to be able to put all my 24 piezo sensors into it to receive midi ...
-1
votes
3answers
543 views

Arduino SPI Multiplexer problems

I want to use the ADG731 32 ch multiplexer to read 32 potentiometers, I have wired everything and it works but it doesn't works as fast as I would want. The problem is that If I turn a potentiometer ...
0
votes
1answer
556 views

Possible to connect 3 MPU9250 to Node MCU without multiplixer?

Is the idea of connecting AD0 pins of MPU9250 is still valid like the 2nd answer of this question? - How to change i2c address for mpu9250? I have connected 2 sensor as test. SCL & SDA of both ...
1
vote
0answers
165 views

Using TCA9548A to read 30 ADCs

I want to read 30 differential ended analog sensors. Using ADS1115 16 bit this is possible, but we end up having only 4 address on I2C, so i chose TCA9548A breakout board with 8 I2C multiplex channels,...
0
votes
1answer
206 views

Routing Matrix with a large number of I/O [closed]

Lets say that i would like to make a 128x128 routing matrix with an arduino uno, Since i am unexperienced i think of using two 4051’s for 8x8 patching and because i want to persist the patch, ...
-1
votes
1answer
378 views

maintain state of a channel cd74hc4067

I have this code to change channels. void setMuxChannel(byte channel) { digitalWrite(muxS0, bitRead(channel, 0)); digitalWrite(muxS1, bitRead(channel, 1)); digitalWrite(muxS2, bitRead(...
0
votes
1answer
951 views

Binary addressing and coding to control a 96 input mux matrix

I’m trying to wrap my head around using binary addresses in a mux. Failing miserably. For the circuit I have six 16 channel analog multiplexers CD74HC4067 as slaves to an eight channel multiplexor ...
0
votes
1answer
385 views

How does Peggy2 drive rows with 74HC154 Decoder?

Trying to program Evil Mad Scientist's Peggy 2 board without their Library. The board drives a LED Matrix with Source 74HC154 Decoder Sink STP16CPSO5 LED Sink Driver Schematic What has me ...
0
votes
1answer
365 views

Minimum number of Pins to use for multiplexing LEDs

whats the minimum number of pins to use when multiplexing 6 LEDs? is there some kind of formula that can be applied to n LEDs? Or in other words, how many LEDs can an Arduino Uno control without the ...
5
votes
1answer
17k views

How important is the INT pin of the MPU6050 (GY-521)?

I want to wire multiple MPU6050 (at least 16 of them) to an arduino UNO for development (then nano for production). So I first started wiring one MPU6050 to an arduino like shown on the diyhacking ...
2
votes
2answers
271 views

Avoiding false rising and falling edge when using demultiplexer

I have 8 sets of 8 push buttons. There is a Teensy and a demultiplexer. The demultiplexer has 8 outputs. When an output is selected it is pulled low. Each output is connected to a group of 8 push ...
1
vote
1answer
3k views

Using Capacitive Sensing Library with a 74HC4067 multiplexer

I'm trying to use the Capacitive Sensing Library by Paul Badger in conjunction with one or more 74HC4067 multiplexers to achieve a lot of capacitive touch inputs. I came across this youtube video ...
2
votes
2answers
3k views

Issue with code for SDA/SCL TC9548A Multiplexer and HMC5883L sensors

This is my first time posting on this forum, so I hope my question is appropriate here. My team is working with the Adafruit TCA9548A 1-to-8 I2C Multiplexer Breakout board to try and read from six ...
0
votes
1answer
210 views

Multiplex 7 segment during delay (external IC?)

I am using some sensors with the arduino which take a second to receive the data from them. My guess is that there is a delay used somewhere in the library. During this time the multiplexed displays ...
4
votes
1answer
248 views

Working with multiplexers for constant voltage output

I'm working on creating a circuit where I'm trying to have the ability to switch multiple strands of LED rope on and off at a time using an Arduino and a multiplexer. With my current configuration, ...
2
votes
2answers
948 views

Interface with mux-controlled LED rope

I'm working on using a GUI in Processing to control some LED rope from Adafruit, and using this multiplexer. I've gotten the following Arduino code working the way I want to cycle through the various ...
2
votes
1answer
69 views

Arduino -> Processing conversion: creating mux channels

As the title alludes to, I'm in the process of converting an Arduino sketch to a Processing sketch. So far, mostly pretty straightforward. I'm running into an issue with creating an array of ints for ...
1
vote
1answer
2k views

Using an Arduino and multiplexer for writing to multiple outputs

I'm attempting to use the multiplexer setup in this article with my Arduino Uno to control the output of LED's, as a way to fully understand the principles of multiplexing. I'm working to modify the ...
1
vote
2answers
684 views

Seven segment display multiplexing [duplicate]

I have written a code that displays a number into a seven segment display without manually setting the Arduino pins HIGH/LOW for each number. Now, my problem is how can I display a number larger than ...
-1
votes
1answer
897 views

Simple example multiplexer usage

I'm new at multiplexing with arduino (I use arduino from some years), and -as title says- I'd like to learn. I'm trying to build an expandible system with 3 sensors, and I'd like to use a 74hc595b1 to ...
1
vote
0answers
70 views

Demux 1 LED at a time [duplicate]

I have the 14051 Demux set up with an Arduino Uno R3 and I am able to light up all three LED's at once with a 1 second delay however, I want to light up 1 LED at a time how can I do this? My ...
1
vote
1answer
172 views

Can I hook up an Analog multiplexer to Arduino Nano?

I want to increase the analogue inputs for the Nano. So is it possible to hook up a CD74HC4067 analog multiplexer to it? Thanks.
-1
votes
3answers
1k views

Why do the LEDs visibly flicker?

The aim of the project was to be able to show two "kinds" of LEDs in a 8x8 single color LED matrix. I used a MAX7219 chip to drive the LEDs using my Arduino UNO R3 as the driver (with the usual ...
2
votes
3answers
524 views

How to multiplex multiple displays?

I want to use 2 "displays" with 4 digits. The displays are common cathodes with cathode transistors connected to the digits, as the figure: The segments of both displays are connected together on the ...
7
votes
3answers
18k views

Multiple I2C sensors with the same address

I am trying to find the simplest way to connect multiple (preferably around 10-20) IMU sensors to one controller. There are two constraints: sampling at 60Hz and reasonably simple wiring as I want to ...
0
votes
1answer
370 views

How do I control arduino uno multiplexed digital pin (using HC74595)

Edit: I moved the whole initial post to avoid misunderstanding and confusing everyone, sorry after all the reading i came up with this: this is my code for ultrasonic sensor that going into digital ...
3
votes
1answer
2k views

PWM multiplexing on Arduino nano

simulate this circuit – Schematic created using CircuitLab Its a simple project. I am trying to drive 3 RGB LEDs using Arduino Nano. Since Arduino Nano does not have 9 PWM pins, the only ...
1
vote
2answers
1k views

multiple multiplexer (4051) - how to process the inputs?

I have my Arduiono which has only a limited amount of Inputs/Outputs. But in my project I will have to attach a ton of potentiometers/buttons/LEDs, so I will have to use the IC4051-Multiplexer/...
1
vote
1answer
570 views

Why is Serial.begin(9600) interfering with my multiplexor functioning?

I have an Uno hooked up to a sparkfun 8 channel multiplexer (https://learn.sparkfun.com/tutorials/multiplexer-breakout-hookup-guide). I have it wired up like this: Arduino0 --> S0 Arduino1 --> ...
2
votes
0answers
95 views

Arduino toggles on multiplexer not working

I am currently working on an Arduino project that needs alot of on/off toggles. Because my Arduino Mega does not have enough pins I connected 5 multiplexers to it (the MuxShield 2's). The problem is ...