inoue2002
    • 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 New
    • Engagement control
    • Make a copy
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 課題の整理 # 全体に関すること ## 1. マイコン同士の通信 ### 通信の形式 コインセンサーから、各モジュールへ一方向通信が必要 候補 - [ ] I2C通信(有線) ❌ spresenseがslaveとなることができない - [X] UART通信 ESP32はハードウェアUART通信で3対まで送信可能 - [ ] UDP通信 - [ ] MQTT通信 渡す情報(JSON) ``` { point:4, message:'おもしろいです!' } ``` ### 電源 ### 筐体 # 実績確認 # 各モジュールに関すること ## 1.コインセンサー - [X] NFCタグに書き込みできるか -> できてそう - [X] 読み取りできるか - [ ] 投げた時に正確に読み取りできるか RC-S380 - 1秒程度かざす必要あり - 割と遠いところでも反応 RC522 - esp32でデータ取得完了 - 反応いい - ある程度ゆっくりであれば読み取れるが、同時に複数はX ### 6/28時点 - ESPとリーダー、UARTのポートの基板作成 - jsonは適当に改行して送信(長いと失敗するため) - 終端文字を``` ` ```に設定 ## 2. 拍手人形 spresenseで作成(慣れている。kintone用にも転用可能。音を鳴らせる) ### ソフト面 - [x] UART通信の受け取り方法(ESP32からは3.3Vで信号が来る。spresenseは1.6Vで入力する必要がある。) - [ ] 拍手音の鳴らし方。 SDカードの中にMP3形式の音ファイルが入っている UARTで受け取った信号に対して、どの音を鳴らすか決定 上記のやり方だと、音出しが遅れる。毎回setupで音ファイルの読み込みが必要なため 解決案として、音は四六時中発しておいてボリュームの上下で鳴らすor鳴らさないを制御する 音を出すのに参考にしているのはここ https://developer.sony.com/spresense/development-guides/arduino_tutorials_ja.html#_mp3_player ### ハード面 - [ ] 駆動部の構造設計 - [ ] 受信後のモーター制御 - [ ] 何台作る? ## 3. spresense - 本体からのコイン情報を受けて取得する - Wifの接続 - 外部APIへのリクエスト - 位置情報の取得 ## 4. ラズパイモニター表示 - 表示のデザイン - [X] サーバー側のメッセージ投稿をどうやってリアルタイムに画面に反映させるか pythonでgpioを受け取りwebsocketで発信 → TSでwebsocketを受信することで実装できた - tkinterで画面を作れるみたい。これで作った方が良いかも ## 5. kintone <-> spresense ### 問題・課題 - kintoneはhttpsでしかGETやPOSTができない(httpは不可) - spresenseはWifi通信した場合、httpsではリクエストを送れず、httpならリクエストを送ることができた  (ヘッダーの問題?) ### 解決案① SORACOMでhttpをhttpsに変換 - spresense -(http on Wifi)→ SORACOM -(https→ on internet)-> kintone ### 解決案② kintoneにhttps以外のプロトコル(MQTT)でリクエスト - - spresenseから直接リクエストできるのかどうか - できない場合、HTTPでの接続も検討する - Kintoneを直接呼べない場合は踏み台APIを作る必要がある? ## 6. メッセージ表示アプリ # 清算・貸し借り ## 受け取った - spresense メインボード → Yuta - spresense LTE拡張ボード → ようかん ## 支払った ### 植田 - NFCコイン ¥749 @amazon → 荻野 - MDF板 ¥440 ### 清水 #### 6/15使用分 自在クランク ¥155 ミニモーターセット ¥237 3mm プッシュリベットセット ¥356 工作ギヤセット(42T/12T)  ¥316 - 小計  ¥1064 チケット1枚使用 負担¥64 ラック&ピニオン ギヤセット ¥574 ユニバーサルプレートL ¥653 - 小計 ¥1227 チケット1枚使用 負担¥227 ロングユニバーサルアームセット ¥356 ギアモーター キャタピラセット 配線材料 - チケット2枚使用 負担無し #### 6/22 使用分 - 1F チケット2枚使用 負担¥18 ギアモーター ¥653 ロングユニバーサルアームセット ¥356 ユニバーサルプレートL ¥653 プッシュリベットセット ¥356  - 2F チケット1枚使用 負担¥120 モータードライバ×2 ¥1120 - 3F チケット1枚使用 負担¥178 L字アーム×2 スペーサ 等 #### 6/30 使用分 - 最終購入時オーバー分 ¥1255 ここまでの計:¥1862 クマ ¥110 DC/DCコンバータ 3W ¥330 プラスチック小鍋ねじ ¥434 (¥217×2) コンセント収納ボックス ¥200 コピー ¥50 展示当日購入品(ダイソー) ¥300 ユニバーサルプレートL ×2 ¥1060 ユニバーサルアーム ¥369 その他購入費計:¥2630 - TTL¥4492 ### 荻野 - ユニバーサル基盤 - ピンソケット - スイッチ - 電池ボックス - チケット一枚使用 ## 個人の所有物提供 - 清水さん → ようかん spresenseボード、spresenseLTE拡張ボード - 清水さん → Yuta spresense拡張ボード - Yutaさん → 荻野 esp32 # 課題の整理(6/28時点) # 全体に関すること - Jsonデータ、どのような種類を作るか - Jsonデータに対してどう動かすか+どんな音にするか - コインを投げ入れる所の構造、どうする? - 最終日、どう組み立てる? - 展示の方法とか # 各自の課題 ## 清水 - モーターをどう固定する? - 拍手機構、現状2台分出来ている=1モーターで2個動かしている - 4台にするなら、人形とかを探す必要あり。(一応、クマ+小ネコでいける見込み) - MDFボードにどう固定するか? - クランク止めてる支柱のボルトが外れやすい~とりあえずポリカに変えたが・・ ## 荻野 - 固定方法 - espを壁か何かに固定?

    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