software package is ready and can be released;
Iii. Cross-compiling source code
1. Environment
Ubuntu
2. Install Raspberry Pi cross compiling tool
Step1. download Raspberry Pi cross compiler tool https://github.com/raspberrypi/tools
Step 2: place the source code in a folder that users can share, such as/usr/tools.
Ste
[Raspberry Pi] USB wireless network card automatically connected
When the Raspberry Pi uses a USB wireless network card, it will not be dropped because the route is restarted.
#! /Bin/bashWhile true; doIf ifconfig wlan0 | grep-q "inet addr:"; thenSleep 60ElseEcho "Network connection down! Attempting reconnection ."Ifup
Raspberry Pi can do a lot of interesting things, it is equivalent to a small computer, installed on the system can be used as a small server home.
With this small server, you can implement an "offline" Download machine. But offline download here is not really offline, because the Raspberry Pi is still online-since the
, because the USB to the serial port of the minicom to communicate, and no garbled, the transmission of all the correct data2. Arduino mega2560 can transmit data, but there is garbled, possibly because the mega2560 serial port has the relation.Since the module is good, I think of another test method, a module using a USB port to the PC, and the other directly to my Raspberry Pi on the UART interface. The re
There should be a lot of students in how to use WiFi for Raspberry Pi connection encountered some bottlenecks, the internet said that generally need a router, in fact, we download a 360 free WiFi can, equivalent to the computer as a router to share the network, Xiang Fine steps are as follows:Step one: Download 360 free WiFi, set up your username and password.View 360 free WiFi IP address, enter ipconfig in
Raspberry Pi II has come! This is a boon for those who want to study Android. The official configuration is as follows:
900MHz Quad Core ARM Cortex-a7 processor (Broadcom BCM2836)
1G LPDDR2 SDRAM (Micron)
Two full-size USB ports (available for power supply)
One MicroUSB interface
A full-size HDMI interface
3.5 mm Audio Interface
RJ45 Ethernet Cable Interface
I used
Conscience sponsor: willing to help Raspberry Pi install Backdoor programs
Last Wednesday, the Raspberry Pi Foundation announced that it was willing to invest money to install a malware on its device.Information from emailRaspberry Pi was once referred to as "a card-type co
Yesterday made the control led, played the first, the rest of the feeling is very simple, here recordJust a couple of photos.Play the honey module only to find the law, generally this module, there will be three pins, VCC (3.3V or 5V power supply output PIN), GNC (for Gpio pin of GNC), out/(I/O) (corresponding to the gpio number of pins), if it is necessary to send information to the Raspberry Pi, This modu
The Raspberry Pi file directory is a must-have basic knowledge. Understand the distribution of files within the system.
Structure of the Directory
The role of the directory
Reference Blog/bin Binary executable command /dev device special files /etc system administration and configuration Files /etc/rc.d Startup configuration files and scripts /home base point of user home director
Recent research has developed Java programs embedded in the Raspberry Pi and intends to communicate with Salesforce. Need to develop a Java Web server, do not want to be so complicated, so I intend to write in the Linux system/etc/rc.local want to execute the statement, such as Java–jar/root/test.jar. But when the boot, found/etc/rc.local inside the command and did not execute, this is a headache thing. For
please refer to the other blog post for the circuit connection method: "Color control for RGB LEDs with Raspberry Pi--c language version"Python code:#!/usr/bin/env python#********************************************************* #File Name:rgb.py#author:jason Dai #Date: 2015/02/04#*********************************************************import Rpi.gpio as GPIOimport timecolors = [0xFF0000, 0x00FF00, 0x0000
The hand has a CCD Camera (Barcode reader/scanner Module), it is through RS232 communication, with the RS232 to the USB adapter to connect the Raspberry Pi, you can complete the hardware connection. For serial communication, it can be realized by pyserial.First, install Pyserial:Download the latest version of the installation package from Https://pypi.python.org/pypi/pyserial and complete the installation w
How to connect the circuit see another blog post:"using Raspberry Pi to control stepper motor--pythony language"/******************************************************* File name:stepmotor.c* Author:jason Dai* date:20 15/01/26******************************************************/#include Compile:GCC Stepmotor.c-o STEPMOTOR-LWIRINGPIRun:./stepmotorUsing Raspberry
The Linux system, this powerful system, is now being used by the Raspberry Pi. For everyone to popularize a bit.Those common Linux commandsThe file structure of Linux/directory under the root directory/bin/home/dev/usr/opt/etc...No way. To use Linux, you have to remember common Linux commandsCD Enter the directory, basically the same as DosLsList files, equivalent to Dos for dirLs-lDisplay details of files
Reference http://shumeipai.nxez.com/2014/05/18/raspberry-pi-under-mac-osx-to-install-raspbian-system.html(/DEV/DISK1S1 is a partition,/dev/disk1 is a block device,/dev/rdisk1 is a raw character device)The following error occurs when you write the image to the SD card under Mac dd: invalid number ‘4m‘ ,Workaround from Http://www.raspberrypi.org/documentation/installation/installing-images/mac.md
e.g.su
1. Configure the PlatformSource: http://www.cnblogs.com/xiaobo-Linux/p/7955769.html2. Select Remote3. Fill in the informationThe JRE path is the path on the Raspberry Pi: how?sudo update-alternatives--display javaOutputJava-auto modeLink Best version Is/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/javaLink currently points To/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/javaLink Java Is/usr/bin/javaSl
Recently in the toss Raspberry Pi, at that time also did not pay attention to, look at the price, bought Mercury network MW150US Ultra-small 150M wireless USB card. But the tragedy was to use iwconfig and not recognize the wireless card But with lsusb words can see MW150US with is Rtl8188eu chip, search on the network, finally found a solution 1. first download the latest Linux kernel for compiling and inst
To set the time zone for the Raspberry Pi, use the following command:
sudo dpkg-reconfigure tzdata
After executing the command, you need to wait a little bit, then come out the time zone selection interface:
Note that if you do not see this interface after executing the command, but instead see a bunch of garbled characters, then you need to set up SSH or other terminal character encoding
The
What you need to know before installing1. Coolpy is a Nodejs-based IoT platform (official website http://icoolpy.com). Note: The domestic IoT platform has the LEGO network , Yeelink and so on, but only coolpy is open-source. 2. Node. JS is a platform built on the chrome JavaScript runtime to easily build fast, easy-to-scale Web applications Note: Therefore, to run coolpy, you must first install the Nodejs. 3. The new coolpy does not use a database but is stored locally as a file. Note: So a lar
! [GY-85] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_gy85.jpg "GY-85 ")
9-axis IMU sensor (GY-85 module) can also be seen as three modules 'itg3205 Three-Axis Gyroscope sensor ''' adxl345 three-axis accelerator tilt sensor ''' hmc5883l Electronic Compass'
The GY-85 Module Interface is I2C and can be easily linked to the Arduino/Raspberry Pi.
# PreparationsMake sure the system has installed
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.