Go to advanced search

by pangren
Tue Feb 28, 2017 2:58 pm
Forum: Gaming
Topic: Help with reading LCD specs on sites
Replies: 1
Views: 653

Help with reading LCD specs on sites

Hi, I am actually looking to buy adafruit's lcd below https://www.adafruit.com/products/2298 for quite some time , but it has been out of stock for almost a month already. And now I'm looking for other options. The main reason I wanted to get that was because there is a GPIO breakout on the LCD and ...
by pangren
Wed Jan 25, 2017 2:44 pm
Forum: Graphics, sound and multimedia
Topic: Connecting TFT LCD and buttons, but not enough GPIO
Replies: 3
Views: 1499

Re: Connecting TFT LCD and buttons, but not enough GPIO

Hmm... in that case, i'm not going to be able to connect all the buttons i need. If the TFT has some function that I don't use eg. touchinput pin19, And i use the triborg and connect a button to pin 19, will the button work? or will i have to somehow disable pin 19 for the TFT screen?
by pangren
Tue Jan 24, 2017 2:30 pm
Forum: Graphics, sound and multimedia
Topic: Connecting TFT LCD and buttons, but not enough GPIO
Replies: 3
Views: 1499

Connecting TFT LCD and buttons, but not enough GPIO

Hi I , like many others , are trying to make a handheld retrogaming machine. I've just managed to wire up a Waveshare 3.2" TFT LCD to the Raspberry pi 3 and get it to work. http://www.waveshare.com/3.2inch-rpi-lcd-b.htm But however It took up quite a bit of my GPIO Pins and I also want to connect a ...
by pangren
Fri Jan 20, 2017 3:32 pm
Forum: Graphics, sound and multimedia
Topic: 3.5" LCD Recalbox and fbcp compiling
Replies: 5
Views: 4904

Re: 3.5" LCD Recalbox and fbcp compiling

Hi , just want to ask, for the link : https://github.com/ian57/rpi-fbcp besides a Pi3Binary folder with a file fbcp inside. There are other files which includes, Main.C and CMakeLists.txt What are they and what do they do? I've copied fbcp into my /usr/bin and when i typed "fbcp" on the terminal its...
by pangren
Wed Jan 11, 2017 3:28 pm
Forum: Graphics, sound and multimedia
Topic: 3.5" LCD Recalbox and fbcp compiling
Replies: 5
Views: 4904

Re: 3.5" LCD Recalbox and fbcp compiling

But that is already extremely helpful for me yogi! at least i understand that what that github was actually putting a pre-compiled file for me to download.

Yeap I'll try it out. The screen seems to work with the waveshare drivers on plain raspbian. I guess it should work with this. Thanks!
by pangren
Tue Jan 10, 2017 1:09 pm
Forum: Graphics, sound and multimedia
Topic: 3.5" LCD Recalbox and fbcp compiling
Replies: 5
Views: 4904

Re: 3.5" LCD Recalbox and fbcp compiling

hi yogi2016! thanks for your reply. so you mean if i download this exact file :
https://github.com/ian57/rpi-fbcp/tree/master/Pi3Binary

and put it into /usr/bin

I should be able to type "fbcp" on the terminal and get a response?
by pangren
Sun Jan 08, 2017 9:50 am
Forum: Graphics, sound and multimedia
Topic: 3.5" LCD Recalbox and fbcp compiling
Replies: 5
Views: 4904

3.5" LCD Recalbox and fbcp compiling

Hi I bought a 3.5" rasberry pi TFT touchscreen lcd from china https://item.taobao.com/item.htm?spm=a1z09.2.0.0.Yz0lxG&id=528587111401&_u=82d34c4p87d5 And I'm trying to use it for the recalbox OS. I've tried it on a raspbian and it seems to work like the Waveshare brand of LCDs. So I'm following the ...
by pangren
Tue Sep 22, 2015 10:41 am
Forum: Networking and servers
Topic: Raspberry pi WiFi router and ipv6
Replies: 0
Views: 471

Raspberry pi WiFi router and ipv6

Hi, I made a raspberry pi WiFi router using the below tutorial with the exact same wifi dongle: http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/#comment-51206 It has been quite successful on most networks ,but i think it doesn't ...
by pangren
Thu Aug 20, 2015 4:21 pm
Forum: Networking and servers
Topic: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)
Replies: 504
Views: 377916

Re: [Tutorial] Using the RasPi as a WiFi hostspot (8 Nov 12)

Hi I've been trying to get this working. All is well until I tried sudo service hostapd start It returned : [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! the other command works though. sudo service udhcpd start Anyone has any idea what is happening? I'm using tp link TL WN821N do...
by pangren
Fri Jun 05, 2015 6:50 am
Forum: Beginners
Topic: Power Required for Raspberry Pi2
Replies: 1
Views: 410

Power Required for Raspberry Pi2

Hi, I have owned a Raspberry pi model B before and I want to upgrade to a Pi 2. I just want to know if I can run it without using a powered usb hub.

My power requirements are just a WiFi Dongle, and a portable 2.5" HDD. Usage, wise, basically I'll be running openelec and playing movies from the HDD.
by pangren
Tue Mar 03, 2015 9:10 am
Forum: Automation, sensing and robotics
Topic: Using rain sensor?
Replies: 12
Views: 19149

Re: Using rain sensor?

Hi, would you be so kind as to attach a picture / schematic of how you connect it to your raspberry pi?
by pangren
Wed Jan 28, 2015 10:02 am
Forum: Python
Topic: LCD with buttons that does things.
Replies: 6
Views: 3956

Re: LCD with buttons that does things.

Hi Pangolin!, I've tried to create a menu with some sudo code below. import os #from Adafruit_CharLCDPlate import Adafruit_CharLCDPlate Menu = { 0:{'WELCOME to Home Box':'WELCOME' } ,1 : {'Shutdown' : 'sudo -shutdown -h now'} , 2 : {'Reboot': 'sudo reboot'}} myIndex=0 def plusOne(): global myIndex i...
by pangren
Tue Jan 27, 2015 4:24 am
Forum: Python
Topic: LCD with buttons that does things.
Replies: 6
Views: 3956

Re: LCD with buttons that does things.

Yep I already used the library and used it. But the usage is kinda basic. like a button will trigger a display. But I do not know how to create sort of a menu, then up and down will scroll through a list, and select will trigger a command. Then how to get this python script to run on startup , how t...
by pangren
Tue Jan 27, 2015 2:32 am
Forum: Python
Topic: LCD with buttons that does things.
Replies: 6
Views: 3956

LCD with buttons that does things.

Hi Forum, I’m a beginner user of Raspberry pi. Familiar with basic python , and basic linux. I’ve created a media server Raspbian and also a different build with OpenElec. I also brought a LCD from adafruit, http://www.adafruit.com/product/1115 I’ve tinkered with the LCD, but don’t really know how t...
by pangren
Mon Apr 28, 2014 3:32 pm
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Re: Internet problems

Hey Dougie, one last question. Is there a flag that I can input for the urllib2 that sort of adds a longer timeout ? like, eg: give me an error only after you've tried for "x" number of seconds? Update: Installed a fresh NOOBS(I've checked SHA-1 to be sure) , didn't configure anything at all and sti...
by pangren
Sun Apr 27, 2014 1:15 pm
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Re: Internet problems

For the first script , it only worked when I commented out the last line, but the result was b8:27:eb:f1:15:e7 And the 2nd script's output is IP: 192.168.1.11 GW: 192.168.1.254 Host: raspberrypi Well... if there is no solution, I'll have to re install NOOBS but thanks anyway. Probably I should try o...
by pangren
Sun Apr 27, 2014 8:49 am
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Re: Internet problems

Thank you for being so patient DougieLawson , I tried your code and it returned this. Traceback (most recent call last): File "/usr/lib/python3.2/urllib/request.py", line 1140, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python3.2/http/client.py", line 970,...
by pangren
Sun Apr 27, 2014 6:20 am
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Re: Internet problems

ok route -n gives this: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 ping -c3 8.8.8.8 gives : PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 tt...
by pangren
Fri Apr 25, 2014 2:10 pm
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Re: Internet problems

Hi,
my etc/resolv.conf returned this:

Code: Select all

nameserver 192.168.1.254
and when i tried "host google.co.uk"

Code: Select all

-bash: host: command not found
by pangren
Thu Apr 24, 2014 4:34 pm
Forum: Troubleshooting
Topic: Internet problems
Replies: 10
Views: 1786

Internet problems

Hi, I don't really know how to classify my problem , but here it goes. Generally it goes like this : When I write python code to access a webpage on the pi , it returns an error : [Errno -5] No address associated with hostname whether is it using libraries like : import urllib2 import smtplib from e...
by pangren
Thu Apr 24, 2014 2:27 pm
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9501

Re: python urllib2 error no address associated to host name

Hi paddyg, thanks for the help, a very weird thing happened. I did quite a number of tests for the python and the python3 code. Both turned out the same way. Whether on the terminal or in IDLE, it worked but only , sometimes. I'd say out of 10 tries , it'll work once. For Python and Python3, when it...
by pangren
Thu Apr 24, 2014 2:00 am
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9501

Re: python urllib2 error no address associated to host name

Help? Anyone? Anything I could do to troubleshoot my connection? Ports? I've been struggling on this problem for quite awhile.
by pangren
Wed Apr 23, 2014 3:38 pm
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9501

python urllib2 error no address associated to host name

Hi, I'm trying a simple python code here : import urllib2 response = urllib2.urlopen('http://pythonforbeginners.com/') print response.info() html = response.read() response.close() on my PC it returns this when i run it in idle : Server: nginx/1.4.1 (Ubuntu) Date: Wed, 23 Apr 2014 15:00:27 GMT Conte...
by pangren
Mon Apr 21, 2014 3:01 pm
Forum: Python
Topic: basic code for a noob
Replies: 5
Views: 2628

Re: basic code for a noob

You're using Python 3?

Try this :

Code: Select all

Print ("Hello what's your name")
name = input ("name: ")

Print ("Hello its nice to meet you " + str(name))
it should work, but not the most elegant.
by pangren
Mon Apr 21, 2014 2:53 pm
Forum: Python
Topic: Simple python code fetch URL, generates error only on the Pi
Replies: 5
Views: 1299

Re: Simple python code fetch URL, generates error only on th

Cool I'll try it , but I got fed up and I'm reformatting my pi now. I've really tried my best to mess up my pi adding wayayayay too many programmes inside than it should. Probably a conflict somewhere inside with owncloud, bittorrentsync, noip , samba. But i'll try again and let you guys know. Thank...

Go to advanced search