Go to advanced search

by sandcrabjarv
Thu Nov 24, 2016 8:50 am
Forum: Android
Topic: Using Android Sensors
Replies: 9
Views: 4917

Re: Using Android Sensors

Ive been playing with qpython on my android tablet sending the sensor data over bluetooth the pi being the server. Made a basic mouse with it, not finished it yet though. It as been easy enough :)
by sandcrabjarv
Sun Nov 06, 2016 4:06 pm
Forum: Beginners
Topic: Safety
Replies: 6
Views: 991

Re: Safety

It comes with iptables which you could use for a firewall and you can use apt-get to get an anti-virus think there is a few available example of clamAV install here http://www.ronnutter.com/raspberry-pi-c ... s-install/.
by sandcrabjarv
Thu Oct 20, 2016 1:52 pm
Forum: Automation, sensing and robotics
Topic: How to keep a valve open?
Replies: 10
Views: 5648

Re: How to keep a valve open?

Ah forgot to change 12 back to 13 when testing sorry. The code works without a relay attached, are the relays close to the pi? You could try changing the elif to this to see if its being false triggered elif GPIO.input(16)==True: sleep(2) if GPIO.input(16)==True: print "Water OFF Float is UP" GPIO.o...
by sandcrabjarv
Thu Oct 20, 2016 7:43 am
Forum: Automation, sensing and robotics
Topic: How to keep a valve open?
Replies: 10
Views: 5648

Re: How to keep a valve open?

This should work #!/user/bin/python import RPi.GPIO as GPIO from time import sleep GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(16,GPIO.IN) #Float switch GPIO.setup(6, GPIO.OUT) #Relay to turn water on GPIO.setup(12, GPIO.OUT) #Relay to open drain valve if GPIO.input(16)==False: print"W...
by sandcrabjarv
Wed Oct 19, 2016 7:30 am
Forum: Troubleshooting
Topic: 3x4 Matrix keypad taking 100% cpu usage
Replies: 4
Views: 789

Re: 3x4 Matrix keypad taking 100% cpu usage

If you import time and add some sleep to your main loop, that should reduce cpu usage.
by sandcrabjarv
Thu Oct 06, 2016 7:15 am
Forum: General discussion
Topic: data transfer between pi and kindle fire
Replies: 5
Views: 1413

Re: data transfer between pi and kindle fire

I've done it with my amazon kindle fire 5th gen, don't remember how though :/. So it does work with some messing around, will have a play sometime today and see if I can get it working again. I do remember it had something to do with mtp or something like it.
by sandcrabjarv
Mon Sep 26, 2016 12:00 pm
Forum: Beginners
Topic: GPIO Pi3
Replies: 7
Views: 1139

Re: GPIO Pi3

Not directly, max 3.3v only.
by sandcrabjarv
Tue Sep 13, 2016 8:27 am
Forum: Beginners
Topic: omxplayer full screen
Replies: 2
Views: 10404

Re: omxplayer full screen

you can also change the aspect ratio with

Code: Select all

--aspect-mode type
mode type: letterbox, fill, stretch
by sandcrabjarv
Thu Sep 08, 2016 6:20 am
Forum: Off topic discussion
Topic: piZero hand warmer
Replies: 5
Views: 1261

Re: piZero hand warmer

Hey, how did you rewind a microwave oven transformer? I have one here that I thought I could do something with. It's a huge thing. The laminations are welded together and the windings soaked in some kind of lacquer. Looks like a lot of hard work to do anything with. I just hammer and chisel the sec...
by sandcrabjarv
Wed Sep 07, 2016 8:59 pm
Forum: Off topic discussion
Topic: piZero hand warmer
Replies: 5
Views: 1261

Re: piZero hand warmer

I would put money on not using the correct size capacitor not being an essential part of your hand warmer tutorial. And I'm not really convinced that omitting the protection diodes is the key contributor either. In other words, I suspect that if you do exactly the same again except for including th...
by sandcrabjarv
Wed Sep 07, 2016 3:58 pm
Forum: Off topic discussion
Topic: piZero hand warmer
Replies: 5
Views: 1261

piZero hand warmer

Just made a pizero into an hand warmer, it was really easy. step one: decide you want audio on the zero step two: find circuit and dont follow it entirely step three: plug the power in step three: cpu is now toast = hand warmer job done :D. Another zero ordered, maybe I will add the protection diode...
by sandcrabjarv
Tue Aug 09, 2016 9:07 pm
Forum: General discussion
Topic: usb hubs with power supply
Replies: 3
Views: 701

Re: usb hubs with power supply

I think the ports will have 60 watt split between them all, so 10 ports is 6 watts at each usb port while the 7 has 8.57 watts at each usb port.
by sandcrabjarv
Sun Aug 07, 2016 7:35 pm
Forum: Troubleshooting
Topic: RPI3 WiFi very slow
Replies: 4
Views: 2028

Re: RPI3 WiFi very slow

try

Code: Select all

sudo rpi-update
I get the max I can from my wifi (1mb/s) and using next door neighbours btfon and get three out of four bars.

I don't think its too bad at all?
by sandcrabjarv
Sun Aug 07, 2016 3:41 pm
Forum: Raspbian
Topic: Long time to reboot
Replies: 4
Views: 2007

Re: Long time to reboot

"/sbin/shutdown -r now" will reboot immediately
by sandcrabjarv
Tue Jul 26, 2016 5:27 pm
Forum: Android
Topic: Android for RP
Replies: 4
Views: 1751

Re: Android for RP

Would love this to happen and maybe play some real racing 3 :D . Would make my day!
by sandcrabjarv
Mon Jul 18, 2016 2:37 pm
Forum: Troubleshooting
Topic: pausing/halting rp3
Replies: 3
Views: 533

Re: pausing/halting rp3

I have had issues with the PSU, had to cut the wire down in length to stop the rainbow box appearing, so maybe its still that but the rainbow box no longer appears? Also I removed any overclock settings and running stock settings at the minute and still happens.
by sandcrabjarv
Mon Jul 18, 2016 2:21 pm
Forum: Troubleshooting
Topic: pausing/halting rp3
Replies: 3
Views: 533

pausing/halting rp3

Edit: it was the cheap sd card I bought, using a different card now for a few hours and not had one problem.

My pi3 keeps freezing all the time while doing simple things like playing music and or browsing the web. Is this normal or have I killed it from overclocking?

Go to advanced search