ds_smile_decoder_dsdecr3
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| ds_smile_decoder_dsdecr3 [2015/09/13 18:38] – [Download (sketches)] yaasan | ds_smile_decoder_dsdecr3 [2021/10/31 16:32] (現在) – [Download (sketches)] fujigaya2 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Smile Decoder (DSdecR3) ====== | ====== Smile Decoder (DSdecR3) ====== | ||
| + | |||
| + | News! [[DS Smile Decoder R4]]を2016年4月よりリリースしました。\\ | ||
| + | News! [[http:// | ||
| + | |||
| このページでは、DCCデコーダ「スマイルデコーダ」について回路から使用方法、ソフト、販売までが書かれています。 | このページでは、DCCデコーダ「スマイルデコーダ」について回路から使用方法、ソフト、販売までが書かれています。 | ||
| 行 14: | 行 18: | ||
| * [[DSdecR3 Know how list]] (Soldering instruction) | * [[DSdecR3 Know how list]] (Soldering instruction) | ||
| * [[Decoder Development Board]] デコーダ開発ボード | * [[Decoder Development Board]] デコーダ開発ボード | ||
| + | * [[CV read and write via Software Serial]] | ||
| ===== Parts list / 部品表 ===== | ===== Parts list / 部品表 ===== | ||
| - | ^Parts No ^Parts ^Package ^ url ^ | + | ^Parts No ^Parts ^Package ^ url ^Parts ID^ Price^ |
| - | |D1-D5 | Rohm RB160M-30TR, | + | |D1-D5 | Rohm RB160M-30TR, |
| - | |C1,C2,C3 | 1uF 25V or 50V MLCC, |2012size| [[http:// | + | |C1,C2,C3 | 1uF 25V or 50V MLCC, |2012size| [[http:// |
| - | |C4,C5 | Option, 1uF 25V or 50V MLCC, |2012size| [[http:// | + | |C4,C5 | Option, 1uF 25V or 50V MLCC, |2012size| [[http:// |
| - | |R1,R2 | 100kOhm, |1608size | [[http:// | + | |R1,R2 | 100kOhm, |1608size | [[http:// |
| - | |IC1 | ATMEL ATMEGA328P-AU, | + | |IC1 | ATMEL ATMEGA328P-AU, |
| - | |IC2 | Rohm BD6231F-E2 |SOP8 | [[http:// | + | |IC2 | Rohm BD6231F-E2 |SOP8 | [[http:// |
| - | |IC3 | Toshiba TA78L05F, | SOT-89 | [[http:// | + | |IC3 | Toshiba TA78L05F, | SOT-89 | [[http:// |
| - | |X1| Murata Ceralock 16MHz, | + | |X1| Murata Ceralock 16MHz, |
| - | |- | SmiTube 10mm | [[http:// | + | |- | SmiTube 10mm | | [[http:// |
| ===== Schematics ===== | ===== Schematics ===== | ||
| 行 66: | 行 70: | ||
| ^File ^Version ^url ^Notes ^ | ^File ^Version ^url ^Notes ^ | ||
| |Locomotive decoder sketch\\ (車両用デコーダスケッチ) | R4 | [[http:// | |Locomotive decoder sketch\\ (車両用デコーダスケッチ) | R4 | [[http:// | ||
| - | |Locomotive decoder VVVF sketch\\ (VVVF音対応車両用デコーダスケッチ) | K7(2015/ | + | |Locomotive decoder VVVF sketch\\ (VVVF音対応車両用デコーダスケッチ) | K7(2015/ |
| - | |Locomotive decoder with VVVF and melody sketch | K9(2015/ | + | |Locomotive decoder with VVVF and melody sketch | K9(2015/ |
| |Turnout decoder sketch\\ (ポイント用スケッチ) | R1 | [[http:// | |Turnout decoder sketch\\ (ポイント用スケッチ) | R1 | [[http:// | ||
| | download]] | first version | | | download]] | first version | | ||
| 行 79: | 行 83: | ||
| ===== Programming using Arduino IDE ===== | ===== Programming using Arduino IDE ===== | ||
| - | If first time setup([[Smile writer]]) is finished, please see the following instruction. | + | If first time setup([[Smile writer]]) is finished, please see the following instruction. |
| + | スマイルライタの作成作業([[Smile writer]])を完了した後に、以下の手順でスケッチをスマイルデコーダに書き込みます。 | ||
| - | - Run Arduino IDE. | + | - Run Arduino IDE.\\ Arduino IDEを起動します。 |
| - | - Select the board as Arduino UNO. | + | - Select the board as Arduino UNO.\\ マイコンボードはArduino/ |
| - | - Check serial port. | + | - Check serial port.\\ スマイルライタが装着されているシリアルポートを確認し選択します。 |
| - | - Select programmer as " | + | - Select programmer as " |
| - | - Open your decoder sketch or examples. | + | - Open your decoder sketch or examples.\\ 書き込みたいスケッチを開きます。 |
| - | - Burn the bootloader at tool menu.\\Note: | + | - Burn the bootloader at tool menu.\\ Note: 1st time may fail to program a bootloader. Please retry.\\ ツールメニューからブートローダを書き込みます。なお、一回目は失敗する場合があります。失敗した場合はもう一度、書き込み操作をしてください。 |
| - | - Click " | + | - Click " |
| - | - No error happens, that's all! | + | - No error happens, that's all!\\ エラーが発生していなければ成功です。 |
| {{:: | {{:: | ||
| - | |||
| ===== Implementing to locomotive and turnouts ===== | ===== Implementing to locomotive and turnouts ===== | ||
| 行 132: | 行 136: | ||
| |Layout for mbe | R3e | [[http:// | |Layout for mbe | R3e | [[http:// | ||
| |Gerber file | R3e | [[http:// | |Gerber file | R3e | [[http:// | ||
| + | |||
| + | ===== CV設定方法 ===== | ||
| + | |||
| + | 以下に、主なスケッチの初期設定(主にCV)の方法を記載しています。 | ||
| + | |||
| + | ===== Accessory(Turnout) decoder / アクセサリデコーダの場合 ===== | ||
| + | |||
| + | CV1(LSB)とCV9(MSB)がアドレス設定用です。\\ | ||
| + | CV1(LSB) and CV9(MSB) means turnout address value. | ||
| + | |||
| + | CV9は0、CV1を1とすると、初期値(アクセサリアドレス1)となります。CV1に10と書き込むと、アクセサリアドレスは10になります。CV9は上位ビットをあらわすので、255超の場合はCV9に上位ビット分を書き込んでください。\\ | ||
| + | If CV9 sets 0 and CV1 sets 1, turnout address means 1. If you want to set the address 255 or more, you need to write CV9 the upper bit value. | ||
| + | |||
| ===== Distribution / 頒布 ===== | ===== Distribution / 頒布 ===== | ||
| 行 140: | 行 157: | ||
| * デコーダ開発ボード 3000円 | * デコーダ開発ボード 3000円 | ||
| * スマイルライターキット 1000円 | * スマイルライターキット 1000円 | ||
| - | * デコーダキット 1000円(基板4枚、セラロック4個、1608サイズ100kΩ抵抗8個セット。残りは秋月電子で買ってください) | + | * デコーダキット 1000円(基板10枚くらい、1608サイズ100kΩ抵抗必要個数分のセット。残りは秋月電子で買ってください) |
| * 基板大量購入 要問い合わせ | * 基板大量購入 要問い合わせ | ||
| * 送料 200円 | * 送料 200円 | ||
| - | お問い合せは注文フォームの備考欄か、メールでどうぞ。 | + | お問い合せ・購入は、[[http:// |
| {{http:// | {{http:// | ||
| ※完成品はありません。全て自分でハンダ付け&ソフト書き込み願います。 | ※完成品はありません。全て自分でハンダ付け&ソフト書き込み願います。 | ||
ds_smile_decoder_dsdecr3.1442137111.txt.gz · 最終更新: 2015/09/13 18:38 by yaasan