Go to advanced search

by Demonic69
Fri Jan 18, 2013 3:57 pm
Forum: Java
Topic: Javascript/HTML Buttons... Help!
Replies: 4
Views: 3655

Re: Javascript/HTML Buttons... Help!

Beautiful! Looking much better now thanks. I thought I'd got a debugger but it's playing up, any recommendations on one for dummies like me?
Also, am I better using a button or something else to display inputs instead of setting outputs?

Thanks so much for your help.
by Demonic69
Fri Jan 18, 2013 3:26 pm
Forum: Java
Topic: Javascript/HTML Buttons... Help!
Replies: 4
Views: 3655

Re: Javascript/HTML Buttons... Help!

Hi Trouch :D
Dammit! Why must they confuse me so! Give me a soldering iron and some transistors any day :D
My code originally had that src missing, I added it as I was testing to see if I'd missed it :D Removed again, still no luck :(
by Demonic69
Fri Jan 18, 2013 9:37 am
Forum: Java
Topic: Javascript/HTML Buttons... Help!
Replies: 4
Views: 3655

Javascript/HTML Buttons... Help!

Hi All I've currently got RaspBMC and WebioPi running great thanks to Trouch. I'm trying to get a page setup that will read the status of some GPIO pins, display that with the relevant colour/image, and allow me to switch one GPIO pin on/off. This should allow me to turn on/off my 360 via a webpage ...
by Demonic69
Thu Jan 17, 2013 12:54 pm
Forum: HATs and other add-ons
Topic: digital audio
Replies: 21
Views: 31697

Re: digital audio

According to the foundation I2S audio is easy to implement... looks that way!
In the mean time I bought this:
http://www.raspberrypi.org/phpBB3/viewt ... 45&t=30041
by Demonic69
Thu Jan 17, 2013 12:54 pm
Forum: HATs and other add-ons
Topic: Got optical Audio out of the Pi using this:
Replies: 4
Views: 8616

Got optical Audio out of the Pi using this:

HDMI Switch with Optical Audio Handy for me as I've only got 2 HDMI ports on the projector and want to hook 3 things up, same goes for the surround sound. It just arrived, took 2 weeks, and works perfectly. It strips the audio out of the HDMI from the Pi and the 360 and sticks it through the toslin...
by Demonic69
Wed Jan 16, 2013 4:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI output?
Replies: 6
Views: 1345

Re: HDMI output?

It only works if your TV can accept HDMI over VGA, some monitors do but not many TVs.
You need a signal converter as HDMI is digital, VGA is analogue.
by Demonic69
Wed Jan 16, 2013 11:46 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Did you try "sudo webio passwd" ?
by Demonic69
Tue Jan 15, 2013 3:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

I see what you mean, unfortunately my router doesn't support that, would save me a lot of hassle too!
by Demonic69
Tue Jan 15, 2013 3:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

What port have you set webiopi on? What are your port forward settings? Your router will probably block access to the console from outside sources, allowing only PCs on the same subnet to access. If your Pi is on 8000 then you need to forward 8000 to your Pis IP, then use :8000 after your no-ip addr...
by Demonic69
Tue Jan 15, 2013 1:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Hi Trouch
Getting closer to getting it right thanks to your help.
Got the button working with an image perfectly. I can't see where the style is defined as a list/column
I want 9 buttons in a square but can't figure out how to format it.
Thanks for all your help.

Dean
by Demonic69
Mon Jan 14, 2013 8:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Power from HDMI
Replies: 2
Views: 712

Re: Power from HDMI

HDMI only provides 50Ma though, which is rubbish IMO.
by Demonic69
Sun Jan 13, 2013 7:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Have you forwarded the port on your router? You still need to use :8000 unless you set it to 80 when you start it.
by Demonic69
Sun Jan 13, 2013 11:52 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Wireless power on / reset button
Replies: 10
Views: 5557

Re: Wireless power on / reset button

Also, google "transistor as a switch", that will give you some more usable results.
by Demonic69
Sun Jan 13, 2013 11:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Wireless power on / reset button
Replies: 10
Views: 5557

Re: Wireless power on / reset button

Ah, the base needs a positive voltage, there are ways around that but they can be fiddly. Just checked mine and the square pin hole is 3.3v, the other is gnd. Giving the gnd 3.3v or shorting the 3.3 to gnd both cause a reset of the Pi, not sure which id the safest though. If you connect the black wi...
by Demonic69
Sun Jan 13, 2013 7:05 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Wireless power on / reset button
Replies: 10
Views: 5557

Re: Wireless power on / reset button

I'm happy to help if I can, I'm better with the electronics than the coding side.
If you can get hold of one the tip120 is a fairly forgiving transistor.
by Demonic69
Sat Jan 12, 2013 11:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Wireless power on / reset button
Replies: 10
Views: 5557

Re: Wireless power on / reset button

I'd recommend using a transistor with the collector to one of the reset pins, emitter to the other, with base connected to the doorbell. That way you're not going to put any errant voltage into the Pi, just using the transistor as a switch. Very cool idea though, pretty cheap too. Another option wou...
by Demonic69
Sat Jan 12, 2013 12:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Works perfectly,now if you could fix my sucky java skills that quickly I'd be amazed ;-) You might be able to answer me this quickly, how would I change the status of a GPIO pin by clicking on an image, instead of a created button? I'd also like the image to change depending on the state of an input...
by Demonic69
Fri Jan 11, 2013 10:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

No need to apologise mate, phenomenal work you're doing!
by Demonic69
Fri Jan 11, 2013 10:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Hi Trouch,
Yeah I use sudo /etc/init.d/webiopi start to start it.
Also tried with the / with no luck. The preview works but move it to the pi and it breaks.
Should I be able to http to http://[pi ip]/webiopi/360pow.jpg?
by Demonic69
Fri Jan 11, 2013 4:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173486

Re: WebIOPi : control your Pi’s GPIO with a browser

Hi there I'm struggling to add an image to the index.html. I've copied the image to /usr/share/webiopi/htdocs The code in the page is <img src="360pow.jpg" alt="meh" height="130" width="130">. Google reports an error 500, any ideas? The rest works fine, just working on something that, ideally, needs...
by Demonic69
Wed May 30, 2012 3:18 pm
Forum: Beginners
Topic: First impressions - Slow, Scary & unfriendly
Replies: 212
Views: 46159

Re: First impressions - Slow, Scary & unfriendly

My 1st impressions of the Pi. I've been in IT support for 15 years but have never used Linux for more than a few minutes. I am, however, an adept Googler.. er Googlist. Simplicity - Unpacked Debian, stuck in the SD card and cables, followed the instructions for UN, PW and startx and "wow"-ed out lou...

Go to advanced search