author

freddie43

Inbox View Profile
9CommentsUK
In Industrial Real Time Computer Automation in a former life. Now in to Arduino UNO, Nano, Mega, ESP32, microbit.
  • Signal Generator AD9833

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED for the KHz reading that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - …

    see more »

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED for the KHz reading that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - especially when connected up to your "Oscilloscope in a Matchbox" now I have connected up BtnHorz to expand the X axis of the display and connected it all up to an amplifier. He happily doodles all day proving that his hearing is far superior to our 9.5KHz!

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED for the KHz reading that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - …

    see more »

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED for the KHz reading that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - especially when connected up to your "Oscilloscope in a Matchbox" now I have connected up BtnHorz to expand the X axis of the display and connected it all up to an amplifier. He happily doodles all day proving that his hearing is far superior to our 9.5KHz!

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - especially when conn…

    see more »

    Sorry to take so long to get back to you but had a number of problems.I decided to use a Rotary encoder for 0-30K in 1K steps and add on to that a pot to give 0-1000 (approx) fine tuning.First problem was my old simple Rotary encoder code wouldn't work, so I experimented with a number of libraries which gave a precise reading, but of course when I included an OLED that threw them out, so I adopted a simple update of the OLED every now and again. I settled for an OLED update once every 500 cycles of the Rotary code.RotaryEncoder.h by Matthias Hertel worked well, but I get the odd hiccup with it so I plan to explore some of the others (of which there are many) - some working on interrupts.Anyway, that is where I got to. The important thing is the grandson is impressed - especially when connected up to your "Oscilloscope in a Matchbox" now I have connected up BtnHorz to expand the X axis of the display and connected it all up to an amplifier. He happily doodles all day proving that his hearing is far superior to our 9.5KHz!

    View Instructable »
  • Signal Generator AD9833

    Sorry Peter. Only low priority project using serial monitor at the moment. Having a bit of a problem using two (noisy) pots to set the frequency. Must work out how to best use my rotary encoders. Haven't yet get out of my hearing range to show grandson that I only hear a fraction of what he does! But your scope Nano + OLED on a small breadboard is SO useful as an educational aid.

    View Instructable »
  • Signal Generator AD9833

    I loved your Oscilloscope in a Matchbox (at https://www.instructables.com/id/Oscilloscope-in-a-Matchbox-Arduino/) - as mentioned in my previous comments on that project.But I wanted to use this Sig Gen project of yours to drive that 'scope. When my AD9833 arrived I eventually got round to trying it.What I wanted was to set my frequency by rotary encoder and/or a potentiometer, but I am afraid I just couldn't get my head round the AD9833 interface and the way you had coded it. The project sat on the shelf for a while until I stumbled on Bill William's AD9833-Library-Arduino which took all the hassle out of the interface. This was just what I wanted and it allows the user to independently program frequency, phase, and waveform type for the AD9833. It is at https://github.com/Billwilliams195…

    see more »

    I loved your Oscilloscope in a Matchbox (at https://www.instructables.com/id/Oscilloscope-in-a-Matchbox-Arduino/) - as mentioned in my previous comments on that project.But I wanted to use this Sig Gen project of yours to drive that 'scope. When my AD9833 arrived I eventually got round to trying it.What I wanted was to set my frequency by rotary encoder and/or a potentiometer, but I am afraid I just couldn't get my head round the AD9833 interface and the way you had coded it. The project sat on the shelf for a while until I stumbled on Bill William's AD9833-Library-Arduino which took all the hassle out of the interface. This was just what I wanted and it allows the user to independently program frequency, phase, and waveform type for the AD9833. It is at https://github.com/Billwilliams1952/AD9833-Library-Arduino and I commend it to you

    View Instructable »
  • Oscilloscope in a Matchbox - Arduino

    Yes, I have been using cheap Chinese Nanos with CH340s successfully for over two years, with no problems. (I have seven!)It was just my natural curiosity made me want to try out cheap Chinese Pro Minis and FTDIs. But what a waste of time! Problem is, what to do with them? Maybe resell them on eBay...

    View Instructable »
  • Thank you so much for this incredible project.I have been trying to introduce my grandson to waveforms, and the OLED section of this worked straight out of the box (or should I say matchbox!).Not only that but it clearly displays the train of pulses from an infra-red handset.Now to get down to working through the reams of coding and try to understand how it works.Afraid I didn't get very far with the PC display, but who cares - I really wanted OLED or TFT/LCD and your code is just the job.Thanks again

    Thanks for those ideas. We will try them out.Having spent a lifetime in industrial real time computing I have been surprised how quickly the grandson has picked the concepts up and seen how to apply them to the Arduino. But he is only 10!I almost bought a cheap Oscilloscope, but realising they were all powered by software I decided to explore using the Arduino. We started with a simple Nano square wave generator with an LCD displaying frequency, an LED and a speaker feeding a 'Processing' PC Oscilloscope sketch. He was fascinated by the change in sound, flashing and waveform as he changed the frequency (he loves twiddling knobs!). I was in the early stages of designing a sampling/storage scope when I stumbled on your self-contained project. I now have an AD9833 on order. 'Onwards and upwa…

    see more »

    Thanks for those ideas. We will try them out.Having spent a lifetime in industrial real time computing I have been surprised how quickly the grandson has picked the concepts up and seen how to apply them to the Arduino. But he is only 10!I almost bought a cheap Oscilloscope, but realising they were all powered by software I decided to explore using the Arduino. We started with a simple Nano square wave generator with an LCD displaying frequency, an LED and a speaker feeding a 'Processing' PC Oscilloscope sketch. He was fascinated by the change in sound, flashing and waveform as he changed the frequency (he loves twiddling knobs!). I was in the early stages of designing a sampling/storage scope when I stumbled on your self-contained project. I now have an AD9833 on order. 'Onwards and upwards'!Thanks again. You have fired my imagination (and his).

    Step 14: Future DevelopmentsCertainly agree with you about avoiding Pro Minis. I have wasted so much time with faulty FTDIs and weird and wonderful errors. Stick with Nanos with USB connectors.

    View Instructable »
  • Nice one!I wondered if you could suggest some part numbers / specs / eBay links for the motors and wheels? This looks like my entry project in to Robotics!Thanks

    View Instructable »
  • freddie43 followed arduino channel