XDK - Arduino
응답
16. 11. 30 오후 12:50

Hi Community,

is there a way I can transmit files/ data from the XDK - Arduino ?? I was thinking about connecting them through bluetooth or maybe going through the gateway?? Any suggestion would be really appreciate.

Thanks :)  

0 (0 투표)
RE: XDK - Arduino
응답
16. 11. 30 오후 3:12 as a reply to Natalie de Guzman.

Hello Natalie,

there are many possibilities to transmit data from the XDK to an Arduino.
It completely depends on your purpose.

You can connect them wireless via BLE or Wi-Fi with several protocols. (Direct or indirect though a server) 
Alternatively you can connect them wired via a serial port.

To decide which is the best connection method I recommend to consider the requirements of your use case and compare them to the advantages and disadvantages of each connection method.

To make any suggestion I would ask you to get more into detail.

Kind regards,
Manuel

0 (0 투표)
RE: XDK - Arduino
응답
16. 12. 5 오전 9:52 as a reply to Manuel Cerny.

Hello - i have done a lot of trials to connect the XDK to an arduino and also to photons and redbearduo devices. As already told there are many solutions possible.

Read https://xdk.bosch-connectivity.com/community/-/message_boards/message/94361

Actually i have done many test with the xdk rest client solution.
That works also perfect now as the mqtt solution.

Greetings Achim

0 (0 투표)
RE: XDK - Arduino
응답
17. 1. 20 오후 3:47 as a reply to Achim Kern.

Hi there,

So after sometime of research I finally decided to go along with serial port. I want to send temp and humidity sensor data over to my arduino through the serial port wired. Unfortunately, I coudn't find an example or a place to learn it.
Any suggestion on where should I start from ??

Thanks,
Nat

0 (0 투표)
RE: XDK - Arduino
응답
17. 1. 24 오전 11:33 as a reply to Natalie de Guzman.

Hello Natalie,

there are wired solutions to send data from the XDK to your Arduino like the USB, SPI or UART bus. 
The UART and SPI bus are working in combination with the extension bus. Four pins of the extension bus are reserved to be used to transmit or receive data via UART or SPI. The available documentation about how to implement sending functionality is available in the UART header file SER_serialDriver_ih.h and the SPI header file SPI_ih.h.

Further, you can use the USB bus to send data to an external device like the Arduino.
USB allows the direct sending of data via the serial USB port of the XDK. There are more information about how to implement a working USB sending application available in the USB guide you can find here.

Please note that you will have to implement in both cases the sending functionality on your XDK by yourself.

Please do not hesitate to ask if you have further questions.


Kind regards,
Manuel

0 (0 투표)