Go to advanced search

by Forris
Thu Feb 27, 2020 6:15 am
Forum: General discussion
Topic: Pi4 1GB Availability? US Distributor Shows It As Discontinued
Replies: 27
Views: 1150

Re: Pi4 1GB Availability? US Distributor Shows It As Discontinued

Looks pretty official to me. Looks can be deceiving. The MagPi is a free[1] fanzine for users of the Raspberry Pi computer. It was created by the community[2][3] as an unofficial volunteer produced Raspberry Pi publication. https://en.wikipedia.org/wiki/The_MagPi The MagPi has been known to publish...
by Forris
Wed Feb 26, 2020 11:19 am
Forum: Python
Topic: Straight-8 LEDs - Knight Rider style
Replies: 7
Views: 180

Re: Straight-8 LEDs - Knight Rider style

Maybe have a look at the sample code here from Adafruit: https://learn.adafruit.com/larson-scann ... ython-code

To make it look really effective, the lights need to leave a 'trail' which is fainter than the original colour (ie. (128,0,0) instead of (255,0,0))
by Forris
Tue Feb 25, 2020 2:39 pm
Forum: Python
Topic: Straight-8 LEDs - Knight Rider style
Replies: 7
Views: 180

Re: Straight-8 LEDs - Knight Rider style

I have a Straight-8 LED from https://rasp.io/inspiring/ I would like to make them flash in a similar way to the lights on front of KITT (Knight Rider) e.g. https://www.youtube.com/watch?v=WxE2xWZNfOc I am new to Python so hoping someone might have done similar or can advise how to? An example piece...
by Forris
Tue Feb 25, 2020 2:26 pm
Forum: Python
Topic: Straight-8 LEDs - Knight Rider style
Replies: 7
Views: 180

Re: Straight-8 LEDs - Knight Rider style

Have a look at gpiozero and it's ledboard recipe https://gpiozero.readthedocs.io/en/stable/recipes.html#ledboard You can turn each LED on/off in turn rapidly to replicate the KITT style "scanner" Someone has already done something like this https://gist.github.com/erikvanzijst/df1d182e47e53d519f445...
by Forris
Tue Feb 25, 2020 2:22 pm
Forum: Scratch
Topic: Scratch 3 with Lego Mindstorms EV3
Replies: 1
Views: 98

Re: Scratch 3 with Lego Mindstorms EV3

You could also use the (superior, IMHO) https://makecode.mindstorms.com/ to program the EV3.

It's browser-based, so completely cross-platform, and supports all the features of Mindstorms, unlike the more limited Scratch implementation.
by Forris
Thu Feb 20, 2020 3:33 pm
Forum: Picademy
Topic: Raspberry Pi Certified Educator program in 2020?
Replies: 4
Views: 392

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: 769

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: 153

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: 148

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: 508

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: 262

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: 508

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: 1093

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: 331

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: 484

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: 484

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: 496

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: 3
Views: 2120

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: 307

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: 544

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: 544

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: 8602

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: 223

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: 971

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'...

Go to advanced search