Hackberry portal › Forum › HACKberry › Report › EMG
This topic contains 11 replies, has 6 voices, and was last updated by yuki jojima 2 months ago.
-
AuthorPosts
-
2016年9月7日 at 9:45 PM #1108
exiii インターンの松永です。HACKberryを筋電センサで動かす改造を行いました。作り方を紹介します。
Hi, I’m Matsunaga, internship in exiii. I tried to combine HACKberry with EMG sensor. I’ll introduce how to make it.How to use EMG sensor for HACKberry
筋電センサー製作手順Components 部品
・MyoWare Muscle Sensor SEN13723
・MyoWare Proto Shield BOB-13709
・4極オーディオジャック変換基板CK-42
・Pin header (1*3) *2
・Pin header (1*6)
・Pin socket (1*3)*21. Solder pin header to SEN13723 and pin socket to BOB-13709. Fix them so that the pins of +, -, SIG will correspond.
筋電センサーにピンヘッダー、プロトシールドにピンソケットをはんだ付けします。この時、筋電センサーとプロトシールドを重ねた時に+、—、SIGの位置が一致するようにしてください。
2. Solder audio jack and pin header to CK42.
変換基板にオーディオジャックとピンヘッダーをはんだ付けします。
3. Connect CK42 to BOB-13709 using tinned wire. Pin assigns are as shown below.
変換基板とプロトシールドをすずメッキ線等で接続します。接続箇所は以下の通りです。
CK42 to BOB-13709
変換基板→プロトシールド
・1→「−」(GND)
・2→「SIG」(SIGNAL)
・3or 4→「+」(VCC)
You can improve the stability of CK42 by inserting pin header between CK42 and BOB-13709
変換基板とプロトシールドの間にピンヘッダーを挟んだ状態で固定するとぐらつきにくくなります。
4. Stack BOB-13709 and SEN13723.
筋電センサーとプロトシールドを重ねます。
5. 3D print the case parts. You can download the data from the following link.
ケース部材を3Dプリントします。データは以下のリンクからダウンロード可能です。
https://drive.google.com/folderview?id=0B_O4N8Ng5KyZSVRZVlNDbmxTNG8&usp=sharing
6. Assemble the 3D print parts and PCB. Connect the electrode to SEN13723. Now all is completed.
部材を基板に組み付けます。電極を取り付けて完成です。-
This topic was modified 1 year, 7 months ago by
Serina Matsunaga.
-
This topic was modified 1 year, 7 months ago by
Hiroshi Yamaura.
-
This topic was modified 1 year, 7 months ago by
Hiroshi Yamaura.
-
This topic was modified 1 year, 7 months ago by
Serina Matsunaga.
-
This topic was modified 1 year, 7 months ago by
Serina Matsunaga.
2016年11月1日 at 5:09 PM #1185私のところでも作らせていただきましたが、なぜか符号(位相)が反転してしまっています。
EMGのLEDオフ⇒指が曲がる
LED点灯⇒初期位置に戻る
になってしまっています。。。。We tried to make the same sensor as instructed, but for some reason
the sensor and the finger motor work opposite in phase.-
This reply was modified 1 year, 5 months ago by
Masaru Kawakami.
-
This reply was modified 1 year, 5 months ago by
Masaru Kawakami.
2016年11月2日 at 11:45 AM #1188川上先生
失礼致しました、現状のフォトリフレクタを用いたセンサは筋肉に力を入れるほど値が小さくなるので、
EMGセンサとは逆の振る舞いになっています。
以下の流れで、Arduinoスケッチ上で増減の方向を反転して頂けますでしょうか。以下のポストで同様の議論をしています。
1.本日(2016/11/02)時点で最新版のArduinoスケッチをダウンロードしてください
https://github.com/exiii/HACKberry/blob/master/HACKberry-software/HACKberry_v1/HACKBerry_v1/HACKBerry_v1.ino200行目を以下のように変更して、再度Arduinoに書き込んでください。
<変更前>
sval = sval + abs(1023 – analogRead(analogInPin0));
<変更後>
sval = sval + analogRead(analogInPin0);Sorry, the output of EMG sensor should be inverted for HACKberry.
Please download the latest arduino sketch and fix the following part at 200 lines.
https://github.com/exiii/HACKberry/blob/master/HACKberry-software/HACKberry_v1/HACKBerry_v1/HACKBerry_v1.ino[before]
sval = sval + abs(1023 – analogRead(analogInPin0));
[after]
sval = sval + analogRead(analogInPin0);2016年11月2日 at 6:24 PM #1189早速のご対応ありがとうございました。
プログラムの書き換えで無事動かすことができました!
書き換えの手間なく、どちらのセンサーも使えるよう、何か工夫をしたいものです(未使用ボタンの活用など)Thank you for your prompt response.
Yes, it worked. Now we can use our Hackberry with EMG!
That’s good, but I wish I could use both sensors without changing the sketch.-
This reply was modified 1 year, 5 months ago by
Masaru Kawakami.
2016年11月3日 at 10:54 AM #1192無事に動いて良かったです。
もしも差し支えなければ、動いてる様子の動画等アップロードして頂けると嬉しいです。
(Youtubeにアップロード・共有リンクを貼り付けて頂くような形で)未使用ボタンで信号を反転させるのは良いアイデアですね!
複数センサへの対応だけでなく、同じセンサを使っていても
脱力と緊張の関係を反転させたいという要望はありますので。Using surplus button to invert signal is good idea!
Not only for adapting different type of sensors,
it also can be used for changing the rule in the same sensor.
Some people said that they want to keep holding the object without muscle contraction.2017年9月28日 at 11:41 PM #1404Hi, Im also trying to make the left hand with EMG. But i cant find the CK42 board. What kind of board is that. Is it some kind of converter?
Regards Rick.
2017年9月29日 at 12:00 AM #1406Hey Rick.
Sorry for the incomprehensible description. CK42 is a pitch conversion board of 4 pole audio jack to wire in the universal board.
Looks like it’s japanese product. So there is no wonder if you couldn’t find out.
https://www.marutsu.co.jp/pc/i/135452/regards.
-
This reply was modified 6 months, 3 weeks ago by
Yuki Ogasawara.
2017年9月30日 at 5:14 PM #1408Hi Yuki,
I can’t find it anystore in europe to order it. I’ve googled on CK42 pitch conversion board ,but nothing what looks like the picture came up. Is there any alternative i could use? Or should i use different search terms? My knowlege is is small regarding these PCB’s.
Regards, Rick
2017年9月30日 at 5:48 PM #1409Hi Rick,
I couldn’t find out 4 pole conversion board that can be bought outside japan too.
And i looked into about this EMG post again. Then i realized that this EMG sensor and HACKberry are connected with only 3 lines. Vcc, GND, Signal output. So this system doesn’t need 4 pole jack. I don’t know why she was using 4 pole jack… We are sorry about that.
So i have 2 ideas for you.
First, How about utilizing 3 pole audio jack conversion board simply?
Second, How about utilizing 3 pole audio cable? not audio jack. If you use audio jack, you’ll need conversion board. But if you use audio cable, you don’t need conversion board. What you have to do is just cut the cable and connect internal 4 wire to corresponding.
Regards, Yuki
-
This reply was modified 6 months, 3 weeks ago by
Yuki Ogasawara.
-
This reply was modified 6 months, 3 weeks ago by
Yuki Ogasawara.
2017年9月30日 at 7:20 PM #1412That means i can just use the regular cable shield that goes with the myo muscle ware sensor right?
Shield:
https://www.sparkfun.com/products/14109
Myoware muscle sensor
https://www.sparkfun.com/products/13723Thanks you for the fast response!
2017年9月30日 at 8:42 PM #1413Not actually. That shield board is used to input your raw EMG signal. But we have to do is output the smoothed EMG.
So you need to connect Myoware muscle sensor’s 5V, GND, SIG to Stereo Audio Jack.
Attached file is the HACKberry’s audio jack pin assign.-
This reply was modified 6 months, 3 weeks ago by
Yuki Ogasawara.
Attachments:
2018年2月17日 at 10:55 AM #1448Hi, I’m Jojima.
I tried EMG sensor ( and sensor case too.)
https://youtu.be/HCGbFdt8Qcosince I used arduino code “Hackberryv3.0.ino” , I changed the code as below,
<before>
sval += analogRead(pinSensor);
<after>
sval += abs(1023 – analogRead(pinSensor));Attachments:
-
This topic was modified 1 year, 7 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.