Hi,
Based on the following project, I am not sure on what the best way is in doing it, if I do it with B4R or if I do it with B4J.
I am posting this question in the B4R thread as I am thinking it might be better to do it with B4R since the hardware might be the what I need to use.
First of all, I have never used B4R before so not 100% sure on the hardware required for B4R and hoping someone can point me in the right direction based on what I am trying to do.
I am wanting to connect a serial connection (RS232) of a device, and then send the serial data to a MQTT broker and then view the data on B4A/B4i using MQTT.
I have had a play with it and managed to get it working in B4J running from my PC, but was thinking of using B4R so I can have a play with it since I have never used it before, but wasn't sure what hardware to use based on this project.
I looked on the B4X forum and found this project should be easy enough to be done using B4R based on what I have read.
So, doing it with B4R should be no problem, but not sure what hardware to use.
I am hoping to have a serial port and LAN port on the board I use. Looking at the Arduino hardware, it looks like I need to purchase extra boards to add the serial port or LAN port? This is the part I was hoping someone could help with what hardware would be best to use?
Would B4R be the best way in 'proxying / bridging' the data or would you do it with B4J? (If B4J is the way to go, what hardware would suggest?)
I was also hoping to embed the OS and software etc on the board rather than using an SD Card (one less thing that could go wrong in the future, and one less thing people could pull out) since I don't want people to clone the project and use it on there own hardware etc, so I want to avoid using the SD Card to store the OS etc.
Anyone got any suggestions on what hardware to use, and know if it's best to use B4R or B4J ?