I am new with RPI. I have a 26 pin model B ver 2. Abslute no experiance with RPI, but I have a project and need help with wiring up the 2 outputs from a Cmos Micro Processor Pic 12F675 (anolog to digital converter{output 0 to 1023}). Both outputs are giving the same variable values, but the timing is different. ( think of the exhaust sound of a twin cilinder engine).
I wish to connect to RPI GPIO, where the input, via python, associates the variable input to verry short sound samples and is played via the headphonejack.The sound samples are a few milli seconds long and are played rapidly.
No voltage will be used from the RPI. Will I need a ground wire from the Pic 12F675?
The question is:
1- What is better (or acceptable) to use, I2C, SPI Bus or other?
2- Which pins can I use in connection with answer from question 1?
3- Any additional info, packets.
I have someone who is knowlageable in programming and has already written a test python script with my sound samples and via keyboard and HDMI connection I could tick in a number from 0 to 1023 and listen to the approperate sound sample. He has also no knowlage of wiring the RPI.
Thanks for any help.
Victor H
Posts: 1
Joined: Fri Jun 10, 2016 5:12 pm