In the previous article--Installing the ROS package on the Raspberry Pi, I joined openni2_camera and openni2_launch , if you follow my step by step, compile to a certain step, you will certainly encounter the compilation error, Haha, so I left a last article at the end of the sentence "How to predict the funeral , please listen to tell. "The package that needs to be installed in the previous article needs t
First, the previous figure:
Accessories used:
1. Main Character: Raspberry Pi
2. secondary role: Infrared Detection
3. Miscellaneous: bread, DuPont wire, buzzer, led, resistor
The infrared detection has three pins. The power supply at both ends and the signal output in the middle directly connect the signal to a gpio of
Serial port is a computer on a very general device communication protocol, commonly used PC contains RS232 specifications of the serial port, with a few connections, simple communication, has been widely used.Linux access to all devices through the device file, the serial port is the same, in order to access the serial port, just open its device file can operate the serial device. Under the Linux system, each serial device has a device file associated with it, and the device file is located unde
Setting up Wi-Fi with the Command lineSIMON MONKThis tutorial works best if your router is broadcasting the SSID. Make sure the "broadcast SSID" set up on your router! This could not work with "private" SSID setupsSetting up WiFi in occidentalis, is also pretty straight forward. You just need to add the name of your wireless network (its SSID) and your password to a configuration file.Step 1.Boot the Raspberry Pi
Label:Recently started a Raspberry Pi, a whim to make a small home server, at home for the hour has been hanging. Really is very small, only slap big, to Raspberry Pi bought some accessories, shell, small fan, 2 fins, 32G SD card, HDMI line, after the effect of assembly.
Javame embedded 3.3 released, supporting Raspberry Pi
Author: chszs, reprinted with note. Blog homepage: http://blog.csdn.net/chszs
Oracle recently released two javame versions:
First, javame embedded 3.3 for Raspberry Pi (Ea version );The second is javame SDK 3.3 (EA ).
Developers can now develop rich javame app
Raspberry Pi-SonicPi (sound programming)
Sonic Pi is an open-source programming environment designed to explore and teach programming concepts by creating sound production music processes.
The Code executed by Sonic Pi is based on Ruby, which is a beautiful and concise programming language. This means that you can writ
Recently feel the use of mobile hard disk backup Mac computer is very inconvenient, because to take out the mobile hard disk, but also plug in the computer backup, looked at airport, but the price is too expensive, and can only be used for Mac backup and can not be used for other samba services, etc., feel less cost-effective, So I'm going to do a timemacheine and samba service, the Timemacheine service is used primarily for Mac backups, and samba is used to store some files on computers in the
500ms} led.state=0;}//led.close ();//Process.exit (); //Exit ProgramThere is also a component cur.jsvarHTTP = require ("http");//Utility function that downloads a URL and invokes//callback with the data.function Download (URL, callback) {http.Get(URL, function (res) {vardata =""; Res.on ('Data', function (chunk) {data+=Chunk; }); Res.on ("End", function () {callback (data); }); }). On ("Error", function () {Callback (NULL); });} Exports.download= download;Copy 3 files to a self-built
Raspberry Pi launches Laboratory equipment:Hardware preparation:实验主板一块(树莓派);5V/1A电源一个(手机电源);microUSB线一根;USB-TTL串口线一根(FT232RL芯片或PL2303芯片)。PC一台(Mac OS);路由器Software Requirements:PC上的USB-TTL串口线配套的驱动程序PC上的串口终端软件:minicomPC上的SSH软件(Mac自带)交叉编译软件 Experimental steps:Hardware preparation:连接串口线:串口线黑线接地,白线接GPIO14,绿线接GPIO15,如下:Power supply supplied by mobile phone power supply下载一个img文件:[https://www.raspberrypi.org/downlo
to the Raspberry Pi, then execute the LSUSB command on the Raspberry Pi, this time the list is connected to all the USB devices, as follows:
Bus 005 device 001:id 0000:0000
bus 001 device 001:id 0000:0000
bus 004 device 001:id 0000:0000
bus 003 Dev Ice 001:id 0000:0000
bus 002 device 006:id 15d9:0a37
Bus 002 Device 00
Linux dual-Nic intranet/Internet settings (Raspberry Pi) Raspberry Pi dual-Nic internet/intranet settings, there are the following methods. 1) use a wired network to connect a PC to a gateway. 2) the other is wired to the intranet and wireless to the Internet. Www.2cto.com,
1, ~ ~ ~ Burning System This is very simple: System: HTTPS://IMAGES.OFFENSIVE-SECURITY.COM/ARM-IMAGES/KALI-2.1.2-RPI2.IMG.XZ2. The Raspberry Pi default does not fully extend all memory to the SD card. Extended partition Required#df-HL View the system partition, see 32G memory card only 6.7G, and probably 23G of memory is not recognized ·How to get Raspberry
the digital tube. The correspondence depends on the order in which you send the data when you wire and write the code.
DS is a serial input pin, so-called serial is to make the data on a signal line in order to transmit one by one, like a string of candied fruit. This pin we received from the Raspberry Pi at any one of the Gpio ports (output mode). The
SHCP is the clock pin for the shift regist
If you want to use Raspberry Pi as a small server, the performance may be poor, but the stability must be ensured. The following describes how to improve the stability of Raspberry Pi on the network. 1) modify it in/etc/sysctl. confVM. min_free_kbytes(8192 to 16384) # RPI tweaksvm. swappiness = 1 # VM. min_free_kbyt
Raspberry Pi advanced GPIO library, wiringpi2 for python using notes (4) practice DHT11 decoding, gpiodht11
DHT11 is a temperature and humidity sensor with calibrated digital signal output. Precision humidity +-5% RH, temperature +-2 ℃, range humidity 20-90% RH, temperature 0 ~ 50 deg C.
The encapsulated modules I bought contain the pull-up resistor. After che
;;EsacExit0The /etc/init.d/myscript is not yet randomly activated. Linux on boot, the real check is the/ETC/RCN.D folder, execute the script therein. The n here represents the RunLevel. For example, at run Level 2 o'clock, Linux checks the/ETC/RC2.D folder and executes its scripts. UNIX systems can work in different operating modes, such as single-user mode, multiuser mode, and each mode is called a runlevel. Most UNIX systems follow:Operating
/binsource. BASHRC4. Simple testIn order to test whether the cross tool chain is installed successfully, you can enterArm-linux-gnueabihf-gcc-v not come out a lot of things, that's right. 2. A simple example file named HELLO-WORLD.C, which only tests the success of cross-compilation and simply tests the floating-point function.
#include
int main (void)
{
float pi = 3.14;
printf ("
Tags: Raspberry Pi wiringpi Zookeeper
1. Void pinmode (INT pin, int mode );
This function sets the Input and Output Modes of the pin and the input and output modes of PWM. InWiringpi onlyPin 1 (bcm_gpio 18) supports PWM output.
2. Void digitalwrite (INT pin, int value );
This function is used to set the level of the pin. When we write high or low (1 or 0),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.