Jump to content

JohnQPublic

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by JohnQPublic

  1. What should I update to? I would like to keep as much of the settings if possible.
  2. Err:9 http://armbian.systemonachip.net/apt xenial/utils armhf Packages 404 Not Found Reading package lists... Done W: The repository 'http://apt.armbian.com xenial Release' does not have a Releas e file. I am getting above errors when trying to update. I have OrangePi One with "16.04.7 LTS (Xenial Xerus)" and "Armbian Linux 3.4.113-sun8i"
  3. I'll try to figure it out. I just want to thank you for you help.
  4. OK gathered enough courage to edit script.fex and compile it to script.bin and then reboot: [uart3] uart_used = 1 uart_port = 3 uart_type = 4 uart_tx = port:PA13<3><1><default><default> uart_rx = port:PA14<3><1><default><default> I have HC-12 RX wire going to Orangepipc pin 8 (PA13 TX) and HC-12 TX wire going to Orangepipc pin 10 (PA14 RX) Now sending using /dev/ttyS3 appears to work, but receiving not. What could be the problem? Other Orange Pi PC features seem towork fine (Putty, net etc)
  5. Thank you for your reply. Just to clarify. I'd rather not change script.bin in fear I mess something. If I connect the RX and TX wires from the HC-12 to the 1+2 (GND, RX,TX) pins next to the HDMI connection (should ground be connected as well?) can I leave script.bin as it is? Will it affect Putty? If If have to change: [uart1] uart_used = 0 -> [uart1] uart_used = 1 will I then have "/dev/ttyS1" available. Where shoul the HC-12 RX/TX wires then go?
  6. I have OrangePi PC and I'd like to use HC-12 serial communications device. I've successfully used it with RaspberryPi Zero with these instructions: http://dev.drun.net/2017/05/10/reading-hc-12-from-rpi-and-sending-to-domoticz/ I've found this useful info: https://forum.armbian.com/topic/1524-orange-pi-one-how-to-enable-uart/ I've connected the HC-12 to OPPC as follows: VIN – Connect to 3.3 (PIN 2) GND – Connect to GND (PIN 6) RX – Connect to (PIN 8, UART0_TXD) TX – Connect to (PIN 10, UART0_RXD) I've got Putty connected to OrangePi. command "ls /dev/tty*" shows that I have /dev/ttyS0. I've tried to use it with Minicom: sudo minicom -b 9600 -o -D /dev/ttyS0 ..to no avail. "uname -a" command shows "Linux orangepipc 3.4.113-sun8i #68 SMP PREEMPT Wed Sep 19 10:23:30 CEST 2018 armv7l armv7l armv7l GNU/Linux" I opened the script.fex and it shows: ...etc. I have no clue what these mean. The first useful info above mentions that I should modify them. What should I try next?
  7. I read the posts. From what I gather from it is that a lot of work is needed and it's not an easy task
  8. What is the the best reasonably priced camera module for Orangepi models these days? Raspberry has 5 and 8 megapixel camera modules from 7-30 euros. Orangepi has only 2 megapixel cameras. Or has a 5MP cameramode come available for Orangepi also? I've looked at Aliexpress and nothing seems to have changed.
  9. Ah, I found a solution. I reformatted the sd card again and instead of using the display I used putty to first enter everything including h3disp settings that enable me to see what is going on and what it is asking. Thinking back I now recall that that was what I did a year ago when facing the same problem .
  10. I've installed Armbian again. Initially I logged in as root and 1234 password which worked. Then it asked to change the password. Something wen't wrong with it. My OrangePi PC boots fine and ok. When I open a terminal and try to do a "sudo this that" it asks my password and won't accept the one I gave, nor 1234. I've done the full installation a couple of times and same problem persists. How do I rest root password? The problem is that everytime I re-install everything and I'me at the very firts log (where I enter root and 1234) the screen scrolls so that I cannot see what it is asking since my monitor is 1600x1024. That I why I need to reset password afterwards. I' the only user.
  11. I have a small C program where a GPIO pin on Orange Pi is polled using digitalRead. It works fine and detects HIGH and LOW as expected. When I put a dupont wire with nothing connected at the other end (ie. just extend the GPIO pin) digitalRead starts registering intermittent HIGHs and LOWs wildly. What the heck am I seeing? I have a Raspberry 3 nearby and it does not show this phenomenom. Using digitalWrite on the pin works as expected.
  12. I get systemctl: unrecognized option '--now" I also tried sudo systemctl disable ssh I did something but not disabling ssh (I tried with Putty).
  13. How do I disable SSH and then enable it later?
  14. I hear that Orange Pi 2E has 1GB network speed and an USB3 port. In my project I paln to use an SBC as a network bridge and sniff traffic for problems. A simple network tap would otherwise be ok but they come only with 10/100Mbd speed limit. What I'd do have two ethernet ports on the Orange Pi, one regular and one via USB3. No to my question: are Orange Pi capable for this or is the advertised network/USB3 speed buggy/lacking? I have one Orange Pi PC for a file server and it has been running for weeks just fine. Raspberry Pi's are fine to (albeit still no 1GB ethernet). Raspberry Zero's have issues (mine seem to lock up after a couple of days).
  15. I tried the examples for example: ffmpeg -t 30 -f v4l2 -channel 0 -video_size 1280x720 -i /dev/video0 -pix_fmt nv12 -r 30 -b:v 64k -c:v cedrus264 test.mp4 but I get an error "Unknown encoder 'cedrus264'" How do I download it. I an using Armbian & OrangePi PC and a sunxi ribbon camera.
  16. After downloading newest version (sudo apt-get update) the problem has gone away.
  17. When I boot Orange Pi PC loads and the "Ambian" gui loads with graphical desktop. When it has fully loaded I like my own program to load as well - after everything else has been loaded. In raspberry pi LXDE dekstop I edit a script "sudo nano ~/.config/lxsession/LXDE-pi/autostart". What is the Armbian equivalent?
  18. I'd like to use Orange Pi PC as a HID keyboard USB gadget/USB device. There is a tutorial on link here but it makes Orange Pi into a serial device. I want a HID device (keyboard).
  19. I tried sudo h3disp -m 36 which according h3disp is 1680x1050 but my monitor showed only a message that this is not supported. using sudo h3disp -m 10 sets stuff outside the screen which is a bit annoying. I suspect that the 1680x1050 is not 60Hz or is otherwise imcompatible. Any suggestions?
  20. Is the any other camera module that would get better results. 640x480 just is not enough these days.
  21. I have Orange Pi PC connected via HDMI to a Samsung SyncMaster T220HD with 1680 x 1050 at 60 Hz. Currently Armibian defaults to 1280 x 1024 and edges are outside the screen. What can I do and which configuration I edit to get better results?
  22. My version (uploaded yesterday) does not support "-- exposure" or "- >". Yet many posts use it. What are they? "fswebcam --help" do not list those option. Fswebcam --version shows "fswebcam 20140113" The raspberry 5MP camera on Aliexpress costs around 8 euros. The Orange pi is at 6 euros.
  23. I bought an Orange Pi PC "Set 9" that came with ribbon camera module (total 20 eur) to compare with Raspberry 3. After finally getting it to take a picture using fswebcam I find the images very low quality. Most passable without any extra lighting is 640x480. 800x600 and 1600x1200 produce nearly black images. Using Raspberry 3 with similarly priced chinese camera produce much better images with lower lighting. Am I missing something or is the camera quality this bad in comparison? I usually expect OK results from "chinese clones" but this is really. The best image I could get was: sudo fswebcam -r 640x480 --fps 25 -p YUV420P cam.jpg
  24. I bough an Orange Pi PC set 9 which came with a camera ( https://www.aliexpress.com/item/Orange-Pi-PC-set-9-Pi-PC-and-Camera-with-wide-angle-lens-not-for-raspberry/32662572137.html?spm=2114.13010608.0.0.dIEdek ) After setting up armbian running etc. how do I do something with the camera (ie to see it works)? I have used raspberry and there I just type "raspistill -d" and a demo pops up. How do I do something like that? After browsing around I found that "modprobe gc2035" is along those lines but I only get "command not found". Doing a linux find does not find "modprobe". I reckon I have to install something else but what?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines