Recent Posts

Pages: [1] 2 3 ... 10
1
Support / Re: Rfduino send two sensors reading - Evothings javascript issue
« Last post by tolson on February 13, 2018, 07:41:08 AM »
You need to use struct, not union.
The union would be 4 bytes not 8.

As far as dtostrf... I think that is an AVR specific function. RFduino is ARM.
2
Support / Rfduino send two sensors reading - Evothings javascript issue
« Last post by Simseve on February 12, 2018, 11:34:35 PM »
Hi guys,
 here is where I am stuck.

I managed to pack the reading of two sensors (float) into a 8 byte array with a union (dtostrf is not working).

union cvt {
float val;
unsigned char b[4];
} x;

x.val= 4828.9038;

I successfully send the combined array to evothings/mobileapp but I'm not sure on how to:

1. Split the array back into 2x4bytes sub arrays. Tried with a for cycle but was empty.
2. Reconvert to float. I might be able to recalculate it back but wondering if there is a function.

From evothings I create the following file:
12/02/2018, 20:23:32 1518459812603 27.9847928 -26.0080767 0 6870e640919eef41
12/02/2018, 20:23:35 1518459815310 27.9847928 -26.0080767 0 a128e540919eef41
12/02/2018, 20:23:38 1518459818399 27.9847928 -26.0080767 0 2550e54088b4ef41

I basically need to split myString = "6870e640919eef41" into sensor1="6870e640" and sensor2="919eef41" then to convert them back into float.

Thanks
S

3
General Project/Programming Guidance / Re: Cannot load Simblee app on iPad Mini
« Last post by jimchad on February 09, 2018, 01:41:40 AM »
This sometimes comes up when you try to access an iPhone app from an iPad. Hope this helps.
4
Support / Re: Simblee - OTA programming?
« Last post by MarekM on February 03, 2018, 04:36:56 AM »
Just tested OTA with Simble and nRF Toolbox on Android - and.... not working.
- with ota_bootloader_start() - Simblee stop working and is not discoverable by nRF Toolbox
- without ota_bootloader_start() is discoverable, DFU option is available, selecting file, etc - short after start programming connection is lost until reboot by Simble reset/power cycle.

Have you any ideas to find solution?
5
Getting Started / Re: Compile error: syscalls.c.o: No such file or directory
« Last post by AKotowski on January 30, 2018, 04:50:57 PM »
You need to reinstall or update the simblee board package using the "Boards Manager,"  not just edit the preferences box.
Also: use Arduino IDE Version 1.8.1.  Versions 1.8.3, 4, 5 work for the first sketch, but not subsequent sketches.
6
Support / Re: Exploring inside of the Simblee
« Last post by tolson on January 24, 2018, 06:03:55 PM »
The DFU is in firmware. The RFduino uses generation 1 silicon of the Nordic part. Simblee uses generation 3 of
the Nordic part. They are both nRF51822 but the 3rd generation silicon as a few port peripherals etc.

As far as if DFU is tied to any generation hardware, you will have to ask Nordic. It is the Nordic DFU every so slightly modified to hide it in RFdigital code placement and we the people are not privy to where that is.

I think the issue will be that the Nordic libraries that are used in RFduino are not being updated for the old hardware or visa versa.

7
Support / Re: Exploring inside of the Simblee
« Last post by cat on January 24, 2018, 12:03:44 AM »
Ok. Actually, I have a big chunk of RFduino with me but I want the DFU (OTA) thing, which Simblee has. I believe that the components are same in both Simblee and RFdino as NRF51822, passive components etc. So, is it possible to make DFU work in RFduino as well?
8
Support / Re: Exploring inside of the Simblee
« Last post by tolson on January 23, 2018, 07:36:27 AM »
It is not a lid like on the previous part. It is molded. So unless you are adept and trained at the art of reverse semiconductor engineering it will be challenging.  What you will find is the die version of the Nordic part. Two crystals, a smaller chip antenna and misc. passives. A pretty impressive hybrid package engineering feat.
9
Support / Exploring inside of the Simblee
« Last post by cat on January 23, 2018, 02:49:01 AM »
Hi,
I was wondering if anyone has tried to remove the casing of Simblee and see what is inside it? Just like RFduino, if you remove the metallic cover you can see NRF51822, crystal oscillator and some capacitors.
Also is it possible to remove Simblee's casing without damaging internal components?

Thanks.
10
Videos/Guides/Tutorials / Re: RFduino Cheat Card
« Last post by Somerled on January 20, 2018, 08:33:46 PM »
I have made those changes and was able to reduce the file size to 106kb! at the cost of resolution yet it still is fine enough for print.
Kevin
Pages: [1] 2 3 ... 10
anything