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
1answer
24 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 ...
4
votes
1answer
218 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, ...
0
votes
1answer
41 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
0answers
45 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
3answers
586 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 ...
0
votes
1answer
271 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
2answers
580 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? ...
-3
votes
2answers
89 views

Coding multiplexer for 64 IR-sensors [closed]

I'm new to arduino and I was hoping if anybody can show me how to code a multiplexer (CD4051BE) for 64 IR-sensors? Really need it! Okay, To be more direct the problem is a software and not a hardware ...
0
votes
2answers
202 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
233 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
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). ...
2
votes
2answers
2k 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
0answers
105 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,...
2
votes
3answers
274 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 ...
0
votes
1answer
69 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, ...
5
votes
2answers
11k 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 ...
-1
votes
1answer
159 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
411 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 ...
3
votes
2answers
972 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 ...
0
votes
1answer
137 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 ...
3
votes
1answer
10k 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 ...
1
vote
2answers
168 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 ...
0
votes
0answers
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 ...
0
votes
1answer
181 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 ...
1
vote
1answer
62 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 ...
2
votes
2answers
823 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 ...
0
votes
2answers
350 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 ...
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
votes
1answer
816 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 ...
0
votes
2answers
568 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
vote
0answers
66 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 ...
9
votes
2answers
20k 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 ...
0
votes
1answer
125 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.
2
votes
3answers
441 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 ...
0
votes
1answer
279 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 ...
1
vote
2answers
2k 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, ...
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 ...
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
466 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 --> ...
0
votes
1answer
517 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. ...
1
vote
0answers
81 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 ...
2
votes
0answers
38 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 ...
-1
votes
1answer
168 views

Why does the current drop through a multiplexer?

I am trying to control 64 leds through a number of 8:1 analog multiplexers. The input is from pin 11 on the Arduino which is giving 40mA (maximum) and it is pulsed at 38kHz. Then I use other pins to ...
0
votes
0answers
90 views

How to code for cascading multiplexers? [duplicate]

I hope I can get some help on how getting this to work. I have multiple Sensors (32 of these) I want to read their values. I am using a master multiplexer HC4051 connected to 4 slave multiplexers, ...
1
vote
1answer
2k 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; ...
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 ...
3
votes
1answer
151 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 ...
0
votes
1answer
106 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?
1
vote
1answer
4k 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
549 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 ...