Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jpencausse

Pages: 1
1
TinyDuino Processors & TinyShields / Tinyduino motion logger
« on: June 11, 2015, 03:50:59 AM »
Hi,

Following this question:
http://forum.tiny-circuits.com/index.php?topic=273.0

I would like to create a little device that log accelerometer motions for 2 weeks on battery. So
- Tiny Accelerometer
- Tiny Duino
- Tiny Battery
- Tiny SDCard ?

The idea is to do something like motion cookies from sen.se  (https://sen.se/store/cookie/)

But I don't know
- if it is possible and how to handle the battery ?
- if i have to add something to keep track of the timestamp (because 3 shield is already big object)

Did someone already do that ?

2
TinyDuino Processors & TinyShields / TinyDuino BLE iBeacon
« on: March 16, 2015, 11:54:37 AM »
Hi,

Does anybody have a sample code to do iBeacon brodcast with BLE shield ?

Thanks !

3
TinyDuino Processors & TinyShields / TinyScreen Glasses
« on: March 16, 2015, 08:18:01 AM »
Hi,

A little weird question but does anybody know where to buy a prism for TinyScreen (like Google Glasses).

The idea would be to see throught prism and see screen too.

Thanks

4
Hi,
I'm trying to log accelerometer to SDCard and display it on TinyScreen.

Everything should be fine but nothing is write on the Card
- The card is Formated
- The SD example ar OK
- I use TinyScreen + TinySD + TinyUSB + TinyDuino

void setup(void) {
  Serial.begin(9600); while (!Serial) { ; }
  Wire.begin();
  ...
  Serial.print("Initializing SD card...");
  pinMode(10, OUTPUT);
  if (!SD.begin(10)) {  Serial.println("Card failed, or not present"); return; }
}

void writeSD(long delta, long time){
  File dataFile = SD.open("datalog.json", FILE_WRITE);
  String str = "{ \"delta\": " + String(delta*250/1000) + ", \"duration\":" + String(time*250/1000) + "}";
  dataFile.println(str);
  dataFile.close();
 
  if (SD.exists("datalog.json")) {
    Serial.println("datalog.json exists.");
  }
}

And SD.exists() return it do not exists ... any idea ?


5
User Projects / Code Examples / Tiny Offline Activity Tracker
« on: October 20, 2014, 05:28:06 PM »
Hi,
How should I proceed to make an activity tracker ?

- Accelerometer to track moves
- Store changes somewhere ??? in JSON with axes and date

Should I store data in memory and download it by USB or should I store it on micro SD Card ? Do I need Tiny Clock to store time ?

May be it's a bad idea for TinyCircuits and there is already a dead simple product working offline ?

Thanks

Pages: 1
SMF spam blocked by CleanTalk