Go to advanced search

by simplesi
Sat Jan 10, 2015 11:14 pm
Forum: General discussion
Topic: Looking for a bright RGB addressable LED strip
Replies: 17
Views: 21078

Re: Looking for a bright RGB addressable LED strip

This is one of those things that doing something is better than talking about it.

You can plug a £5 small strip/ring of neopixels into a PI by just connecting up 3 wires and the njudge for yourself if they are bright enough

Simon
by simplesi
Fri Jan 09, 2015 2:39 pm
Forum: Python
Topic: GPIO update problem
Replies: 9
Views: 14044

Re: GPIO update problem

Could you publish the code that is giving you this warning btw?

Simon
by simplesi
Fri Jan 09, 2015 7:07 am
Forum: General discussion
Topic: New web browser - it's here!
Replies: 129
Views: 30299

Re: New web browser - it's here!

I think I've brought a water pistol to a pillow fight :)
by simplesi
Thu Jan 08, 2015 9:04 pm
Forum: General discussion
Topic: New web browser - it's here!
Replies: 129
Views: 30299

Re: New web browser - it's here!

Je ne pas comprends espanol :)
by simplesi
Thu Jan 08, 2015 7:47 pm
Forum: General discussion
Topic: New web browser - it's here!
Replies: 129
Views: 30299

Re: New web browser - it's here!

@ktb The Pi is not a machine to attempt to keep it up to date by just running updates. That is a good game on main stream Linux distributions and even a worthwhile game on mission critical servers. But on a Pi, where its all about experimenting and playing its just not worth doing it. Its nice if we...
by simplesi
Thu Jan 08, 2015 7:42 pm
Forum: Raspbian
Topic: Memory Split Guide
Replies: 10
Views: 1552

Re: Memory Split Guide

I would think 32MB for the GPU should be enough to run LXDE. Go up in jumps of 16 if it doesn't work, until it does.
Ta :)
by simplesi
Thu Jan 08, 2015 4:36 pm
Forum: Raspbian
Topic: Memory Split Guide
Replies: 10
Views: 1552

Re: Memory Split Guide

I think that A+ has run the GUI twice for about ten minutes each time since I got it in November.
Your probably not the person for this query then :)
by simplesi
Thu Jan 08, 2015 10:56 am
Forum: Raspbian
Topic: Memory Split Guide
Replies: 10
Views: 1552

Re: Memory Split Guide

Sorry - let me clarify I've a load of old 256K Model Bs a couple of B+ and a few A/ A+ I'd like for my ScratchGPIO stuff to keep working on the all 256 Pi so I'm wondering that if I am experiencing memory problems - if there a way of swapping things around on 256 models to leave more memory availabl...
by simplesi
Thu Jan 08, 2015 10:37 am
Forum: Raspbian
Topic: Memory Split Guide
Replies: 10
Views: 1552

Re: Memory Split Guide

And which way do I head after that - increase/decrease - in what steps whats the limit and what happens when I hit it? (basically my python handler is just quitting with no error messages again - this happened in the past when I was running a couple or more programs on top of Scratch and my handler ...
by simplesi
Thu Jan 08, 2015 10:05 am
Forum: Raspbian
Topic: Memory Split Guide
Replies: 10
Views: 1552

Memory Split Guide

As my ScratchGPIO python prog grows - coupled with change from Scratch to NuScratch, I'm getting a bit concerned over memory usage on 256K boards. Before I throw in the towel, I'd like to experiment with altering memory allocation but I've no idea on what is good/bad for my main usage (running Scrat...
by simplesi
Wed Jan 07, 2015 10:05 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 6541

Re: Startracker

Steppers need special treatment - the time between pulses is important and varies between different types
Try to find a spec sheet for your model

Simon
by simplesi
Wed Jan 07, 2015 11:55 am
Forum: Off topic discussion
Topic: Lol- The joking thread
Replies: 316
Views: 67102

Re: Lol- The joking thread

Two pedants walked into a bar and started discussing the meaning of "walked into"
by simplesi
Wed Jan 07, 2015 8:24 am
Forum: Python
Topic: Masking short transisent pulses with RPi.GPIO
Replies: 10
Views: 1530

Re: Masking short transisent pulses with RPi.GPIO

Well last code didn't last long :) Here is new version ### Callback input edge detect routine that ignores transients - Readability inspired by @Charwarz def gpioBoth(self,pin,delay = 0.030): ### Average out the pin state over the delay period t0=time.time() avg = 0.0 count = 1 # should be zero but ...
by simplesi
Tue Jan 06, 2015 11:02 pm
Forum: Python
Topic: Masking short transisent pulses with RPi.GPIO
Replies: 10
Views: 1530

Re: Masking short transisent pulses with RPi.GPIO

Subsequently I have found that it's possible to buy an arduino nano for less than £3 that can have several analogue inputs, do real time processing and communicate with the pi via usb serial so the direct connected quadrature encoder idea was neither simpler or cheaper! Well - if you going to cheat...
by simplesi
Tue Jan 06, 2015 11:25 am
Forum: Automation, sensing and robotics
Topic: Raspi automated manual car gearbox
Replies: 67
Views: 6648

Re: Raspi automatared manual car gearbox

Besides I assure you the end result will be quite safer than many other taxed, motd and insured vehicles on today's roads. I've no doubt you believe this and you may well be right. Howerver, imagine someone of here gave you some advice that led to your managing to build and run the car with a amate...
by simplesi
Tue Jan 06, 2015 11:18 am
Forum: Python
Topic: Python "threads"
Replies: 21
Views: 4540

Re: Python "threads"

Its my understanding that any language running on Linux is not suitable for real realtime processing as the OS itself is fundamentally not designed for realtime use. So it doesn't really matter what bit of it doesn't work occasionally as it WILL fail at sometime (and not just 1 in 1000000 ratio) My ...
by simplesi
Tue Jan 06, 2015 7:26 am
Forum: Python
Topic: Masking short transisent pulses with RPi.GPIO
Replies: 10
Views: 1530

Re: Masking short transisent pulses with RPi.GPIO

@boyoh I'll explain why I find a a need for this Last year, I introduced detecting edge events into my ScratchGPIO handler *as I'd seen others do it in their handlers) so that if an edge event occured - it sent one msg off to Scratch (it ignored subsequent ones until told to reset) Previously I was ...
by simplesi
Mon Jan 05, 2015 8:57 pm
Forum: Python
Topic: Masking short transisent pulses with RPi.GPIO
Replies: 10
Views: 1530

Re: Masking short transisent pulses with RPi.GPIO

I'll have retired by the time you complete the todo list :)

Happy New Year BTW :)
by simplesi
Mon Jan 05, 2015 8:37 pm
Forum: Python
Topic: Masking short transisent pulses with RPi.GPIO
Replies: 10
Views: 1530

Masking short transisent pulses with RPi.GPIO

I think I've finally managed to use RPi.GPIO callbacks with the ability to ignore short transient spikes to prevent false input sensor triggers def gpioBoth(self,pin,delay = 0.030): val1 = self.pinRead(pin) #read pin state if self.pinTriggerLastState[pin] != val1: #compare to last pin state - only p...
by simplesi
Sun Jan 04, 2015 9:17 pm
Forum: Automation, sensing and robotics
Topic: Control servos with smartphone gyro data: Getting started ?
Replies: 4
Views: 1888

Re: Control servos with smartphone gyro data: Getting starte

It must be that the app doesn't work on my Note 3 :(

Just tried out using ncat (netcat clone) to send data from my PC and that works fine

The app maybe needs extra permissions on my droid than it was set to ask for
[edit] just tried another app and that doesn't work either :(
by simplesi
Sun Jan 04, 2015 12:20 pm
Forum: Troubleshooting
Topic: XRDP, Scratch and Noobs1.3.11
Replies: 35
Views: 6291

Re: XRDP, Scratch and Noobs1.3.11

I also installed Simon's ScratchGPIO6 (NuScratchBeta15.image) and note that this does not work remotely either (does not load at all) but does on the Pi terminal itself. Don't bring my stuff into the mix :) Life is confusing enough as is :) ScratchGPIO is just Scratch + another program running in b...
by simplesi
Sun Jan 04, 2015 10:30 am
Forum: Troubleshooting
Topic: XRDP, Scratch and Noobs1.3.11
Replies: 35
Views: 6291

Re: XRDP, Scratch and Noobs1.3.11

One of the problems a the moment is that it might be said that too many things have changed at the same time (new Raspbian base image with a new GUI and Scratch being replaced by NuScratch) And to confuse things a bit more - doing the standard upgrade doen't bring people to the same place as those w...
by simplesi
Fri Jan 02, 2015 11:41 pm
Forum: Android
Topic: Lets move to google-groups
Replies: 23
Views: 4997

Re: Lets move to google-groups

Nah - its not dead over there - it just resting after a long flight from here
by simplesi
Fri Jan 02, 2015 9:59 pm
Forum: Staffroom, classroom and projects
Topic: Portable Pi Classroom
Replies: 17
Views: 4737

Re: Portable Pi Classroom

For portable classroom coding - the portability a laptop is hard to beat. Don't need a fast machine - only need good batteries if you can't arrange mains power easily to desks (not trivial in some cases) An Arduino plugged into a USB port gives you a cheap method of connecting to physical world of l...
by simplesi
Fri Jan 02, 2015 4:59 pm
Forum: Automation, sensing and robotics
Topic: Control servos with smartphone gyro data: Getting started ?
Replies: 4
Views: 1888

Re: Control servos with smartphone gyro data: Getting starte

I thought I'd try yoru code out to see what's being received #!/usr/bin/env python import socket, traceback host = '' port = 5555 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) s.bin...

Go to advanced search