Go to advanced search

by BMS Doug
Sun May 02, 2021 11:14 am
Forum: Automation, sensing and robotics
Topic: Programming for a ship model
Replies: 57
Views: 5027

Re: Programming for a ship model

Your adafruit MotorKit should be importing this file stepper.py (or an older version of it) if you have a stepper.mpy then you are looking at micro-python file, which might indicate that you have the wrong set of downloads? I'd look at reinstalling the libraries. If the pip installer isn't working c...
by BMS Doug
Fri Feb 26, 2021 6:52 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi 4 & 298N H controller - Motor not turning
Replies: 11
Views: 478

Re: Raspberry Pi 4 & 298N H controller - Motor not turning

If you are giving it 5V and 9V you should remove the jumper for the internal 5V regulator (just above VCC). I don't think that battery will provide enough oomph to drive 4 motors. Try: disconnect 3 of the 4 motors. Support the 4th so the wheel doesn't touch any surface. Send a drive signal and see i...
by BMS Doug
Fri Feb 26, 2021 6:37 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi 4 & 298N H controller - Motor not turning
Replies: 11
Views: 478

Re: Raspberry Pi 4 & 298N H controller - Motor not turning

You appear to have connected your battery into the 5V side of the L298N.

How did you reach the figure of 9V?
by BMS Doug
Mon Feb 22, 2021 10:54 pm
Forum: HATs and other add-ons
Topic: Argon One case with IR receiver and LIRC
Replies: 16
Views: 7537

Re: Argon One case with IR receiver and LIRC

Im glad you got it working.
by BMS Doug
Mon Feb 22, 2021 8:00 pm
Forum: Automation, sensing and robotics
Topic: Alarm Contacts
Replies: 9
Views: 834

Re: Alarm Contacts

Additionally a 1k in-line resistor (included in that board) eliminates the risk of shortcircuiting a GPIO if the Pin gets accidentally set into outpu mode. But you don't need the board, its just advised that you use a 1k inline and a 10k pull up or pulldown (all of which that board can do). The pull...
by BMS Doug
Sat Feb 20, 2021 3:07 pm
Forum: Other RP2040 boards
Topic: "First 'Pi Silicon' Arduino Nano RP2040 Connect Spotted"
Replies: 48
Views: 6010

Re: "First 'Pi Silicon' Arduino Nano RP2040 Connect Spotted"

It then do is an interesting question who is the clone. ;) Clone implies copying the features of an existing product to sell duplicate boards cheaper than the original designer and maker. Please identify which product the Pico is a clone of. Keep in mind that Shanghai has already been selling Micro...
by BMS Doug
Mon Feb 15, 2021 2:17 pm
Forum: Advanced users
Topic: Wall e robot
Replies: 3
Views: 330

Re: Wall e robot

Search for documented examples online that do some of what you are looking for.
Duplicate their code then adapt it to fit your specific needs.

Document everything and give clear credit to the programmer of the original work that you have modified.
by BMS Doug
Sun Feb 14, 2021 10:16 am
Forum: SDK
Topic: Wrote a library to control a bipolar stepper motor for the Pico
Replies: 1
Views: 542

Re: Wrote a library to control a bipolar stepper motor for the Pico

Thanks Beshr, i think this will be very useful for a lot of people.
by BMS Doug
Wed Feb 10, 2021 2:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: LED and button switch at 15 meters
Replies: 3
Views: 294

Re: LED and button switch at 15 meters

Thanks Doug, Is there any way to do it over a wired connection? The setup I have will only have the Arcade LED button at the furthest end. I won't be able to put a microcontroller on that side. Basically, it's the same project in that link, but with the LED and buttons extended way out to the 15m m...
by BMS Doug
Wed Feb 10, 2021 12:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: LED and button switch at 15 meters
Replies: 3
Views: 294

Re: LED and button switch at 15 meters

I tried using a 10 meter long wire, and so far the button worked, but I noticed that the LED was very dim. Is there a way to boost up the brightness of that LED especially at 15 meters away, and will the button still work at that distance? You are suffering from volt drop over the long cable run. T...
by BMS Doug
Tue Feb 09, 2021 7:02 pm
Forum: General
Topic: Clip for I/O pads?
Replies: 11
Views: 629

Re: Clip for I/O pads?

pjcoleman wrote:
Tue Feb 09, 2021 6:35 pm
Hi Doug,
I've got those on order. They look as if they'll answer the problem.
Thanks
Patrick
I convinced myself to buy a set too.
by BMS Doug
Tue Feb 09, 2021 4:39 pm
Forum: General
Topic: Clip for I/O pads?
Replies: 11
Views: 629

Re: Clip for I/O pads?

I have been using hp logic analyzer test clips like https://app.caltestelectronics.com/product-list/product-page/view/CT3659/ But I suspect they’re horribly expensive to acquire other than by dumpster diving... “Micro test clip” seems to be the useful search term. The Amazon ones I linked appear si...
by BMS Doug
Mon Feb 08, 2021 6:45 pm
Forum: General
Topic: Clip for I/O pads?
Replies: 11
Views: 629

Re: Clip for I/O pads?

pjcoleman wrote:
Mon Feb 08, 2021 6:26 pm
Hi Doug,
That's brilliant thanks.
You are welcome.

pjcoleman wrote:
Mon Feb 08, 2021 6:26 pm
It does seem to be the case that once you know, or can recall, the name for something then there are lots ;-)
Yes, knowing the name does make it easier to find.
I searched for "logic probes", I'm not sure that is the correct name.
by BMS Doug
Mon Feb 08, 2021 6:00 pm
Forum: General
Topic: Clip for I/O pads?
Replies: 11
Views: 629

Re: Clip for I/O pads?

Pi Hut sell some without any wires attached:
https://thepihut.com/products/basic-mul ... oks-6-pack

And others clearly intended to connect to another product:
https://thepihut.com/products/bus-pirat ... -probe-set
by BMS Doug
Mon Feb 08, 2021 5:44 pm
Forum: General
Topic: Clip for I/O pads?
Replies: 11
Views: 629

Re: Clip for I/O pads?

pjcoleman wrote:
Mon Feb 08, 2021 5:08 pm
.
Has anybody found a clip that will locate on just one pad ?

Thanks
Patrick
Something like this?
https://www.amazon.co.uk/Cleqee-Colorfu ... B08DFW1DGZ

Here's a similar one that I have:
20210208_174525.jpg
20210208_174525.jpg (18.94 KiB) Viewed 594 times
by BMS Doug
Sat Feb 06, 2021 5:06 pm
Forum: Troubleshooting
Topic: RPi Zero W. Power via pins
Replies: 2
Views: 116

Re: RPi Zero W. Power via pins

B.Goode wrote:
Sat Feb 06, 2021 4:52 pm
You can power an RPiZero, or any other (non-pico) Raspberry PI board by providing a reliable 5 volt supply at Pin 2 and/or 4 on the 40-way header.
https://pinout.xyz/
Connect a ground as well.
Don't get the polarity wrong.
by BMS Doug
Sat Feb 06, 2021 2:06 pm
Forum: Beginners
Topic: Charging Raspberry Pi with 110V 5.1vdc 2.5amp charger in 220V country(using universal adaptor)
Replies: 6
Views: 261

Re: Charging Raspberry Pi with 110V 5.1vdc 2.5amp charger in 220V country(using universal adaptor)

Hi, I am an absolute beginner to raspberry pi 3b. I am currently facing an issue of Low Voltage warning, Please check our power supply since I am using a c type smartphone charger to give power to my raspberry pi. I have a 5.1vdc 2.5amp USA/Japan charger which indicates Input 100~240V ~ 50/60Hz 0.5...
by BMS Doug
Sat Feb 06, 2021 10:34 am
Forum: SDK
Topic: C SDK command line No-Button-Boot
Replies: 12
Views: 966

Re: C SDK command line No-Button-Boot

Very nice!

Good work all.
by BMS Doug
Sat Feb 06, 2021 9:15 am
Forum: Python
Topic: Connecting RP via serial to control box (industial) - threading?
Replies: 12
Views: 515

Re: Connecting RP via serial to control box (industial) - threading?

In real world we've got a simple 6 button handset which communicates with control box. It works only if you press and hold (up, down, in or out) button. If you let go of the button, the movement stops. This is done on purpose and with safety of end-customer in mind. Now the RPi effectively mimics t...
by BMS Doug
Sat Feb 06, 2021 8:04 am
Forum: General discussion
Topic: Do I need to remove fake-hwclock if I use an RTC chip?
Replies: 10
Views: 1276

Re: Do I need to remove fake-hwclock if I use an RTC chip?

If you dont remove the fake hwclock it you will need to update the date/time from the RTC hwclock everytime you boot the pi unless you are connected to the net. And from memory the fake hwclock was also interfering with the hwclock's date/time. I have a Pi which reads my solar inverter generation d...
by BMS Doug
Sat Feb 06, 2021 7:41 am
Forum: Beginners
Topic: Traffic light - Raspberry Pi 4B power output
Replies: 26
Views: 1173

Re: Traffic light - Raspberry Pi 4B power output

LTolledo wrote:
Sat Feb 06, 2021 1:21 am
Gnd jumper its not shown, covered from view by the blue jumper cable :D
Then i retract my objection.
by BMS Doug
Sat Feb 06, 2021 12:57 am
Forum: Beginners
Topic: Traffic light - Raspberry Pi 4B power output
Replies: 26
Views: 1173

Re: Traffic light - Raspberry Pi 4B power output

LTolledo wrote:
Fri Feb 05, 2021 11:25 pm
oh ok... thanks for clearing that out... :D

sharing with you my simple RPi Pico setup
(even though I may get some violent reactions from somebody else about the setup :mrgreen: )
That will never work! (Until you connect the Gnd rail to the Pico).
by BMS Doug
Wed Feb 03, 2021 7:27 pm
Forum: Beginners
Topic: Push button
Replies: 9
Views: 400

Re: Push button

Kantilo wrote:
Wed Feb 03, 2021 7:11 pm
I am going to do a magic mirror so I would need another button, but on most buttons it is marked 250V
That is a maximum safe voltage, not a recommended or required voltage.
by BMS Doug
Tue Feb 02, 2021 11:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DS18B20 Issue
Replies: 8
Views: 548

Re: DS18B20 Issue

Second you have the DS18B20s wired in a start , they don't work well when wired like that , they need to be wired in parallel. Both star and daisy chain wiring arrangments are parallel. Use daisy chain (as shown in the post that Pcmanbob has linked to), it reduces the likelyhood of the DS18B20's al...
by BMS Doug
Tue Feb 02, 2021 11:01 pm
Forum: Beginners
Topic: Push button
Replies: 9
Views: 400

Re: Push button

Your button will be fine, wire it to the terminals indicated in the picture.

Image

Go to advanced search