このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Pin usage, ESP8266 Thing from Sparkfun (filename: esp8266-pins.htm) Sheepdog ソフトウェア HOME

Pin usage on Sparkfun ESP8266 "Thing"(s)

The Sparkfun ESP8266 "Thing" (link to Sparkfun 製品 description) has been around for a while now. It is just one of many ways to enjoy the ESP8266 半導体素子.

I like the WiFi. I like the price. I've written more about why I like the Sparkfun ESP8266 "Thing", and how to get started with it.

The pins, and their usage

Many readers will, I 嫌疑者,容疑者/疑う, be familiar with the Arduino.

The "ordinary" Arduino has an LED on "D13", on the Arduino's PCB. This can be handy, as many 事業/計画(する)s need at least one LED to 陳列する,発揮する some status (警察などへの)密告,告訴(状).

But it also "限界s" the wonderful 柔軟性 of the 装置, by "混乱させるing" the "潔白" of the "theoretical" 装置. In a very small way, and やめる 価値(がある) the price, in my 見解(をとる), but it does.

The designers of many little boards like the Arduino, 含むing the ESP8266 "Thing" choose to "限界" pins in ways like this. いつかs the 制限s are trivial, いつかs not so trivial.

This page is 献身的な to 述べるing the "限界s" introduced in the design of the Sparkfun ESP8266 "Thing", Dev Board (製品 WRL-13711). (I hope one day to 拡大する it to 含む the OTHER Sparkfun "Thing" (製品 DEV-13907). (In many 事例/患者s, the same choices were made.)

I'm not an uber 専門家 ESP8266 使用者... or even an uber 専門家 Arduino 使用者! "Pin" and signal 指名するs, as you read about them on the internet give me a BIG HEADACHE.

In what follows, if I say "D5", I mean "the thing" you would 影響する/感情 if you used "setmode(5,OUTPUT);"

If I say "BrdPin RX", I mean the pin on the Sparkfun ESP8266 "Thing", Dev Board (製品 WRL-13711), ver at 2/17, that is 示すd "RX" in the に引き続いて:

-

While *I* am not an 専門家, you can 接近 専門家s! Sparkfun themselves, of course, have some (警察などへの)密告,告訴(状) of this nature on their 場所/位置. (I only started this page because I find it a bit scattered and hard to use). There's more, and maybe better, in a arduino.esp8266.com page Sparkfun gives a link to. (That, 公式文書,認める, is not 明確な/細部 to the Sparkfun 製品... I think it is more a "usual 計画(する)", which Sparkfun probably mostly followed... but maybe not in every 詳細(に述べる)?)

権利! Enough! Finally, and not 完全にする...

How lines/ signals/ pins/ pads are used...

On The Sparkfun WRL-13711

D2, D14, D7, D8- 2/ 14/ TX/ RX: I really would be careful before using any of these "myself", as ordinary I/O lines, manipulated by one of my programs. I try to 避ける using them. They (maybe) can be used... if you know what you are doing. D7 and D8 are used to "talk" to the board when programming it. The 始める,決める of four may be 献身的な to I2C comms... when you need it. (2 and 14 might be 利用できる for general I/O when you don't.)

D5- 5: This signal has an LED on it, in the Sparkfun board.

A0- ADC: This is where you connect analog inputs to he board. They should not be more than 1.0 volts.

D16- 16: This behaved a bit strangely when I tried to use it in some 早期に 事業/計画(する)s. A third party 保護物,者 PCB labels that line "EN", as in "半導体素子 ENable"... but I 嫌疑者,容疑者/疑う that the "EN" label may have been a 捨てる of a 移転 from another 事業/計画(する). Though my problems happening to be with that pin may be an 指示,表示する物 さもなければ. See also 公式文書,認める below about "深い Sleep".

D12, D13, D14, D15/ 12, 13, 14: For SPI signals MISO, MOSI, SCLK (SCL), CS, それぞれ, pp Sparkfun page. Also from the Sparkfun documentation: "The MISO, MOSI, SCLK, and SPI pins are hard-coded and can't be moved." But, I wonder, if you aren't using SPI, can you use those pins as general, un-"special in any way" I/O lines? (I think you can.) (Were the first to SPI signals 指名するd by someone who really hated lysdexics?

... and (an)other thing...s...

Putting 半導体素子 to sleep...

The pin 示すd "/RST": From the Sparkfun page:

深い Sleep



The ESP8266 has a pretty decent low-力/強力にする sleep 方式- operating

around 70uA. To put the ESP8266 to sleep,

use the ESP.deepSleep(<microseconds>) 機能(する)/行事.



       ESP.deepSleep(30000000); // Sleep 30 seconds



For it to wake itself 支援する up, the ESP8266 要求するs an 外部の

関係 between pin 16 and its RST pin. Use the handy

"Sleep-EN" jumper to 始める,決める this 関係 up.

I2C

More 引用するs (tweaked) from the Sparkfun page...


The ESP8266 should work with any I2C sensor you can throw at it-

just use the Wire library, and the same Wire API calls you're used

to. There are a few differences:



    Pin 鮮明度/定義: The ESP2866 doesn't 現実に have any 金物類/武器類

    I2C pins- those labeled on the Thing are the default, but you

    can 現実に use any two pins as SDA and SCL. Calling

    Wire.begin() will assume pins 2 and 14 are SDA and SCL, but

    you can manually 始める,決める them to any other pin by calling

    Wire.begin([SDA], [SCL]).

That's it!....

For now. Comments, 是正s, suggestions for more info that belongs on this page (please say "esp8266-pins.htm"!)... WELCOME!


A few words from the sponsors...

Please get in touch if you discover 欠陥s in this page. Ways you are using "the Thing" would be of 利益/興味, too. Please について言及する the page's URL. (www. thingie)

If you 設立する this of 利益/興味, please について言及する in fora, give it a Facebook "like", Google "加える", or whatever. I've almost given up 令状ing these pages, because it seems they are seldom read, and of course not every reader will use them... so... is there any point? If you want more of this stuff, help!?



   Search this 場所/位置                 力/強力にするd by FreeFind
 
場所/位置 地図/計画する    What's New    Search


Click here to visit my main homepage where you can 調査する other areas, such as education, programming, 投資するing.




広告 from page's editor: Yes.. I do enjoy 収集するing these things for you. I hope they are helpful. However... this doesn't 支払う/賃金 my 法案s!!! Sheepdog ソフトウェア (tm) is supposed to help do that, so if you 設立する this stuff useful, (and you run a Windows or MS-DOS PC) please visit my freeware and shareware page, download something, and 循環させる it for me? Links on your page to this page would also be 高く評価する/(相場などが)上がるd!
Click here to visit editor's freeware, shareware page.

How to email or 令状 this page's editor, Tom Boyd


Valid HTML 4.01 Transitional Page 実験(する)d for 同意/服従 with INDUSTRY (not MS-only) 基準s, using the 解放する/自由な, 公然と accessible validator at validator.w3.org. Mostly passes. A few "bad せいにするs" 予定 to Google+ button, etc.


Why does this page 原因(となる) a script to run? Because of the Google パネル盤s, and the code for the search button. Also, I have my web-traffic 監視するd for me by eXTReMe tracker. They 申し込む/申し出 a 解放する/自由な tracker. If you want to try one, check out their 場所/位置. Why do I について言及する the script? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....