Go to advanced search

by Forris
Thu Feb 20, 2020 3:33 pm
Forum: Picademy
Topic: Raspberry Pi Certified Educator program in 2020?
Replies: 4
Views: 301

Re: Raspberry Pi Certified Educator program in 2020?

I've not seen any UK courses planned for this year yet. They're usually some around August/September time, so keep an eye on the page for details.
by Forris
Tue Feb 18, 2020 3:11 pm
Forum: General discussion
Topic: Powering Pi Zero with AA batteries
Replies: 25
Views: 695

Re: Powering Pi Zero with AA batteries

How about this: https://www.amazon.co.uk/Gomadic-Portable-Battery-Raspberry-Board/dp/B00BR22W0Q A fresh AA battery provides 1.6V. 4x1.6V=6.4V. Pi should not be powered with more than 5.3V. Is there a step-down converter involved? Well, according to the listing, it is designed specifically for the R...
by Forris
Mon Feb 17, 2020 4:14 pm
Forum: Automation, sensing and robotics
Topic: GPIO to PIGPIO translation
Replies: 3
Views: 125

Re: GPIO to PIGPIO translation

Unless you have a particular reason for using pigpio, have you tried using the gpiozero library?

https://gpiozero.readthedocs.io/en/stab ... ght-sensor
by Forris
Sat Feb 15, 2020 4:25 pm
Forum: Beginners
Topic: BlueDot with Raspberry Pi4
Replies: 2
Views: 141

Re: BlueDot with Raspberry Pi4

From the BlueDot documentation, under 'Pair a Raspberry Pi and Android phone:

'You may receive errors relating to services not being available or being unable to connect: these can be ignored.'
by Forris
Fri Jan 24, 2020 6:25 pm
Forum: Beginners
Topic: Can't get it to do anything
Replies: 10
Views: 461

Re: Can't get it to do anything

I have a Raspberry Pi Zero W and am trying to get it working for a project that I have. Here is what I have done so far: 4. Copy all the files in the ZIP to the micro SD card Thanks - Rowan You can't just drag & drop the files onto the sd card, you need to use something like Etcher (https://www.bal...
by Forris
Fri Jan 24, 2020 9:40 am
Forum: Python
Topic: GPIO Behavior with python
Replies: 5
Views: 223

Re: GPIO Behavior with python

I'm glad that you got your code working but can I suggest, as you are a newcomer to coding the Pi with Python, that you use the gpiozero library instead of RPI.GPIO. You'll find it much easier to understand and you'll be able to focus more on your projects and less on the technical aspects of the co...
by Forris
Fri Jan 24, 2020 9:23 am
Forum: Beginners
Topic: Can't get it to do anything
Replies: 10
Views: 461

Re: Can't get it to do anything

I have a Raspberry Pi Zero W and am trying to get it working for a project that I have. Here is what I have done so far: 4. Copy all the files in the ZIP to the micro SD card Thanks - Rowan You can't just drag & drop the files onto the sd card, you need to use something like Etcher (https://www.bal...
by Forris
Thu Jan 23, 2020 9:42 am
Forum: General discussion
Topic: Obvious, but you should not miss that!
Replies: 19
Views: 1029

Re: Obvious, but you should not miss that!

Umm...could you just not get a case?
by Forris
Wed Jan 22, 2020 9:22 am
Forum: Beginners
Topic: Pi 3b+ with Camera and LED Lighting
Replies: 2
Views: 322

Re: Pi 3b+ with Camera and LED Lighting

If you have a decent power supply, the Pi can power about 8 pixels, or more if you set the brightness lower than maximum. Any more than that will require a separate power supply.
by Forris
Mon Jan 20, 2020 10:03 am
Forum: Python
Topic: Neopixel Stick
Replies: 14
Views: 453

Re: Neopixel Stick

You have ignored the line in the script that might work with your Raspberry Pi board and used a version for some other hardware. The previous reply explicitly drew attention to this: - run the sample code from adafruit web page(https://learn.adafruit.com/adafruit-neopixel-uberguide/python-circuitpy...
by Forris
Sun Jan 19, 2020 10:26 am
Forum: Python
Topic: Neopixel Stick
Replies: 14
Views: 453

Re: Neopixel Stick

Your soldering doesn't look great but it doesn't look like there's any short-circuit, but if you can't install the library then you don't need to worry about the soldering yet. Have you tried the install command as suggested by ghp in the second post? sudo pip3 install adafruit-circuitpython-neopixe...
by Forris
Thu Jan 16, 2020 8:23 pm
Forum: Scratch
Topic: Using Scratch with Raspberry Pi (Analog inputs)
Replies: 5
Views: 460

Re: Using Scratch with Raspberry Pi (Analog inputs)

Scratchgpio is an add-on Python program that expands on Scratch 1.4 & 2. It allows the use of many different Pi add-ons. You can find install instructions here: http://simplesi.net/scratchgpio/
by Forris
Thu Jan 16, 2020 8:19 pm
Forum: Code Club
Topic: BBC micro:bit - Graphic Generator for scratch
Replies: 2
Views: 1812

Re: BBC micro:bit - Graphic Generator for scratch

Unfortunately, this part of the forum doesn't get much traffic. It's a nice project, but I'm unsure of it's purpose. The Makecode site has a simulator built-in which already does this. Perhaps you could expand it so that you could change the brightness of each pixel between 0 & 9 ( you can do this i...
by Forris
Mon Jan 06, 2020 9:03 pm
Forum: Automation, sensing and robotics
Topic: GPIO Zero and a4988 stepper driver?
Replies: 1
Views: 302

Re: GPIO Zero and a4988 stepper driver?

There is actually a reply to an issue raised on the gpiozero Github page that might help:

https://github.com/gpiozero/gpiozero/issues/144
by Forris
Mon Jan 06, 2020 12:09 pm
Forum: Beginners
Topic: button with python
Replies: 17
Views: 538

Re: button with python

here are the connections. https://ibb.co/swLSgFw https://ibb.co/xskxD7H I connected the two wires and it worked. I tried with several buttons but none worked. Ok, the wiring looks correct. You say it works if you just touch the two wires together. Have you tried a different breadboard? Can you touc...
by Forris
Sun Jan 05, 2020 8:25 am
Forum: Beginners
Topic: button with python
Replies: 17
Views: 538

Re: button with python

My button has 2 pins from the same side on one side of the breadboard and the other 2 are on the other side If you could post a picture of your wiring, that would be helpful, but from your description above I would say you need to use the two pins that are on the *same* side (doesn't matter which s...
by Forris
Sat Dec 28, 2019 5:49 pm
Forum: Scratch
Topic: coding GPIO high/low input pins on Scratch
Replies: 9
Views: 8549

Re: coding GPIO high/low input pins on Scratch

HI all in this thread - wonder if anyone can help as I have been struggling for a while with an issue. I am working on a model railway (well in fact rebuilding after a house move). I managed to get my PI 2B connected up to multiple relay units to switch the points, and produce a graphic interface w...
by Forris
Sat Dec 28, 2019 5:00 pm
Forum: Python
Topic: Graphics Programming with Python on Pi 3B+
Replies: 2
Views: 222

Re: Graphics Programming with Python on Pi 3B+

I've no idea about the serial side of it, but if you're looking for a graphical interface and you're new to Python, then have a look at the guizero library. It's based on tkinter, but simplifies things a lot. It should be just what you need for what seems to be a fairly simple interface.
by Forris
Fri Dec 20, 2019 5:53 pm
Forum: Beginners
Topic: First day with Raspberry Pi. How to use it?
Replies: 16
Views: 933

Re: First day with Raspberry Pi. How to use it?

startx is returning "Command not found". Is it the rasperian version (I'm using Buster Lite)? or what am I doing wrong? If you want a graphical interface (GUI) then the simplest way is to download the full Raspbian Buster, burn that to an SD card, and use that in the Pi. Even if you eventually won'...
by Forris
Mon Dec 16, 2019 7:06 am
Forum: Beginners
Topic: Autostart Scratch Headless
Replies: 15
Views: 805

Re: Autostart Scratch Headless

If you have a look at simplesi.net it'll show you how to install Scratchgpio 8 (which is much more functional than the standard NuScratch) and also how to set it to autostart a project.
If you're on Twitter, you can contact the developer, Simon, @cymplecy

Hth
by Forris
Wed Dec 11, 2019 3:57 pm
Forum: General discussion
Topic: Measure water flow in a pipe with the Raspberry Pi.
Replies: 5
Views: 344

Re: Measure water flow in a pipe with the Raspberry Pi.

If the pipe was plastic as opposed to copper, would a Hall Effect sensor work? Would the presence of water in the pipe affect the sensor readings enough to be measurable?
by Forris
Thu Aug 08, 2019 11:59 am
Forum: Scratch
Topic: Scratch 2 GPIO pull-up & pull-down resistors
Replies: 10
Views: 4729

Re: Scratch 2 GPIO pull-up & pull-down resistors

Thanks - I think that resolves my confusion; previously we were using a third-party solution (http://simplesi.net/) and I think that initialized all pins to pull-up. Unfortunately I still haven't had any luck figuring out whether you can toggle this manually in Scratch 2. That 3rd party solution gi...
by Forris
Thu May 16, 2019 7:10 pm
Forum: Python
Topic: Python GPIO add_event_detect
Replies: 8
Views: 10779

Re: Python GPIO add_event_detect

If you're new to this, you might want to have a look at the gpiozero library: https://gpiozero.readthedocs.io/en/stable/recipes.html. It makes Python on the Pi so much simpler. It sounds like you're looking for something like this: https://gpiozero.readthedocs.io/en/stable/recipes.html#button-contro...

Go to advanced search