oscgonfer
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: mdef, fablab --- # Measuring the world - Tools Demos [toc] ## Individual data capture ### SCK ![](https://live.staticflickr.com/65535/48020070592_ebad902f1d_h.jpg) :::info **DEMO:** https://hackmd.io/@oscgonfer/rkcvFgjxL **DOCS:** https://docs.smartcitizen.me ::: ### Images Using [motion detection](https://en.wikipedia.org/wiki/Motion_detection) technics or a simple [timelapse](https://en.wikipedia.org/wiki/Time-lapse_photography) you can get a lot of information on what's happening around you. A sequence of images can give you information on the number of persons, the color of cars, the size of dogs or any other subject of interest for your research. ![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.expoknews.com%2Fwp-content%2Fuploads%2F2019%2F02%2FLa-inclusi%25C3%25B3n-ciudadana-crea-ciudades-m%25C3%25A1s-inteligentes-1.gif&f=1&nofb=1) #### Smart phone Smart phones are filled with sensors, they can capture all kind of data and probably you will find a good quality camera. You should plan your capture periods, locations and frequency depending on what information you want to get from the images. There is a lot of applications to record timelapses, [TimeLapseCam](https://github.com/woheller69/timelapsecamera) is open source app that can record time lapses with the screen off. You can also use motion detection to only get images when something is happening there is a lot of apps that can detect motion and trigger the capture. ![](https://i.imgur.com/KzNIDj9.png) If images don't give you answers, you still can use your phone, try experimenting with [Phyphox](https://phyphox.org/), it allows recording data from most of your phone sensors, export it, and even control the capture from a web browser. #### Pi Camera ![](https://i.imgur.com/tbnaKo2.png =x300) ![](https://i.imgur.com/KRbbd2J.jpg =x300) Using a [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi) SBC computer and a camera allow us to grab images in a simple and inexpensive way. First install a [Raspbian](https://www.raspberrypi.org/downloads.../) system on your sd card, you can follow this [tutorial](https://raspberrytips.com/install-camera-raspberry-pi/), be sure to reach the point where you enable and test the camera. Now we can install a [Web Interface](https://elinux.org/RPi-Cam-Web-Interface) to manage the camera, detect motion or record timelapses. You just need to follow the _Installation Instructions_ until step 6. If everything went OK when you open your computer browser and point to the Raspberry Pi IP address (eg http://172.16.23.21/html) you should see something like this: ![](https://i.imgur.com/aCCLfzZ.png) You can check the [usage](https://elinux.org/RPi-Cam-Web-Interface#Usage) documentation to configure your camera to save a timelapse or record videos when motion is detected. *[SBC]: Single Board Computer ### Physical intervention Plan a data collection interface using digital fabrications techniques from the Fab Lab, like so: ![](https://i.pinimg.com/originals/a8/ff/44/a8ff44850ec10d790522076754e69ed5.jpg) ### (B)arduino Sensor Below there is an example of how you can use a simple sensor. However, you can use your B(arduino) if you like. > A photoresistor (also known as a light-dependent resistor, LDR, or photo-conductive cell) is a passive component that decreases resistance with respect to receiving luminosity (light) on the component's sensitive surface. ![](http://www.malnasuli.hu/wp-content/uploads/2020/12/pic_4.png =200x) ![](https://hackster.imgix.net/uploads/attachments/886867/blob_IUTtMAzYIm.blob?auto=compress%2Cformat&w=900&h=675&fit=min =500x) Example code that will output LDR value 20 times a second (20Hz) via USB Serial port. ~~~clike int sensorPin = A0; int sensorValue = 0; void setup() { Serial.begin(115200); } void loop() { sensorValue = analogRead(sensorPin); Serial.println(sensorValue); delay(50); } ~~~ You can use the Arduino IDE _Serial plotter_ to see the changes in real time: ![](https://i.imgur.com/dJFyULU.png) To capture the data to a file for latter processing, in OSX and Linux you can do ~~~bash stty -F /dev/ttyACM0 raw 115200 cat /dev/ttyACM0 > data.csv ~~~ Other option is installing [this](https://circuitjournal.com/arduino-serial-to-spreadsheet) tool that allows you to capture directly to a CSV file and even include timestamps. ![](https://i.imgur.com/YjFOYrK.png) ### GPS Mobile location Get **[GPS Logger for Android](https://gpslogger.app/)** or similar app to save location data to a gpx file. 1. Select the file format in "recording details" ![](https://i.imgur.com/BiMYgKy.png =300x) 2. Send them to your laptop by simply sharing the file 3. You can then view your GPX files in a program like https://www.gpxsee.org/ ![](https://i.imgur.com/DnLD5Fv.jpg) ## Collective data capture ### Web Scrapping :::info Check the notes here: https://hackmd.io/@vico/By0CXMHk3 :::

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully