Autolog - Autonomous GPS-tracker (Intel Edison + Grove GPS)





Introduction: Autolog - Autonomous GPS-tracker (Intel Edison + Grove GPS)

used Hardwre:

- Intel Edison + Arduino breakout

- Grove GPS

- Grove Accelerometer

- Grove Temperaturesensor

Step 1: Get Started With Intel Edison

1. Unpack your Intel Edison + connect to it for the first time:

Plug in both usb cables and connect via serial console (e.g. putty / minicom/...) (user: root, no password)

2. copy newest Image onto edison flash drive

3. flash Edison with "reboot ota"

Now your Edison is up to date and you can start.

Step 2: Embedded Code

1. Install Intel XDK

2. connect to your edison (connect button bottom left)

3. Insert appended example-project-Code (main.js) (use Node.js) + insert all the text in your empty Node.js template

4. Build and transfer project to Edison.

Step 3: Install Additional Hardware

1. Plug the Seed Grove Studio base into the arduino breakout for edison.

2. Plug in Grove GPS-Module

3. Plug in Grove Accelerometer-Module

4. Plug in Grove temperature sensor

Start the code

and take a look into /home/root/gps_data/new/**

where a new file with gps, temperature and accelerometer data will be written as soon as gps is connected.

Step 4: Backend Code

download the appended zip with the backend code.

unzip it and call the html page. You will see a webpage displaying gps data.

In addition you have to setup right database to get updated data.



    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Pro Tips Challenge

      Pro Tips Challenge
    • Paper Contest 2018

      Paper Contest 2018

    We have a be nice policy.
    Please be positive and constructive.




    Hi Celehner, what do you have in your package.json file? I'm having difficulty getting the main.js to run as it throws this error:

    ERROR: module.js:340

    ERROR: throw err;


    ERROR: Error: Cannot find module 'serialport'

    at Function.Module._resolveFilename (module.js:338:15)

    at Function.Module._load (module.js:280:25)

    at Module.require (module.js:364:17)

    at require (module.js:380:17)

    at Object.<anonymous> (/home/root/.node_app_slot/main.js:12:18)

    at Module._compile (module.js:456:26)

    at Object.Module._extensions..js (module.js:474:10)

    at Module.load (module.js:356:32)

    at Function.Module._load (module.js:312:12)

    at Function.Module.runMain (module.js:497:10)

    I'm using npm@2.14.7 and node@v4.2.1

    I tried to npm i -g serialport, but that one is also having errors:

    npm ERR! serialport@2.0.2 install: `node-pre-gyp install --fallback-to-build`

    npm ERR! Exit status 1

    npm ERR!

    npm ERR! Failed at the serialport@2.0.2 install script 'node-pre-gyp install --fallback-to-build'.

    npm ERR! This is most likely a problem with the serialport package,

    npm ERR! not with npm itself.

    npm ERR! Tell the author that this fails on your system:

    npm ERR! node-pre-gyp install --fallback-to-build

    npm ERR! You can get their info via:

    npm ERR! npm owner ls serialport

    npm ERR! There is likely additional logging output above.

    Do you know what could be done here?

    I love being able to track things and movement is something that's quite fun to track.