This is perfect for my next escape room theme. Your channel continues to be an inspiration. Thank you for sharing your creative ideas and projects. They always hit home!
It's worth covering compiler directives for debug, you can shove a load of debug code in but it might slow your code down in real use, a compiler directive allows you to simply switch code segments on and off depending on whether it's development code or live code. This video also taught me about sending the sketch name/version which I'd never realised before although I have used the compile time/date to set a real time clock but you still have to combine it with a physical button to fine tune it. program the Arduino, wait until the time rolls over to 00 seconds, hit the button.
Awesome! Thank Allister, opening my mind and giving fresh and fun ideas. Must say I hate these potentiometers, I found that they are not linear as you might think
I had wondered whether the reason for the two output channels was that one was linear and the other logarithmic, but that doesn't seem to be the case. Fortunately it doesn't matter too much for this application, but you're right for scientific/industrial use you might want to invest in a higher quality one!
About the way to reset de adc. Would it be better to put an analog input to ground and read it before reading the ones we need? Obviously if you have an input to spare
Thanks for the clarity of explanation regarding grounding and noise. Do you ever find that the relay switching causes interference with the Arduino (or nearby Arduinos)? I've been looking a lot at flyback diodes so wonder why you don't use them.
It's best to filter analogue inputs either externally with capacitors or internally with software. It's unlikely to be an issue here with such low currents but I did have to debug a system where they'd run sensitive signal wires alongside 10Amp motor wires and while I couldn't fault the software (it was far better than anything I could write) the hardware left a lot to be desired. A small capacitor from each analogue input to ground will average the signal with any noise so acting as a filter.
Thanks for another interesting and inspiring video. Just one question. Isnt it possible to set the solution constraints such that they cannot ALL be true at the same time?
This is perfect for my next escape room theme. Your channel continues to be an inspiration. Thank you for sharing your creative ideas and projects. They always hit home!
The tip about the filename and date in the debug info alone was worth the price of admission. :-)
Thanks for sharing.
I'm on to use this game for my box-project with round potentiometers. Thank you for the clear and very understandable video!
Just made a basic circuit using these concepts today :) Thank you very much!
Hi!
I just discovered this channel and I really like it. I also love making puzzles so I will stick around for sometime 🙂
It's worth covering compiler directives for debug, you can shove a load of debug code in but it might slow your code down in real use, a compiler directive allows you to simply switch code segments on and off depending on whether it's development code or live code. This video also taught me about sending the sketch name/version which I'd never realised before although I have used the compile time/date to set a real time clock but you still have to combine it with a physical button to fine tune it. program the Arduino, wait until the time rolls over to 00 seconds, hit the button.
Awesome!
Thank Allister,
opening my mind and giving fresh and fun ideas.
Must say I hate these potentiometers, I found that they are not linear as you might think
You probably accidentally used log pots. I’ve had that issue in the past
I had wondered whether the reason for the two output channels was that one was linear and the other logarithmic, but that doesn't seem to be the case. Fortunately it doesn't matter too much for this application, but you're right for scientific/industrial use you might want to invest in a higher quality one!
About the way to reset de adc. Would it be better to put an analog input to ground and read it before reading the ones we need? Obviously if you have an input to spare
Thanks for the clarity of explanation regarding grounding and noise. Do you ever find that the relay switching causes interference with the Arduino (or nearby Arduinos)? I've been looking a lot at flyback diodes so wonder why you don't use them.
It's best to filter analogue inputs either externally with capacitors or internally with software. It's unlikely to be an issue here with such low currents but I did have to debug a system where they'd run sensitive signal wires alongside 10Amp motor wires and while I couldn't fault the software (it was far better than anything I could write) the hardware left a lot to be desired. A small capacitor from each analogue input to ground will average the signal with any noise so acting as a filter.
There's two connections to get the values on either side of the divider (Same reason a potentiometer has three lugs).
Thanks for another interesting and inspiring video. Just one question. Isnt it possible to set the solution constraints such that they cannot ALL be true at the same time?
Impressive!
What ceramyc capasitor we must use ?
You're fantastic
Thanks!
21:42 - I think you meant to say micro Farad rather than milli Farad
Yes I agree :-)