Go to advanced search

by Forris
Wed Oct 27, 2021 6:08 am
Forum: Beginners
Topic: WS2812B Sample Code
Replies: 2
Views: 111

Re: WS2812B Sample Code

Does anyone have any sample code and wiring diagrams to use a 8x32 led display like the one in the link below? They provide some uno code, but I have a raspberry pi already and it says it should be supported. https://www.amazon.com/gp/product/B088BTXHRG/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&am...
by Forris
Sat Jun 05, 2021 6:11 am
Forum: Automation, sensing and robotics
Topic: DC motors only go forward not backwards
Replies: 6
Views: 512

Re: DC motors only go forward not backwards

Can you post a copy of your code and a photo* of your wiring, as it's more likely that one of these two is the problem as opposed to there being a problem with the Pi itself?

*Note: a photo, NOT a diagram, as we need to see what you've actually done and not what you think you have done ;-)
by Forris
Sat Jun 05, 2021 6:08 am
Forum: Automation, sensing and robotics
Topic: Mapping using ultrasonic
Replies: 5
Views: 603

Re: Mapping using ultrasonic

If you're using the cheap HR-04 sensors, it's worth remembering that they are not particularly accurate and can give lots of spurious readings. With this in mind, make sure you take a number of readings for each data point, discard any that are obviously wrong, and use an average of the remaining re...
by Forris
Thu Apr 30, 2020 6:57 am
Forum: Beginners
Topic: Recommend me a Pi kit for a beginner?
Replies: 6
Views: 796

Re: Recommend me a Pi kit for a beginner?

Yes Elegoo kits are being sold at the same vendor however most of them were for Elegoo/Arduino. I am also afraid about the component compatibility, mainly about the voltages. You're right to be concerned about voltages. These kits are fine for experimenting with but many are designed to be used wit...
by Forris
Sat Apr 18, 2020 8:53 am
Forum: Scratch
Topic: PWM support for scratch 3?
Replies: 2
Views: 2279

Re: PWM support for scratch 3?

There's a version of Scratchgpio for Scratch 3 here: http://simplesi.net/basic-guide-to-using-s3gpio/
by Forris
Sat Apr 18, 2020 8:30 am
Forum: General discussion
Topic: Push button 330 ohm resistor
Replies: 5
Views: 724

Re: Push button 330 ohm resistor

Hi.

Not quite sure what the resistor is for? A photo or diagram would help.

If you're simply trying to get a button to do something, this might help...https://gpiozero.readthedocs.io/en/stab ... tml#button
by Forris
Sat Apr 11, 2020 7:49 am
Forum: Other projects
Topic: Multi-PI Project using GUIZero
Replies: 1
Views: 526

Re: Multi-PI Project using GUIZero

Sorry if I've misread, but where is the guizero code that you are using? All of the code that you have listed uses the standard tKinter library. Also, how are you connecting to the remote cameras? If you're planning to use RealVNC, there is a box you need to check to use the experimental video drive...
by Forris
Sat Apr 11, 2020 7:32 am
Forum: General discussion
Topic: Raspberry Pi 3 with light sensor and LED!
Replies: 4
Views: 636

Re: Raspberry Pi 3 with light sensor and LED!

Have a look at this:

https://gpiozero.readthedocs.io/en/stab ... ght-sensor

It uses the gpiozero library, which is much simpler to understand for newcomers to Python, and the diagram is clearer.
by Forris
Thu Apr 09, 2020 6:07 pm
Forum: General discussion
Topic: Controlling 4 motors with 2 L298N Dual H Bridge controller boards
Replies: 6
Views: 2028

Re: Controlling 4 motors with 2 L298N Dual H Bridge controller boards

If you have a look at the pinout here: https://www.raspberrypi.org/documentation/usage/gpio/ As long as you're not using the i2c or SPI interfaces, any of the pins labelled GPIO would be fine. Also, if you're just starting out with this, it's worth having a look at the gpiozero documentation and wor...
by Forris
Sun Mar 08, 2020 3:56 pm
Forum: Troubleshooting
Topic: Trouble controling gpio pins with python
Replies: 3
Views: 591

Re: Trouble controling gpio pins with python

Might I suggest that, as you are new to using the gpios, that you start with using the gpiozero library. It's much simpler to understand and designed specifically for those new to Physical Computing and Python.

https://gpiozero.readthedocs.io/en/stable/index.html
by Forris
Sun Mar 08, 2020 3:54 pm
Forum: Beginners
Topic: Learning physical computing/python/and GUI for kids
Replies: 9
Views: 1108

Re: Learning physical computing/python/and GUI for kids

Have you looked at the resources available at the official site ? https://projects.raspberrypi.org/en/projects If you have, can you elaborate why these are not interesting or suitable we can maybe lead you to others. Thank you. I have not noticed it before. When I choose "raspberry Pi" an...
by Forris
Sun Mar 08, 2020 3:48 pm
Forum: Beginners
Topic: Learning physical computing/python/and GUI for kids
Replies: 9
Views: 1108

Re: Learning physical computing/python/and GUI for kids

There is a beginner lesson on the pi website https://projects.raspberrypi.org/en/projects/getting-started-with-guis There isn't much more out there than that. Just keep challenging them to add new features to their code. There becomes a point for each coder where there are no more tutorials and the...
by Forris
Wed Mar 04, 2020 8:07 pm
Forum: Staffroom, classroom and projects
Topic: Search for speaker about building robots
Replies: 6
Views: 4732

Re: Search for speaker about building robots

Are you (or any of your colleagues) on Twitter? If so, that's really good place to put a shout out for something like this. Feel free to tag me @forrishilier and I'll shout out for you. You could also put a request for a STEM Ambassador on stem.org, and/or on the https://www.computingatschool.org.uk...
by Forris
Sat Feb 29, 2020 7:12 pm
Forum: Beginners
Topic: Setup wifi access point RPI B3
Replies: 4
Views: 947

Re: Setup wifi access point RPI B3

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

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

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

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

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/df1d182e47e...
by Forris
Tue Feb 25, 2020 2:22 pm
Forum: Scratch
Topic: Scratch 3 with Lego Mindstorms EV3
Replies: 1
Views: 2349

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

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: 29
Views: 5564

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

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 [SOLVED]
Replies: 10
Views: 1658

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

Go to advanced search