app_iA (1).aia (305.2 KB)
Did you post your sketch yet?
Maybe it has been "improved" to death since yesterday, and it is losing the connection.
Also, I have downloaded a Blocks Image of the button click where you use the translator...
You mentioned that adding the translator broke your app.
Removing the translator component would lose all your translation request blocks, but allow you to verify if it indeed had an effect on your BlueTooth operations.
The draggable event block above would let you restore your translation calls if you drag it back into the Blocks Editor.
flex_mpu_bt_try_iA.ino (10.8 KB)
attached sketch.
I tried that already...deleting the translation blocks. Apparently, the HC-05 is not getting connected to the arduino
Update: I got the output on the app (my wiring was wrong) but now the translator functionality is not working :((
Please help!!.
If you can help me with getting the translated text on another app,please do.
Thanks for all the deubgging up till now.
Instead of posting the received text to a Label.Text, post it to a Textbox.Text to allow you to feed the translator independently of received text (hand typing.)
Has the translator ever worked for you?
How do you know your target language codes are suitable for the translator?
Also, Spinners are fussy about their first Element.
I prefer List Pickers.
i do not want to enter the text manually, basically the idea is to automatically translate the output from the label (which is coming from arduino) hence another label.
language codes i got from a yt tutorial
It's only temporary, for testing the language translator through hand input.
ok...how to do this?
You could make a separate app,, with just the
- translator
- textbox
- output Label
- speech output (did you want that?)
- button.
umm okay, i shall try that.
I have a question though. So in my existing translation blocks, the text that my arduino is sending,is it essentially stored in my variable called "Received_data"?
because I feel I may have wrongly been calling the mere label instead of the variable so just want to confirm. Please check my .aia file one more time and let me know,please.
app_iA (2).aia (305.3 KB)
You are still missing the event that catches the translation on its way out of the translator.
Also, I can't make head or tail of the difference between Label2 and Label3.
Maybe if you renamed those to something that includes the component type and its purpose, like
lblLanguage
and lblResponse
and lblTranslationResult.
Yes, you need 3 labels to figure this out.
By the way, I can only read English, and the Blocks Editor can't translate block texts for me.
Please help! I'm stuck on this last part, that will complete my project altogether.
Before I look, did you add the event block to catch the translation result and post it into a Label.Text?
No, I am kinda confused as to how to go about it.
It works!!
Thank you so much for all your help all along. It was great interacting with you.
God bless!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.