"The first step is to identify your components"
Every Sensor is different, and Motorcycles may have different Sensor installed already.
In my case there is no sensor installed, so I can choose as I like.
Important is that the raspberry is able to read the signal.
Examples would be:
Ignition cable Sensor
Temperature Sensor (sometimes multiple)
Battery charge Sensor
Maybe Resistor or Amphere measurement would be cool too,
which enables you to find broken lights.
(this is absolute optional)
as well as the intern sensors of the smartphone.
in all these cases you have some voltage that must be read
only the delta for reading is different:
"How frequently do you want to sample the sensors?"
Lamda Sensor, 1/10s
temperature Sensor 1s
Fueltank sensor 60s
Battery charge Sensor 60s
these sensor data should be stored on the SD Card for further examination
because now some cool things can be done:
using GPS and Ignition signal it is possible to calculate
Torque and Power as well as measuring in which gear you are.
using these info plus lamda sensor you will have a good info
which adjustments of the carburateur have to be done.
(the carb is a complex thing to adjust)
and the temperature sensor will save your engine if you go too hot.
there are different possibilites to measure temperature for the engine so
Important is to make this setup flexible to adjust/add sensors if necessary.
All info should be send through USB or bluetooth to the Android phone,
(I may have someone who can program a GUI) to visualize and calculate
I would then create Audio signals like
"Warning: Tank is on 20%" or
"Warning Engine is melting"
Using ADC to make the signals readable for the raspberry sounds eligible.
"Do you want to record the samples?"
yes, to get derivated numbers.
"How will you power the Pi? (how will you handle shutting down?)"
Either through 12V DC Battery (my case)
or using the lightengine of the motorcycle converted to DC
+ a capacitor
actually I dont know how to shut it down properly.
If controlled by bluethooth it will be necessary though to
hold it in sleep mode by battery right?
"How do you want to connect to the Android device? (you could use a WIFI connection and have the Pi setup as a webserver, with a webpage showing your sensors)"
USB connetor would be cool, since the Phone has to enable bluetooth, WIFI, GPS, and HSDPA at the same time.
My first idea was to power raspberry via battery and the phone via raspberry but that seem not to work out.
Right now I guess 2 USB Connectors coming from the Battery to each power up Phone and Raspberry is the right solution.
Monitoring The Details on a Website sounds very awesome, because this way you can have all info directly on your computer
or post it online. Also a website is much easier to develop I guess.
(GUI, Diagrams, Testprograms etc...)
Thanks for your effort.