Power FC Forum Apex Power FC Support and Questions.

Power FC New Power FC Software RasPexi Viewer

Old 01-03-15, 02:31 AM
  #126  
Junior Member

 
Jin-74's Avatar
 
Join Date: Dec 2013
Location: Korea
Posts: 34
Likes: 0
Received 40 Likes on 7 Posts
Here is another raspexi set-up.
I used raspberry pi and 2.8" pitft LCD. it has 320x240 res.
Compare with Commander.
[IMG][/IMG]

Make custom gauges with megatunix.
[IMG][/IMG]

Thank you for your work. Markus.
Old 01-03-15, 04:08 AM
  #127  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Hi Jin

Would be nice if you would post a few pics or video of your setup
Old 01-20-15, 12:57 AM
  #128  
Junior Member

 
whippy's Avatar
 
Join Date: Aug 2002
Location: aust
Posts: 14
Likes: 0
Received 0 Likes on 0 Posts
Hi Guys,

Came across this randomly while researching some PFC stuff. This looks absolutely brilliant and I am/was pretty keen to get a Pi and give this a go, the only issue being I want to use it with my Evo. I followed the link to the Kashima page but it does not have any info listed for Mitsi so no idea what the offsets for the data is. If anybody has any info on how to get the correct data and get this working for the Evo would love to try it out. Cheers.
Old 01-20-15, 01:53 AM
  #129  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Unfortwnetely I don't have any info on the Mitsubishi , I plan to do the readouts for Nissan soon , one my buddies power fc for his R33 GT-S arrives .
Old 02-02-15, 10:28 AM
  #130  
Rx-7 France

 
RotaryTony's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
I am currently in the process of testing the software, which distribution you laid? I just installed Raspbian (well I have to revise my le'ssons on linux because it is very far)
Old 02-03-15, 10:51 AM
  #131  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
I used raspbian wheezy , works well with that distro
Old 02-19-15, 08:47 AM
  #132  
Rx-7 France

 
RotaryTony's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
hank you for this Markus accuracy. How do you to connect the gauges at the Raspberry card?
Old 02-19-15, 10:05 AM
  #133  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Originally Posted by RotaryTony
hank you for this Markus accuracy. How do you to connect the gauges at the Raspberry card?
It's a pleasure Tony . You use either a FC Hako or Dataloggit cable
Old 02-25-15, 12:34 AM
  #134  
Rx-7 France

 
RotaryTony's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Markus1981
It's a pleasure Tony . You use either a FC Hako or Dataloggit cable
I use a FC hako
Old 02-25-15, 05:57 AM
  #135  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
Hi guys, I've come across this thread looking for a way to read diagnostics from my Power FC, installed in my R33 GTS-t, without the need for a hand controller.
I have a Raspberry Pi and have used it before to communicate to ECU's via OBD style protocols.
I am super interested in the work Markus has done here and would be quite interested in implementing this.
I have literally everything to complete this project except the FC Hako (or similar) and I have plenty of experience do get this done.
Considering I was thinking of spending some time implementing something, much like what has been done here, from scratch, I might look at getting the Raspberry PI to communicate directly with Power FC. Effectively meaning this project could be done very cheap.

Does anyone here know if this can be done?
I have only had a brief look though here so far.
Old 02-25-15, 06:13 AM
  #136  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
and now I have found this thread .. hmmm
FC Tune preview - RX7Club.com
Old 02-25-15, 11:20 PM
  #137  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Originally Posted by SonicRaT
The PowerFC doesn't use I2C, so that wouldn't work.
Jacobd , I think you still will need to get a interface cable to link the power fc to the pi . I don't think you can directly link the pi to the power fc
Old 02-25-15, 11:36 PM
  #138  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
The Power FC may not follow the I2C protocol but it still appears to have a serial style transmit and receive line. A protocol could be written for the Raspberry Pi to communicate directly with it assuming the Power FC's clock speed was not too fast (and a few other limiting factors).

After a little bit of a read it looks like the guys here looked into what the protocol needed to be, although I havent read the whole thread and it looks like they stopped working on it quite some time ago (I think I may have read somewhere that it is them who make the FC-Hako??)

Anyway, I think the RasPi could do it, it's just a matter of working out how the Power FC will communicate with its TxD and RxD.
Old 02-26-15, 04:56 AM
  #139  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
Alright, I've got everything working, installed and can run raspexi and have the source code as well should I need to change anything.
Thinking of getting one of these and can then just swipe between guages:
PiTFT 2.8" Capacitive Touchscreen

I might end up getting an FC Hako after all, probably will be much cheaper in the long run.
Then I can work on getting the boot time down (hopefully less than 10s) and creating some nice guages etc.
Old 02-26-15, 06:10 AM
  #140  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
As the source is made available as open source I would like to ask you to also submit the changes you make so we can ad more cars . The r33 would be a awesome ad on. Pm me and I ad you to the submitters on google code . Thank you
Old 02-26-15, 09:23 PM
  #141  
Super Raterhater

iTrader: (6)
 
SonicRaT's Avatar
 
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes on 2 Posts
Adding more vehicles wouldn't be terribly difficult. It would just take someone motivated with FC-Edit and a target ECU to generate a few dumps.

As for the Pi -- it would be generally cumbersome and difficult to add direct communication support, and you'd end up doing bit-bang, which can be annoying without a realtime kernel.
Old 02-26-15, 09:39 PM
  #142  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by SonicRaT
Adding more vehicles wouldn't be terribly difficult. It would just take someone motivated with FC-Edit and a target ECU to generate a few dumps.

As for the Pi -- it would be generally cumbersome and difficult to add direct communication support, and you'd end up doing bit-bang, which can be annoying without a realtime kernel.
I'll be adding support for Nissan and Suburu based on Kashima's work soon
It looks very easy to do after having a look at the source code.

I ordered an FC Hako because I'd rather get this working than farting around bit banging like you said. I knew that that is what it would take and I know that it would be a headache, however, it would make for a real easy and cheap setup should people be interested.

Perhaps if this project turns into something bigger and with enough support I'll then look at trying to implement direct communication, probably with help.
Old 02-27-15, 08:34 AM
  #143  
Junior Member
 
JacobD's Avatar
 
Join Date: Feb 2015
Location: Sydney, Australia
Posts: 26
Likes: 0
Received 0 Likes on 0 Posts
Anyone keen to see if they can get raspexi running on this Buildroot for the raspberry pi?
https://github.com/gamaral/rpi-buildroot
Old 03-02-15, 01:21 AM
  #144  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Not too good on build root , started working now on the latest wheezy image from February . Got the auto login sorted last night . Also installed a window manager (matchbox) to handle the mouse and keyboard .Wrote a script to tell matchbox what to do with Raspexi . I can start the app now directly from the console without starting x desktop by typing xinit "scriptname" . Still trying to find a way to autostart the script at boot . If I ad it at the end of bash.rc it autostarts at boot but it's not ideal . Still need to read on a better way of doing it . Also managed to get the bootsplash via FBI running but the problem is that you have to change to tty2 to work as the bootsplash stays visible in the console
Old 03-02-15, 01:13 PM
  #145  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
So , finally some more success . I found a way to launch Raspexi during the boot process . Instead of loading the splash screen as a boot logo . I directly load Raspexi while the pi keeps on booting in the backround . This brings the startup time down from about 45 seconds to only 25 seconds . I just have to test out if the serial drivers are already loaded by that time in order for Raspexi to display the cars sensor values already at that point . I will test this on Wednesday and hope I can upload the image before Friday . It uses the latest available raspbian image . I will try to see if there are any more ways to improve the boot time , but I am pretty happy with the results so far starting to get the hang of Linux slowly but Shurely . This will make it easier for everybody without Linux knowledge to use my software
Old 03-04-15, 03:17 AM
  #146  
Rx-7 France

 
RotaryTony's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
Good news Markus!

sorry to revive the subject but how do you connect the data gauges to rasp system?

Thanks you!
Old 03-04-15, 11:18 PM
  #147  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Originally Posted by RotaryTony
Good news Markus! sorry to revive the subject but how do you connect the data gauges to rasp system? Thanks you!
Just open the dashboard.xml file with. Text editor and replace with the data source of Raspexi
Old 03-05-15, 03:05 AM
  #148  
Rx-7 France

 
RotaryTony's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Markus1981
Just open the dashboard.xml file with. Text editor and replace with the data source of Raspexi
Markus thank you, but I was talking to the connector cables with analog gauges
Old 03-05-15, 01:41 PM
  #149  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
Do you mean the analogue inputs for example wide band ? They currently only display voltage 0-5 volts . They are called AN1 to AN8 for gauge sources . For the sensors just connect the data cable to the bottom USB of the pi
Old 03-06-15, 01:36 AM
  #150  
Senior Member

Thread Starter
 
Markus1981's Avatar
 
Join Date: Aug 2013
Location: Wolnzach Germany
Posts: 613
Received 44 Likes on 34 Posts
After a lot of try and error i saw that my autoboot hack is not working properly with the latest raspbian image . so i used the one from 09 2014 . Boot time is approx 25 seconds.
I used the latest raspexi source code for this image . The USB port is configured as in the cfg file as /dev/ttyUSB0 So Plug your Datalogit into the bottom USB port (Raspberry Pi model b)

If you want to change anything , you can quit raspexi by pressing "q" or right click and select quit from the dropdown . It might take a few seconds till you see the console after quitting .

at prompt type : Startx to get to the LXDE desktop

The source code for Megatunix is under /home/pi/compile raspexi/MegaTunix/

raspexi is installed in /home/pi/raspexi


to start raspexi while in Desktop mode , open terminal and type

./launchraspexi


if you want to start raspexi from console ( without booting into terminal ) type :

xinit /home/pi/launchraspexi

The image is unfortunately made for a SD card with minimum 16 GB

I haven't had time to check if serial drivers are already loaded by the time the raspexi starts at boot , but will test over the weekend . Should it not work for you , quit raspexi at by pressing q and start after the boot sequence is finished by typing :
xinit /home/pi/launchraspexi

Enjoy playing arround with it on the weekend .

PS please be aware that the dashboard will show incorrect boost ( as i configured the source code to show kg/cm2 but the gauge is still PSI )
Will update the dashboards next week and make them also neater

Last edited by Markus1981; 03-06-15 at 02:19 AM. Reason: added how to connect Datalogit

Thread Tools
Search this Thread
Quick Reply: Power FC New Power FC Software RasPexi Viewer



All times are GMT -5. The time now is 07:23 AM.