Power FC Forum Apex Power FC Support and Questions.

Power FC New Power FC Software RasPexi Viewer

Old Jan 3, 2015 | 02:31 AM
  #126  
Jin-74's Avatar
Junior Member
Tenured Member 10 Years
 
Joined: Dec 2013
Posts: 34
Likes: 42
From: Korea
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.
Reply
Old Jan 3, 2015 | 04:08 AM
  #127  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
Hi Jin

Would be nice if you would post a few pics or video of your setup
Reply
Old Jan 20, 2015 | 12:57 AM
  #128  
whippy's Avatar
Junior Member
Tenured Member 10 Years
 
Joined: Aug 2002
Posts: 14
Likes: 0
From: aust
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.
Reply
Old Jan 20, 2015 | 01:53 AM
  #129  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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 .
Reply
Old Feb 2, 2015 | 10:28 AM
  #130  
RotaryTony's Avatar
Rx-7 France
Tenured Member 10 Years
 
Joined: Dec 2006
Posts: 36
Likes: 0
From: France
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)
Reply
Old Feb 3, 2015 | 10:51 AM
  #131  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
I used raspbian wheezy , works well with that distro
Reply
Old Feb 19, 2015 | 08:47 AM
  #132  
RotaryTony's Avatar
Rx-7 France
Tenured Member 10 Years
 
Joined: Dec 2006
Posts: 36
Likes: 0
From: France
hank you for this Markus accuracy. How do you to connect the gauges at the Raspberry card?
Reply
Old Feb 19, 2015 | 10:05 AM
  #133  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Feb 25, 2015 | 12:34 AM
  #134  
RotaryTony's Avatar
Rx-7 France
Tenured Member 10 Years
 
Joined: Dec 2006
Posts: 36
Likes: 0
From: France
Originally Posted by Markus1981
It's a pleasure Tony . You use either a FC Hako or Dataloggit cable
I use a FC hako
Reply
Old Feb 25, 2015 | 05:57 AM
  #135  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
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.
Reply
Old Feb 25, 2015 | 06:13 AM
  #136  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
and now I have found this thread .. hmmm
FC Tune preview - RX7Club.com
Reply
Old Feb 25, 2015 | 11:20 PM
  #137  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Feb 25, 2015 | 11:36 PM
  #138  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
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.
Reply
Old Feb 26, 2015 | 04:56 AM
  #139  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
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.
Reply
Old Feb 26, 2015 | 06:10 AM
  #140  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Feb 26, 2015 | 09:23 PM
  #141  
SonicRaT's Avatar
Super Raterhater
Tenured Member: 20 Years
iTrader: (6)
 
Joined: Dec 2001
Posts: 10,630
Likes: 3
From: NY, MA, MI, OR, TX, and now LA or AZ!
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.
Reply
Old Feb 26, 2015 | 09:39 PM
  #142  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
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.
Reply
Old Feb 27, 2015 | 08:34 AM
  #143  
JacobD's Avatar
Junior Member
 
Joined: Feb 2015
Posts: 26
Likes: 0
From: Sydney, Australia
Anyone keen to see if they can get raspexi running on this Buildroot for the raspberry pi?
https://github.com/gamaral/rpi-buildroot
Reply
Old Mar 2, 2015 | 01:21 AM
  #144  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Mar 2, 2015 | 01:13 PM
  #145  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Mar 4, 2015 | 03:17 AM
  #146  
RotaryTony's Avatar
Rx-7 France
Tenured Member 10 Years
 
Joined: Dec 2006
Posts: 36
Likes: 0
From: France
Good news Markus!

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

Thanks you!
Reply
Old Mar 4, 2015 | 11:18 PM
  #147  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Mar 5, 2015 | 03:05 AM
  #148  
RotaryTony's Avatar
Rx-7 France
Tenured Member 10 Years
 
Joined: Dec 2006
Posts: 36
Likes: 0
From: France
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
Reply
Old Mar 5, 2015 | 01:41 PM
  #149  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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
Reply
Old Mar 6, 2015 | 01:36 AM
  #150  
Markus1981's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Aug 2013
Posts: 613
Likes: 44
From: Wolnzach Germany
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; Mar 6, 2015 at 02:19 AM. Reason: added how to connect Datalogit
Reply

Thread Tools
Search this Thread

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