Jump to content

spottyrover

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am looking for some recommendations for using the Gpio on the opi PC ( with uname -r 5.7.15-sunxi ) The project is to open and close a glass house door using a temperature probe ( ds18B20 ) and a relay control board ( opto coupled with active low input ). Later I will add automatic watering relay board. The pins I would like to use are Inputs PC0 used for ds18B20 (SPI0_MOSI) because it is an Input PC4 Door closed switch Internal pullup PC7 Door is fully open switch Internal pullup PC3 Input to be used later(SPI0_CS) Innternal pullup Outputs PD14 output MC motor close door PC1 (SPI0_MISO) output MC motor close door because it is an output Proposed outputs to be used later PA0 (UART2_TX/JTAG_MS/PA_EINT0) PA11 (TWI0_SCK/DI_TX/PA_EINT11) PA13 (SPI1_CS/UART3_TX/PA_EINT13) PG6 (UART1_TX/PG_EINT6) Data from Allwinner H3 Datasheet I am using these commands to set inputs echo 71 > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio71/direction My questions are: 1) what do you think of the chosen pins? 2) Do I need to do anything to configure inputs to use pullups? 3) How can I set output pins to start out as high so as not to trigger the relay on startup? I am trying to use for outup echo 110 > /sys/class/gpio/export # pin12 PD14 MCD o/p relay 110 echo "out" > /sys/class/gpio/gpio110/direction echo 1 > /sys/class/gpio/gpio110/value which causes the relay to turn ON then OFF Thanks for all of your advice Dave
  2. opi+2e What is the best way to install a mainline kernel so that I can check out containers? I tried to install mainline kernel and ended up with a blank screen I then installed a nightly and it is just cli so I installed open box by ssh root@10.x.x.x9 apt-get install openbox obconf and now i get a blank screen also what is the best way to get a gui with mainline kernel? Thanks for your help Dave
  3. Thanks Bozden mpv --fs --vo=vdpau --hwdec=vdpau /path/to/file works very well The problem is a lack of an easy to use interface. as well as the video is on all desktops that is why I prefer to use smplayer is it posible to use --vo=vdpau --hwdec=vdpau in smplayer? Dave
  4. I had looked at http://linux-sunxi.org/Cedrus before. That is why I am confused with the video playback. I just noticed that it talks about dev/mainline kernel. I am still using the legacy kernel Linux orangepiplus2e 3.4.113-sun8i #18 SMP PREEMPT Thu Jun 15 02:16:06 CEST 2017 armv7l armv7l armv7l GNU/Linux Dave
  5. I Installed armbian_5.25_orangepiplus2e_ubuntu_xenial_default_3.4.113_desktop.7z How can I find out which codec is being used? Thanks for your help Dave
  6. OrangePi plus2e how do I get hardware acceleration to work in smplayer? I am recording tv using tvheadend and trying to play back using smplayer. I have tried the available options for video output driver and X11 (slow) is by far the best but is not useable as there is still alot of stuttering. top shows 138% mpv usage vdpau is colored almost horizontal lines All help is appreciated Dave
  7. Thanks igor for the link I assume there is no other menu program to choose which boot option is available? Dave
  8. Orange Pi Plus 2e How do I clone the SD card and both have boot capability? I am new to the concepts of Pi's so I am looking to slowly add abilities to the pi and have a working clone which I can use when I stuff it up. I have also seen no mention of grub being used anywhere. My main computer is a amd 64 with Debian running but I can use my laptop with win 8.1 on it but would prefer a solution which I can use on Debian Thanks for your help Dave
  9. Thanks for your help martinayotte It is running. The problem was I changed Routers and it blocked access. New router is now reconfigured. What a waste of 4 hours. LOL Dave
  10. I have a orange pi plus 2e The time was ok a few days ago but now it is off by - 12 hrs +53 minutes which is before gmt thanks for your help Dave Do I need to open a port in the router?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines