If you think it's about soldering a sensor normally, you need to use resistors and capacitors, and you need to understand GPIO to some extent. Reference URL (electronic circuit) http://avr.gawakaru.jp/archives/tag/raspberry-pi-2/page/2 Reference URL (GPIO) http://deviceplus.jp/hobby/raspberrypi_entry_009/ Reference URL (electronic parts) http://www.kita-colle.com/culturati/646
As a result of reference, I notice that there are not enough parts.
The electronic parts store is really good, the selected hard-line man's store. Purchase additional items while being afraid
A total of about 1500 yen. I'm already stubborn. I noticed that I forgot to buy male and female here. Purchased at Rakuten (about 1000 yen) Abandoned.
For the time being, Raspberry Pi seems to want python. However, it seems that the processing is unclear with python, so It seems to be a python extension in C language. At last, the main subject started to smell, but it is still a long way to go.
Get text for preparation (it seems to solve language problems)
$ wget http://ftp.gnu.org/gnu/gettext/
$ gettext-0.19.3.tar.gz
$ tar xvf gettext-0.19.3.tar.gz
$ cd gettext-0.19.3
$ ./configure && make && sudo make install
I'm drinking beer during this time Well, should I specify the installation location? Well, I don't care. Because there is no inconvenience. Install Git
$w get http://git-core.googlecode.com/files
$ git-1.8.2.1.tar.gz
$ tar xvfz git-1.8.2.1.tar.gz
$cd git-1.8.2.1/
$ ./configure && make && sudo make install
For the time being, please have a library pack!
$ mkdir liblary
$ cd library
$ wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.38.tar.gz
$ tar zxvf bcm2835-1.38.tar.gz
$ cd bcm2835-1.38
$ ./configure
$ make
$ sudo make check
$ sudo make install
For the time being, please create a directory!
$ mkdir thermo_module
$ cd thermo_module
$ git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
$ cd Adafruit-Raspberry-Pi-Python-Code
$ cd Adafruit_DHT_Driver_Python
$ python setup.py build
It seems that there is no python.h, so install the standard development environment
$ sudo apt-get install python-dev build-essential
again
$ python setup.py build
The hierarchy was deep, but I found dhtreader.so. Preparation on the software side is complete
Next time due to a defect in the jumper cable
While I was doing it, I cut all my hair and made it a shaven. Once upon a time, a bar master "My wife has a mental illness, but it was hard to cut out her hair while laughing at midnight." I remembered saying that. The bar moved somewhere and became estranged, but when I saw the mixi page after a long time, my daughter's name was the same as my friend's child.
end
Recommended Posts