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
9
votes
2answers
22k views

How to use a common anode 7-segment, 4-digit display?

Please take this question as an example to (my own) answer below. I've got an 7 segment, 4 digit LED display, but I don't have any idea on how to wire it. I don't understand the difference between ...
7
votes
3answers
14k 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 ...
4
votes
1answer
13k 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 ...
4
votes
1answer
236 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, ...
3
votes
2answers
1k views

Need help with 2X3 matrix for braille

I'm an intermediate Arduino progammer, and I'm making an electronic braille display for my friend. You can think of this display as an array of 28x3 LEDs(one braille character contains a maximum of ...
3
votes
1answer
167 views

Switching Many Switches with one Input

I have a situation where I need to select between two signals, lets say 1A or 2B and route it to output 3C. I need to do this six times (2A or 2B to output 2C, 3A or 3B to output 3C, etc.). These all ...
3
votes
1answer
1k 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 ...
3
votes
0answers
43 views

Multiple MuxShield 2's connected to a single Arduino Mega

I am working on a project and need alot of toggle buttons to control various things around the house. I connected 5 MuxShield 2's to my Arduino Mega. The first two will serve as inputs and the last ...
2
votes
2answers
889 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
3answers
484 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 ...
2
votes
3answers
295 views

How can I turn this into an (Ableton) controller?

I found this lovely decade box in a demolished house recently and want to turn it into an Ableton controller. As you see, there are 18 knobs, each with 12 individual states. I'd like to have a ...
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 ...
2
votes
0answers
94 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 ...
1
vote
1answer
526 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 --> ...
1
vote
1answer
1k 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
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
2answers
218 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
2k 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 ...
1
vote
1answer
5k views

Multiple MPU9250 using Multiplexer

Anybody here have tried connecting multiple MPU9250 into multiplexer. Anyway, I've used the HD74LS151 as the substitute for the 74HC4051 multiplexer. I already tried running the program and just ...
1
vote
1answer
594 views

Reading sensor data over MUX

I will start by saying I am very new to using Arduino. The project I am planning is to create several arrays of sensors (each array will consist of 4 DS18B20 sensors and one temperature/humidity ...
1
vote
1answer
1k views

Issue with CD74HC4067 MUX on high values

I'm having a small issue with the CD74HC4067 multiplexer/demultiplexer: I am using it to receive data from an array of sensors (at the moment I have only 2, but in a near future they will grow). ...
1
vote
1answer
186 views

Good tips for how to connect cables into Mux Shield II?

I just got a Mux Shield 2 and got it working as I expected. Now I started to find out how to actually connect the I/O cables to the board. Doesn't seem to be as simple as I thought. I don't want to ...
1
vote
0answers
138 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,...
1
vote
0answers
69 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
2answers
3k views

How to code for cascading multiplexers?

I hope I can get some help on how to get this to work. I have multiple Sensors (32 of these) which values I want to read. I am using a master multiplexer HC4051 connected to 4 slave multiplexers, ...
1
vote
1answer
3k views

Connecting multiple TFT panels to Arduino Uno via SPI?

Is it possible to connect more than one TFT screen (like this one or similar: https://www.adafruit.com/products/1651) to an Arduino Uno? I'm wanting to connect and control two color screens at once; ...
1
vote
1answer
66 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 ...
0
votes
5answers
444 views

Suggest me an Arduino development board, with a removable ATmega chip?

I want to buy an arduino development board which has facility to remove its chip and insert a new one anytime. I want to use multiple chips in a single board for different purposes. If it is not ...
0
votes
2answers
380 views

Driving numerous chips from 2 separate SPI connectors w/ Arduino Micro

I want to drive numerous chips (L9823, TLC5925, ADG1414, MCP23S08) from an Arduino Micro as well as read input from analog pins connected to momentary buttons, toggles, potentiometers and such. The ...
0
votes
1answer
36 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 ...
0
votes
1answer
3k views

Arduino + 4051 -> noise on certain 4051 pins

I am trying to use two 4051 ICs with an Arduino Micro right now. The idea was to have an 16-sensor demo station (8 sensors per 4051) wherein each 4051 pin selection is controlled by a potentiometer as ...
0
votes
1answer
283 views

Multiplexing help for relay and pwm

I have to control with an Arduino UNO and xbee shield: 9 5V relay 9 RGB LED What kind of multiplexing can you advice me? Do I have to use external power supply (like 12V DC external from arduino or ...
0
votes
2answers
37 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
2answers
76 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 ...
0
votes
1answer
124 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, ...
0
votes
1answer
658 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
354 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
223 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 ...
0
votes
1answer
195 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 ...
0
votes
1answer
588 views

Using two references in the same ADMUX

I'm making a project and I neee to use 2 different references on the same ADMUX. One reference is 0-5V and the other is 0-2.5V. I'm aware that I can use the reference of the Arduino to the 5V sensor. ...
0
votes
1answer
2k views

I/O expander with i2c interface vs Multiplexer

I am wondering where are the difference in between using something like: CD4067, which selects which pins to read/write from by "selecting" an address with 4 pins by writing to it. Versus the MCP23017 ...
0
votes
1answer
111 views

Managing 80 ~ 90 accelerometers with Arduino

If one were to want to keep track of data from 80 - 90 accelerometers using arduino, what would be the best way to go about this challenge?
0
votes
1answer
309 views

Using 2 RGB lights over Bluetooth with a DigiSpark

I'm not that experienced with electronics but I am learning. And I've set a challenge for myself. I have a Digispark USB Development board (and many more but I want to use this one!), I have a ...
0
votes
2answers
648 views

Use Adafruit 16-Channel 12-bit PWM/Servo Shield to switch relays

I'm wondering if using the Adafruit 16-Channel 12-bit PWM/Servo Shield is it possible to switch relays, such as use that shield as a multiplexer and use digital output without PWM. Is it possible? ...
0
votes
0answers
38 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
53 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&...
0
votes
0answers
13 views

RFID reader(125kHz) switching between antennas

My arduino application wants multiple separate cards in multiple separate (nearby) locations to be readable at roughly the same time. I am using a RDM6300 module, with a multiplexer to switch between ...
0
votes
0answers
131 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
1answer
390 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 ...
0
votes
2answers
639 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 ...