Assistant
REPLY |
Orange Pi Zero Plus - discussion | [Sbc] |
Message#1 24.02.18, 20:21 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Orange Pi PC 2 | Orange pi zero | Orange pi lite | Orange pi prime | Orange Pi Plus | Orange Pi 2G-IOT | Orange Pi Zero Plus 2 | How do I get an Orange Pi? Orange Pi Zero Plus Important information
Specifications
Available operating systems: How to flash, see the topic:Orange Pi Zero - Discussion Onlinehttp://www.orangepi.orgin sectiondownloads:
In fact, Orange Pi Zero Plus is not intended for the desktop. Requires direct hands and a fair knowledge of Linux. Today there is a great alternative in the formArmbian:
Also availableOpenwrt Useful information OrangePi zero plus_H5 User Manual_v0.9.1.pdf(2.68 MB) ORANGE_PI-ZERO-PLUS_V1_0_Schematic.pdf(190 KB) Official store on Ali:https://aliexpress.com/store/1553371 Use memory cards of no less than 10th grade, and google a memory card for RPi, a lot of reviews on the Internet. The most important indicators - IOPS memory cards in different modes. The case of the Orange Pi Zero needs to be modified by a file, namely the boring holes for the ethernet connector.Special case separately yet. Orange Pi Zero interface board expansion board needed versionsnot lower than version 1.2, otherwise file revision is required (see:Orange Pi Zero Plus (Post NewVid # 70721588) ) WorkableWiringPIunder the fee. EditingDevice tree Reviews in the process of filling ... Post has been editedNewview - 16.12.18, 19:08 Reason for editing: link to OpenWRT, DT |
Message#2 24.02.18, 21:44 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Orange Pi Zero Expansion board Contains:
Important! For Orange Pi Zero Plus, only version 1.2 is suitable, version 1.1 needs to be improved with a file (in the literal sense of the word) The reason is the size of the network connector - in Orange Pi Zero Plus it is gigabit and larger in size ... But "refinement" is possible, I personally made a Dremel: Post has been editedNewview - 24.02.18, 21:51 -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#3 02.03.18, 12:05 | |
a guest [offline] Group: Users Messages 6 Check in: 02.03.18 Reputation: 1 | There is an orange pi zero plus board with a H5 OS processor android 5.1 downloaded from off. site. Please tell me how to work with sensors connected via i2c bus. |
Message#4 02.03.18, 14:02 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Alexei757575 With Sensors did not work ... only oled the display connected via the I2C bus. And in general with H5 there are problems with working with sensors, due to the unavailability of software. If you have Armbian, you can dig in there:https: //docs.armbian.c...de_Allwinner_overlays/ Summarizing, there is access to I2C, you can search for examples in C (in the end, arduino projects can be adapted). P.S. I2C is easily activated via armbian-config (System->Hardware) Posted 02/03/2018 14:04: Not noticed when reading. I do not know the answer. -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#5 03.03.18, 15:34 | |
Magos biologis [offline] Group: Developers Messages 11806 Check in: 05.05.13 Huawei MediaPad 7 Vogue S7-601u, S7-602u Reputation: 1041 | If you have i2c support enabled in the kernel, then through sysfs. For example, as describedhere -------------------- Order. Unity. Obedience. |
Message#6 05.03.18, 11:16 | |
a guest [offline] Group: Users Messages 6 Check in: 02.03.18 Reputation: 1 | Thank you very much indeed in Armbian, i2c support in the kernel is different from other offs. linux In android probably also have, but I do not know how to work with it. Generally set armbian sensor detects, but now I can not put WiringOP. Set from herehttps://github.com/tum...ngOP/blob/h5/README.md On debian jessei, it was installed without problems, and here it writes with the gpio readall command: piBoardRev: Unable to determine board revision from / proc / cpuinfo ->No "Hardware" line ->You may want to check: ->http://www.lemaker.org/ Help pliz can anyone encountered this error or put another version of WiringOP for H5 Most likely you need to register something in / proc / cpuinfo but what and where? the file itself processor: 0 BogoMIPS: 48.00 Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer: 0x41 CPU architecture: 8 CPU variant: 0x0 CPU part: 0xd03 CPU revision: 4 processor: 1 BogoMIPS: 48.00 Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer: 0x41 CPU architecture: 8 CPU variant: 0x0 CPU part: 0xd03 CPU revision: 4 processor: 2 |
Message#7 05.03.18, 11:41 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Alexei757575 I do not pretend to the truth in the last resort, but it is necessary to edit the source code for this odnoplatnik. (For example:Orange Pi PC 2 - discussion (Post by berkoff85 # 70170242) ) But neither under our, nor under Plus 2 - I did not see the WiringOP option (Find it - it will be in the cap -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#8 05.03.18, 12:49 | |
a guest [offline] Group: Users Messages 6 Check in: 02.03.18 Reputation: 1 | Thank you so much earned In the file wiringPi.c after the 1350th line, enter strncpy (line, "Hardware: sun50i", 15); |
Message#9 05.03.18, 12:59 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Alexei757575 Colleague - make a post with a detailed description of where to get, what to fix, what happens ... If you can, any example of work (screenshots). I will put in a hat and other colleagues will have no problems. -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#10 06.03.18, 11:25 | |
a guest [offline] Group: Users Messages 6 Check in: 02.03.18 Reputation: 1 | Sensor connection via i2c bus 1. Install Arbian OS (on other Linux, there is no support for i2c cores or you can of course rebuild the image from source, but I did not succeed) 2. Turn on i2c via armbian-config (System->Hardware) team sudo armbian-config, etc. We include all three tires or the one on which the sensor 3. Install i2c-tools (in principle, it is not needed for work, but it helps to check if our sensor is detected) in the presence of the Internet team: sudo apt-get install i2c-tools I personally, without the Internet, dropped the package from the flash drive and put the command: dpkg -i / path to the file / i2c-tools_3.1.2-3_arm64.deb 4. Check whether our sensor detects a command i2cdetect -y 0 there must be something like: root @ orangepizeroplus: / home # i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root @ orangepizeroplus: / home # 68 is the address of my sensor if you have a sensor on bus 1 then i2cdetect -y 1, respectively. 5.If a sensor is detected, download the WiringOP library. in the presence of the Internet team: git clone https://github.com/tumugin/WiringOP I personally downloaded from herehttps://github.com/tum...ngOP/blob/h5/README.mdand copied from a flash drive to a home folder Now go to the directory WiringOP / wiringPi: cd ./WiringOP/wiringPi and fix the file wiringPi.c sudo nano ./WiringOP/wiringPi/wiringPi.c go to line 1350 (ctrl + _, enter 1350) and add after it the line strncpy (line, "Hardware: sun50i", 15); to be like this: if (strncmp (line, "Hardware", 8) == 0) break; } fclose (cpuFd); strncpy (line, "Hardware: sun50i", 15); if (strncmp (line, "Hardware", 8)! = 0) piBoardRevOops ("No \" Hardware \ "line"); and save (ctrl + 0, Enter, ctrl + x) go to the directory cd /.../WiringOP and install the library chmod + x ./build chmod ./build 6. Check the installation command cd gpio readall should get something like this: root @ orangepizeroplus: / home # gpio readall + ----- + ----- + ---------- + ------ + --- + - Orange Pi + --- + --- + ---- - + --------- + ----- + - + | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+----- + | | | 3.3v | | | 1 || 2 | | | 5v | | | | 12 | 8 | SDA.0 | ALT5 | 0 | 3 || 4 | | | 5V | | | | 11 | 9 | SCL.0 | ALT5 | 0 | 5 || 6 | | | 0v | | | | 6 | 7 | GPIO.7 | ALT3 | 0 | 7 || 8 | 0 | ALT3 | TxD3 | 15 | 13 | | | | 0v | | | 9 || 10 | 0 | ALT3 | RxD3 | 16 | 14 | | 1 | 0 | RxD2 | ALT3 | 0 | 11 || 12 | 0 | ALT3 | GPIO.1 | 1 | 110 | | 0 | 2 | TxD2 | ALT3 | 0 | 13 || 14 | | | 0v | | | | 3 | 3 | CTS2 | ALT3 | 0 | 15 || 16 | 0 | ALT3 | GPIO.4 | 4 | 68 | | | | 3.3v | | | 17 || 18 | 0 | ALT3 | GPIO.5 | 5 | 71 | | 64 | 12 | MOSI | ALT3 | 0 | 19 || 20 | | | 0v | | | | 65 | 13 | MISO | ALT3 | 0 | 21 || 22 | 0 | ALT3 | RTS2 | 6 | 2 | | 66 | 14 | SCLK | ALT3 | 0 | 23 || 24 | 0 | ALT3 | CE0 | 10 | 67 | | | | 0v | | | 25 || 26 | 0 | ALT3 | GPIO.11 | 11 | 21 | | 19 | 30 | SDA.1 | ALT4 | 0 | 27 || 28 | 0 | ALT4 | SCL.1 | 31 | 18 | | 7 | 21 | GPIO.21 | ALT3 | 0 | 29 || 30 | | | 0v | | | | 8 | 22 | GPIO.22 | ALT3 | 0 | 31 || 32 | 0 | ALT3 | RTS1 | 26 | 200 | | 9 | 23 | GPIO.23 | ALT3 | 0 | 33 || 34 | | | 0v | | | | 10 | 24 | GPIO.24 | ALT3 | 0 | 35 || 36 | 0 | ALT3 | CTS1 | 27 | 201 | | 20 | 25 | GPIO.25 | ALT3 | 0 | 37 || 38 | 0 | ALT3 | TxD1 | 28 | 198 | | | | 0v | | | 39 || 40 | 0 | ALT3 | RxD1 | 29 | 199 | +-----+-----+----------+------+---+----++----+---+------+----------+-----+----- + | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | + ----- + ----- + ---------- + ------ + --- + - Orange Pi + --- + ------ + - --------- + ----- + ----- + root @ orangepizeroplus: / home # if not, check that everything is so, I only got it from the second time, probably somewhere wrong. 7. Now you can write C programs using the functions of the WiringPI library. connecting #include<wiringPi.h>and #include<wiringPiI2C.h>for work with the tire i2c Here is my test example with an MPU-9250 sensor that reads the 3-axis accelerometer and temperature (an example of a curve is purely for verification) #include<iostream> #include<wiringPi.h> #include<wiringPiI2C.h> using namespace std; int main () { wiringPiSetup (); int i = 0x68; int n; int a = wiringPiI2CSetup (i); if (a<0) { std :: cout<<"error initializacion"<<std :: endl; } std :: cout<<"vvedite kolichestvo znachenie n ="; std :: cin>>n; std :: cout<<endl; int j; for (int j = 1; j<n; j ++) { int Ax = wiringPiI2CReadReg8 (i, 0x3B)<<8 | wiringPiI2CReadReg8 (i, 0x3C); int Ay = wiringPiI2CReadReg8 (i, 0x3D)<<8 | wiringPiI2CReadReg8 (i, 0x3E); int Az = wiringPiI2CReadReg8 (i, 0x3F)<<8 | wiringPiI2CReadReg8 (i, 0x40); int t = wiringPiI2CReadReg8 (i, 0x41)<<8 | wiringPiI2CReadReg8 (i, 0x42); std :: cout<<Ax<<" "<<Ay<<" "<<Az<<" "<<t<<std :: endl; } return 0; } for some sensors, there are already libraries on the Internet to work with, and the others can be operated using wiringPi, you only need to know the device address (it is recognized either in datasheet or using i2c-tools) and register descriptions (datashit or Register map) when compiling it is necessary to specify -lwiringPi something like this: cd / file directory / g ++ -lm -lwiringPi -o output for1datchika.cpp where for1datchika.cpp is my compiled file output is the file name of the compiled program that will be created in the same folder. after we run it: sudo ./output we get root @ orangepizeroplus: / home # ./output vvedite kolichestvo znachenie n = 5 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 root @ orangepizeroplus: / home # Should get normal values just I have problems with statics or nutrition Post has been editedAlexei757575 - 06.03.18, 12:16 |
Message#11 06.03.18, 11:59 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Alexei757575 QMS read plz. Try to blink the LED - I am tormented by doubts about the compliance of the gpio pins on the board. For example, on 8 pin, which should be iron GPIO 198 ..... and not GPIO 13. 1,3,5 pins on GPIO layout match, on the rest - a zoo. those. It is necessary to carefully dig the code and fix the match. We also have 26 pins, not 40, but this is true, nagging. A brief summary of what I see: pins 3,5,7,11,13,15 and 22 will work and the rest will be by. About side effects - keep silence. Need a person with the presence ofof time, straighthands and make your version Post has been editedNewview - 06.03.18, 13:12 -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#12 06.03.18, 23:21 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | Short review A good machine for those familiar with Linux and the command line. Pros:
Summary - for those who understand why they need it. Personally, I use for the following purposes:
Post has been editedNewview - 07.03.18, 12:47 -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#13 04.04.18, 22:44 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 218 Check in: 01.07.12 Xiaomi Mi 8 Reputation: 7 | How about speed compared to single-board H3? I now have an Orange pi One, worth nextcloud for more than six months and it seems to me that it began to work more slowly. The memory card is not very active, so I think the problem is not in it. Installed third-party applications: Audio player Calendar Contacts Deck Notes Phone sync Preview Generator QOwnNotesAPI Tasks Version 13.0.0 Post has been editedvanya150600 - 04.04.18, 22:45 |
Message#14 05.04.18, 00:41 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | How about speed compared to single-board H3? I now have an Orange pi One, worth nextcloud for more than six months and it seems to me that it began to work more slowly. The memory card is not very active, so I think the problem is not in it. I do not have H3 ... But purely according to the logic of things - 64-bit applications are faster than 32-bit applications, and the network is gigabit, which is very good. How OpenVPN server + Domoticz + small things - elegant. We must remember - only Armbian, the rest is unacceptable from the point of view of security and other things. -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#15 18.04.18, 21:12 | |
User [offline] Group: Friendssavagemessiahzine.com Messages 75 Check in: 15.10.12 Nokia 6 TA-1021 Reputation: 6 | The speed is not much higher, but here it is heated significantly less. Recently there was a problem. No eth0 in ifconfig -a. It happened after some glitch, after which through armbian-config it was necessary to turn on all usb, uart, i2c and other again. But the interface where eth0 sits is not there. How can I turn it on? |
Message#16 19.04.18, 12:19 | |
a guest [offline] Group: Users Messages 6 Check in: 02.03.18 Reputation: 1 | I don’t shave too much, but all the interface settings like in this file should be /boot/dtb-4.14.14-sunxi64/allwinner/sun50i-h5-orangepi-zero-plus.dtb first, the current from binary to normal must be transferred dtc -I dtb -O dts -o sun50i-h5-orangepi-zero-plus.dts ./sun50i-h5-orangepi-zero-plus.dtb and ifconfig -a should seem to show all interfaces even disabled, although I could be wrong |
Message#17 23.05.18, 07:38 | |
Good spirit [offline] Group: Friendssavagemessiahzine.com Messages 1243 Check in: 31.12.10 Thl T100S Reputation: 135 | Recently ordered this fee. I would like to clarify a number of questions: 1) What is the step of the GPIO comb? Standard 2.54? I looked off.doki, there is not a word about it 2) 3) Can someone advise the radiator to be glued on percent? Shl. He ordered the card to be inserted into a 3D printer, making a print server of it with remote control and control. Post has been editedbeast6666 - 23.05.18, 07:41 |
Message#18 23.05.18, 12:09 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | It has long been 5i volts no .... 3.3 Yes. Exactly the same as raspberry pi. They are also compatible (theoretically). beast6666, Tell me later how it happened) Preferably with links to instructions or right here. -------------------- “Then you can’t get people down.” © Mark Twain GgQwBDoEIAA2BDUEIAA8BDUEPQRPBCAANAQ + BEEEQgQwBDsEOAQuAC4ALgA = |
Message#19 23.05.18, 12:45 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 1391 Check in: 25.05.09 Reputation: 123 | beast6666 The size of the processor is 14x14, 1.4x1.4 centimeters, there are separate stickers and the heatsink can be found higher https: //www.aliexpress...%D1%80+14+%D0%BC%D0%BC https: //www.aliexpress...14-6mm/1740509906.html https: //www.aliexpress...emory/32844740353.html https: //www.aliexpress...14x11/32849833118.html https: //www.aliexpress...h-5mm/32683535215.html And all the same can be found on tao, I took it separately stickers and different sets of copper and aluminum, now stands as in the third link Enokay. Post has been editedrubitwa - 23.05.18, 12:49 -------------------- |
Message#20 23.05.18, 12:58 | |
there is no justice. [offline] Group: Friendssavagemessiahzine.com Messages 2701 Check in: 27.11.07 Samsung Galaxy Note GT-N7000 Reputation: 196 | |
Message#21 23.05.18, 13:24 | |
Good spirit [offline] Group: Friendssavagemessiahzine.com Messages 1243 Check in: 31.12.10 Thl T100S Reputation: 135 | I have a bunch of 5 volts in my house lying around since the time when atmega was on its own, and not in assembly with arduino. Have to order at 3.3 Tell me later how it happened) Preferably with links to instructions or right here. if I remember I decided that something like a kit for a 3D printer would be redundant, but Zero would be a perfect fit. rubitwathank. Green ordered) |
mobile version | Now: 04/30/19 9:11 |