|
このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。 |
The 監査役 is a felicitous combination of the pre-programmed PIC created (and still 利用できる from) Peter Anderson, a 井戸/弁護士席 made PCB (ModernDevice's 出資/貢献), and a 十分な 道具 of the "bits and pieces" needed to 組み立てる/集結する it... not a difficult 職業. 公式文書,認める that in 新規加入 to the 道具, you will need an LCD パネル盤. This is to accomodate people who already have one. The 監査役 can 支配(する)/統制する a wide variety of LCD パネル盤s.
You just hook the 監査役 to whatever you want to 運動 it (which I will call the "host" 今後) 経由で a 選び出す/独身 input to the 監査役. (You need to 力/強力にする it, too, of course: 5v. To 引用する from Peter Anderson's 場所/位置: "a 最小限 現在の of 10 mA is 要求するd for this design. This 除外するs any backlight 現在の. If the interfacing LCD's LED backlight feature is used, the backlight 現在の must be 限られた/立憲的な to いっそう少なく than 250 mA.")
Both the BasicStamp and the Arduino can put "Hello world" on the LCD with no 付加 electronics. With the Arduino, it is really simple: just two lines of code... one in the program init setting the baud 率 of the built- into- the- host's- native-language serial 能力s, and, in the main 団体/死体 of the host's program....
Serial.print("Hello world")
With the BasicStamp things are almost as 平易な. See Peter Anderson's examples.
If you use the host's built in serial 決まりきった仕事s, I do think that 関係 you to sending the data 経由で the host's TX pin. I'm betting that with just a little digging around the "already invented wheels" on the internet you could find ways to send your data to your LCD 監査役 経由で a いっそう少なく "価値のある" 生産(高) of the host.
But! Not only can you put text on the LCD パネル盤, but you can send a large number of 命令(する)s 経由で ASCII strings. For example, "?f" will (疑いを)晴らす the LCD and leave cursor at home position. (命令(する)s are distinguished from 実験(する)- to- 陳列する,発揮する by a preceeding "?". As usual, if you want to 陳列する,発揮する a "?", you just send "??". (A 名簿(に載せる)/表(にあげる) of the 命令(する)s is 利用できる at http://www.moderndevice.com/Docs/LCD117CommandSummary.doc), and you can get a guide at Peter Anderson's page about the 半導体素子 at the heart of the ModernDevice 道具.
Which FINALLY brings me to the little thing I 手配中の,お尋ね者 to について言及する! The に引き続いて is an edited 見解/翻訳/版 of some 構成要素 on Peter Anderson's page....The LCD #117 供給するs general 目的 TTL 生産(高)s. Any of these 生産(高)s may be brought high or low using the 'H' and 'L' 命令(する)s.
On 力/強力にする up, all 生産(高)s are at a high impedance (configured as inputs). As each 生産(高) is 演説(する)/住所d, it is taken out of the high impedance 明言する/公表する. The 初期の high impedance 明言する/公表する 許すs the 使用者 to use either pull up or pull 負かす/撃墜する resistors to 避ける "bounce" when the 加工業者 is 力/強力にするd.
The 現在の (source or 沈む) by any 生産(高) should be 限られた/立憲的な to 15 mA.
(End of 引用するd 構成要素)
I 手配中の,お尋ね者 THAT (警察などへの)密告,告訴(状) to see if it was 安全な to attach a little piezo buzzer 部隊 I have. Give it 5v and it will draw 1.3mA... so 安全な for the 監査役's 生産(高)s. I can connect it to one of the pad- 供給するd- for- 生産(高)s (4-6). If I connect to 4, the Arduino code to beep it is:
Serial.print("?H4"); //start beeping
延期する(500); //beep for 1/2 second)
Serial.print("?L4"); //go 静かな again.
Even better... if you don't mind "messing up" your 監査役 a little, if you make a 関係 to pin 6 of the 監査役 集積回路 (as 際立った from 生産(高) 6 which is on pin12 of the 集積回路), then if you send the 監査役 命令(する) "?g" you get about half a second of a 500hz square wave. That was enough for my piezo- with- oscillator 部隊. With a suitable 運動ing transistor, it would even be enough for a simpler piezo sounder.
So! For most of us, 簡単に putting text on the LCD 審査する will be やめる enough. But the 監査役 can do a lot more, if you dig into its 能力s you may find things you want to use. Because of the 制限s of the link to the host... 制限s which 最小限に減らすd the 総計費s 課すd on the host... the 監査役 is 厳密に and 生産(高) 装置.
So! On to what this page was 初めは all about: 組み立てる/集結するing your 道具.
This guide is 現在のd not because the 議会/ 初期の 実験(する)ing is difficult but rather to save you having to do almost any thinking. With this guide, you can just zip through the not コンビナート/複合体 仕事 without having to worry about what order would be best, what choices you need to make and when.
This guide does NOT come from ModernDevice.com... just a 満足させるd 顧客. I didn't even get an evaluation 部隊 by way of 説得/派閥! (Although toys to try are always welcome... but anything I review gets reviewed because I liked it, not by way of 支払い(額) to the 生産者.)
I should also 追加する: Anything YOU do (or don't do) is YOUR 責任/義務. While I've tried to make this as helpful as possible, I 受託する no 責任/義務 for anything in your life, 含むing consequences of doing or not doing anything based on this 文書 or on anything else! Making the wrong 関係s, for whatever 推論する/理由, can 損失 things. There. Now can we get 支援する to something worthwhile?
Almost all 構成要素s go on the 味方する of the board with the 令状ing on it. Only the connector for 大(公)使館員ing the board to the LCD パネル盤 goes on the other 味方する.
For what follows, "up" is with that 味方する of the board 直面するing you, and all of the text EXCEPT the "PHANDERSON.COM" the 権利 way up. In other words, with the 二塁打 列/漕ぐ/騒動 of 7 穴を開けるs at the 権利 手渡す 味方する. I don't know what they are for, by the way, but 堅固に 嫌疑者,容疑者/疑う that they are for an 補欠/交替の/交替する line of LCD パネル盤s, or an 補欠/交替の/交替する way of 関係 to to them.
This page is a "work in 進歩". While, as far as I know, there's nothing WRONG here, there are 捨てるs of 公式文書,認めるs to myself, unfinished paragraphs, etc. Just skim over things that make no sense. It's still 価値(がある) at least what you've paid me for 供給するing it to you.
診察する the board....
Ohm メーター across 5v and 0v wherever you see it. Check as best you can that the through plating has been successful. The board I received was one of the best I've seen as a hobbyist... but check each one. There is not better time in the 議会 過程. Take 5 minutes now and save an hour later.
Clean.
You will have a (土地などの)細長い一片 of の間の-pcb connecting pins in your parts 道具, and a stip of "socktets", which the pins could go into. You have both so that whether your LCD パネル盤 has pins or sockets on it, you can still connect your PCB to the パネル盤... and if your パネル盤 doesn't have pins or sockets, you can give it (The パネル盤) them. I'd 示唆する putting the pins on the LCD パネル盤, the sockets on your PCB. If, like 地雷 was, your (土地などの)細長い一片 of pins is more than 14 pins long, 削減(する) it 負かす/撃墜する. You can 削減(する) between the pins. If your (土地などの)細長い一片 of sockets is more than 14 sockets long, you will 削減(する) that 負かす/撃墜する to, but it is pointless to try to 避ける sacrificing a socket in the 過程.... you WILL lose one. 削減(する) in the middle of the 穴を開ける, and get a good result.
Resistors have colored 禁止(する)d on them to tell you their resistivity. If in 疑問, you can always 実験(する) your guess with an ohm メーター... before the resistors are soldered in place is by far the best. Read them from the end where they come closest to the end. The end AWAY from the gold or silver 禁止(する)d, if one happens to be 現在の. I like to put my resistors in the board so that the 禁止(する)d read from left to 権利, but that isn't 必須の. If you put one in "backwards", don't go 支援する to 逆転する it.
Start your 議会 with the resistors. The 分離 of the 穴を開けるs is 適する if you bend the leads carefully.... but do. In each 事例/患者, the resistor you have will probably have a fourth 禁止(する)d, of gold. 挿入する (by which I mean to 暗示する solder, 同様に, here and hereafter. It is not, by the way, necessary to 適用する heat or solder to both 味方するs of the board.)
(Put all three into the board; solder after all are in place... that way if you put one in the wrong place, and can't find it to put it in the 権利 place, you'll have いっそう少なく trouble moving it!)
In the position 示すd "10k": The brown-黒人/ボイコット-orange resistor In "RG": orange-orange-brown (330 ohm) In RBL: The わずかに larger yellow-purple-gold resistor (4.6 ohm)
(The 4.6 ohm reisitor will be 権利 if you are going to use 5v to 力/強力にする the backlight, and want a 名目上の 200mA 現在の through the backlight. Even if you are not using an LCD パネル盤 with backlight, ther's no 害(を与える) in 任命する/導入するing the resistor.)
My 道具 (機の)カム with an extra (I hope!) resistor: orange-黒人/ボイコット-黒人/ボイコット, (30 ohm). I believe this is for 限界ing the 現在の to the LCD's backlight (RBL) for 代案/選択肢 circumstances- different パネル盤, or different VBL. (My 道具 also had an extra (I hope) diode.)
Next 挿入する the diode in the 位置/汚点/見つけ出す 示すd "D" at the left end of the board. This has to be the "権利 way up. There's a 禁止(する)d on the diode, It should go "up", i.e. away from the IRL530's position. This is 示すd by the 場内取引員/株価s on the board, too.
挿入する the socket for the PIC. 公式文書,認める that it will have some 場内取引員/株価 to 示す the "pin 1" end. 挿入する the socket so that this end is at the 権利, to 同時に起こる/一致する with the coresponding small half circle in the end of the socket's 輪郭(を描く) on the board. While soldering the socket, do the 半端物 numbered pins first, then the even numbered pins. This helps 減ずる over-heating. Be sure the socket is tight against the PCB. (You may have to 押し進める the 10k resistor 負かす/撃墜する (i.e. sideways, away from the socket) わずかに to 達成する this. (Do opposite corners, carefully, first.) Do not 挿入する the 集積回路 into the socket until you are told to, later.
挿入する the capacitor. (This, like everything unless I say さもなければ, can go either way "up".) It goes in the two 穴を開けるs just to the 権利 of "104" in the middle of the PCB's 底(に届く) 辛勝する/優位.
挿入する the three legged square "thing" (potentiometer) in the position labelled "Contrast". The "半端物" pin (one on it's own on one 味方する) goes at "3 o'clock".
挿入する the two four legged square things. (Either can go in either position.) They go in the positions 示すd "reset" and "op".
It would be difficult, but not impossible, to 挿入する them wrongly. Be careful that you have not 回転/交替d them 90 degrees from how they せねばならない be. The "feet, or "claws" should be "gripping" inward left and 権利, not up and 負かす/撃墜する. The 装置s (switches) are 現実に not やめる square, and you will be okay, unless you 軍隊 the "square" peg into the rectangular 穴を開ける 回転/交替d 90 degrees from where it せねばならない be. As with the 集積回路 socket, take care that the switches are 紅潮/摘発する to the PCB.
The big transistor (three legged thing with metal tab) goes on the board with the metal tab 負かす/撃墜する, against the PCB. Bend the 脚s carefully to get the left/権利 position 権利; solder in place.
Solder the 4 pin 権利 angle connector into it's position on the left of the board.
This would be the time to clean the underside of the board, to 除去する the "gunk" from your soldering. IMS (alcohol) does not 害(を与える) the white solder mask. Look for shorts... 特に between the 関係s joining the capacitor to the board.
Depending on whether your LCD パネル盤 has pins or sockets, solder sockets or pins into the 列/漕ぐ/騒動 of 14 穴を開けるs across the 最高の,を越す 権利 辛勝する/優位 of the PCB. THIS GOES ON THE BOTTOM OF THE PCB... the only thing not on the 最高の,を越す. Take care... check after the first and second 穴を開けるs are done... to 任命する/導入する it at 権利 angles to the PCB.
Carefully 検査/視察する the board for bad solder 共同のs, shorts 原因(となる)d by "whiskers" of solder, etc. Don't 任命する/導入する 集積回路 yet. Put an ohm メーター across the 5v and G pins of the 4 pin connector. I got 4.2k, 関わりなく the setting of the "contrast" potentiometer. You will probably get something わずかに different, but 調査/捜査する if you see いっそう少なく than 3k or more than 5k. Put the potentiometer about half way between 十分な on and 十分な off.
Don't worry about backlight or "messages to the LCD パネル盤" 問題/発行するs yet.
Read all of this paragraph before starting to do what it says. Bring 5v and ground to the board 経由で the 4 pin connector on the left 手渡す 辛勝する/優位. (That's 5v IN, not out!) . As quickly as you can, check that you are GETTING 5v on the board. If not, unplug the 力/強力にする again quickly and look for a short. If you're getting 5v okay, then leave it connected for a bit, and check that nothing is getting hot.
Disconnect the 力/強力にする. 挿入する the 集積回路, 存在 careful to put pin 1 (the end with a little notch, or flatened corner, or little dimple.... but be sure not to 混乱させる the latter with the circular 示すs often 現在の at BOTH ends of a 半導体素子.
挿入するing the 半導体素子 is something of an art. You have to be やめる 会社/堅い... but still careful! Be sure that all the pins are 正確に started into a 穴を開ける before 圧力(をかける)ing 負かす/撃墜する on the 半導体素子. It may help to lay the 半導体素子 on its 味方する on a hard surface, and very carefully bend the pins in a bit. When you 圧力(をかける) 負かす/撃墜する, it is important that the 計画(する) of the 半導体素子 stay 平行の to the 計画(する) of the PCB during the whole of the insertion 過程. You want to 避ける the 同等(の) of a drawer 事情に応じて変わる into a dresser crookedly, and thus jamming.
Cross fingers and reconnect the 力/強力にする. Recheck that 5v is 持続するd and that nothing, 含むing the newly 挿入するd 集積回路, is getting hot.
Disconnect 力/強力にする. 追加する LCD パネル盤 to the 回路・連盟. The board from Badger has "pin 1" 示すd (近づく corner of PCB), and with luck, your パネル盤's "pin 1" will also be 示すd.
Cross fingers and toes and re-力/強力にする the 完全にするd 事業/計画(する).
Don't be alarmed if at first the パネル盤 remains blank, or if it goes 黒人/ボイコット. Try adjusting the contrast potentiometer. If all is 井戸/弁護士席, even before you connect anything to the RX or VBL pins, you should, once the contrast setting is 権利, see a winking cursor in the upper left of the LCD パネル盤.
I had 正確に/まさに that experience the first time I tried (and the second... of two 試みる/企てるs to date). I don't say that to blow my own trumpet, but to 安心させる you that the board seems to be 井戸/弁護士席 made, and 議会 平易な.
If the winking cursor doesn't appear, even after you adjust the contrast, then 長,率いる over to phanderson.com/lcd106/lcd107.html. About 60% of the way 負かす/撃墜する that there are troubleshooting 指示/教授/教育s under a 長,率いるing 説 "Troubleshooting the LCD circuitry". Peter Anderson is the source of the pre-programmed PIC which is at the heart of the neat little board ModernDevice is selling.
If you 圧力(をかける) the reset button, you should 簡潔に see the 部隊's 力/強力にする-on self 実験(する)... a bit of text. You may have seen that the first time you switched the 部隊 on, if you weren't looking at other things, and if the contrast setting was の近くに enough to 権利. You should see it every time the 部隊 is 力/強力にするd up.
The web page I 特記する/引用するd a moment ago is a place you should visit in any 事例/患者. Lots of (警察などへの)密告,告訴(状) about how your 部隊 作品, "from the horse's mouth". There are also programs for running the LCD パネル盤 with a BAsicStamp. 公式文書,認める: To use those programs you only need connect the パネル盤 to a ground point (0v) 株d with the BasicStamp, 供給(する) 5v, and connect the RX pin of the 4 pin connector of the LCD パネル盤 to the P0 pin of the BasicStamp.
The に引き続いて program will put Hello World on the パネル盤 from an Arduino. 公式文書,認める that the LCD パネル盤 is 有能な of much, much more... I'm 99% sure... although I 港/避難所't 実験(する)d this... that it is even able to give you at least 3 数字表示式の 生産(高)s for controlling things. (That, I think, is the point of the so-far "mysterious" 穴を開けるs 示すd "4", "5" and "6" on the ModernDevice PCB. See the section "General 目的 生産(高)s" on the Peter Anderson page already について言及するd. (I'm not sure ehat happened to 生産(高) 7, also について言及するd there.)
Peter Anderson's page will also tell you about the 命令(する)s that the LCD パネル盤 will 受託する. Here, I'll give you just enough to get you started using an Arduino. Peter already has an Arduino example on his 場所/位置.. it was his について言及する of the 装置 that got me started with it! (What follows was adapted from his example.)
For the に引き続いて example, connect your LCD パネル盤 to a ground point (0v) 株d with the Arduino, 供給(する) 5v, and connect the RX pin of the 4 pin connector of the LCD パネル盤 to the TDX/ PD1 pin of the Arduino.
Put the に引き続いて program into the Arduino.
公式文書,認める: that I have transcribed this from another computer, and have not run EXACTLY the に引き続いて. There may be a typo or two in it. Please email me if you have 首尾よく run this 経由で copy/ paste to the Arduino 開発 環境, so that I can take out this caveat?
公式文書,認める: The Arduino programming language is 事例/患者 極度の慎重さを要する. "serial.begin" will not do. It must be "Serial.begin" (資本/首都 "S")
公式文書,認める: No #含む is needed... the に引き続いて is ALL that you need, although any sensible programmer 含むs comments, not least a 簡潔な/要約する 公式文書,認める about the 金物類/武器類 needs of the program.
公式文書,認める for ModernDevice/LCD.shtml: program should also have Serial.begin(9600) in 体制/機構 to
//==== Arduino code:
無効の 体制/機構()
{
Serial.begin(9600);
}
無効の 宙返り飛行()
{
Serial.print("Hello World ");
}
//====
That's it! Put a space after World for the nicest result.
That should give you a working LCD パネル盤 driven by the Arduino. The nest steps are beyond the 範囲 of this essay, but 資源s 存在する out there. Go play!!
===== ===== BL link....
What you see in photo on badgerboards page.
Accetpable voltages? Pins 4,5,6? 接近 to programming info. Arduino, BAsicStamp interfacing?
Page 実験(する)d for 同意/服従 with INDUSTRY (not MS-only) 基準s, using the 解放する/自由な, 公然と accessible validator at validator.w3.org