 Welcome to the show, it's me JP, it's time for JP's product pick of the week. Here we are. Again, it's a Tuesday, thanks for stopping by. I will start off by saying, head on over to these two URLs, or that one QR code, but these two URLs, those are the two product picks we have today. Today is a dual pick, they're very similar items, just a couple different flavors of a similar item depending on your needs. If you head there, you should be getting a 50% off deal on these picks today. Yeah, wow, what a savings. I'm checking them out right now, myself, excellent pricing on these. Head over there, you can watch this show from inside the product pages. When you go there, just scroll down a little bit and you'll see a little video playing right there. It's this, it's this show right here that you're already watching. Head on over there and check it out. Thank you for stopping by our Discord. If you're somewhere else and you're wondering where the chat is, jump on over to our Discord. It's at adafru.it-slash-discord and you can look for the live broadcast chat channel. That's this thing that you see going on right here. Also, hello, David. I see you over there in the YouTube chat if you are somewhere else like Twitch or Facebook and you're wondering where all the chatting is. That's where you want to be, is our Discord, so jump on over there if you can. About further ado, I'm going to have Lady Aida jump back a little bit in time and talk to us briefly about today's product picks. Take it away, Lady Aida. We've got two updates. We've got the ADS1015 and the ADS1115, two iSquared C and long digital converters are very popular, but we've stomach-utified them because we love to add plug-and-play support to all of our break-up boards. We're kind of going backwards in time and now we're getting to the older boards. These are 12 and 16-bit ADCs. They work over iSquared C. There's tons of support for them. There's Arduino support, circuit Python, MicroPython, EverydayPython, Grast, whatever. These are kind of ancient and so they're well-documented and well-supported. The 16-bit is a little bit more expensive, 12-bit is going to be good enough for most uses. It's not common to see iSquared C ADCs. Most ADCs are SPI. These are very handy for when you just have to add some high-quality analog inputs or if you have a board, a propeller chip, for example, or a Raspberry Pi that hasn't had an ADC plug-in in. Now what we've updated is it comes in the STEMIQT format, which means it's got these JSTSH connectors. You can use cables to plug-and-play them with our feathers, with the Raspberry Pi, so no soldering required. Of course, if you want to connect to the output pins, you may want to solder to them. But at least for the entry-level wiring and testing, no soldering is required. You can have up to four of these, I think, on one iSquared C bus just by noodling with the address pin. I think tying it to ground or tying it to SCL will let you choose multiple addresses as well. It's a very easy, very reliable way of adding multiple 12 or 16-bit analog inputs. Yes, indeed. That is the product pick of the week. That's it. Look, there it is right there. It's actually two of them. I only have this one right here, but let me talk about these. So that's my product pick of the week. This week it is the ADS1X15 ADC. This is the 16-bit one. This is the 1115. We also have the 1015, which is a 12-bit. We're doing both of those today at a discount, so head on over to their product pages and get them for half off. This is a really terrific analog-to-digital converter. That's what an ADC is. Some microcontroller boards will have a few ADC pins, and they're often something like 10-bit resolution, so not super high resolution. Some boards you'll work with might have no ADC pins. This is the type of thing you want to add. This will give you up to four channels of high-quality, high-resolution analog-to-digital conversion, perfect for knobs and sliders and soft potentiometers or other analog sensor reading needs. This can be used in a differential mode where you have two pairs of channels tied to each other, and that'll allow you to get a higher precision and also go into negative voltages. I'm going to show you a demo where I'm using this to add really nice, high-resolution, I'm just using two 10K potentiometers to give myself really nice high-resolution that I can use for tuning an oscillator or a couple of oscillators, so I'm going to have a couple of audio pitches, and you want quite a bit of resolution to get those pitches to be exactly where you want them to be. Let me show you that demo here. I'm going to jump to my overhead, and I'll need to refocus that a little bit, talk about what I've got here. Where did? Okay, so here's my speaker. I've got a little extra microphone over here, so hopefully you'll be able to hear this a little bit better. There we go. That's pretty good. So one, jump a face of mine back in here, one really nice thing about these boards is that we have I square C connectivity to your microcontroller, and you can do it without any soldering if you use these STEM-QT slash quick connectors. You can see this one here has a nice little STEM-QT connector, and I'm plugging that right into a Metro M7 board. I also have an amplifier and some extra wiring here that's not part of this project, and the amplifier has a nice little four-ohm speaker sitting over here, three watts. I have a couple of 10K pots, and I put some neat old Bakelite knobs on them. So what's going to happen here is that I'm going to be reading those knobs and then turning those values into the frequencies or pitches that we hear on a pair of sawtooth waveform oscillators. So let me turn up this speaker here. Let me know if there's any issues with the audio mix there, okay? So here I wanted to tune a nice interval, and I can really fine tune that thanks to that high resolution of those ADCs. Let me turn that back down, and I'll show you in code what that looks like. You can see, first of all, just watch the, I'm going to turn down the audio a little bit. Just watch the values there. This is the raw values that I'm reading on one of those knobs, so you can see I've got really high precision, high resolution, okay? So I'm taking those values, which I'm reading, in this case it's, I believe, 15-bit resolution because I'm using these in single-end mode. You get the 16-bit resolution if you use the differential mode. I think I have that right. We have a really nice, something like 60-page data sheet for these chips that I'll show you a link to. But if we take a look at the code here, the main things that I'm doing are importing this ADS1X15, and then I'm particularly grabbing the 16-bit one in this case, so then I from that grab ADS1115, and then I'm also bringing in the analog in support, so that's what allows me to use up to four of those pins as analog inputs. I'm setting that up on my I2C bus, and as Lady Aida mentioned, a lot of times these ADC boards are only SPIs. This one's really nice and convenient because it works over I2C, easy to plug into other microcontrollers. Then I'm also setting up my synthesizer stuff, my amplifier output, but really the key thing that you can see at the bottom of the code here is I have two notes that I'm playing, and the frequency of one of them is my value I'm reading off of, I happen to be using channels 2 and 3, there's 0, 1, 2 and 3, so channel 2 value, and channel 3 value. That's how easy it is to read those off of the ADC here, and then I'm just making the range a little smaller as far as the pitch range that we can hear just by dividing that, so I'm dividing that by 48, and I'm also preventing any noise fluctuations that might drop that slightly negative, sometimes the value will go down to negative 1 and that will freak out the frequency of the synthesizer which doesn't like anything below 0, so that's what this little max here of whatever that value is, and 0, so that'll make that the smallest number that it can go. So there's our little two note drone synth there. If you take a look at the product page here, I'm going to jump over to this view of the world here, you can see so here's the 16-bit one, you may want to spend less and get the 12-bit one if your needs don't require you to have that extra resolution, so you can save some money. As Lady Aida mentioned, you can chain these together on the I2C bus, up to four of them by adjusting their addresses, so if you needed a whole bunch of 12-bit ADCs, you need 16 knobs on a project, this would be a nice way to do that with pretty high precision or jump over to the 16-bit one and get even higher resolution. You can check out the Learn Guide, actually Liz did a Learn Guide that covers both of these boards, they're essentially identical other than some small changes in the library usage and this will show you the pinouts for the boards. You can see across the top there, in fact let me jump to this photo here for a moment. You can see across the top there we've got the positive A and then on the far right the negative A, so those are the analog voltage references. Those are, in this case I'm using this over I2C so it's a 3.3 volt reference but you can go up to 5 volts down to 2 volts with this and then those middle pins A0, 1, 2, and 3 are the four channels that you can read either in single-ended mode or pairs of the two of them in your differential mode and then down at the bottom we have the I2C pins broken out if you don't want to use the stem of QT connectors you can use those, solder some headers on as well as the address pin that you can use to set different addresses on these. So checking out the guide again, you can see here we have all of the usual facts and info there about your pins and how to use them as well as how to set the different addresses for these to chain a bunch of them together. Section on assembly and wiring, your signal connections here we'll show you what to wire up depending on what you're reading and this is an update, it's actually a second level update on a board that we've had for quite a while, I got a form factor change and added the stem of QT and then the most recent version added the really nice silk screens using penguin and then you can see here there are some examples of some circuit python code, some Arduino code, and some Blinka code if you want to use this on something like a Raspberry Pi which is perfect because you don't have any analog pins on a Raspberry Pi unless something's changed but I'm pretty sure you have no analog pins so if you want to do something as simple as read a knob you can grab one of these and use it over I-squared C with your Raspberry Pi and the Blinka library. So it was just noticing over in the Discord, Tyeth says these are the bee's knees, got lots from another place many moons ago but the I-squared C plug-and-play is always better yeah super convenient there. Keith over in the YouTube said it sounds like an air raid siren it absolutely does I was actually goofing around with hooking these together with a I just have like a rubber band around them and I pitched them and then was trying to move them together and it sounded well it sounded pretty alarm like here you go. One other thing you can do with the higher resolution is actually get really darn close to tuning it so well that you don't hear too many phase offset beats. I haven't gotten it perfect and it may be that I need to shut the range even tighter as to what voltages or frequencies I'm sending to this but you can hear if I want to tune these in unison to the same pitch this resolution allows me to get really close so here we go. So you hear a little bit of phasing but otherwise those are in pretty tight pitch. You can also, let me jump back over the code, if we use a sine wave you can really there's nowhere to hide with a sine wave because we don't have all of those harmonics so if I come into the code here and just change which waveform I'm I'm specifying when I instantiate this synth object now it's going to be you can hear it cancels itself out in the phase because phase isn't perfect but it's pretty close which is which is pretty impressive for for this simple setup and just a little bit of synthio code. Sine wave is quiet too because it doesn't have the benefit of harmonics I can raise that volume. Pretty close, pretty close. Alright turn that down. So I'm gonna turn this mic off here. I think that covers it so you can check these out head on over to that URL that you see right there either of those and there's both the 12-bit and the 16-bit versions of these like I said you can use these in single end or in differential mode depending on what you're trying to measure and the precision that you require but really nice easy way to add some knobs, faders, soft potentiometers, maybe some of those stretchy fabrics do those work that way I think they do you've got all kinds of analog sensors that you might want to use in your projects and this is a really nice way to to work with them pretty easily four of them at a time up to 16 if you batch these together over I squared C. Let's see anything else I missed I mentioned actually if you head to the product page you can click on a link that'll take you to the learn guide and if you go down to the downloads you'll see the data sheet here this data sheet for each of the two from Texas Instruments and this is a hefty one like I said it's something like 60 pages long but you will you will find it if there's info you need you will find it in there. One thing I didn't mention I think is that you can use gain up to 16x gain maybe I mentioned this but depending on the type of signal that you're trying to read you can gain that up or leave that at a default of one gain. Let's see anything else this has internal low drift voltage reference it has an internal oscillator on it so really set up nicely I believe we're using 128 samples per second on the reads on the analog reads you can and that's I think baked into our libraries but if you wanted to it is possible to go up to I think 860 samples per second on these so really fine-grained high resolution. Alright I think that will do it so go grab yourself some that is my product pick of the week this week it is the ADS 1x15 16-bit and 12-bit ADC breakouts with Stemacutee. Thanks everyone for joining me for Adafruit Industries I'm John Park and this has been JP's product pick of the week. Bye-bye don't hurt anyone Lars