Go to advanced search

by festy
Thu Feb 27, 2014 10:32 pm
Forum: Advanced users
Topic: RPI as race car dash/datalogger, need help with inputs
Replies: 6
Views: 6938

Re: RPI as race car dash/datalogger, need help with inputs

For pulse inputs (i.e. cam sensor) I'd use a TVS diode and resistor at a minimum. An optoisolator is another option. For the resistive sensors you want to read, if you fed say 5v to the sensor through a resistor of suitable value, you've got a resistor divider at the point between the sensor and res...
by festy
Sun May 19, 2013 9:46 pm
Forum: Other programming languages
Topic: Issue installing Device::BCM2835 using CPAN
Replies: 6
Views: 3997

Re: Issue installing Device::BCM2835 using CPAN

I ran into this the other day upgrading to bcm2835-1.25 and Device::BCM2835-1.8.
The test script appears to get stuck in a loop calling bcm2835_peri_read().
I installed the module manually, skipping the 'make test' step and haven't had any problems.
by festy
Thu May 16, 2013 6:00 am
Forum: Camera board
Topic: avconv missing?
Replies: 3
Views: 1962

Re: avconv missing?

It's part of the libav-tools pkg.
by festy
Thu May 16, 2013 5:33 am
Forum: Camera board
Topic: Camera Module Project Ideas
Replies: 46
Views: 14938

Re: Camera Module Project Ideas

I use my r-pi as a datalogger/digital dash/telemetry system: http://www.raspberrypi.org/phpBB3/download/file.php?id=2949 My camera turned up an hour or two ago, so I started working on a basic telemetry overlay. (the data is from a previous log, but you get the idea of what I'm working towards) http...
by festy
Mon May 06, 2013 11:55 pm
Forum: Other projects
Topic: Adjustable ecu Module
Replies: 1
Views: 684

Re: Adjustable ecu Module

I don't think the rpi is a good choice of hardware for a task like this, but yes it could probably be made to work to some degree at least. One of the easier places to start would be the IAT and/or CTS. You could use an ADC on the SPI bus to read the temp sensor, and a digital potentiometer to provi...
by festy
Sat Apr 06, 2013 3:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ALDL 8192 (GM ODB-I)
Replies: 21
Views: 17443

Re: ALDL 8192 (GM ODB-I)

what ECM early 90's era 1227808, same as a1227165 but no high speed aldl port. and car? a slightly modified 1977 Alfa Romeo GTV did you use the schematics posted here? No, the 1227808 hardware only supported 160bps aldl so I wired a cp2102 TTL module to the processor's UART, so my ECM has it's own ...
by festy
Fri Apr 05, 2013 3:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ALDL 8192 (GM ODB-I)
Replies: 21
Views: 17443

Re: ALDL 8192 (GM ODB-I)

Here's a few dodgy pics of my rpi ALDL logger. It's written in Perl and uses an ebay 20x4 LCD connected to the GPIO port. The switch on top of the case is a double throw momentary with center off, connected to 2 GPIOs. Switch left to cycle through the different screen modes, and right to change the ...
by festy
Fri Feb 01, 2013 2:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CH340 / HL340 USB serial chipset code/driver
Replies: 2
Views: 8084

Re: CH340 / HL340 USB serial chipset code/driver

The WCH based cables are usually better than a lot of the other cheap ones, and they're far superior to the counterfeit Prolific cables.
I've always just used the standard ch341 kernel module with them.
by festy
Thu Dec 27, 2012 10:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ALDL 8192 (GM ODB-I)
Replies: 21
Views: 17443

Re: ALDL 8192 (GM OBD-I)

You should be able to use the R-Pi's UART, but you'll have to level shift etc.
I use a CP2102 USB-TTL module instead though, they're about $3 from ebay.
They don't support 8192 baud "out of the box" but it's pretty easy to modify their baud rate generator settings.
by festy
Wed Oct 31, 2012 11:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: using variables in Device::BCM2835::gpio_fsel etc
Replies: 1
Views: 846

Re: using variables in Device::BCM2835::gpio_fsel etc

&Device::BCM2835::RPI_GPIO_P1_* maps to the corresponding BCM GPIO number. You can just pass Device::BCM2835::gpio_fsel() the actual GPIO number instead. i.e.: my $pin = 7; # RPI_GPIO_P1_26 is BCM GPIO 7 Device::BCM2835::gpio_fsel($pin, &Device::BCM2835::BCM2835_GPIO_FSEL_OUTP); # P1_26 is now an ou...
by festy
Wed Oct 31, 2012 9:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ALDL 8192 (GM ODB-I)
Replies: 21
Views: 17443

Re: ALDL 8192 (GM ODB-I)

Did you get your ALDL interface working?
I finally got around to writing a Perl module for a GPIO driven LCD so I could switch mine over to the R-Pi, and I'm now logging ALDL packets at 8+/sec - more than double what I was getting using the AP.
by festy
Thu Jun 28, 2012 4:10 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ALDL 8192 (GM ODB-I)
Replies: 21
Views: 17443

Re: ALDL 8192 (GM ODB-I)

A few months ago I built an ALDL logger, using a broadcom AP running openwrt. My plan was to switch to an rpi (the AP was a bit slow and very short of ram) but I lost interest in the project some time between ordering and finally receiving my pi :( I wrote it in Perl, and the ALDL interface and LCD ...

Go to advanced search