-> all right, I was definitely tired ..
.. I effectively used wrong resistor values :/ .. [ & kinda feel dumb to have screwed the tinier version :/ ]
this being said, "shit happends", but it's no reason no to try again ;p
=> so, after switching the right resistors for the breadboard version & building a 1-way comm cable, I tried what you suggested & got "something" ( see the screenshots ), but stuff doesn't seem to go as it should:
-> I 've never been able to type in the terminal window ( the way you did it in one of your demo videos on headphone jack UART ) => is ' prompt = "" ' normal ? ( I remember seeing that in the terminal js console )
-> using EclipseOrion & the plugin just printed glitches when testing with
-> I also got glitches when using the page already mentionned ( http://madtoyslab.com/Espruino ) & using udio_serial_write()
I managed to get more "stable" signal tweaking my OS audio settings, & it seems that the 1-way cable is less prone to "be buggy*" on the host jack ( * for some reason, the TRRS cable seems to use the internal microphone when the plug is fully inserted ( or at least, that's what's displayed in the OS settings ( .. ) ) )
Last but not least, I quickly tested some code using the WebAudioAPI to check it's support, & it seems I can't get any sound playing on iOS right now :/ ( I'm pretty sure it may come from the way iOS needs an input before any sound to be played, but I gott digg stuf on that ( .. ) )
-> if you have any hint on this, the page(s) are hosted here [ with dummy-dumby code ;p ]: http://madtoyslab.com/WebAudioContextTests
Also, may this come from the need of a 10uF cap you talked about in your opinion ?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for the quick answer ;)
-> all right, I was definitely tired ..
.. I effectively used wrong resistor values :/ .. [ & kinda feel dumb to have screwed the tinier version :/ ]
this being said, "shit happends", but it's no reason no to try again ;p
=> so, after switching the right resistors for the breadboard version & building a 1-way comm cable, I tried what you suggested & got "something" ( see the screenshots ), but stuff doesn't seem to go as it should:
-> I 've never been able to type in the terminal window ( the way you did it in one of your demo videos on headphone jack UART ) => is ' prompt = "" ' normal ? ( I remember seeing that in the terminal js console )
-> using EclipseOrion & the plugin just printed glitches when testing with
-> I also got glitches when using the page already mentionned ( http://madtoyslab.com/Espruino ) & using udio_serial_write()
I managed to get more "stable" signal tweaking my OS audio settings, & it seems that the 1-way cable is less prone to "be buggy*" on the host jack ( * for some reason, the TRRS cable seems to use the internal microphone when the plug is fully inserted ( or at least, that's what's displayed in the OS settings ( .. ) ) )
Last but not least, I quickly tested some code using the WebAudioAPI to check it's support, & it seems I can't get any sound playing on iOS right now :/ ( I'm pretty sure it may come from the way iOS needs an input before any sound to be played, but I gott digg stuf on that ( .. ) )
-> if you have any hint on this, the page(s) are hosted here [ with dummy-dumby code ;p ]:
http://madtoyslab.com/WebAudioContextTests
Also, may this come from the need of a 10uF cap you talked about in your opinion ?
Thanks again for your time ++
3 Attachments