I am going to try Pico devices. I need to connect four devices to the one SDA/SCL pins on the Nano board. Using cable to connect boards in series and hardwire from terminals on last device to Nano, are pullup resistors required still? Are they built into the boards?
If needed is it correct that they need to be between 2K and 10K? The lower the value, the better for high speed responses?
Thanks in advance.
Yep, every piico device has a built in pull-up resistor. There’s also a trace on the back you can cut to disconnect it if you’re stringing up multiple.
You only need one, and if you leave lots of them connected the pullup can become too strong (the resistors are in parallel, resulting in a low resistance pullup). You might get away with leaving them all enabled with only 4, bit at some point you’ll need to cut the traces.
If you need to reenable them you can always solder the trace back together.
If you wanted to use I2C with an Arduino we have a tutorial that uses the Uno that should be very similar.
It’s also worth mentioning that the PiicoDev sensors are 3.3V devices so can’t be connected directly to an Arduino, for that you’d want a logic level converter like this one.
Does the Nano inputs register 3.3v logic or do I have to use the converter?
If I do need to use one, it is only needed on the SDA/SCL pins is that correct?
I’m having to rework a project that I used a Nano33BLE, which I would still prefer to use, but my issue with the Nano33BLE is that it did everything I needed, but I need audio playback, recorded voice command. But currently there is no solutions in Arduino code for me to achieve this.
Unless you have any suggestions.The issue with the coding is not many people use the Nano33BLE range and any codes written for the Nano boards for audio don’t work with the Nano33BLE.
Yeah the Nano 33 BLE uses a 3.3V logic level (and isn’t 5V tolerant).
Do you have your code there? The processor on the 33 BLE should be a bit more capable than the one on the Normal Nano.
A simple way to get different audio files out would be with an WAV trigger or a single file with a voice recorder module.
Awesome, that works better for my project, I can stay with the Nano33 boards and the 8 trigger WAV trigger. I wish I asked on hear, I spent weeks on Arduino forum asking about a solution and I was told to go back to the Nano board.
Thanks for your help Liam.
Liam, do I have to use a 5 to 3 volt logic converter to be able to use 3V modules on the Nano board?
I definitely would use it if I was using a Nano33BLE with 5V modules.
I really appreciate your assistance it has let me relook and for future version be able to use the Nano33BLE or Sense board which will definitely allow me to keep the project minimal in components, weight and size.
Which module did you have your eyes on? All of the Adafruit ones work at a logic level of 3V but are 5V tolerant.
No worries! We’re all here to help I’m keen to see the final design!
Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger - 2MB Flash
I believe this one will suit as it should allow me to use the 8ohm 0.5W speaker direct out of the board without the need of an amp module. It also will give me the ability to add volume up and down buttons to let users adjust volume easily.
Is this all correct.
That one only has a line out and wont be able to drive a speaker, I’d take a look at using this module Adafruit Audio FX Sound Board + 2x2W Amp
It has all of the features that you are after baked in and ready to go, just with the addition of the amp.
I’d also take a look into using serial instead of the trigger lines as it will save wiring everything up!
Thanks Liam, food for thought. I’ll look into all the options you have suggested.
Sounds like a plan, if you have any other questions feel free to fire away!
Sorry, the Pico range, TOF, DOF, Lux
I getcha now! Yeah the PiicoDev range uses 3.3V for logic and supply voltage so for a 5V system you need to step everything down. At the moment Core doesnt supply any Arduino libraries but there are certainly some floating around on the net.
Thanks for confirming, I have one 3 to 5 logic converter this will do I am sure as the pico devices will link with their cables and I just need one pair converter for the one that connects to the Nano board. Is that correct?
I would have a read about how logic level converters work, its really interesting!!