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.
80 questions
1
vote
0
answers
43
views
Issue reading sensor values with CD74HC4067 16 Channel Mux
I'm running to an issue when measuring my sensor outputs. Previously I've connected my sensors directly to Nano analog pins and measured fine, but I want to use more sensors so trying a mux. Any help ...
1
vote
1
answer
91
views
Arduino Nano ADC input selection
The maximum ADC sample rate for the '328p, using the default prescaler of 128, is given as roughly 10000 samples per second. Maybe I've missed it, but I can't see whether that is the total rate for ...
0
votes
1
answer
132
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 ...
1
vote
3
answers
519
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 ...
1
vote
2
answers
257
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 ...
2
votes
1
answer
274
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
1
answer
817
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 -...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
167
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) ...
2
votes
1
answer
1k
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 ...
3
votes
1
answer
863
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 ...
0
votes
2
answers
186
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 ...
1
vote
0
answers
510
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 ...
-1
votes
1
answer
525
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 ...
0
votes
0
answers
467
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?
-1
votes
3
answers
804
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 ...
2
votes
0
answers
296
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
votes
1
answer
748
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
1
answer
434
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 ...
6
votes
1
answer
25k
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
1
answer
5k
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
1
answer
245
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 ...
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 ...
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 ...
-1
votes
1
answer
919
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 ...