Go to advanced search

by penguintutor
Tue Jun 09, 2020 10:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)
Replies: 4
Views: 825

Re: Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)

Apologies to @KokkalisKo - I didn't have notifications turned on so I missed you message. I'm not sure wether this also answers @Julia202 - I didn't use LIRC in the end, but perhaps this is an alternative you could try instead. In the end I decided that pigpio was much simplier and met my requiremen...
by penguintutor
Tue Jun 09, 2020 10:16 am
Forum: Troubleshooting
Topic: Multiple ip camera connection via Ethernet and USB Ethernet
Replies: 4
Views: 273

Re: Multiple ip camera connection via Ethernet and USB Ethernet

You can use wireless and wired ethernet at the same time. One way is to connect the switch to the same router as the wireless network, although in that case you probably don't need to use wireless anyway. I assume though you mean having a local network via wired ethernet to the switch and wireless t...
by penguintutor
Mon Jun 08, 2020 7:03 am
Forum: Beginners
Topic: Sending images and emails through network with GPIO
Replies: 2
Views: 180

Re: Sending images and emails through network with GPIO

There are different ways you could implement this. You will need a program monitoring for the button press. Python and gpiozero would work well. There are lots of guides online about sending an email from Python. The image could be transferred using SSH, http (if you ran a web server), FTP or you co...
by penguintutor
Mon Jun 08, 2020 6:46 am
Forum: Beginners
Topic: Choosing: Pull Up or Pull Down Resistor
Replies: 23
Views: 1135

Re: Choosing: Pull Up or Pull Down Resistor

You are correct that serial and I2C are communication protocols. To use those you would need some circuitry at the other end to communicate the status over the serial protocol. The problem with the length of the cable is down to resistance of the cable and signal to noise ratio. The resistance of th...
by penguintutor
Sun Jun 07, 2020 8:40 am
Forum: Troubleshooting
Topic: Multiple ip camera connection via Ethernet and USB Ethernet
Replies: 4
Views: 273

Re: Multiple ip camera connection via Ethernet and USB Ethernet

Are you connecting an Ethernet adapter for each camera? That would create different networks and need different addressing for each interface. It would be better to have a switch which connects the Pi and all the cameras on a single LAN. Then configure each camera with a unique IP address but on the...
by penguintutor
Fri Jun 05, 2020 3:57 pm
Forum: Advanced users
Topic: Driving a pin low when the Pi is halted
Replies: 6
Views: 421

Re: Driving a pin low when the Pi is halted

When the Raspberry Pi is powered down then the GPIO is neither on nor off so goes floating. If your control circuit for the fan has a high imedence (eg. a FET) then it may be seeing this as a signal and turning on accordingly. You could try putting a large resistor between the GPIO pin and ground. T...
by penguintutor
Mon Apr 06, 2020 9:56 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)
Replies: 4
Views: 825

Re: Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)

As there has been no response from this I've been looking at alternatives.

It looks like pigpio provides what I need which is easier than using Lirc anyway. So I'm looking at using that instead for now.
by penguintutor
Mon Apr 06, 2020 9:54 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 not working with NexDock screen
Replies: 3
Views: 517

Re: Raspberry Pi 4 not working with NexDock screen

It's worth noting that this only applies to the original NexDock. The new NexDock 2 is now available which is very different from the first model. As far as I've tested the new NexDock 2 works out of the box with all current models of Raspberry Pi without need for any special configuration on the Ra...
by penguintutor
Thu Apr 02, 2020 6:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Arduino Serial Connection via GPIO and Level Shifter
Replies: 6
Views: 461

Re: Arduino Serial Connection via GPIO and Level Shifter

I believe that chip only works one-way, but for serial you will need a bidirectional level-shifter

The following from Adafruit sounds like it should work

https://www.adafruit.com/product/757

Here's a guide to configuring serial on the Raspberry Pi.

https://elinux.org/RPi_Serial_Connection
by penguintutor
Thu Apr 02, 2020 9:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)
Replies: 4
Views: 825

Problems with new version of LIRCD (Infrared remote-control receiver and transmitter)

Has anyone successfully installed and configured Lirc on a Pi 4 with the latest image? The latest version appears to be broken. I have installed and configured Lircd and I am able to send remote control signals using irsend, but I am struggling getting receiving to work. Lirc can see the remote cont...
by penguintutor
Wed Jul 10, 2019 3:31 pm
Forum: Troubleshooting
Topic: Trouble Getting HDMI Output From RPi4
Replies: 63
Views: 31772

Re: Trouble Getting HDMI Output From RPi4

I've found a way to get the HDMI working on a NexDock (v1). It may help with others that are having similar problems with other HDMI devices. When connected to the NexDock then I just got a blank screen. It appears to be a problem with the Pi (Raspbian) reading the EDID information from the screen. ...
by penguintutor
Tue Jul 09, 2019 8:47 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 not working with NexDock screen
Replies: 3
Views: 517

Re: Raspberry Pi 4 not working with NexDock screen

After a lot of work trying different configurations I finally found a working solution. Not only did I have to find a suitable resolution, but I had to disabled the edid from being read from the screen. These are the entries in my /boot/config.txt for anyone else that has similar problems. hdmi_igno...
by penguintutor
Tue Jul 09, 2019 10:46 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 not working with NexDock screen
Replies: 3
Views: 517

Raspberry Pi 4 not working with NexDock screen

Has anyone got the Raspberry Pi 4 working with the 1st generation NexDock (2nd generation expected in a couple of months time)? If so what settings are you using on the Pi? When I try the screen is being detected (as the screen goes brighter and does not time out), but nothing is displayed. No colou...
by penguintutor
Fri Jan 04, 2019 12:02 pm
Forum: Networking and servers
Topic: Using RPi as AP to access files on RPi from pc or phone
Replies: 1
Views: 312

Re: Using RPi as AP to access files on RPi from pc or phone

I'd suggest using IP address for now, until you have got it working properly. You should also try with a PC to make sure it's working correctly prior to using a phone as phones have limited troubleshooting tools (unless installed separately), and phones may use smart-switch and so drop WiFi connecti...
by penguintutor
Fri Jan 04, 2019 10:50 am
Forum: General discussion
Topic: Looking for resources / new to the hardware aspect
Replies: 6
Views: 694

Re: Looking for resources / new to the hardware aspect

MOSFETs are switched based on voltage (actually charge) rather than current, so there is only a tiny current that will normally flow between the gate and source. The MOSFET it turned on by having a voltage at the gate that exceeds the threshold voltage. The maximum current that can be drawn does dep...
by penguintutor
Thu Jan 03, 2019 3:14 pm
Forum: Scratch
Topic: Scratch 3 Desktop Version for Raspberry Pi
Replies: 34
Views: 25433

Re: Scratch 3 Desktop Version for Raspberry Pi

I have used the online version in Raspbian (I used that during the Beta testing). It's not just taking Scratch offline (although that is one thing), but having the ability to access the GPIO which we have on Scratch 1.4 and Scratch 2. That is the killer feature allowing it to be used with physical c...
by penguintutor
Thu Jan 03, 2019 11:27 am
Forum: General discussion
Topic: Looking for resources / new to the hardware aspect
Replies: 6
Views: 694

Re: Looking for resources / new to the hardware aspect

The GPIO ports on the Raspberry Pi are low voltage & low current ports. If you just want to create one or two LEDs then you can connect them directly to the GPIO using a suitable resistor, but if you want to switch multiple LEDs then you may need to use a separate supply. (Sounds like you've worked ...
by penguintutor
Thu Jan 03, 2019 10:54 am
Forum: Python
Topic: use a webpage to edit areas of a script
Replies: 4
Views: 532

Re: use a webpage to edit areas of a script

Your question is very vague. What have you created so far? Have you tried searching for some tutorials that can help? Web Server Are you running a web server? If so try searching for how to run a script in your webserver and have that script take a value from a form submission and write that to a fi...
by penguintutor
Thu Jan 03, 2019 10:36 am
Forum: Python
Topic: Touchscreen Interface Programming....??
Replies: 5
Views: 3391

Re: Touchscreen Interface Programming....??

For a simple interface then big buttons that need to be clicked with a mouse work well. I've created touchscreen apps using Pygame, Pygame Zero and through a webbrowser interface driven using a Python Bottle webserver. You just need to consider the size of the screen you are targetting and making su...
by penguintutor
Thu Jan 03, 2019 10:32 am
Forum: Scratch
Topic: Scratch 3 Desktop Version for Raspberry Pi
Replies: 34
Views: 25433

Scratch 3 Desktop Version for Raspberry Pi

Now that Scratch 3 has been released are there any plans for a Raspberry Pi (Linux) version of the Desktop version? Scratch 3 can be run through a browser today, but the desktop version is required for offline use and to support physical computing using the Raspberry Pi GPIO ports? If so is there an...
by penguintutor
Fri Feb 09, 2018 10:49 am
Forum: General discussion
Topic: Telephone and Raspberry Pi
Replies: 5
Views: 1522

Re: Telephone and Raspberry Pi

First a disclaimer - always be legal! You may need to check what the law says about recording calls. It sounds like you should be okay with what you are planning, but even if recording your own calls you may have a legal obligation to warn others when you are recording the calls. Whether it's possi...
by penguintutor
Fri Feb 09, 2018 10:11 am
Forum: General discussion
Topic: Pi and Paintball
Replies: 1
Views: 548

Re: Pi and Paintball

I can't comment much about paintball. Last time I took part in a paintball I took a shot in the head which was incredibly painful! Showing a timer should be fairly straight forward. To create a view of the battlefield then I'd suggest something like pygame zero, which makes creating a GUI easier tha...
by penguintutor
Thu Feb 08, 2018 5:05 pm
Forum: General discussion
Topic: GPIO pin and button
Replies: 2
Views: 673

Re: GPIO pin and button

The GPIO pins operate differently depending upon whether they are configured as an input or an output. When using the GPIO pin as an output then they can provide a reasonable current (enough to light an LED with appropriate resistor), but when they are configured as an input they will not provide an...
by penguintutor
Fri Feb 02, 2018 2:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DH11 Sensor over longer distance
Replies: 2
Views: 1055

Re: DH11 Sensor over longer distance

Presumably you are using the DHT11 - rather than DH11. That particular sensor only has a small range of around 20cm when run at 3.5V. If connecting to the GPIO 3.3V then that will likely drop off sooner. Using a 5V supply may not help either as you still need to use 3.3V for the pull-up resistor to ...
by penguintutor
Fri Feb 02, 2018 1:34 pm
Forum: General discussion
Topic: Difference Running program from Python Shell or Terminal
Replies: 3
Views: 1025

Re: Difference Running program from Python Shell or Terminal

Any manner to change it defaulting Python 3 as main Shell ?? Is that really what you want to do, as that will break it when you run from the shell as well as from the python shell? If so then the version of python that runs is based on a link in /usr/bin - so that when you run /usr/bin/python it ca...

Go to advanced search