Ran out of analog pins
hi guys so i am making a project that requires 7 force sensors, but arduino uno only has 6 analog pins. is there any way for me to get more analog pins (without upgrading arduino)?
47 Replies
:PostOnlyInOneChannel:
oh whoops sorry
but act how do i
Post your question only in one place- either delete this one or your other one
i deleted the other one alr
please don't crosspost
you could use an analog multiplexer like the CD74HC4067
https://www.sparkfun.com/sparkfun-analog-digital-mux-breakout-cd74hc4067.html
is it possible for me to use digital pins?
What arduino are you using ?
You would just get an HIGH/LOW, if your module has an digital output. Not something perscise
Uno
oh
You would just know if there is force being applied , not how much force
hold up
so if a pill is sitting there
can it detect
like prob 0.5g pill
or multiple pills stacked
Yes, it can just detect if force is being applied, not how much force. Only even if your module supports digital output
Well if your sensor is rated for that then yes.
oh ok thanks
some sensors have analog & digital outputs
so this shoudl work rite?

Send an pic and we can check
yep up there
those are analog only sensors
I’m guessing this is an pill box, an uno might be too big anyways, maybe upgrading the board might be usefull
yep its a pill box
the uno will be outside the box so yeah]
an Arduino Nano has 7 analog inputs...
oh wait
i have nano
Maybe an ESP32 They have many analog inputs, depends on the board you get
but i have wires alr soldered onto nano
for a prev project
You could de-solder them
bro they are bent
That’s the beauty of breadboards
bc the prev proj i wanted a compact one
Consider investing in an ESP32
True
does ESP32-CAM work?
i have that
It should, it’s an esp with an hat.
nice
But I don’t think it has enough Alanalog pins, so probably not for this project
just checked, it has 16 pins
I gtg
ok thanks for ur help
is this the same for esp32-cam?
it is for the esp32, different dev boards bring out different pins
oh
You can use a digitals pins the multiplex the analog units.
@Callsign_Vulture


@AnonEngineering more than one way to cook and egg
oh
can u send the circuit diagram
ukw its fine ill use arduino nano
ill just get another one
Consider an ESP32. It sounds like you already have experience, and I think an esp would be better. You could add WiFi notifications if you forgot to take your pill-with no extra modules
ok
@Callsign_Vulture