Skip to main content

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
0 votes
1 answer
31 views

Photoresistor Matrix has the same values

I'm a second-year System Engineer student who needs to make a project for class. I have a 4x4 matrix of photoresistors that goes to an analog digital multiplexer connected to an Arduino Uno. This ...
Iustinian Serban's user avatar
1 vote
0 answers
70 views

Unable to read the sensor data from all the sensors connected

I am trying to build a project where I have connected 8 Sparkfun TOF Sensors to an I2C MUX which is connected to a Sparkfun RedBoard. I need to read and display the data from each sensor on the serial ...
user90726's user avatar
1 vote
3 answers
361 views

Multiplexing three VFD tubes — why are the segments and the display timing incorrect?

I'm using an Arduino Nano, a UNL2803 IC, and three 2N3904 transistors to drive three seven-segment vacuum fluorescent display tubes (IV-6) in a multiplex configuration. The UNL2803 is used to drive ...
Thomas Burns's user avatar
2 votes
2 answers
211 views

Voltage reading problem in Arduino mega based 10 cannel battery capacity tester

I want to make a 10 channels Arduino mega-based battery capacity tester using 4.7 ohms 10w resistors controlling them with IRFZ44n MOSFETs with respected digital pins. An 8.4V battery powers the ...
Faizur Rahman's user avatar
1 vote
2 answers
196 views

What size diode should I use?

I'm building a project with an ESP8266 which requires multiple analog inputs - but the ESP8266 only has one. I know of ways to multiplex with dedicated modules, but since I have lots of diodes lying ...
JakesMD's user avatar
  • 113
2 votes
1 answer
1k 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 ...
thermike's user avatar
2 votes
1 answer
211 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 ...
Fanch's user avatar
  • 23
0 votes
2 answers
270 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 ...
DMP's user avatar
  • 9
0 votes
1 answer
661 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 -...
TryHack Channel's user avatar
1 vote
1 answer
177 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 ...
faanbece's user avatar
2 votes
1 answer
1k 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 ...
Austin's user avatar
  • 116
1 vote
0 answers
282 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 ...
satan 29's user avatar
  • 169
0 votes
1 answer
133 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) ...
William's user avatar
  • 11
1 vote
0 answers
552 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 ...
faiz07's user avatar
  • 11
2 votes
1 answer
907 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 ...
Ajay Raj's user avatar
1 vote
1 answer
1k 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 ...
Subha Jeet Sikdar's user avatar
2 votes
1 answer
599 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 ...
Delaney Fitzpatrick's user avatar
1 vote
0 answers
151 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 ...
Robot's user avatar
  • 49
0 votes
2 answers
136 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 ...
ReignOfComputer's user avatar
0 votes
1 answer
781 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 ...
Zaffresky's user avatar
  • 183
1 vote
0 answers
406 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 ...
Buisson's user avatar
  • 111
0 votes
1 answer
75 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&...
HAask's user avatar
  • 1
-1 votes
1 answer
391 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 ...
Septatrix's user avatar
  • 103
-1 votes
1 answer
742 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 ...
YvesD's user avatar
  • 1
0 votes
0 answers
376 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?
SouZ's user avatar
  • 11
0 votes
2 answers
142 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 ...
Flo's user avatar
  • 101
-1 votes
3 answers
709 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 ...
Victor Casado's user avatar
0 votes
1 answer
674 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 ...
suu's user avatar
  • 85
2 votes
0 answers
240 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,...
root0's user avatar
  • 21
0 votes
1 answer
281 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, ...
Ali Somay's user avatar
  • 121
-1 votes
1 answer
632 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(...
FrEqDe's user avatar
  • 127
0 votes
1 answer
1k 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 ...
Curtis Bracher's user avatar
0 votes
1 answer
417 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 ...
RickH's user avatar
  • 41
0 votes
1 answer
530 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 ...
oleole's user avatar
  • 101
6 votes
1 answer
23k 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 ...
Paiku Han's user avatar
  • 179
2 votes
2 answers
385 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 ...
Daniel's user avatar
  • 23
1 vote
1 answer
4k 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 ...
juliusbangert's user avatar
2 votes
2 answers
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 ...
BestQualityVacuum's user avatar
0 votes
1 answer
220 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 ...
Mariano Elia's user avatar
4 votes
1 answer
271 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, ...
narner's user avatar
  • 267
2 votes
2 answers
1k 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 ...
narner's user avatar
  • 267
2 votes
0 answers
79 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 ...
narner's user avatar
  • 267
1 vote
1 answer
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 ...
narner's user avatar
  • 267
1 vote
2 answers
753 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 ...
conquistador's user avatar
-1 votes
1 answer
908 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 ...
lucad93's user avatar
1 vote
0 answers
71 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 ...
MALKAVIAN's user avatar
1 vote
1 answer
197 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.
enoob's user avatar
  • 51
-1 votes
3 answers
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 ...
stochastic13's user avatar
2 votes
3 answers
582 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 ...
Alecrim's user avatar
  • 31
7 votes
3 answers
19k 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 ...
Łukasz Kidziński's user avatar