3 Replies Latest reply on Nov 28, 2016 4:18 PM by Intel Corporation

    Intel Curie Project - Help needed

    KimLorentz

      Can the Intel Curie handle scheduler commands?

       

      Task no. 1

      Start/Stop GPS data saving to SD card from button or phone command.

       

      Task no. 2

      Communicate to smart phone to transfer sd card files to smart phone.

      Intel Curie.jpg

        • 1. Re: Intel Curie Project - Help needed
          Intel Corporation
          This message was posted on behalf of Intel Corporation


          Hi KimLorentz,

          Thanks for your interest in the Intel Curie Platfom.

          The Intel Curie is integrated with a RTC and Timers, you might be able to take advantage of this hardware resources to achieve the tasks you have design for your project. I leave here the link for the datasheet of the Intel Curie (https://software.intel.com/en-us/articles/intel-curie-module-datasheet). I hope you find this information useful.

          I will be waiting for your reply, have a nice day.

          Best Regards,
          -Jose.

          • 2. Re: Intel Curie Project - Help needed
            KimLorentz

            Tryed using the scheduler command, it gives no error but it does not work on the Curie.

             

            Also been working on Bluetooth services. I found a loot of them and was wondering what type of service do I use for Serial to Bluetooth and to get a data dump.

             

            GATT Services

            Transfer Service

            User Data

             

            FileDump coding.

            #include <SPI.h>
            #include <SD.h>
            
            const int chipSelect = 8;
            
            void setup() {
              // Open serial communications and wait for port to open:
              Serial.begin(115200);
              while (!Serial) {
                ; // wait for serial port to connect. Needed for native USB port only
              }
            
              Serial.print("Initializing SD card...");
              // see if the card is present and can be initialized:
              if (!SD.begin(chipSelect)) {
                Serial.println("Card failed, or not present");
                // don't do anything more:
                return;
              }
              Serial.println("card initialized.");
              // open the file. note that only one file can be open at a time,
              // so you have to close this one before opening another.
              File dataFile = SD.open("datalog.txt");
              // if the file is available, write to it:
              if (dataFile) {
                while (dataFile.available()) {
                  Serial.write(dataFile.read());
                }
                dataFile.close();
              }
              // if the file isn't open, pop up an error:
              else {
                Serial.println("error opening datalog.txt");
              }
            }
            void loop() {
            }
            
            • 3. Re: Intel Curie Project - Help needed
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi KimLorentz,

               

              I see that you are using the Arduino 101, at the moment the scooped of our support is limited for only the Curie ODK. Nevertheless I have found this link that might be useful for you: (File transfer via Bluetooth Serial Communication ).

               

              I will strongly suggest to contact the Arduino Community, you can find it in this link: (Arduino Forum - Index ).

               


              Best Regards,
              -Jose.