<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.banana-pi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HarshDethe</id>
		<title>Banana Pi Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.banana-pi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HarshDethe"/>
		<link rel="alternate" type="text/html" href="https://wiki.banana-pi.org/Special:Contributions/HarshDethe"/>
		<updated>2026-07-23T14:54:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.banana-pi.org/index.php?title=Getting_Started_with_R2&amp;diff=8744</id>
		<title>Getting Started with R2</title>
		<link rel="alternate" type="text/html" href="https://wiki.banana-pi.org/index.php?title=Getting_Started_with_R2&amp;diff=8744"/>
				<updated>2019-11-29T12:56:19Z</updated>
		
		<summary type="html">&lt;p&gt;HarshDethe: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:快速上手 香蕉派 BPI-R2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''Introduction'''=&lt;br /&gt;
&lt;br /&gt;
[[File:BPI-R2_3.JPG|thumb|Overview [[Banana Pi BPI-R2]]]]&lt;br /&gt;
&lt;br /&gt;
   The Banana Pi R2 is a router based development board, which can run on a variety of open source operating systems including OpenWrt, Android, and Bananian. It has 4 Gigabit LAN ports, 1 Gigabit WAN, and 300Mbs wireless N capabilities. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Banana Pi BPI-R2]]&lt;br /&gt;
&lt;br /&gt;
==Key Features==&lt;br /&gt;
&lt;br /&gt;
* MediaTek MT7623N, Quad-core ARM Cortex-A7&lt;br /&gt;
* Mali 450 MP4 GPU&lt;br /&gt;
* 2G DDR3 SDRAM&lt;br /&gt;
* 1x Mini PCIE interface&lt;br /&gt;
* 2x SATA interface&lt;br /&gt;
* 4x Gigabit LAN 1x Gigabit WAN&lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
==BPI-R2 SATA interface==&lt;br /&gt;
BPI-R2 support 2 sata interface and onboard power port.&lt;br /&gt;
&lt;br /&gt;
[[File:BPI-R2_SATA.jpg]]&lt;br /&gt;
&lt;br /&gt;
you can use sata line connect your hardisk on BPI-R2.&lt;br /&gt;
&lt;br /&gt;
*Test a SAMSUNG SSD DISK, the Read/Write performance are below:&lt;br /&gt;
&lt;br /&gt;
::Read from disk: 230MB/s \(command: dd if=/dev/sda of=/dev/zero bs=1M count=10240\)&lt;br /&gt;
&lt;br /&gt;
:: Write to disk: 192MB/s \(command: dd if=/dev/zero of=/dev/sda bs=1M count=1024 oflag=direct\)&lt;br /&gt;
&lt;br /&gt;
*Note:&lt;br /&gt;
&lt;br /&gt;
::if you use 3.5 big hardisk ,you may need power with outside power. on board power maybe can not support enough current&lt;br /&gt;
&lt;br /&gt;
='''Development'''=&lt;br /&gt;
Let's get start to develop on BPI-R2, see amazing things happen.&lt;br /&gt;
==Basic Development==&lt;br /&gt;
===Prepare to develop===&lt;br /&gt;
  * Prepare 16G/above TF card, USB-Serial interface, Ubuntu System&lt;br /&gt;
  * Using your USB-Serial Connect debug console on R2&lt;br /&gt;
&lt;br /&gt;
  [[Image:R2_debug_console.png|240px]]&lt;br /&gt;
&lt;br /&gt;
  * BananaPi R2 - Debug-UART ：http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:debug-uart&lt;br /&gt;
&lt;br /&gt;
===Load your first image on R2===&lt;br /&gt;
  1.You could download latest image from our forum&lt;br /&gt;
  * Here is the example image link: http://forum.banana-pi.org/t/bpi-r2-new-image-release-ubuntu-16-04-v1-3-2018-3-30/5293&lt;br /&gt;
  &lt;br /&gt;
  2.Install bpi-tools on your Ubuntu&lt;br /&gt;
  * apt-get install pv&lt;br /&gt;
  * curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash&lt;br /&gt;
  &lt;br /&gt;
  3.After you download the image, insert your TF card into your Ubuntu&lt;br /&gt;
  * Execute &amp;quot;bpi-copy xxx.img /dev/sdx&amp;quot; to install image on your TF card&lt;br /&gt;
  &lt;br /&gt;
  4.After step 3, then you can insert your TF card into R2, and press power button for around 10s to setup R2&lt;br /&gt;
&lt;br /&gt;
====Update Your Ubuntu On SD Card====&lt;br /&gt;
  1. Clone Bsp project from Github&lt;br /&gt;
  * Execute &amp;quot;git clone git@github.com:BPI-SINOVOIP/BPI-R2-bsp.git&amp;quot; &lt;br /&gt;
  &lt;br /&gt;
  2. Execute &amp;quot;./build.sh&amp;quot;, to build your own uboot and kernel.&lt;br /&gt;
 [[Image:R2_build_sh.png]]&lt;br /&gt;
  &lt;br /&gt;
  3. After finish built, Execute &amp;quot;cd SD&amp;quot;, plug your Ubuntu TFcard in PC. &lt;br /&gt;
  &lt;br /&gt;
  4. Execute &amp;quot;bpi-update -c bpi-r2.conf -d /dev/sdX&amp;quot;, to update the compiled kernel to your TFcard.&lt;br /&gt;
&lt;br /&gt;
====Ubuntu On Emmc====&lt;br /&gt;
  1. If you want to install Ubuntu on EMMC, follow these steps：&lt;br /&gt;
  * Burn an image to sd card, and set up R64 with sd card.&lt;br /&gt;
  * Copy the image which name contains &amp;quot;xxx-emmc-xxx&amp;quot; to U disk.&lt;br /&gt;
  * mount U disk to R64, then use bpi-copy to burn image to Emmc.  &lt;br /&gt;
&lt;br /&gt;
    bpi-copy  &amp;lt;XXX.img.zip&amp;gt; &lt;br /&gt;
&lt;br /&gt;
  * XXX.img.zip is ubuntu image we can get it from http://www.banana-pi.org/r2-download.html &lt;br /&gt;
  * power off&lt;br /&gt;
  * remove SD &amp;amp; power on&lt;br /&gt;
&lt;br /&gt;
====OpenWrt On SD &amp;amp; Emmc Steps====&lt;br /&gt;
  1. Clone OpenWrt project from Github.&lt;br /&gt;
  * Execute &amp;quot;git clone https://github.com/garywangcn/bpi-r2_lede.git&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  2. You need to have installed gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.&lt;br /&gt;
  &lt;br /&gt;
  3. Run &amp;quot;./scripts/feeds update -a&amp;quot; to get all the latest package definitions defined in feeds.conf / feeds.conf.default respectively and &amp;quot;./scripts/feeds install -a&amp;quot; to install symlinks of all of them into package/feeds/.&lt;br /&gt;
  &lt;br /&gt;
  4. Use &amp;quot;make menuconfig&amp;quot; to configure your image.&lt;br /&gt;
  * Choose &amp;quot;Target System&amp;quot; to config as &amp;quot;MediaTek Ralink ARM&amp;quot;&lt;br /&gt;
  * Choose &amp;quot;Boot Loaders&amp;quot; to config as &amp;quot;u-boot-bpi_r2&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  5. Execute &amp;quot;make -j1 V=s&amp;quot; to build your own OpenWrt image.&lt;br /&gt;
  &lt;br /&gt;
  6. After built, we have two ways to install image.&lt;br /&gt;
  (1) Plug your TFcard in Ubuntu PC, and enter to &amp;quot;build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/&amp;quot;, &lt;br /&gt;
      you will find two images:&lt;br /&gt;
      * mtk-bpi-r2-EMMC.img&lt;br /&gt;
      * mtk-bpi-r2-SD.img&lt;br /&gt;
  (2) Write image to TF card, execute &amp;quot;dd if=mtk-bpi-r2-SD.img of=/dev/sdX&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  (3) If you want to install image to EMMC, We need another system which is running on SD card to program EMMC image to EMMC, please follow below steps to do:&lt;br /&gt;
      * Copy EMMC image to a running system which is from SD card&lt;br /&gt;
      * Program EMMC image to User Data Area of EMMC: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblk0 (assume /dev/mmcblk0 is for EMMC)&lt;br /&gt;
      * Unlock EMMC boot0 block: echo 0 &amp;gt; /sys/block/mmcblk0boot0/force_ro&lt;br /&gt;
      * Program preloader to EMMC boot0 block: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblk0boot0 bs=1M count=1&lt;br /&gt;
      * Change the Partition configurion of EMMC is 48h: reboot the system which is running SD, and enter the U-boot command line, run command emmc pconf 48 (for this steps, we can change partition configuration in userspace by using mmc-utils,see more information in BPI-R2 OpenWrt(LEDE) Souce code : 2018-04-11)&lt;br /&gt;
      * Power off, remove SD card, and then power on R2 board&lt;br /&gt;
  &lt;br /&gt;
  7. This step is for upgrade, if you don't want to install image after you built, you could use runtime upgrade.&lt;br /&gt;
  * Copy &amp;quot;bin/targets/mediatek/32/lede-mediatek-32-bananapi,bpi-r2-sysupgrade.tar&amp;quot; to R2 board which is running OpenWrt system(no matter where(SD or EMMC) it boots from), and then run command &amp;quot;sysupgrade lede-mediatek-32-bananapi,bpi-r2-sysupgrade.tar&amp;quot; to update both kernel and rootfs.&lt;br /&gt;
&lt;br /&gt;
* 1,Banana Pi R2 install openWRT: https://www.cnblogs.com/topbin/p/8794152.html&lt;br /&gt;
* 2,Banana Pi R2 Openwrt Network port configuration analysis : https://www.cnblogs.com/topbin/p/9518279.html&lt;br /&gt;
* 3,Banana Pi R2 developing a simple router based on Openwrt : https://www.cnblogs.com/topbin/p/9519881.html&lt;br /&gt;
* 4,Banana Pi R2 Openwrt Luci : https://www.cnblogs.com/topbin/p/9519875.html&lt;br /&gt;
&lt;br /&gt;
=== Network-Configuration===&lt;br /&gt;
*Network-Configuration : http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:network:start&lt;br /&gt;
&lt;br /&gt;
==Advanced Development==&lt;br /&gt;
===GPIO===&lt;br /&gt;
====GPIO Control====&lt;br /&gt;
* echo xxx &amp;gt; /sys/class/gpio/export&lt;br /&gt;
* echo in/out &amp;gt; /sys/class/gpio/gpioxxx/direction&lt;br /&gt;
* echo 0/1 &amp;gt; /sys/class/gpio/gpioxxx/value&lt;br /&gt;
&lt;br /&gt;
Check the base gpio, you could see mine is 233&lt;br /&gt;
&lt;br /&gt;
[[Image:R2_gpio_base.png]]&lt;br /&gt;
&lt;br /&gt;
For example: if you want to change gpio 22 as out highlevel, you need input commands like this：&lt;br /&gt;
&lt;br /&gt;
* echo 255（22+233） &amp;gt; /sys/class/gpio/export&lt;br /&gt;
* echo out &amp;gt; /sys/class/gpio/gpio255/direction&lt;br /&gt;
* echo 1 &amp;gt; /sys/class/gpio/gpio255/value&lt;br /&gt;
&lt;br /&gt;
====PWM Control====&lt;br /&gt;
* echo x &amp;gt;/sys/class/pwm/pwmchip0/export&lt;br /&gt;
* echo 200000 &amp;gt;/sys/class/pwm/pwmchip0/pwmx/period &lt;br /&gt;
* echo 100000 &amp;gt;/sys/class/pwm/pwmchip0/pwmx/duty_cycle                                                                     &lt;br /&gt;
* echo 1 &amp;gt;/sys/class/pwm/pwmchip0/pwmx/enable&lt;br /&gt;
&lt;br /&gt;
More about GPIO : http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:gpio&lt;br /&gt;
&lt;br /&gt;
====Install RPi.GPIO====&lt;br /&gt;
* Execute &amp;quot;git clone https://github.com/BPI-SINOVOIP/RPi.GPIO&amp;quot;&lt;br /&gt;
* after clone the repo, cd RPi.GPIO&lt;br /&gt;
* Execute &amp;quot;sudo apt-get update&amp;quot;&lt;br /&gt;
* Execute &amp;quot;sudo apt-get install python-dev python3-dev&amp;quot;&lt;br /&gt;
* Execute &amp;quot;sudo python setup.py install&amp;quot; or &amp;quot;sudo python3 setup.py install&amp;quot; to install the module&lt;br /&gt;
&lt;br /&gt;
====Using RPi.GPIO====&lt;br /&gt;
* cd /usr/local/bin&lt;br /&gt;
* Execute &amp;quot;./g40.py&amp;quot; to test RPi.GPIO&lt;br /&gt;
&lt;br /&gt;
===Develop 4G module with R2===&lt;br /&gt;
Gets more info from here: &lt;br /&gt;
&lt;br /&gt;
[[Using 4G module with BananaPi]]&lt;br /&gt;
&lt;br /&gt;
===WiFi and Ap mode on R2 Ubuntu===&lt;br /&gt;
====STA====&lt;br /&gt;
* wmt_loader (ignore errors)&lt;br /&gt;
* stp_uart_launcher -p /etc/firmware &amp;amp;&lt;br /&gt;
* ip link set wlan0 up&lt;br /&gt;
* iw dev wlan0 scan | grep SSID&lt;br /&gt;
* vim /etc/wpasupplicant/wpa_supplicant.conf&lt;br /&gt;
 network={    &lt;br /&gt;
 ssid=&amp;quot;ssid&amp;quot;    &lt;br /&gt;
 psk=&amp;quot;password&amp;quot;    &lt;br /&gt;
 priority=1 &lt;br /&gt;
 }&lt;br /&gt;
* wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf&lt;br /&gt;
* dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
====AP mode====&lt;br /&gt;
* wmt_loader (ignore errors)&lt;br /&gt;
* stp_uart_launcher -p /etc/firmware &amp;amp;&lt;br /&gt;
* echo A &amp;gt;/dev/wmtWifi&lt;br /&gt;
* create your hostapd.conf: &amp;quot;vim /etc/hostapd/hostapd.conf &amp;quot;&lt;br /&gt;
&lt;br /&gt;
 interface=ap0&lt;br /&gt;
 bridge=br0&lt;br /&gt;
 ssid=test_r2&lt;br /&gt;
 driver=nl80211&lt;br /&gt;
 country_code=US&lt;br /&gt;
 hw_mode=b&lt;br /&gt;
 channel=1&lt;br /&gt;
 max_num_sta=5&lt;br /&gt;
 wpa=2       &lt;br /&gt;
 auth_algs=1 &lt;br /&gt;
 rsn_pairwise=CCMP&lt;br /&gt;
 wpa_key_mgmt=WPA-PSK&lt;br /&gt;
 wpa_passphrase=ledetest&lt;br /&gt;
 logger_stdout=-1&lt;br /&gt;
 logger_stdout_level=2&lt;br /&gt;
&lt;br /&gt;
* According to your network interface(can search internet) to config ap0:&lt;br /&gt;
  my network interface which can search internet is wan, and ip is 192.168.30.102, so I config ap0 as follows:&lt;br /&gt;
&lt;br /&gt;
“ifconfig ap0 192.168.30.188 netmask 255.255.255.0”&lt;br /&gt;
&lt;br /&gt;
* Run hostapd : “hostapd -d /etc/hostapd/hostapd.conf”&lt;br /&gt;
* Config dhcp file : “vim /etc/dhcp/dhcpd.conf”&lt;br /&gt;
&lt;br /&gt;
 subnet 192.168.30.0 netmask 255.255.255.0 {&lt;br /&gt;
 range 192.168.30.2 192.168.30.250;&lt;br /&gt;
 option domain-name-servers 8.8.8.8;&lt;br /&gt;
 option routers 192.168.30.1; }&lt;br /&gt;
&lt;br /&gt;
* Config dhcp of ap0, then the devices which connect ap0 could get IP: &amp;quot;dhcpd ap0 -pf /var/run/dhcpd.pid &amp;quot;&lt;br /&gt;
* And a bridge&lt;br /&gt;
* brctl addbr br0&lt;br /&gt;
* brctl addif br0 ap0&lt;br /&gt;
* brctl addif br wan&lt;br /&gt;
* Config br0 : “ifconfig br0 192.168.30.180 netmask 255.255.255.0”&lt;br /&gt;
* Add br0 gw as : “route add -net default netmask 255.255.255.0 gw 192.168.30.1 dev br0”&lt;br /&gt;
&lt;br /&gt;
====Ap Mode FAQ====&lt;br /&gt;
If you meet problem like this：&lt;br /&gt;
&lt;br /&gt;
[[Image:A64_ap_1.png]]&lt;br /&gt;
&lt;br /&gt;
Then, you could solve by following command： &lt;br /&gt;
* nmcli radio wifi off&lt;br /&gt;
[[Image:A64_ap_2.png]]&lt;br /&gt;
* rfkill unblock 1&lt;br /&gt;
* rfkill unblock 2&lt;br /&gt;
* ifconfig ap0 up&lt;br /&gt;
* hostapd -d  hostapd.conf&lt;br /&gt;
[[Image:A64_ap_3.png]]&lt;br /&gt;
&lt;br /&gt;
===WiFi and Ap mode on R2 Openwrt===&lt;br /&gt;
====AP mode====&lt;br /&gt;
1. Make a bash script&lt;br /&gt;
* vim setup.sh&lt;br /&gt;
 #!/bin/ash&lt;br /&gt;
 wmt_loader &amp;amp;&lt;br /&gt;
 sheep 3&lt;br /&gt;
 stp_uart_launcher -p /etc/firmware &amp;amp;&lt;br /&gt;
 sleep 5&lt;br /&gt;
 echo A &amp;gt; /dev/wmtWifi &amp;amp;&lt;br /&gt;
 sleep 5&lt;br /&gt;
 hostapd -d hostapd.conf&lt;br /&gt;
2. Create your hostapd.conf&lt;br /&gt;
* vim hostapd.conf&lt;br /&gt;
 interface=ap0&lt;br /&gt;
 bridge=br-lan&lt;br /&gt;
 ssid=BPI_R2&lt;br /&gt;
 driver=nl80211&lt;br /&gt;
 country_code=CN&lt;br /&gt;
 hw_mode=g&lt;br /&gt;
 channel=1&lt;br /&gt;
 max_num_sta=5&lt;br /&gt;
 wpa=2&lt;br /&gt;
 auth_algs=1&lt;br /&gt;
 rsn_pairwise=CCMP&lt;br /&gt;
 wpa_key_mgmt=WPA-PSK&lt;br /&gt;
 wpa_passphrase=ledetest&lt;br /&gt;
 logger_stdout=-1&lt;br /&gt;
 logger_stdout_level=2&lt;br /&gt;
&lt;br /&gt;
3. Make it run&lt;br /&gt;
* ./setup.sh&lt;br /&gt;
&lt;br /&gt;
4. Add it to starting progress&lt;br /&gt;
* vim /etc/rc.local&lt;br /&gt;
  cd /root/&lt;br /&gt;
  sleep 6&lt;br /&gt;
  ./setup.sh &amp;amp;&lt;br /&gt;
&lt;br /&gt;
5. If your Ap is not stable, please limit the speed, here I limit download speed as 8Mbit/s, upload as 4Mbit/s&lt;br /&gt;
* tc qdisc add dev ap0 root handle 1: htb default 11&lt;br /&gt;
* tc class add dev ap0 parent 1:1 classid 1:2 htb rate 8Mbit ceil 4Mbit prio 2&lt;br /&gt;
&lt;br /&gt;
===Make your own image===&lt;br /&gt;
* Prepare a SD card which have installed Ubuntu system&lt;br /&gt;
* Boot your SD card with R2, after R2 finish starting, copy your files and config your Ubuntu, then poweroff R2&lt;br /&gt;
* Plug your SD card in Linux PC, &amp;quot;cd /media&amp;quot;, then &amp;quot;ln -s &amp;lt;your account&amp;gt; pi&amp;quot;&lt;br /&gt;
* Execute &amp;quot;bpi-migrate -c bpi-r2.conf -c ubuntu-mate-from-sd.conf -d /dev/sdx&amp;quot;&lt;br /&gt;
* Then you could get your own image now&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
*1.Banana Pi BPI-R2 Razberry board OpenHab2 &lt;br /&gt;
::https://community.openhab.org/t/banana-pi-bpi-r2-razberry-board-openhab2-help/37222/8&lt;br /&gt;
&lt;br /&gt;
='''Reference Link'''=&lt;br /&gt;
&lt;br /&gt;
http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:start&lt;br /&gt;
&lt;br /&gt;
http://www.banana-pi.org/r2.html&lt;br /&gt;
&lt;br /&gt;
http://forum.banana-pi.org/&lt;/div&gt;</summary>
		<author><name>HarshDethe</name></author>	</entry>

	<entry>
		<id>https://wiki.banana-pi.org/index.php?title=About_BPI&amp;diff=8743</id>
		<title>About BPI</title>
		<link rel="alternate" type="text/html" href="https://wiki.banana-pi.org/index.php?title=About_BPI&amp;diff=8743"/>
				<updated>2019-11-29T12:53:32Z</updated>
		
		<summary type="html">&lt;p&gt;HarshDethe: /* About BPI Tech */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:广东比派科技有限公司公司介绍]]&lt;br /&gt;
[[File:54.jpg]]&lt;br /&gt;
&lt;br /&gt;
=About BPI Tech=&lt;br /&gt;
&lt;br /&gt;
[[File:Banana_Pi_all.jpg|thumb|[http://wiki.banana-pi.org/Main_Page#Products Banana Pi open source hardware]]]&lt;br /&gt;
[[File:ODM.jpg|thumb|[[BPI 4.0 Server]]]]&lt;br /&gt;
[[File:R2_for_4G.JPG|thumb|[[Successful case]]]]&lt;br /&gt;
[[File:Arm_taipie_6.jpg|thumb|[[Banana Pi Publicity and promotion]]]]&lt;br /&gt;
&lt;br /&gt;
SINOVOIP Was found in 2003, Located in Shenzhen,Guangdong, China.We have more than 12 years Professional embedded software and hardware development and production experience, supply the development and manufacture for hardware product innovators, we have more than 50 software and hardware engineers. Our factory more than10000 square meters, and have more than 400 workers. SinoVoip have business with more than 170 countries all over the world, and we have agent in more than 40 countries.&lt;br /&gt;
&lt;br /&gt;
In 2015, GuangDong BiPai technology co., LTD was independent from sinovoip and headquartered in dongguan songshan lake high-tech park, focusing on open source hardware, Internet of things and STEAM education.&lt;br /&gt;
&lt;br /&gt;
[[File:Dongguan.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dongguan2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Banana pi new office :The R&amp;amp;D center and HeadQuarters of BiPai KeJi have finally put into use&lt;br /&gt;
&lt;br /&gt;
http://forum.banana-pi.org/t/banana-pi-new-office-the-r-d-center-and-headquarters-of-bipai-keji-have-finally-put-into-use/3313&lt;br /&gt;
&lt;br /&gt;
=Company Profile=&lt;br /&gt;
&lt;br /&gt;
*1, Basic information: Sinovoip Was found in 2003, more than 500 employees, combine with internet, technology and manufacture, provide custom development service of opensource hardware and product&lt;br /&gt;
*2, Factory more than 10000 square meters, with  60 High speed SMT placement machine, 24 SMT Production line, , more than 80% of our business comes from Japan. High-quality services to customers.&lt;br /&gt;
*3, More than 10 years OEM&amp;amp;ODM Product custom development service, SinoVoip have proficient developers in embedded software and hardware , Strong R &amp;amp; D team and quality management processes.&lt;br /&gt;
*4, SinoVoip begin the development of opensource hardware and software since 2013. The sales valume of banana pi opensource hardware reach more than 2,000,000 piece. We do related product custom development service, we have strong R &amp;amp; D team, production and logistics system.&lt;br /&gt;
&lt;br /&gt;
[[File:20150908022774637463.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Our business=&lt;br /&gt;
&lt;br /&gt;
In order to support the development of open source hardware and IOT product, we found company: Gungdong BPI Science and Technology Ltd , focused in opensource hardware project and IOT projects, creating global customer service.&lt;br /&gt;
&lt;br /&gt;
Your ideas, we help you achieve.&lt;br /&gt;
&lt;br /&gt;
*1, We welcome those Who interested in BPI open source hardware project join in our team.&lt;br /&gt;
*2, Your ideas, we help you complete the design and production, quickly realize your ideas.&lt;br /&gt;
*3, Your design, provide hardware production data, we help you to achieve the production and batch.&lt;br /&gt;
&lt;br /&gt;
[[File:20150908022780558055.jpg]]&lt;br /&gt;
&lt;br /&gt;
=DongGuan office (Company headquarters and research and development base)=&lt;br /&gt;
&lt;br /&gt;
[[File:Dongguan_office_1.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dongguan_office_2.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Shenzhen office (Marketing and supply chain management)=&lt;br /&gt;
&lt;br /&gt;
[[File:Shenzhen_office_1.JPG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Shenzhen_office_2.JPG]]&lt;br /&gt;
&lt;br /&gt;
=Factory (production and test base)=&lt;br /&gt;
&lt;br /&gt;
Sinovoip In order to meet the companys development needs, and further production capacity and product quality. Sources Communication shareholders decided to invest in new plant to build their own, the new factory site is located in manholes and covers an area of more than 10000 square meters,equipped with full range of production equipment and high quality technical management personnel . We have complete SMT production lines, plug-ins production line, assembly line, production line testing.&lt;br /&gt;
&lt;br /&gt;
[[File:Factory_1.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Factory_3.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Factory_5.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Factory_7.jpg]]&lt;/div&gt;</summary>
		<author><name>HarshDethe</name></author>	</entry>

	<entry>
		<id>https://wiki.banana-pi.org/index.php?title=BPI-Nano_robot_board&amp;diff=8079</id>
		<title>BPI-Nano robot board</title>
		<link rel="alternate" type="text/html" href="https://wiki.banana-pi.org/index.php?title=BPI-Nano_robot_board&amp;diff=8079"/>
				<updated>2019-10-11T05:50:36Z</updated>
		
		<summary type="html">&lt;p&gt;HarshDethe: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Overview=&lt;br /&gt;
[[File:BPI-Nano_robort_2.JPG|thumb|arduino Nano robot board]]&lt;br /&gt;
[[File:BPI-Nano_robort_3.JPG|thumb|　BPI-Nano arduino Nano]]&lt;br /&gt;
[[File:BPI-Nano_robort_4.JPG|thumb|　BPI-Nano arduino Nano]]&lt;br /&gt;
[[File:BPI-Nano_robort_6.JPG|thumb|　with [[BPI-NANO arduino NANO board ]]]]&lt;br /&gt;
[[File:BPI-Nano_1.JPG|thumb|[[BPI-NANO arduino NANO board ]]]]&lt;br /&gt;
[[File:BPI-UNO_1.JPG|thumb|[[BPI-UNO arduino UNO board]]]]&lt;br /&gt;
[[File:ESP32_6.JPG|thumb|[[BPI-UNO32]] with ESP32]]&lt;br /&gt;
&lt;br /&gt;
This robot board is design for Arduino Nano and Nano compatible boards. It is designed by [https://www.facebook.com/harsh.dethe.5602 '''Harsh Dethe'''] and made by [http://wiki.banana-pi.org/About_BPI '''BPI factory'''].&lt;br /&gt;
&lt;br /&gt;
BPI-Nano robot board's motor drive expansion plate available in the bpi-nano controller supports dual-circuit motor control, with single maximum current up to 1A.&lt;br /&gt;
&lt;br /&gt;
Arduino standard pin design interface, also can be used with Arduino Nano. It can be use for the development of small mobile robots.&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
==Technical specifications==&lt;br /&gt;
*Driver chip: L293B&lt;br /&gt;
*Logical working voltage: 5V DC&lt;br /&gt;
*Motor drive voltage: 7-12v DC&lt;br /&gt;
*Maximum driving current: 1A (per circuit)&lt;br /&gt;
*Pin for motor drive: pin4/5/6/7 (Arduino controller)&lt;br /&gt;
*Size: 56x57mm&lt;br /&gt;
&lt;br /&gt;
==Hardware interface==&lt;br /&gt;
&lt;br /&gt;
[[File:BPI-Nano_robort_interface.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:BPI-Nano_robort_interface_1.png]]&lt;br /&gt;
&lt;br /&gt;
==PIN define==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: PaleTurquoise; color: black&amp;quot; colspan=&amp;quot;4&amp;quot;| '''BPI-Nano aruino Nano robort GPIO pin define'''&lt;br /&gt;
|-&lt;br /&gt;
|Pin	||Function&lt;br /&gt;
|-&lt;br /&gt;
|Digital 2、4	||Motor2 Steering control, 2 high level, 4 low level positive turn;Whereas inversion&lt;br /&gt;
|-&lt;br /&gt;
|Digital 3	||Motor 2 Enable interface, high level enable&lt;br /&gt;
|-&lt;br /&gt;
|Digital 5	||Motor 1 Enable interface, high level enable&lt;br /&gt;
|-&lt;br /&gt;
|Digital 7、8	||Motor 1 Steering control, 7 high level, 8 low level positive turn;Whereas inversion&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
==Sample code==&lt;br /&gt;
&lt;br /&gt;
 //This motor shield use Pin 2,3,4,5,6,7,8 to control the motor&lt;br /&gt;
 // Just plug the nano into the shield&lt;br /&gt;
 // Simply connect your motors to M1 ,M2&lt;br /&gt;
 // Upload the code to BPI-NANO/arduino&lt;br /&gt;
 // Through serial monitor, type 'a','s', 'w','d','x' to control the motor&lt;br /&gt;
 // http://www.banana-pi.org/&lt;br /&gt;
 //  http://www.banana-pi.org/&lt;br /&gt;
 // Last modified on 20/09/2019&lt;br /&gt;
 int EN1 = 5;  //Motor 1 Enable&lt;br /&gt;
 int EN2 = 3;  //Motor 2 Enable&lt;br /&gt;
 int IN1 = 7;&lt;br /&gt;
 int IN2 = 8; //Motor 1 &lt;br /&gt;
 int IN3 = 2;&lt;br /&gt;
 int IN4 = 4; //Motor 2&lt;br /&gt;
 void Motor1(int ENA, boolean reverse)&lt;br /&gt;
        {&lt;br /&gt;
          digitalWrite(ENA,HIGH);&lt;br /&gt;
         if(reverse)&lt;br /&gt;
         { &lt;br /&gt;
          digitalWrite(IN1,HIGH);   &lt;br /&gt;
          digitalWrite(IN2,LOW);    &lt;br /&gt;
         }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
          digitalWrite(IN1,LOW);  &lt;br /&gt;
          digitalWrite(IN1,HIGH);    &lt;br /&gt;
         }&lt;br /&gt;
        }  &lt;br /&gt;
 void Motor2(int ENB, boolean reverse)&lt;br /&gt;
        {&lt;br /&gt;
          digitalWrite(ENB,HIGH);&lt;br /&gt;
         if(reverse)&lt;br /&gt;
         { &lt;br /&gt;
          digitalWrite(IN3,HIGH);   &lt;br /&gt;
          digitalWrite(IN4,LOW);  &lt;br /&gt;
         }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
          digitalWrite(IN3,LOW);   &lt;br /&gt;
          digitalWrite(IN4,HIGH);   &lt;br /&gt;
         }&lt;br /&gt;
        }  &lt;br /&gt;
 void setup() &lt;br /&gt;
 { &lt;br /&gt;
    int i;&lt;br /&gt;
    for(i=2;i&amp;lt;=8;i++)  //For BPI-NANO Motor Shield&lt;br /&gt;
    pinMode(i, OUTPUT);  //set pin 2,3,4,5,6,78 to output mode&lt;br /&gt;
    Serial.begin(9600);   &lt;br /&gt;
 } &lt;br /&gt;
 void loop() &lt;br /&gt;
 { &lt;br /&gt;
  int x,delay_en;&lt;br /&gt;
  char val;&lt;br /&gt;
  while(1)&lt;br /&gt;
  {&lt;br /&gt;
    val = Serial.read();&lt;br /&gt;
    if(val!=-1)&lt;br /&gt;
       {&lt;br /&gt;
          switch(val)&lt;br /&gt;
           {&lt;br /&gt;
             case 'w'://Move ahead&lt;br /&gt;
                        Motor1(100,true);  &lt;br /&gt;
                        Motor2(100,true);                  &lt;br /&gt;
                         break;&lt;br /&gt;
             case 's'://move back&lt;br /&gt;
                        Motor1(100,false);&lt;br /&gt;
                        Motor2(100,false);&lt;br /&gt;
                         break;&lt;br /&gt;
             case 'a'://turn left&lt;br /&gt;
                        Motor1(100,true);&lt;br /&gt;
                        Motor2(100,false);&lt;br /&gt;
                         break;       &lt;br /&gt;
             case 'd'://turn right&lt;br /&gt;
                        Motor1(100,false);&lt;br /&gt;
                        Motor2(100,true);&lt;br /&gt;
                        break;   &lt;br /&gt;
               case 'x'://stop&lt;br /&gt;
                        digitalWrite(ENA,LOW);&lt;br /&gt;
                        digitalWrite(ENB,LOW);&lt;br /&gt;
                         break;                                  &lt;br /&gt;
           }             &lt;br /&gt;
       }&lt;br /&gt;
   }                           &lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
=Easy to buy sample=&lt;br /&gt;
&lt;br /&gt;
*aliexpress ship : https://www.aliexpress.com/item/4000244997068.html?spm=2114.12010612.8148356.1.7f5121dajc1zAc&lt;/div&gt;</summary>
		<author><name>HarshDethe</name></author>	</entry>

	<entry>
		<id>https://wiki.banana-pi.org/index.php?title=BPI-Nano_robot_board&amp;diff=8013</id>
		<title>BPI-Nano robot board</title>
		<link rel="alternate" type="text/html" href="https://wiki.banana-pi.org/index.php?title=BPI-Nano_robot_board&amp;diff=8013"/>
				<updated>2019-09-29T06:09:04Z</updated>
		
		<summary type="html">&lt;p&gt;HarshDethe: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Overview=&lt;br /&gt;
[[File:BPI-Nano_robort_2.JPG|thumb|arduino Nano robot board]]&lt;br /&gt;
[[File:BPI-Nano_robort_3.JPG|thumb|　BPI-Nano arduino Nano]]&lt;br /&gt;
[[File:BPI-Nano_robort_4.JPG|thumb|　BPI-Nano arduino Nano]]&lt;br /&gt;
[[File:BPI-Nano_robort_6.JPG|thumb|　with [[BPI-NANO arduino NANO board ]]]]&lt;br /&gt;
&lt;br /&gt;
This robot board is design for Arduino Nano and Nano compatible boards. It is designed by [https://www.facebook.com/harsh.dethe.5602 '''Harsh Dethe'''] and made by [http://wiki.banana-pi.org/About_BPI '''BPI factory'''].&lt;br /&gt;
&lt;br /&gt;
BPI-Nano robot boards motor drive expansion plate available in the bpi-nano controller supports dual-circuit motor control, with single maximum current up to 1A.&lt;br /&gt;
&lt;br /&gt;
Arduino standard pin design interface, also can be used with Arduino Nano.It can be applied to the development of small mobile robot.&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;/div&gt;</summary>
		<author><name>HarshDethe</name></author>	</entry>

	</feed>