<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth</link><description>Hi, 
 I am working on the project of BMS(Battery Management system) sending data to nordic board nrf9160DK through UART and then board will send that data to the Azure cloud which is successfully working fine. 
 Now I want to change the way it works.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Aug 2022 04:29:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth" /><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/382553?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 04:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111177c1-62b2-4b00-84cc-562b4a348451</guid><dc:creator>Sachin Rawat</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381882"]It is not possible to use the nRF52 on the nRF91 DK as a standalone development chip. This chip is used to control too much of the HW on the DK to use it as a standalone nRF52 DK, unfortunately.[/quote]
&lt;p&gt;I don&amp;#39;t want to use it as a standalone chip, My primary/entire project is based upon the nrf9160DK, I need to use the Bluetooth of the nrf52 chip from the same board of 91DK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381747"] I suggest you look into the NCS\nrf\samples\bluetooth\peripheral_uart and central_uart. I don&amp;#39;t understand what is going to be transferred over UART and what is going to be transferred over BLE, but either way this sample set (central and/or peripheral) may be a good starting point.[/quote]
&lt;p&gt;I have tried the samples as suggested by you, But it is not compatible with nrf9160dk, I have 2 questions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. How to make it nrf9160DK compatible&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Is there another example that I can take as a starting point for nrf9160DK (having nrf52 chip included)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/381882?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 05:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001fa3fa-530d-4a1a-838c-ac7567dc1906</guid><dc:creator>Edvin</dc:creator><description>[quote user="sachinrawat"]&lt;p&gt;WE DON&amp;quot;T WANT SEPARATE nrf52840DK&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;It is not possible to use the nRF52 on the nRF91 DK as a standalone development chip. This chip is used to control too much of the HW on the DK to use it as a standalone nRF52 DK, unfortunately.&lt;/p&gt;
[quote user="sachinrawat"]Can you please elaborate on the &amp;quot;Virtual UART&amp;quot;?[/quote]
&lt;p&gt;Well, as the name of the sample says, &amp;quot;peripheral_uart&amp;quot; and &amp;quot;central uart&amp;quot;, the default behavior of this sample is that the two devices running peripheral_uart and central_uart will connect to eachother, and anything received on the UART on one of the devices will be sent over BLE and output on the UART on the connected device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/381876?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 04:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56b475e0-dc52-4d8c-8e62-58b8840ea449</guid><dc:creator>Sachin Rawat</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381808"]the peripheral_uart sample is running on the nRF52840 DK, and all other nRF52XXX DKs, and the nRF5340 DK.[/quote]
&lt;p&gt;No, I am talking about the board nrf9160Dk which already has the other processor nrf52 in it ...&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1660709010846v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;This board has a toggle switch for nrf91 or nrf52 ..We need to use the BLE that is available for nrf52dk in nrf91dk.&lt;/p&gt;
&lt;p&gt;WE DON&amp;quot;T WANT SEPARATE nrf52840DK&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381808"]Whether you use something like this, to set up a &amp;quot;virtual UART&amp;quot;. This way you can send all the data you need over this virtual UART.[/quote]
&lt;p&gt;Can you please elaborate on the &amp;quot;Virtual UART&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the&amp;nbsp; quick responses &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/381808?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 13:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab629d1b-0f9b-45fe-b227-d8fc8b4f6c8e</guid><dc:creator>Edvin</dc:creator><description>[quote user="sachinrawat"]Okay, I also support your suggestion and will work on nrf52840Dk first[/quote]
&lt;p&gt;Agree. When you later want to run it on a 91DK, it should only be a matter of some configuration settings in the prj.conf file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="sachinrawat"]As I already mentioned I am working on BMS so I need to transfer the sensor data or other data like the voltage, temperature, min voltage, etc. through Bluetooth Right now it is&amp;nbsp;sending through&amp;nbsp;UART.[/quote]
&lt;p&gt;I understand.&lt;/p&gt;
[quote user="sachinrawat"]Is that support the nrf9160DK/nrf52840DK board, cause I have read the -readme- which doesn&amp;#39;t mention that it supports the board.[/quote]
&lt;p&gt;the peripheral_uart sample is running on the nRF52840 DK, and all other nRF52XXX DKs, and the nRF5340 DK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How you want to implement the BLE part is up to you. This sample will set up one service with two characteristics. One characteristic for sending data, and one for receiving.&lt;/p&gt;
&lt;p&gt;Whether you use something like this, to set up a &amp;quot;virtual UART&amp;quot;. This way you can send all the data you need over this virtual UART.&lt;/p&gt;
&lt;p&gt;Another way to implement this is for example to set up one service, and then this service can hold one characteristic for voltage, one for temperature and so on. The way you set up more characteistics is more or less the same as the characteristic that is already set up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best of luck!&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/381756?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 11:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec24572-6064-42a3-985d-91460091c842</guid><dc:creator>Sachin Rawat</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381747"]Further, if you need more assistance, I suggest you try to split up your questions into either BLE or LTE. This is because our staff usually works with either BLE or LTE, so you will get faster replies if you have questions only concerning BLE or only LTE.&amp;nbsp;[/quote]
&lt;p&gt;I am working for BLE&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381747"]To ease the development, I may even suggest that you create your application on an nRF52840 DK first, as a standalone BLE application, and then you port it over to run from the nRF91 using the nRF52 as a BLE slave.[/quote]
&lt;p&gt;Okay, I also support your suggestion and will work on nrf52840Dk first&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381747"]I don&amp;#39;t understand what is going to be transferred over UART and what is going to be transferred over BLE,[/quote]
&lt;p&gt;As I already mentioned I am working on BMS so I need to transfer the sensor data or other data like the voltage, temperature, min voltage, etc. through Bluetooth Right now it is&amp;nbsp;sending through&amp;nbsp;UART.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/91025/connect-bms-to-nrf9160dk-through-bluetooth/381747"]but either way this sample set (central and/or peripheral) may be a good starting point.[/quote]
&lt;p&gt;Is that support the nrf9160DK/nrf52840DK board, cause I have read the -readme- which doesn&amp;#39;t mention that it supports the board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect BMS to nrf9160DK through Bluetooth</title><link>https://devzone.nordicsemi.com/thread/381747?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 11:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c4b128-21de-4813-a4e4-99985c65c95e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For BLE FW running on the nRF91, I suggest that you look into the NCS\nrf\samples\nrf9160\lte_ble_gateway. This sample shows how to control the nRF52 from the nRF91, to use it as a BLE slave.&lt;/p&gt;
&lt;p&gt;Further, if you need more assistance, I suggest you try to split up your questions into either BLE or LTE. This is because our staff usually works with either BLE or LTE, so you will get faster replies if you have questions only concerning BLE or only LTE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To ease the development, I may even suggest that you create your application on an nRF52840 DK first, as a standalone BLE application, and then you port it over to run from the nRF91 using the nRF52 as a BLE slave.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding the Bluetooth application, I suggest you look into the NCS\nrf\samples\bluetooth\peripheral_uart and central_uart. I don&amp;#39;t understand what is going to be transferred over UART and what is going to be transferred over BLE, but either way this sample set (central and/or peripheral) may be a good starting point.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>