NokiMo
lookmumnocomputer
lookmumnocomputer

patreon


I’m aware this may make zero sense

Hello so this is the week for finally wiring it all up to the net, however I have one piece to the puzzle that is still looming the dtmf to pulse converter.


The video above outlines what it is. And a few ways to go about it. I was wondering if anyone was able to aid in this code at all. The inputs and outputs are simple but it all has the possibility of getting a bit messy


So looking for pointers.


Maybe I make the code in my stupid way. Without a memory buffer to describe what it’s supposed to do. However this may not be of help!

Who knows maybe the video will make sense to a codely inclined person! However I doubt it 😂

I’m aware this may make zero sense

Comments

the DTMF tones, especially if 'fast dialed' can go much faster than the Pulse output. You need to be able to deal with both at the same time correctly.

Keith Marlow

I think you're saying that the dtmf converter and arduino will be fast enough to catch any numbers typed in by the human moistware. The issue is the bottle neck caused by the timing of the pulses. I realise I'm late to the party and the work above should have covered this, but I would use a simple array of chars to store the incoming number (or #) when you get the D2 enable. Each number is put in the next array position. Make the array big enough to store 100 numbers to give plenty of time for the pulses to complete . When you get to the top of the array loop back round and start at 0 again. There's also this nice library that could help: https://github.com/rlogiacco/CircularBuffer This would also allow you to let people type longish text messages not just numbers if that would be useful in the future.


Related Creators