Go to advanced search

by rvdz
Fri Mar 23, 2018 1:55 pm
Forum: Graphics, sound and multimedia
Topic: RPi bluetooth with car speaker wiring?
Replies: 1
Views: 865

RPi bluetooth with car speaker wiring?

Hi all, Not sure if this is the right place to aks, but here we go. I have a RPi Zero W, the one with Bluetooth and WiFi built in. I also have a car stereo that's not bluetooth compatible which bothers me a lot, there is no aux in either. I don't want to swap the head unit and I don't want a FM tran...
by rvdz
Sun Oct 12, 2014 8:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Intermittent USB to Serial devices
Replies: 5
Views: 1635

Re: Intermittent USB to Serial devices

Just for the record, this is the code I wrote to communicate with the GPS dongle: import serial import time def init_serial(): ## setup the serial port global port port = serial.Serial() port.baudrate = 4800 port.port = "/dev/ttyUSB0" port.timeout = 0 port.databits = 8 port.bytesize = 8 port.parity ...
by rvdz
Sun Oct 12, 2014 6:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Intermittent USB to Serial devices
Replies: 5
Views: 1635

Re: Intermittent USB to Serial devices

Done some more testing and I think that the communication of the GPS dongle impedes the OBDII reader, and equally, once the OBDII reader's connection has been opened the GPS dongle fails. So I've ditched the gpsd communication and have instead written my own serial communication code in python which...
by rvdz
Sun Oct 12, 2014 2:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Intermittent USB to Serial devices
Replies: 5
Views: 1635

Re: Intermittent USB to Serial devices

Ok, I've managed to isolate it down a bit further now. I have added a simple GPS test script to /etc/rc.local which outputs the GPS coordinates as soon as it starts up, it does this 10 times, with a 1 second pause in between polls. When I start the Pi it runs and usually after 4 or 5 polls it gets a...
by rvdz
Sun Oct 12, 2014 1:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Intermittent USB to Serial devices
Replies: 5
Views: 1635

Re: Intermittent USB to Serial devices

Thanks for your response Daniel. The OBDII connector is powered from one of the USB ports on the RPi, like it has been for the past few weeks. The GPS dongle is currently plugged into a powered USB hub, so it shouldn't draw any power from the Pi. Since the first post I have worked out that it seems ...
by rvdz
Sun Oct 12, 2014 11:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Intermittent USB to Serial devices
Replies: 5
Views: 1635

Intermittent USB to Serial devices

Hi all, I'm working on a "carputer" project. Inspired by the possibilities with the OBDII scanners I wanted to build a RPi which collects some basic diagnostic data from the OBDII connector. After some research I managed to get this working pretty well, the data is logged in a MySQL database and all...
by rvdz
Sat Jul 28, 2012 8:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO pin reading
Replies: 18
Views: 7459

Re: GPIO pin reading

Thanks for the info guys, I managed to get it working this afternoon :D
by rvdz
Fri Jul 27, 2012 1:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO pin reading
Replies: 18
Views: 7459

Re: GPIO pin reading

Brilliant, that couldn't be clearer! Thanks for your help, I will try that out tonight.
by rvdz
Fri Jul 27, 2012 1:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO pin reading
Replies: 18
Views: 7459

Re: GPIO pin reading

Thanks for the quick reply, much appreciated!

So where do I wire in the pullup resistor?

I understand the pins are very sensitive so the reading I get is not accurate but does that explain that even if I connect a loose wire to the pin it already starts throwing in false readings?
by rvdz
Fri Jul 27, 2012 12:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO pin reading
Replies: 18
Views: 7459

GPIO pin reading

Hi all, I'm pretty new to the Pi and to this forum so sorry if this is a silly question but here we go. I've been trying out the GPIO pins on the Pi and with some help from other posts on this forum I managed to get some LED's going using python - all very cool stuff. Then I tried to read input on a...

Go to advanced search