Hello everyone, here's a library to send serial data using the Audio jack, i found this project here.
I decided to give it a shot and port that library to B4A, i haven't fully tested it, you should be able to send serial data over to a microcontroller, you can even use it with the arduino boards, i do not own an arduino board but if you're familiar with serial communication and microcontrollers you should be able to figure this out.
At the moment it is only possible to send data, not receive, the person who created this project is currently working on the receiving part, i will update this library once that part is accomplished.
you can download the library http://www.genesisitdevelopments.com/AudioSerial.zip
and here's an example: www.genesisitdevelopments.com/AudioSerialExample.zip
note that you can change the baudrate, as i mentioned above, i have not fully tested this library, but if you do i would like to hear some feedback.
Updated the link to download the library and the example, see above.
cheers,
Walter
I decided to give it a shot and port that library to B4A, i haven't fully tested it, you should be able to send serial data over to a microcontroller, you can even use it with the arduino boards, i do not own an arduino board but if you're familiar with serial communication and microcontrollers you should be able to figure this out.
At the moment it is only possible to send data, not receive, the person who created this project is currently working on the receiving part, i will update this library once that part is accomplished.
you can download the library http://www.genesisitdevelopments.com/AudioSerial.zip
and here's an example: www.genesisitdevelopments.com/AudioSerialExample.zip
note that you can change the baudrate, as i mentioned above, i have not fully tested this library, but if you do i would like to hear some feedback.
Updated the link to download the library and the example, see above.
cheers,
Walter
Attachments
Last edited: