Go to advanced search

by pcmanbob
Fri Oct 19, 2018 6:36 pm
Forum: General discussion
Topic: Is it possible to connect both Adafruit 16-Channel PWM/Servo Driver and touchscreen display to Raspberry Pi 3 Model B?
Replies: 2
Views: 63

Re: Is it possible to connect both Adafruit 16-Channel PWM/Servo Driver and touchscreen display to Raspberry Pi 3 Model

Hi. It would help if you specified exactly which servo driver board you intend to use, some of them are I2c which can have more than one device connect to it at one time, and which screen you want to use as there are lots of them on the market. remember we can only offer advice from the information ...
by pcmanbob
Fri Oct 19, 2018 6:14 pm
Forum: Python
Topic: Create a Menu in which options can be interacted with buttons and displaying them in LCD
Replies: 3
Views: 105

Re: Create a Menu in which options can be interacted with buttons and displaying them in LCD

OK no problem I have a 16x2 LCD and 4 buttons I can setup and workout some code for you but I am busy over the weekend so it might be monday before I get back to you. In the mean time which version of RPLCD just so I set up with the correct version. also if you are only using a 2 line display can we...
by pcmanbob
Thu Oct 18, 2018 8:21 pm
Forum: Advanced users
Topic: Why is frequency at GPIO 4 (pin 7) only 1/2 the set freq?
Replies: 5
Views: 162

Re: Why is frequency at GPIO 4 (pin 7) only 1/2 the set freq?

I don't know if this is the problem but gpio 4 is the default pin for the 1-wire interface, if you have the interface enabled it may be up setting your signal generator.

I know that having this interface enabled can cause problems when trying to use gpio 4 it as an input or output.
by pcmanbob
Thu Oct 18, 2018 5:18 pm
Forum: Beginners
Topic: Box yet to open is very small and I think ONLY Raspberry Pi 3 B+ printed board is included
Replies: 8
Views: 231

Re: Box yet to open is very small and I think ONLY Raspberry Pi 3 B+ printed board is included

From your posted link The pi 3B+ is 39.69 euros plus VAT bring the cost to 47.23 euros. ( about $57 ) The official power supply is 14.63 euros inc VAT. https://www.singular.com.cy/raspberry-pi-t5875dv-power-adapter-13-watt-micro-usb-white.html Micro SD card will cost you 5.66 euros inc VAT. https://...
by pcmanbob
Thu Oct 18, 2018 5:03 pm
Forum: General discussion
Topic: Use case list and how-to guide
Replies: 3
Views: 103

Re: Use case list and how-to guide

I don't think you idea is realistic as there are many products for use with the raspberry pi, some of them simple and some complex, there is probably more than one way to use each product resulting in yet another level of complexity. For some one ( this magical being ) to go through every possible p...
by pcmanbob
Thu Oct 18, 2018 4:50 pm
Forum: Beginners
Topic: Detect current on Raspberry pi
Replies: 8
Views: 176

Re: Detect current on Raspberry pi

If you use a software pull down you don't need the 10K resistor, the 1K resistor is there to protect the gpio in the event you set the pin to output and low while pressing the button which would short the 3.3v to ground damaging your pi so I advise you to fit it. I prefer to use external resistors f...
by pcmanbob
Thu Oct 18, 2018 4:43 pm
Forum: Python
Topic: Create a Menu in which options can be interacted with buttons and displaying them in LCD
Replies: 3
Views: 105

Re: Create a Menu in which options can be interacted with buttons and displaying them in LCD

So this is my take on how you might do it. def level0(): #main menu lcd.cursor_pos = (0, 2) lcd.write_string('main menu option 1') lcd.cursor_pos = (1, 2) lcd.write_string('main menu option 2') lcd.cursor_pos = (2, 2) lcd.write_string('main menu option 3') lcd.cursor_pos = (3, 2) lcd.write_string('m...
by pcmanbob
Thu Oct 18, 2018 3:15 pm
Forum: Other projects
Topic: Connecting to a WiFi Backup/Reverse Camera
Replies: 4
Views: 191

Re: Connecting to a WiFi Backup/Reverse Camera

Thanks for the suggestion, I will try it out! The camera I am using in my DeLorean is this one, connected to an in-dash iPad: http://4ucam.com/iphone-android-ipad-WIFI-Backup-Camera.html Well it tells us it a standard Wi-Fi network set up but absolutely no info on connecting to camera signal or any...
by pcmanbob
Thu Oct 18, 2018 2:17 pm
Forum: Beginners
Topic: Detect current on Raspberry pi
Replies: 8
Views: 176

Re: Detect current on Raspberry pi

Yes you could use that opto isolator , you need a resistor to limit the current flowing through the LED, because if you just connected 3.6V to the LED you would burn it out. so using the opto isolator you selected you now need a 330Ω resistor. You will also need a diode connected in reverse with the...
by pcmanbob
Thu Oct 18, 2018 8:41 am
Forum: Beginners
Topic: need help on simple script
Replies: 5
Views: 132

Re: need help on simple script

I use cron to run speedtest-cli on one of my pi's 24/7, to run a test every 5 min your cron line would need to look like this. */5 * * * * python /home/pi/speedtest-cli.py >/home/pi/auto.txt 2>&1 as far as I am aware speedtest-cli is a python script so you need to call it the way show as as cron is ...
by pcmanbob
Thu Oct 18, 2018 8:22 am
Forum: Beginners
Topic: instructables.com/motion-detection camera
Replies: 2
Views: 47

Re: instructables.com/motion-detection camera

Hi.

If you want help with your code then you first have to post your code so people can see it , its also a good idea to post the error message in its entirety.

please use code tags when posting code

Add [code] at the top

code goes here

and [/code] at the bottom.
by pcmanbob
Wed Oct 17, 2018 11:18 pm
Forum: Other projects
Topic: Connecting to a WiFi Backup/Reverse Camera
Replies: 4
Views: 191

Re: Connecting to a WiFi Backup/Reverse Camera

If your backup camera works along the same principles as an IP security camera you might be able to use motioneye software to view the output from the camera, but its a big may be as we have no idea what your reversing camera is outputting or any information on the Wi-Fi setup its using.
by pcmanbob
Wed Oct 17, 2018 11:05 pm
Forum: Français
Topic: Pi-hole faut il un raspi dedié uniquement pour cela?
Replies: 11
Views: 318

Re: Pi-hole faut il un raspi dedié uniquement pour cela?

The pi hole software will set its own static IP on your pi and also run a web server for access and control of the pi hole , over writing any existing set up. So you can't run any other web server or any service that requires an IP address because the IP will always point to the pi hole software. ex...
by pcmanbob
Wed Oct 17, 2018 10:59 pm
Forum: Beginners
Topic: Detect current on Raspberry pi
Replies: 8
Views: 176

Re: Detect current on Raspberry pi

So exactly what do you want to do, measure current or just detect when there is some sound being played by the speaker ? If you just want to want to detect when a sound is being played you might be able to do it using a opto isolator with the LED side connected across the speaker input with a 270Ω r...
by pcmanbob
Wed Oct 17, 2018 10:37 pm
Forum: Troubleshooting
Topic: Under Voltage Detected despite usb power injection from PC PSU
Replies: 3
Views: 97

Re: Under Voltage Detected despite usb power injection from PC PSU

You will probably find that the ATX power supply needs a certain amount of load on the 5V rail and possibly other power rails as well before the supply voltage output is stable at the correct voltage. When I converted an ATX power supply into a bench top PSU I found I needed a 10 ohm 10 watt resisto...
by pcmanbob
Wed Oct 17, 2018 7:40 pm
Forum: General discussion
Topic: solid state relays
Replies: 2
Views: 74

Re: solid state relays

The information on the eBay page is some what confusing as you say it says high level trigger but it lists the 12v version activation as 12V low-level trigger module: 0-4.5VDC relay connect (ON), 5.5-12VDC relays disconnect (OFF) Which is active low ! It also requires 5.5v to 12v to switch the relay...
by pcmanbob
Wed Oct 17, 2018 2:50 pm
Forum: Beginners
Topic: Detect current on Raspberry pi
Replies: 8
Views: 176

Re: Detect current on Raspberry pi

To provide detailed help we would need to know what part of the circuit you intend to monitor and the voltages present , you might be able to use an opto isolator if the circuit in question can support the extra load, but without knowing a lot more its had to say for sure.
by pcmanbob
Tue Oct 16, 2018 7:44 pm
Forum: Automation, sensing and robotics
Topic: Noob question about motor drivers
Replies: 1
Views: 63

Re: Noob question about motor drivers

You need a ground between the motor driver board and the pi gpio. You could use the ground that's connected to the 12v supply if there are no other ground pins available. If you are un sure about connecting your motor driver board post a picture of it showing all the connections and we will advise y...
by pcmanbob
Mon Oct 15, 2018 8:03 pm
Forum: Python
Topic: help i dont know python.
Replies: 2
Views: 92

Re: help i dont know python.

Hi. So saying it does not work tells us nothing we can only help you if you help yourself by posting any error messages you get, or telling use what its not doing. and please don't use external sites to post code just use the code tags and post it direct on the forum . Add [ code] at the top code go...
by pcmanbob
Mon Oct 15, 2018 12:55 pm
Forum: General discussion
Topic: Give my RPi 3 a life please
Replies: 18
Views: 721

Re: Give my RPi 3 a life please

Does traffic pass through the RPi for the pi hole? Cause wouldn't you get worse internet speed due to router ---> RPi ----> devices? The only traffic/data that passes through the pi when running a pi hole is the dns traffic, so if the dns look up is cached on the pi hole the look up occurs on the p...
by pcmanbob
Mon Oct 15, 2018 8:22 am
Forum: General discussion
Topic: HDMI not updating
Replies: 5
Views: 191

Re: HDMI not updating

So you are playing the slide show via the web browser , my first thought was the browser was freeing due to some memory problem but if you say its still running if you log in via vnc then it cant be that. May be its its something related to the screen saver, you could try turning the screen saver of...
by pcmanbob
Sun Oct 14, 2018 8:52 pm
Forum: General discussion
Topic: HDMI not updating
Replies: 5
Views: 191

Re: HDMI not updating

So assuming you have checked the HDMI cable is actually connected at both ends correctly IE pushed right in to the sockets. Do you suffer the same problem when just running the desktop and moving the mouse around. I might also help to state which pi which OS and how you are playing the video and fro...
by pcmanbob
Sat Oct 13, 2018 5:24 pm
Forum: Advanced users
Topic: How do I read exact analog voltage?
Replies: 5
Views: 252

Re: How do I read exact analog voltage?

To measure voltage you need to connect an analogue to digital converter to your pi.

Do a search for mcp3008 and how to connect it to your pi.
by pcmanbob
Sat Oct 13, 2018 10:09 am
Forum: General discussion
Topic: GPIO Port expansions/expanders
Replies: 16
Views: 396

Re: GPIO Port expansions/expanders

You probably have some switch bounce which means its changing state between reads of the gpio, try adding some debounce time in the event detect lines.

https://www.raspberrypi.org/forums/post ... 3&t=223767

look at the example under switch debounce.
by pcmanbob
Fri Oct 12, 2018 8:25 am
Forum: Troubleshooting
Topic: Ethernet cable issue interfacing usrp N210 with Pi3
Replies: 5
Views: 126

Re: Ethernet cable issue interfacing usrp N210 with Pi3

Assuming I have looked up the correct manual , Setup Networking The USRP2 only supports Gigabit Ethernet and will not work with a 10/100 Mbps interface. However, a 10/100 Mbps interface can be connected indirectly to a USRP2 through a Gigabit Ethernet switch. Setup the host interface The USRP2 commu...

Go to advanced search