[info] Raspberry Pi Zero

Post Reply
stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Raspberry Pi Zero

Post by stefanst » Wed Nov 02, 2016 1:54 pm

Because it was just $5 and because they are rationed out, I decided to order a Pi Zero. Now it arrived and I have no real project for it.
Does anybody have an idea how I can use it to help make a car go faster? Or better?

Abricos
contributor
contributor
Posts: 719
Joined: Mon Aug 18, 2014 12:32 am

Re: Raspberry Pi Zero

Post by Abricos » Wed Nov 02, 2016 6:42 pm

Boost control ...

stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Re: Raspberry Pi Zero

Post by stefanst » Wed Nov 02, 2016 6:44 pm

I like the way you think, but that should easily be handled by rusefi :)

puff
contributor
contributor
Posts: 2733
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Raspberry Pi Zero

Post by puff » Wed Nov 02, 2016 9:06 pm

A multimedia system with some loud musik? :D
I guess r-pi could become a great tool for collecting some realtime data? On the other hand, rusefi also has some SD support to monitor all those signals.
There was a guy here who suggested moving the algos to FPGA(?!) to avoid any performance bottlenecks the stm board might present. Although it sounded insane at first, probably it was not that crazy at all.

User avatar
kb1gtt
contributor
contributor
Posts: 3470
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Raspberry Pi Zero

Post by kb1gtt » Thu Nov 03, 2016 1:43 am

I can't think of much use of a zero for automotive. I recall they have no analog, very limited temperature range, and non-standard interface boards. They are basically low cost low performance PC's which are good for educating 3rd world countries. Perhaps it could be made into an entertainment systems or an ejector seat.
Welcome to the friendlier side of internet crazy :)

Abricos
contributor
contributor
Posts: 719
Joined: Mon Aug 18, 2014 12:32 am

Re: Raspberry Pi Zero

Post by Abricos » Thu Nov 03, 2016 1:51 am

MultiGauges

FluidPressure
wideband oxygen sensor
air intake temperature
Vac/Boost accurately
exhaust gas temperature .....................................................

stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Re: Raspberry Pi Zero

Post by stefanst » Thu Nov 03, 2016 4:01 am

I like the multigauge idea. One of my main problems with digital readout gauges is that they require too much thinking. I actually have to read numbers. Analog gauges with indicators are easier to understand at a glance. Even easier are high-intensity color-coded LEDs. So I always wanted to do a hybrid display with a few analog-style stepper-motor gauges (something like this: http://store.hackaday.com/products/analog-gauge-stepper) for general info like speed and boost and a few 2812-controlled LEDs for status information- oil-pressure water-temp, oil-temp and shift-light.
I'd also like to have a digital readout for speed- seems useful on the track for hitting that entry-speed just right.

If rusefi had CAN-out for all parameters yet, reading all of them with a RASPI and running a display off it would be perfect!

User avatar
kb1gtt
contributor
contributor
Posts: 3470
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Raspberry Pi Zero

Post by kb1gtt » Thu Nov 03, 2016 10:02 am

For multi-guages my dream is noted here http://rusefi.com/forum/viewtopic.php?f=4&t=775 In that I propose the use of low cost RC servo motors. They are a bit slow compared to steppers, but they also have feedback so missed steps or needle movement from shock and vibrations is not a problem. The STM32F429 board includes a touch LCD for about $30usd. As well I have a start on the software, which allows you to display some buttons and display some information on the LCD while using uGFX graphics library and Chibios as the OS.
Welcome to the friendlier side of internet crazy :)

Tomin
Posts: 39
Joined: Fri Oct 18, 2013 8:03 pm

Re: Raspberry Pi Zero

Post by Tomin » Thu Nov 03, 2016 6:24 pm

I am for lcd touch gauges too. Receive data from can (rusefi broadcasts) Does rpi Zero have CAN ?
Tomas

stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Re: Raspberry Pi Zero

Post by stefanst » Thu Nov 03, 2016 6:30 pm

rpi doesn't have native can bus abilities, but there are plenty of boards that will provide the functionality:
Example: https://hackaday.io/project/346-canpi

User avatar
kb1gtt
contributor
contributor
Posts: 3470
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Raspberry Pi Zero

Post by kb1gtt » Thu Nov 03, 2016 8:32 pm

STM32F429 has CAN on board. However on the discovery board, the CAN lines are shared with other features, so this might present a problem with using it on this particular board.
Welcome to the friendlier side of internet crazy :)

User avatar
tigeryan
Posts: 24
Joined: Sun Feb 08, 2015 11:15 pm

Re: Raspberry Pi Zero

Post by tigeryan » Fri Nov 04, 2016 2:33 am

How about a logging system for acceleration, deceleration, G-force and GPS tracking?
Ford Festiva with Mazda Protege Block, Mazda Miata BP4W head and Protege intake w/mods, Ford Escort GT transmission ----- yup, it is a lemon!!!

stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Re: Raspberry Pi Zero

Post by stefanst » Fri Nov 04, 2016 2:59 am

tigeryan wrote:How about a logging system for acceleration, deceleration, G-force and GPS tracking?
I like it. Track focused. It doesn't make the car faster, but it might make me faster by letting me know where I screw up. Or, in my case, letting me know the few points on a track where I don't screw up.
Does anybody here have any idea how to feed a GPS into a raspi?

tomiata
contributor
contributor
Posts: 231
Joined: Sat Aug 02, 2014 2:30 am
Location: Texas

Re: Raspberry Pi Zero

Post by tomiata » Fri Nov 04, 2016 4:14 am

stefanst wrote:
tigeryan wrote:How about a logging system for acceleration, deceleration, G-force and GPS tracking?
I like it. Track focused. It doesn't make the car faster, but it might make me faster by letting me know where I screw up. Or, in my case, letting me know the few points on a track where I don't screw up.
Does anybody here have any idea how to feed a GPS into a raspi?
There are some GPS modules on adafruit.com, and one built for raspi: https://www.adafruit.com/product/2324

I've seen are some examples on youtube of Tunerstudio running on raspi used for dashboard displays. I built up a display similar to this one, but have not tried it in the car yet:

The PI I have is a B+ model and TS is kind of slow on it. I just bought a PI 3 for another purpose, and I'll see how much faster it is for TS.

User avatar
kb1gtt
contributor
contributor
Posts: 3470
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Raspberry Pi Zero

Post by kb1gtt » Fri Nov 04, 2016 9:07 am

I could see a PI as useful for developers who want to develop rusEFI instead of figuring out how to install the development system. However windows vs Linux might be an issue. Perhaps the PI could be setup as a low cost development environment were you simply get PI download and install image on SD card then go develop code.

Some years ago, I once saw a project were someone was building a computer simulation to determine the best line on a track. They collected telemetry data from a real race car driver. This particular track they had very detailed 3D space information. The software would look at the 3D data and after several reiterative processes, it was able to find a line that almost matched a real race car drivers line. Perhaps that kind of software could be used on a device like this to help you find the best line.
Welcome to the friendlier side of internet crazy :)

Post Reply