{"id":22113,"date":"2023-01-30T09:00:28","date_gmt":"2023-01-30T01:00:28","guid":{"rendered":"https:\/\/techclass.wfjydl.com\/?p=22113"},"modified":"2026-05-07T13:07:15","modified_gmt":"2026-05-07T05:07:15","slug":"%e7%94%a8raspberry-pi%e5%92%8csensormedal%e5%88%b6%e4%bd%9ciot%e8%b7%b3%e7%bb%b3%e8%ae%be%e5%a4%87-2","status":"publish","type":"post","link":"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-04\/","title":{"rendered":"\u7528Raspberry Pi\u548cSensorMedal\u5236\u4f5cIoT\u8df3\u7ef3\u8bbe\u5907\u3000\u7b2c\u56db\u90e8\u5206\uff08\u5267\u7ec8\u7bc7\uff09\uff1a\u5728\u8bbe\u5907\u4e0a\u5b89\u88c5\u663e\u793a\u5668\u4ee5\u589e\u52a0\u52a8\u529b\uff01"},"content":{"rendered":"<p>\u7b2c\u4e00\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-01\/\">\u7528\u8df3\u7ef3\u6d4b\u8bd5\u4eea\u89e3\u51b3\u8fd0\u52a8\u4e0d\u8db3\u95ee\u9898\uff01<\/a><br \/>\n\u7b2c\u4e8c\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-02\/\">\u7528SensorMedal\u68c0\u6d4b\u8df3\u8dc3\u6b21\u6570\u5e76\u5728\u663e\u793a\u5668\u4e0a\u663e\u793a<\/a><br \/>\n\u7b2c\u4e09\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-03\/\">\u8fde\u63a5Google Drive\uff0c\u4fdd\u5b58\u5e76\u67e5\u770b\u8df3\u7ef3\u7ed3\u679c<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u5409\u7530\uff01<\/p>\n<p>\u672c\u6587\u662f\u5236\u4f5c\u4e00\u6b3e\u7528\u6765\u89e3\u51b3\u8fd0\u52a8\u4e0d\u8db3\u95ee\u9898\u7684\u8df3\u7ef3\u8bbe\u5907\u9879\u76ee\u8fde\u8f7d\u7684\u6700\u540e\u4e00\u7bc7\u3002\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u5b9e\u73b0\u4e86\u8df3\u8dc3\u6b21\u6570\u8ba1\u6570\u53ca\u5176\u6570\u636e\u4fdd\u5b58\uff0c\u5728\u8fd9\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3a\u8fd9\u53f0\u8bbe\u5907\u5b89\u88c5\u4e00\u4e2a\u663e\u793a\u5668\uff0c\u8ba9\u5b83\u5b9e\u73b0\u80fd\u591f\u6fc0\u53d1\u60a8\u52a8\u529b\u7684\u6709\u8da3\u663e\u793a\uff0c\u4ee5\u4fbf\u60a8\u53ef\u6301\u4e4b\u4ee5\u6052\u5730\u575a\u6301\u8fd0\u52a8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22116\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-01.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-01\" width=\"750\" height=\"486\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22117\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-02.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-02\" width=\"750\" height=\"322\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u672c\u90e8\u5206\u6240\u9700\u90e8\u4ef6<\/h2>\n<h3>\u8df3\u7ef3<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26919\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-03.jpg\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-03.jpg 384w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-03.jpg 294w\" alt=\"raspberrypi-iot-jumprope-device-01-03\" width=\"384\" height=\"392\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>极悦娱乐 SensorMedal\uff08<a href=\"https:\/\/www.chip1stop.com\/product\/detail?partId=极悦娱乐-0171151&amp;mpn=SensorMedal-EVK-002\" target=\"_blank\" rel=\"noopener\">SensorMedal-EVK-002<\/a>\uff09<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26920\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-04.jpg\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-04.jpg 428w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-04.jpg 300w\" alt=\"raspberrypi-iot-jumprope-device-01-04\" width=\"428\" height=\"304\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Raspberry Pi zero\uff08<a href=\"https:\/\/amzn.to\/2YDlNTL\" target=\"_blank\" rel=\"noopener\">Raspberry Pi Zero W<\/a>\uff09<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26921\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-05.jpg\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-05.jpg 400w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-05.jpg 300w\" alt=\"raspberrypi-iot-jumprope-device-01-05\" width=\"400\" height=\"254\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/amzn.to\/2ZBgynM\" target=\"_blank\" rel=\"noopener\">FOUR LETTER LED PHAT<\/a><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26922\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-06.jpg\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-06.jpg 428w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/05\/raspberrypi-iot-jumprope-device-01-06.jpg 300w\" alt=\"raspberrypi-iot-jumprope-device-01-06\" width=\"428\" height=\"176\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/amzn.to\/31FfOil\">Raspberry Pi4<\/a><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22118\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-03.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-03\" width=\"400\" height=\"265\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/amzn.to\/3jpSkDZ\">7\u82f1\u5bf8\u89e6\u63a7\u663e\u793a\u5668<\/a><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22119\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-04.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-04\" width=\"400\" height=\"388\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u672c\u90e8\u5206\u7684\u6d41\u7a0b<\/h2>\n<ol>\n<li><a href=\"#01\">Raspberry Pi\u7528\u663e\u793a\u5668\u7684\u8bbe\u7f6e<\/a><\/li>\n<li><a href=\"#02\">\u5728\u5c4f\u5e55\u4e0a\u663e\u793a\u8df3\u7ef3\u4fe1\u606f<\/a><\/li>\n<li><a href=\"#03\">\u4ee5\u6709\u8da3\u7684\u65b9\u5f0f\u663e\u793a\u8df3\u8dc3\u6b21\u6570\uff0c\u8ba9\u52a8\u529b\u6ee1\u6ee1\uff01<\/a><\/li>\n<li><a href=\"#04\">\u603b\u7ed3<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2 id=\"01\">1.Raspberry Pi\u7528\u663e\u793a\u5668\u7684\u8bbe\u7f6e<\/h2>\n<p>\u9002\u7528\u4e8eRaspberry Pi\u7684\u663e\u793a\u5668\u5305\u62ec\u4e0b\u9762\u8fd9\u6b3e7\u82f1\u5bf8\u5927\u5c0f\u7684\u89e6\u63a7\u5c4f\u3002\u901a\u8fc7HDMI\uff08\u5982\u679c\u662fRaspberry Pi4\u7684\u8bdd\u662fMicroHDMI\uff09\u5c06\u5176\u4e0eRaspberry Pi\u8fde\u63a5\uff0c\u5373\u53ef\u5728\u5927\u5c4f\u5e55\u4e0a\u663e\u793a\u6570\u636e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22120\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-05.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-05\" width=\"750\" height=\"260\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u6211\u4eec\u4f1a\u7528Raspberry Pi\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u5728\u8fd9\u4e2a\u5c4f\u5e55\u4e0a\u663e\u793a\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u53ef\u4ee5\u521b\u5efa\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u7684Tkinter\u3002<br \/>\n\u9996\u5148\uff0c\u5b89\u88c5Tkinter\u3002<\/p>\n<pre class=\"brush: cpp; title: Code-Example; notranslate\" title=\"Code-Example\">$ sudo apt-get install python3-tk\r\n<\/pre>\n<p>\u521b\u5efa\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u65f6\u95f4\u7684\u7a0b\u5e8fdisplay.py\u3002<\/p>\n<pre class=\"brush: cpp; title: Code-Example; notranslate\" title=\"Code-Example\">pi@raspizero:~\/Programs $ sudo vi display.py\r\n \r\n--------- \r\n#!\/usr\/bin\/python\r\n# -*- coding: utf-8 -*-\r\nfrom tkinter import *\r\nfrom datetime import datetime\r\nfrom time import sleep\r\n \r\n# \u521b\u5efa\u4e3b\u7a97\u53e3\r\nroot = Tk()\r\n# \u4e3b\u7a97\u53e3\u5927\u5c0f\r\nroot.geometry(\"720x480\")\r\n# \u4e3b\u7a97\u53e3\u6807\u9898\r\nroot.title(\"Clock\")\r\n \r\n# \u521b\u5efaCanvas\r\nc = Canvas(root, bg=\"#FFFFFF\", width=500, height=480)\r\nc.pack(expand=True, fill='x', padx=5, side='left')\r\n \r\n# \u521b\u5efa\u5b57\u7b26\u4e32\r\ncd = c.create_text(350, 180, font=('', 40, 'bold'), fill='black')\r\nct = c.create_text(350, 280, font=('', 80), fill='black')\r\n \r\n# \u4e3b\u7a97\u53e3\u7684\u6700\u5927\u5316\r\nroot.attributes(\"-zoomed\", \"1\")\r\n# \u603b\u662f\u5728\u6700\u524d\u663e\u793a\r\nroot.attributes(\"-topmost\", False)\r\n \r\ndef cupdate():\r\n \r\n    # \u663e\u793a\u5f53\u524d\u65f6\u95f4\r\n    now = datetime.now()\r\n    d = '{0:0&gt;4d}\u5e74{1:0&gt;2d}\u6708{2:0&gt;2d}\u65e5 ({3})'.format(now.year, now.month, now.day, now.strftime('%a'))\r\n    t = '{0:0&gt;2d}:{1:0&gt;2d}:{2:0&gt;2d}'.format(now.hour, now.minute, now.second)\r\n    c.itemconfigure(cd, text=d)\r\n    c.itemconfigure(ct, text=t)\r\n    c.update()\r\n    # \u4ee5\uff11\u79d2\u95f4\u9694\u91cd\u590d\r\n    root.after(1000, cupdate)\r\n \r\n# \u6ce8\u518c\u56de\u8c03\u51fd\u6570\r\nroot.after(1000, cupdate)\r\n# \u4e3b\u5faa\u73af\r\nroot.mainloop()\r\n<\/pre>\n<p>\u50cfsudo python3 display.py\u90a3\u6837\u8fd0\u884c\u8fd9\u4e2a\u7a0b\u5e8f\u65f6\uff0c\u4f1a\u521b\u5efa\u4e00\u4e2a\u663e\u793a\u5f53\u524d\u65f6\u95f4\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22121\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-06.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-06\" width=\"750\" height=\"473\" \/><br \/>\n\u663e\u793a\u65f6\u95f4\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"02\">2. \u5728\u5c4f\u5e55\u4e0a\u663e\u793a\u8df3\u7ef3\u4fe1\u606f<\/h2>\n<p>\u5c06\u663e\u793a\u5668\u4e0eRaspberry Pi\u8fde\u597d\u540e\uff0c\u8ba9\u6211\u4eec\u5c1d\u8bd5\u4e00\u4e0b\u5728\u4e0a\u9762\u663e\u793a\u4e0a\u6b21\u5728Google Sheets\u4e2d\u8bb0\u5f55\u7684\u8df3\u8dc3\u6b21\u6570\u5427\u3002<\/p>\n<p>\u9700\u8981\u80fd\u591f\u5c06Google Sheets\u4e2d\u7684\u6570\u636e\u8bfb\u53d6\u5230\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u4e2d\u3002\u9700\u8981\u663e\u793aGoogle Sheets\u4e2d\u7684\u65f6\u95f4\u3001\u6b21\u6570\u548c\u5361\u8def\u91cc\u6570\u636e\u3002\u6211\u4eec\u5c06\u7528\u6765\u8bfb\u53d6Google sheets\u7684\u7a0b\u5e8f\u6dfb\u52a0\u5230\u524d\u9762\u7684display.py\u7a0b\u5e8f\u4e2d\uff08\u7528\u9ec4\u8272\u8868\u793a\u589e\u52a0\u7684\u63cf\u8ff0\u90e8\u5206\uff09\u3002<\/p>\n<pre class=\"brush: cpp; title: Code-Example; notranslate\" title=\"Code-Example\">pi@raspizero:~\/Programs $ sudo cp display.py  jump_display.py\r\n \r\n--- \u4e0b\u9762\u7684\u66f4\u6539\u6216\u6dfb\u52a0\u90e8\u5206\u7528\u9ec4\u8272\u8868\u793a ---\r\n#!\/usr\/bin\/env python3\r\n# coding: utf-8\r\nfrom tkinter import *\r\n \r\n---\r\n \r\nimport gspread\r\nfrom apiclient import discovery\r\nfrom oauth2client.service_account import ServiceAccountCredentials\r\nimport httplib2\r\nimport numpy as np\r\nfrom datetime import datetime\r\n \r\nkey_name   = \"xxx.json\" # Use your own information\r\nsheet_id      = \u201cyyy\u201d # sheet_id\r\nsheet_name= \u201czzz\u201d\r\n \r\nclass SpreadSheet(object):\r\n  def __init__(self, sheet_id):\r\n    self.sheetId = sheet_id\r\n  def search(searchKey):\r\n    scope = ['https:\/\/spreadsheets.google.com\/feeds','https:\/\/www.googleapis.com\/auth\/drive']\r\n    credentials = ServiceAccountCredentials.from_json_keyfile_name(key_name, scope)\r\n    gc = gspread.authorize(credentials)     # \u4f7f\u7528JSON\u5bc6\u94a5\u6587\u4ef6\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\r\n    wks = gc.open(sheet_name).sheet1        # \u6253\u5f00sheet\r\n    records = wks.get_all_values()          # \u8bfb\u53d6\u5185\u5bb9\u5e76\u4fdd\u5b58\u5728\u6570\u7ec4\u4e2d\r\n    for i in range(1, len(records)):        # \u4ec5\u91cd\u590dsheet\u7684\u884c\u6570\r\n        if records[i][0] == searchKey:     # \u76f4\u5230\u7b2c\u4e00\u5217\u4e0eTerminalID\u5339\u914d\r\n            gdate=records[i][0]\r\n            gtime=records[i][1]\r\n            gjump=records[i][2]\r\n            gdur =records[i][3]\r\n            gcal =records[i][4]\r\n            print(gdate, gtime, gjump, gdur, gcal) \r\n    return gdate, gtime, gjump, gdur, gcal\r\nspread_sheet = SpreadSheet(sheet_id) \r\n \r\n---\r\n \r\n# \u521b\u5efa\u5b57\u7b26\u4e32\r\ncd = c.create_text(100, 60, font=('', 80,), fill='blue')\r\nct = c.create_text(100, 120, font=('', 80), fill='red')\r\n \r\n---\r\n \r\ndef cupdate():\r\n \r\n    totals = spread_sheet.search(\"Total\")\r\n    total_count= totals[2]\r\n    total_time = totals[3]\r\n    jump_text  = str(total_count)+\u201d\u6b21 \"\r\n    c.itemconfigure(cd, text=\"Total Jump\")\r\n    c.itemconfigure(ct, text=jump_text)\r\n    c.update()\r\n \r\n---\r\n<\/pre>\n<p>\u901a\u8fc7\u8fd0\u884c\u8fd9\u4e2a\u7a0b\u5e8f\uff0c\u5e94\u8be5\u80fd\u591f\u4eceGoogle Sheets\u4e2d\u83b7\u53d6\u603b\u8df3\u8dc3\u6b21\u6570\u5e76\u5c06\u5176\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22122\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-07.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-07\" width=\"750\" height=\"509\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"03\">3. \u4ee5\u6709\u8da3\u7684\u65b9\u5f0f\u663e\u793a\u8df3\u8dc3\u6b21\u6570\uff0c\u8ba9\u52a8\u529b\u6ee1\u6ee1\uff01<\/h2>\n<p>\u6700\u540e\uff0c\u8ba9\u6211\u4eec\u628a\u8fd9\u4e2a\u5e26\u663e\u793a\u5668\u7684Raspberry Pi\u505a\u6210\u5e73\u677f\u7535\u8111\u7684\u6837\u5b50\u5427\u3002\u53e6\u5916\uff0c\u6211\u4eec\u5047\u8bbe\u8df3\u8dc3\u4e00\u6b21\u76f8\u5f53\u4e8e\u8d70\u4e861m\uff0c\u53ef\u4ee5\u5c06\u8df3\u7ef3\u6bd4\u4f5c\u4e1c\u6d77\u9053\u4e94\u5341\u4e09\u6b21\u5f92\u6b65\uff0c\u53ef\u4ee5\u770b\u5230\u81ea\u5df1\u8d70\u5230\u54ea\u91cc\u4e86\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u6765\u548c\u670b\u53cb\u6bd4\u8d5b\u3002<\/p>\n<p>\u90a3\u4e48\uff0c\u6211\u4eec\u5148\u5f00\u59cb\u201c\u5916\u90e8\u88c5\u6f62\u201d\u5427\u3002<\/p>\n<p>\u9996\u5148\uff0c\u51c6\u5907\u4e00\u4e2aB5\u5927\u5c0f\u7684\u5916\u58f3\u3002\u5728\u5916\u58f3\u4e0a\u5f00\u4e00\u4e2a\u663e\u793a\u5668\u5927\u5c0f\u7684\u7a97\u53e3\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22123\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-08.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-08\" width=\"750\" height=\"531\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u5c06\u6db2\u6676\u663e\u793a\u5668\u3001Raspberry Pi\u548c\u79fb\u52a8\u7535\u6e90\u653e\u5165\u5916\u58f3\u4e2d\u3002<\/p>\n<p>\u6253\u5f00\u7535\u6e90\u5e76\u786e\u8ba4\u5c4f\u5e55\u663e\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22124\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-09.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-09\" width=\"750\" height=\"536\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u73b0\u5728\u5916\u90e8\u88c5\u6f62\u597d\u4e86\uff0c\u6211\u521b\u5efa\u4e86\u4e00\u4e2a\u53ef\u4ee5\u8ba9\u663e\u793a\u66f4\u6709\u8da3\u7684\u7a0b\u5e8f\u3002\u6211\u628a\u793a\u4f8b\u7a0b\u5e8f\u653e\u5728\u4e0b\u9762\u7684Github\u4e0a\u4e86\uff0c\u60a8\u53ef\u4ee5\u8bd5\u7528\u4e00\u4e0b\uff1a<\/p>\n<p><a href=\"https:\/\/github.com\/ktrips\/jump\/blob\/master\/jump.py\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/ktrips\/jump\/blob\/master\/jump.py<\/a><\/p>\n<p>\u597d\u5566\uff0c\u73b0\u5728\u8ba9\u6211\u4eec\u5f00\u59cb\u8df3\u7ef3\u5427\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22125\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-10.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-10\" width=\"750\" height=\"522\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u8df3\u7ef3\u540e\u8bf7\u786e\u8ba4\u4e00\u4e0b\u6570\u503c\u662f\u5426\u66f4\u65b0\u4e86\uff0c\u663e\u793a\u662f\u5426\u6539\u53d8\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22126\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-11.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-11\" width=\"750\" height=\"290\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22127\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/01\/raspberrypi-wearable-healthcare-device-04-12.jpg\" alt=\"raspberrypi-wearable-healthcare-device-04-12\" width=\"750\" height=\"488\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u7528\u8fd9\u79cd\u65b9\u6cd5\u4fdd\u6301\u52a8\u529b\uff0c\u575a\u6301\u8df3\u7ef3\u662f\u4e0d\u662f\u53d8\u5f97\u66f4\u5bb9\u6613\u4e86\uff1f<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"04\">4. \u603b\u7ed3<\/h2>\n<p>\u5728\u672c\u7cfb\u5217\u8fde\u8f7d\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528Raspberry Pi\u548cSensorMedal\u5236\u4f5c\u4e86\u4e00\u6b3e\u80fd\u591f\u5c06\u8df3\u7ef3\u6570\u5b57\u5316\u7684\u7269\u8054\u7f51\u8bbe\u5907\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u5728\u624b\u67c4\u4e0a\u5b89\u88c5\u4e864\u4f4d\u663e\u793a\u5668\uff0c\u901a\u8fc7SensorMedal\u7684\u52a0\u901f\u5ea6\u4f20\u611f\u5668\u68c0\u6d4b\u8df3\u8dc3\u6b21\u6570\u5e76\u5c06\u6570\u636e\u5728\u663e\u793a\u5668\u4e0a\u663e\u793a\u51fa\u6765\u4e86\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5b9e\u73b0\u4e86\u5c06\u8df3\u8dc3\u7ed3\u679c\u53d1\u9001\u5230Google Sheets\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a\u5386\u53f2\u8bb0\u5f55\u4fdd\u5b58\u4e0b\u6765\u3002\u8fd8\u589e\u52a0\u4e86\u603b\u65f6\u95f4\u3001\u603b\u6b21\u6570\u3001\u5361\u8def\u91cc\u7b49\u6570\u636e\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u8ba9\u8fd9\u6b3e\u5e26\u6709\u663e\u793a\u5668\u7684Raspberry Pi\u8bbe\u5907\u80fd\u591f\u663e\u793a\u5404\u79cd\u4fe1\u606f\uff0c\u4ee5\u4fbf\u589e\u52a0\u8df3\u7ef3\u548c\u8fd0\u52a8\u7684\u52a8\u529b\u3002\u8fd9\u6b21\uff0c\u6211\u8bbe\u7f6e\u7684\u662f\u8ba9\u8df3\u8dc3\uff11\u6b21\u76f8\u5f53\u4e8e\u6b65\u884c1m\uff0c\u770b\u770b\u81ea\u5df1\u6700\u7ec8\u5728\u6240\u8c13\u7684\u201c\u4e1c\u6d77\u9053\u4e94\u5341\u4e09\u6b21\u5f92\u6b65\u201d\u4e2d\u8d70\u4e86\u591a\u8fdc\uff0c\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\u6765\u4eab\u53d7\u8df3\u7ef3\u8fd0\u52a8\u7684\u4e50\u8da3\u3002\u6b64\u5916\uff0c\u6211\u8fd8\u7528\u996d\u56e2\u7b49\u6765\u663e\u793a\u5361\u8def\u91cc\u91cf\uff0c\u8fd9\u4e5f\u662f\u4e00\u79cd\u6709\u8da3\u7684\u663e\u793a\u65b9\u5f0f\u3002<\/p>\n<p>\u600e\u4e48\u6837\uff0c\u6211\u4eec\u662f\u4e0d\u662f\u521b\u5efa\u4e86\u4e00\u6b3e\u8c01\u90fd\u53ef\u4ee5\u8f7b\u677e\u4eab\u53d7\u8df3\u7ef3\u3001\u6709\u52a9\u4e8e\u89e3\u51b3\u8fd0\u52a8\u4e0d\u8db3\u95ee\u9898\u7684\u8bbe\u5907\u5462\uff1f\u5bf9\u4e8e\u8d8a\u6765\u8d8a\u559c\u6b22\u201c\u5bb6\u91cc\u8e72\u201d\u7684\u4eba\u800c\u8a00\uff0c\u5e0c\u671b\u8fd9\u6b3e\u8bbe\u5907\u80fd\u6210\u4e3a\u6fc0\u53d1\u60a8\u8fd0\u52a8\u5065\u8eab\u7684\u8f6c\u6298\u70b9\uff01<\/p>\n<p>&nbsp;<\/p>\n<div class=\"product_link_box\">\n<span style=\"font-size: 14pt;\"><strong>\u672c\u7cfb\u5217\u8fde\u8f7d\u4e00\u89c8<\/strong><\/span><\/p>\n<p>\u7b2c\u4e00\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-01\/\">\u7528\u8df3\u7ef3\u6d4b\u8bd5\u4eea\u89e3\u51b3\u8fd0\u52a8\u4e0d\u8db3\u95ee\u9898\uff01<\/a><br \/>\n\u7b2c\u4e8c\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-02\/\">\u7528SensorMedal\u68c0\u6d4b\u8df3\u8dc3\u6b21\u6570\u5e76\u5728\u663e\u793a\u5668\u4e0a\u663e\u793a<\/a><br \/>\n\u7b2c\u4e09\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/arduino\/arduino-advanced\/raspberrypi-iot-jumprope-device-03\/\">\u8fde\u63a5Google Drive\uff0c\u4fdd\u5b58\u5e76\u67e5\u770b\u8df3\u7ef3\u7ed3\u679c<\/a><br \/>\n\u7b2c\u56db\u90e8\u5206\uff1a\u5728\u8bbe\u5907\u4e0a\u5b89\u88c5\u663e\u793a\u5668\u4ee5\u589e\u52a0\u52a8\u529b\uff01<span style=\"font-size: 14px;\">(\u672c\u7ae0)<\/span>\n<\/div>\n<div class=\"author-box-wrapper\">\n<div class=\"avatar-wrapper\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2022\/11\/Yoshiken.png\" alt=\"\u5409\u7530\u3000\u663e\u4e00\uff08Yoshiken\uff09\" width=\"128\" height=\"128\" \/><\/div>\n<div class=\"desc-wrapper\">\n<h5>\u5409\u7530\u3000\u663e\u4e00\uff08Yoshiken\uff09<\/h5>\n<div class=\"desc\">\n<p>\u5728\u666e\u901a\u516c\u53f8\u5de5\u4f5c\u7684\u4e0a\u73ed\u65cf\uff0c\u975e\u5e38\u559c\u6b22\u521b\u4f5c\u7684\u5468\u672b\u521b\u5ba2\uff0c\u51fa\u7248\u4e86\u7535\u5b50\u4e66MESHBOOK\uff0c\u5e73\u65f6\u4e5f\u5199\u5199\u535a\u5ba2\u3002<br \/>\nhttp:\/\/blog.ktrips.net<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u7b2c\u4e00\u90e8\u5206\uff1a\u7528\u8df3\u7ef3\u6d4b\u8bd5\u4eea\u89e3\u51b3\u8fd0\u52a8\u4e0d\u8db3\u95ee\u9898\uff01 \u7b2c\u4e8c\u90e8\u5206\uff1a\u7528SensorMedal\u68c0\u6d4b\u8df3\u8dc3\u6b21\u6570\u5e76\u5728\u663e\u793a\u5668\u4e0a\u663e\u793a \u7b2c\u4e09\u90e8\u5206\uff1a\u8fde\u63a5Google Drive\uff0c\u4fdd\u5b58\u5e76\u67e5\u770b\u8df3\u7ef3\u7ed3\u679c &nbsp; \u5927\u5bb6\u597d\uff0c\u6211\u662f\u5409\u7530\uff01 \u672c\u6587\u662f\u5236\u4f5c\u4e00\u6b3e\u7528\u6765\u89e3 [&hellip;]","protected":false},"author":4,"featured_media":22116,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1977],"tags":[1975,1976,1978,1979],"class_list":["post-22113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-advanced","tag-raspberry-pi","tag-raspberry-pi4","tag-iot","tag-raspberry-pi-zero"],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/comments?post=22113"}],"version-history":[{"count":11,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22113\/revisions"}],"predecessor-version":[{"id":29839,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22113\/revisions\/29839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media\/22116"}],"wp:attachment":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media?parent=22113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/categories?post=22113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/tags?post=22113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}