We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Go to advanced search

Search found 4571 matches
by scotty101
Tue Nov 11, 2025 11:45 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi 5 as a SPI Slave
Replies: 6
Views: 335

Re: Raspberry Pi 5 as a SPI Slave

Every post I have seen in the past on this topic has suggested that the Pi can't be used as an SPI slave.

Things may have changed however.
by scotty101
Thu Nov 06, 2025 10:42 am
Forum: MicroPython
Topic: Uart.flush() not enough for reliable transmission of last byte
Replies: 28
Views: 690

Re: Uart.flush() not enough for reliable transmission of last byte

Could always use the .txdone() method to determine whether the buffer is empty or not

Or the irq() to request a callback to clear the tx enable once the buffer is empty.

https://docs.micropython.org/en/latest/ ... .UART.html
by scotty101
Fri Oct 24, 2025 8:16 am
Forum: Automation, sensing and robotics
Topic: GPS Stationary Algorithm
Replies: 14
Views: 1023

Re: GPS Stationary Algorithm

This is a common problem and one that has been dealt with by many different industries including agricultural machinery.

As you've discovered a GPS signal is "noisy". The position jumps about but in the long term, the average will be close to your actual position.

Inertial Motion Units (including ...
by scotty101
Fri Oct 03, 2025 12:01 pm
Forum: Python
Topic: Making a flight simulator joystick
Replies: 4
Views: 959

Re: Making a flight simulator joystick

Consider using a gamepad HID device rather than a mouse. This will allow absolute position of the joystick to the sent to the PC vs a mouse which only allows relative motion.

See something like
https://docs.circuitpython.org/projects ... le-gamepad
by scotty101
Tue Sep 02, 2025 10:39 am
Forum: Official Display
Topic: Official Display - Recommended Adhesive/Tape
Replies: 4
Views: 2192

Re: Official Display - Recommended Adhesive/Tape

I found some Gorilla Mounting Tape. A bit thicker than 0.5mm but very good hold.
by scotty101
Fri Aug 29, 2025 9:53 am
Forum: Automation, sensing and robotics
Topic: RS485 turbidity sensor not responding
Replies: 14
Views: 24770

Re: RS485 turbidity sensor not responding

Maybe try setting address=1 rather than 0.

You could also try using a for loop to increment the device number to see if any of them respond.
by scotty101
Fri Aug 29, 2025 7:36 am
Forum: Automation, sensing and robotics
Topic: RS485 turbidity sensor not responding
Replies: 14
Views: 24770

Re: RS485 turbidity sensor not responding

Personally, I think this is a valuable lesson in buying items from less reputable sources.

If something doesn't have a basic datasheet with it, why would you buy it?

The product listing seems to indicate that multiple devices can be connected to a single RS485 bus. This suggests that this will ...
by scotty101
Thu Aug 28, 2025 12:45 pm
Forum: General discussion
Topic: What product would you like to see?
Replies: 662
Views: 248883

Re: What product would you like to see?


1. A large multi-purpose case

The official Pi 5 case is great. Then I buy a TV hat, and it doesn't fit. Some plastic cutting later, and it sort-of-does. Now I want to add another HAT, and I'm stuffed. So a basic case with plenty of space for a Pi and a few HATs and perhaps some NVME storage, with ...
by scotty101
Tue Aug 26, 2025 1:41 pm
Forum: Official Display
Topic: Official Display - Recommended Adhesive/Tape
Replies: 4
Views: 2192

Re: Official Display - Recommended Adhesive/Tape

Would foam adhesive pads work?
by scotty101
Thu Aug 21, 2025 10:02 am
Forum: Official Display
Topic: Official Display - Recommended Adhesive/Tape
Replies: 4
Views: 2192

Official Display - Recommended Adhesive/Tape

I have an original 7" Official Pi display but the adhesive tape that holds the screen to the metal plate that the PCB is mounted to has failed.

I've tried double sided tape as that was what was there before but it isn't thick enough to give a decent hold.

Can anyone recommend a suitable method for ...
by scotty101
Thu Aug 07, 2025 3:09 pm
Forum: Compute Module
Topic: Compute module 4/5 programmer
Replies: 6
Views: 1091

Re: Compute module 4/5 programmer

PhilE wrote:
Thu Aug 07, 2025 10:59 am
Is that a real photo of a real board? It looks a bit odd.
I think it just looks hand soldered
by scotty101
Fri Jul 04, 2025 11:45 am
Forum: Troubleshooting
Topic: Trouble with root.mainloop and while True: in Tkinter app
Replies: 3
Views: 404

Re: Trouble with root.mainloop and while True: in Tkinter app

A separate thread isn't necessary and can be tricky to get working.

Presumably you want to update the LCD periodically, if that is the case, I'd recommend using tkinter's "after" method to schedule a function to run after a specified delay. At the end of the function, it then calls to schedule ...
by scotty101
Tue Jun 03, 2025 12:17 pm
Forum: Other projects
Topic: Improving health with raspberry pi
Replies: 18
Views: 4118

Re: Improving health with raspberry pi

Rather than locking up yourself, lock up your mobile phone, TV remote or game console controller instead.
by scotty101
Fri May 23, 2025 10:27 am
Forum: SDK
Topic: RP2 Bootloader Emulator ?
Replies: 10
Views: 1277

Re: RP2 Bootloader Emulator ?

Where are you getting these unknown UF2 files from?
by scotty101
Mon May 19, 2025 12:58 pm
Forum: Automation, sensing and robotics
Topic: RE: USING ROTARY ENCODER TO DISPLAY LINEAR ACTUATOR MOVEMENT
Replies: 4
Views: 560

Re: RE: USING ROTARY ENCODER TO DISPLAY LINEAR ACTUATOR MOVEMENT

Shouldn't require any additional components outside of some wires to connect it up to the GPIO pins.

The rotary encoders can use the 3.3v from the Pi and the A/B signals will change on the encoder pins to indicate the movement of the motor from which direction and number of steps can be figured out ...
by scotty101
Fri May 09, 2025 7:23 am
Forum: HATs and other add-ons
Topic: Raspberry Pi 0 speakers
Replies: 4
Views: 493

Re: Raspberry Pi 0 speakers

Given that you're looking for something Ultrasonic, this suggests some kind of special application, perhaps sensing?

Can you give fellow forum members an idea of what the end goal of your project is to be able to recommend a suitable Ultrasonic transducer?
by scotty101
Fri May 02, 2025 12:10 pm
Forum: General
Topic: MQTT: CYW43 to RP2040 SPI Delay
Replies: 11
Views: 825

Re: MQTT: CYW43 to RP2040 SPI Delay

If you want to use this architecture, I'd suggest changing your feedback approach.

The host machine sets a target position and sends it to the RP2040, The RP2040 has the closed loop control to move the robot to the set position. Lag is minimal as the RP2040 is reading the actual position and ...
by scotty101
Tue Apr 29, 2025 2:06 pm
Forum: Python
Topic: Python code for Rasberry PI
Replies: 5
Views: 1106

Re: Python code for Rasberry PI


Python on Raspberry PI enforces Virtual Environments which will contain all of our project code isolated from other projects and system code.


Which is a very good way to bring in library dependencies such as panda, tensorflow, etc. Use a requirements.txt file in your project source and use that ...
by scotty101
Thu Mar 27, 2025 5:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: uart serial port cannot be detected by minicom
Replies: 5
Views: 686

Re: uart serial port cannot be detected by minicom

Have you tried using /dev/serial0?

According to https://www.raspberrypi.com/documentati ... imary-uart it is the primary UART alias and will be the same regardless of whether you are using the minUART or the PL011
by scotty101
Thu Mar 27, 2025 3:06 pm
Forum: Python
Topic: Sending lists over UART with Python
Replies: 16
Views: 2866

Re: Sending lists over UART with Python

There are two (main) ways to send data over a serial link.

As "text", ASCII encoded
For example
R1,123,456,789\n
R2,22,33,44\n

The receiving module knows to expect 4 values, the robot number followed by 3 values separated by commas. Easy for a human to read but more "computationally expensive ...
by scotty101
Fri Mar 07, 2025 8:24 am
Forum: HATs and other add-ons
Topic: PoE HAT causing Network Failures - Common Problem?
Replies: 3
Views: 1125

Re: PoE HAT causing Network Failures - Common Problem?

A work colleague mentioned babbling nodes when I was mentioning this issue.

Does anyone have any strategies for identifying whether this is the case or not? I have perhaps forgotten my networking basics but I thought that switches were supposed to prevent babbling nodes from bringing down the rest ...
by scotty101
Mon Mar 03, 2025 6:30 pm
Forum: HATs and other add-ons
Topic: PoE HAT causing Network Failures - Common Problem?
Replies: 3
Views: 1125

Re: PoE HAT causing Network Failures - Common Problem?

Turn out it might not be the POE Hat itself but either the Pi or Home Assistant itself.

Any ideas what could cause a Pi to kill all network traffic on a POE Switch?
by scotty101
Sun Mar 02, 2025 11:44 am
Forum: HATs and other add-ons
Topic: PoE HAT causing Network Failures - Common Problem?
Replies: 3
Views: 1125

PoE HAT causing Network Failures - Common Problem?

I use a Raspberry Pi 4B with Home Assistant to provide some Home Automation functions.

The Pi4 has an official POE HAT and connects directly to a POE Switch.

Over the last few months, I've had several outages not only of the Pi but of a security camera, WiFi Hotspot and other devices directly ...
by scotty101
Mon Feb 24, 2025 12:00 pm
Forum: General
Topic: What's the meaning of 0xFAB to turn on the XOSC
Replies: 8
Views: 643

Re: What's the meaning of 0xFAB to turn on the XOSC

jamesh wrote:
Mon Feb 24, 2025 10:46 am
FAB, short for fabulous, but more likely in this case to be a reference to FAB in Thunderbirds.

https://www.imdb.com/title/tt0057790/trivia/
I love that this has made it in to the RP2040!
by scotty101
Fri Feb 21, 2025 11:03 am
Forum: Beginners
Topic: Raspberry Pi 5 Compatibility with Pico 2 and PiCAN FD
Replies: 4
Views: 950

Re: Raspberry Pi 5 Compatibility with Pico 2 and PiCAN FD

You'll only get CAN FD speeds if the X8-60 device you mention supports CAN FD. Not all CAN devices do.

Broadly speaking you should be able to connect 2 Picos and an PiCAN FD to a Pi 5 however given that the Picos are just to interface to an IMU, why not connect the IMU's directly to the Pi 5 ...
Search found 4571 matches

Go to advanced search

AltStyle によって変換されたページ (->オリジナル) /