Jump to content

DigY

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by DigY

  1. DigY

    GSM Module support

    Thanks, it works One more to go: GPIO=6 echo $GPIO > /sys/class/gpio/export echo in > /sys/class/gpio/gpio${GPIO}/direction while true; do if cat /sys/class/gpio/gpio${GPIO}/value; then fswebcam -r 640x480 -p YUV420P --jpeg 100 -> image.jpg; fi sleep 10 done exit 0 with some reason it executes fswebcam even if cat returns "0". what could be wrong?
  2. Hi, I am trying to accommodate a SIM800 GSM module using UART3 of OP Lite. For the beginning, just to send a SMS and later on a MMS with a photo taken from gc2035 camera. This is a source that I made for arduino which works: Serial.print("AT+CMGS="); Serial.print(char(34)); //before and after phone nr a char (") must be sent Serial.print(Phone_nr); Serial.println(char(34)); delay(100); Serial.print(message); delay(100); Serial.println(char(26)); //end of message char I have set FEX for the UART3 but now I am struggling to start this using system commands, such as: echo "AT+CMGS=\r\n" /dev/ttyS3 9600 Any help much aprreciated.
  3. Is there a way to put a camera to standby and back ON?
  4. UPDATE: autoconnect unfortunattely does not work as I thought it will. So either you need to type the lines everytime after boot or use a network manager: http://forum.odroid.com/viewtopic.php?f=52&t=25472& in terms of camera: I found that although images/photos are taken, in fact they are blank (or actually solid black)... Solution of the black image is the file format. the command can capture a good image: fswebcam -r 1600x1200 -p YUV420P --jpeg 100 --save image.jpg
  5. Maybe it's not a fix. but solved my problem: 1. download https://dl.armbian.com/orangepilite/archive/Armbian_5.20_Orangepilite_Debian_jessie_3.4.112.7z 2. add WiFI connection: wpa_passphrase "ssid" "wirelesskey" >/etc/wpa_supplicant.conf 3. make autconnect on start-up: - nano /etc/rc.local - add line before "exit 0": sudo wpa_supplicant -B -D nl80211 -i wlan0 -c wpa_supplicant.conf - add line before "exit 0": sudo dhclient wlan0 4. reboot 5. after login run: apt-get update 6. reboot 7. after login install drivers: - sudo modprobe gc2035 - sudo modprobe vfe_v4l2 8. instal your camera program, ie: sudo apt-get install fswebcam 9. grab the pic, ie: fswebcam -r 1280x720 --no-banner image.jpg Enjoy!
  6. I have downgraded (via cmd apt-get install linux-image-sun8i=5.20)to 3.4.112 as suggested by some ppl suggested root@orangepilite:~# uname -a Linux orangepilite 3.4.112-sun8i #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016 Now /dev/video0 is present however, altough camera is connected I' getting sensor error: root@orangepilite:~# dmesg | grep GC2035 [ 44.418232] [CSI_ERR][GC2035]sensor_read err at sensor_detect! [ 44.418241] [CSI_ERR][GC2035]chip found is not an target chip.
  7. Hi, I am trying to install and run the dedicated camera on OP Lite with Legacy 3.4.113 as written here: http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/ Unfortunately /dev/video0 is not present (checked by "ls /dev/video*"). Any one got the same issue? What could be the problem?
  8. thanks for reply. I did reboot as well as shutdown, repeated many times, none did help. AS a proof, the command successfuly changed cpu speed and disabled HDMI.
  9. Hi there, I am new to OrangePi and Linux as well and that's probably why I have faced my first problem I could not find an answer on web. I use OP Lite with the latest debian jessie. And there is the problem (or just a bug): after some time of using WiFi (and wwan) I wanted to disable it in order to reduce "excessive" power consumption. So firstly I had disabled it via "nmcli" and after a while I found out about "h3consumption" command. But recently I wanted to install (and download) but none of the above commands were able to re-enable them. Any ideas how to re-enable (besides loading new OS image) ? In addition, I noted that changind "h3consumption" is not able to change dram clockspeed.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines