We're trying to setup a Thunderboard 2 as a BLE Central, mostly to scan for advertisements. But I've not been able to get a TB2 to detect any of the dozens BLE devices we have around the office.
There's apparently no formal example code to do this, but I did find this:
Am I missing something? (or more likely, what am I missing?)
I would like to prototype a frequency counter application on TBSense2 before designing custom board.
I managed to add new GATT variably in notification more transmitted to Gecko App.
Now I cannot find how to start Hardware Configurator for the Soc Empty imported example, so that I can enable Pulse counter PCNT1 on port PA7(EXP9) of TBSense.
In AN1115 it seems that HW COnfigurator may not be applicable to TBSense (Bluettooth devices) and it points to UG136. However it is not clear to me in both documents how to run Hardware Configurator again so I can enable PCNT1.
I also tried importing the PCNT example application from STK3700 so I could force copy its code in soc-empty and somehow get it to compile. But there are too many missing dependencies in this approach.
Please guide the best way to enable PCNT1 on PA7 so I can run test code on TBSense2.
I am working with Thunderboard Sense 2 that uses EFR32MG12 SoC, and I was wondering if I can develop Bluetooth low energy application on it using BGScript language?
I have spent a couple of weeks now learning from the resources that Simplicity Studio is referring me to after I plug in my Dev kit (Bluetooth SDK resources like Bluetooth Fundamentals and Advertising with BLE). I have to say I am lost when it come to where to start and what should I use to develop an app for the Thunderboard module to make it perform in an broadcaster role sending a 31 byte advertising data payload (I think it should be simple). I came across BGScript from one of the resources but I understand it might be only for blue gecko and not mighty gecko?
I would appreciate just an advice as to what I should focus on from the tons of resources and what development platform should I concentrate on for the simple BLE advertising data application I am trying to implement on the module, as this the first time I am working on this platform.
I tried to open the software example "Bluetooth SoC Basic empty" and it had so many files, and my understanding these header and C files are the libraries from the API of the Bluetooth SDK that allows control of every little detail of the BLE stack, so I am not sure what file of these I should be working with as a start, or is it even a good idea at all to use Simplicity studio for such a simple task instead of BGScript if BGScript is compatible with mighty gecko?
I hope I get an advice on this, as I have been reading a lot, and the more I read the more I am getting lost, Thanks a lot if you read this far!!
i tried to build this example with the online mbed complier :
there was this issue :
Error: No instance of constructor "AMS_ENS210::AMS_ENS210" matches the argument list in "AMS_CCS811_gas_sensor/AMS_CCS811.cpp", Line: 60, Col: 48
an idea to resolve it . thanks
I'd like to consider connecting a new Thunderboard Sense 2 directly to a Raspberry Pi through the USB port on the Pi and Virtual Com Port (MicroUSB) on the TBSense.
Would this be possible?
I understand the TBSense activates the Virtual Com Port on MicroUSB plugged in. Would it automatically start transmitting sensor data or would I have to initiate it from the Raspberry Pi?
Reason I'm doing this; I have one TBSense running through BLE, and would like to try some other routes to get regular sensor data, to upload to the cloud, without the need for a mobile phone / app as the IoT interface.
I want to use the Thunderboard Sense as a logger for Temperature over a longer period of time. When using a CR 2032 the battery will drain quite fast. I figured that I just use a Battery Pack and plug it into the USB port. The problem with this procedure is that the Temperature and Humidity Measurements are way off (I found this in the Forum post somewhere). So this leaves 2 Questions for me:
1. How can I attach an external Battery using the Hirose DF13C-2P-1.25V Connector? What external equipment do I need?
2. What are your strategies on saving battery power? I need to take Sensor Readings every Hour over lets say 10 days. Can I put the MCU to sleep for a certain amount of time and wake it up, power up the sensors, log the Data and put it back to sleep? I also want to read the Data via Bluetooth.
最近对Zigbee比较感兴趣，听闻业界信号最好的是EFR32系列，于是在预算有限的前提下入手了Thunderboard Sense 2。
I would like to make use of the sensors on the Thunder Board 2 to get the temperature and button press event and send back to the proxy client. Following is the overview of the application:
1. Can it be done? How does the temperature value and button pressed event from each nodes pass to the proxy client periodically? I tried the Mesh LED and Mesh Switch demo, the proxy client only trigger events but no event on receiving value from the network. How does the proxy client know the value is coming from which node?
2. Any references for the proxy client? It will be good if the reference is a mobile phone application or Windows based program.
3. Can the proxy client also a provisioner?
4. Where can I find the Android and iOS provisioner app source code?
5. How can I modify the codes in the firmware? As I would like to turn off those sensors that I never use to reduce the power consumption.
6. Any reference documents or code for interfacing the thunder board to external peripherals via I2C?
Thanks in advance for the helping.
for my current project I need to store quite large amounts of Sensor Data (timestamp + float) on the device. I got it working using PS, but simply the amount of Data will be too large. (about 10000 records at maximum I guess). I can store about 500 records at maximum.
I did try to look into NVM3, but was unable to get it running due to the lack of material and not working Knowledge Base Articles. Before we scrap our project, can NVM be used for this or is it only to store Bootloader images? Thunderboard Sense 2 is supposed to store about 8 mbit of Data on the flash, or am I seeing something wrong?
I am using "bluepy" python library for BLE to poll data from Thundeboard.
For example to read temperature every 1 sec I do something like this.
devices = scanner.scan(10.0)
p = Peripheral(BLE_MAC_ADDRESS)
tempCh = p.getCharacteristics(uuid=UUID_CHARACTERISTIC_TEMPERATURE)
temp_bytes = tempCh.read()
This works fine for "slow data". However if I want to read accelerometer data 1000 time a sec (1kHz), the better approach would be to
"tell Thundeboard " - push data to me at sampling rate of 1kHz, then subscribe for notifications in my code.
The bluepy library allows to subscribe to notifications.
The question is what do I need to send to Thunderboard to setup sampling rate and enable notifications ?
Hello, I am sure this question has been asked before, but I am new to the forum and wondering if there is any suggestion for my setup:
I am trying to read data directly from Thunderboard Sense 2 using RPi 3 without the app or cloud, which can be either done through BLE or microUSB UART. Can anyone tell me if there is a valid solution for this problem?
Thank you very much!
I'm trying to connect a external analog sensor to the Thunderboard 2 and use the Sense App to display the data from the sensor. Is there a easy way to modify the thunderboard-sense-2 program to do this. I looked at the post https://www.silabs.com/community/thunderboard/forum.topic.html/thunderboard_sensea-1uEj , but this seems not to apply for the Thunderboard 2 (if I'm not mistaken).
Any help is appreciated.
What is procedure to run Vncp-light + switch in thread? I have run same for light + switch successfuly. but, what are further procedure to run with NCP+SPI to host linux machine and NCP light board connecting to switch with thread protocol?? Any document, specific this?
I have 2 thunderboards sense2 Boards