RX7Club.com - Mazda RX7 Forum

RX7Club.com - Mazda RX7 Forum (https://www.rx7club.com/)
-   Power FC Forum (https://www.rx7club.com/power-fc-forum-47/)
-   -   Power FC New Power FC Software RasPexi Viewer (https://www.rx7club.com/power-fc-forum-47/new-power-fc-software-raspexi-viewer-1052741/)

Markus1981 12-07-13 09:50 AM

New Power FC Software RasPexi Viewer
 
3 Attachment(s)
https://raw.githubusercontent.com/Ma...xi-logo_v2.png
PowerTune is the official successor for Raspexi

Link for the official PowerTune Raspberry Pi image
https://drive.google.com/open?id=1cF...HtXDBtiO4R1qjq

Link for the Windows version
https://drive.google.com/open?id=1p0...5CZj5cD6gjJHOZ

Source code for PowerTune can be found under

https://github.com/BastianGschrey/PowerTune

Works with FC Hako or Datalogit

Confirmed on the following Vehicles

Mazda RX7 FD3S with 13BREW
Toyota MR2 with 3S-GTE3
Nissan Skyline R32 GT-R with RB26DETT


The following vehicles are implemented but only the above are confirmed :Nissan :

  • RB20DET
  • RB26DETT
  • SR20DET1
  • CA18DET
  • RB25DET
Toyota :

  • 4E-FTE2
  • 1JZ-GTE
  • 1JZ-GTE3
  • 1ZZ-FRE
  • 2jZ-GTE1
  • 2ZZ-GE
  • 3S-GE
  • 3S-GTE3
  • 3S-GTE
  • 3E-FTE2
Implemented Features :
  • Logging to user selectable CSV file for Adaptronic
  • Remote control GoPro Recording on off
  • Logging to user selectable txt file for Power FC
  • Differential Aux input Settings for Power FC
  • GPS for NMEA 0183 compliant devices via Serial (Tested with BU-353S4 GPS Mouse)
  • Switching between metric and Imperial values

Raspexi viewer is not maintained anymore as it has been replaced by PowerTune:
Welcome to Raspexi viewer for Raspberry pi and Apexi Power FC
The aim of this software is to read all the Sensor Values of the Power FC and display them as
animated gauges in real time .The software builds on the Megatunix source code by Djandruczyk
https://github.com/djandruczyk/MegaTunix
The A'PEXi Serial interface is adapted from FCLogger by Hitoshi Kashima
APEX PowerFC??????

I paid a developer to write the initial program and decided to make it open source so other people can develop it further and add features .

You will need to have a Data Cable (eg Datalogit / FC Hako / SonicRats cable ) a Power FC and a Raspberry pi

The Raspexi source code is freely available under :

https://github.com/MarkusIppy/raspexi-viewer-linux

Should you whish to contribute , send me a PM and i add you to the list of contributers

Implementation status :

Read all Sensor values (advanced info) ==> Done
Configure up to 4 Dashboards that can be switched while running ==> Done
Real time datalogging with CSV output configurable in CFG file ==> Done
Display values in real time ==> Done (thanks SonicRat)
Read Aux inputs AN1-AN8 ==> Done (thanks SonicRat)
Build Selfbooting image for Raspberry pi ==> Done
Switch Metric to imperal via CFG file ==> Open (any volunteers ?)
Implement speed correction percentage via CFG file ==> Open (any volunteers ?)
Implement Differential inputs and configuration via CFG file ==> Done (JacobD)
Support for other platforms Nissan Subaru Toyota ==> Done (JacobD in testing)
Support for other platforms Honda , Mitsubishi ==> Open (Open (any volunteers ?)

Automatic platform detection eg Nissan Subaru Toyota ==> Open (any volunteers ?)

Tested Vehicles :

Mazda RX7 FD3s ==> all car sensor values displayed correctly

Special thanks to :

Djandruczyk ==> for making MegaTunix open source
$lacker ==> for his donation
SonicRat ==> for spotting the incorrect parity setting and implementing the Analogue inputs
JacobD ==> for implementing the differential inputs and definition in CFG file
==> adding support for most Nissan , Subaru and Toyota Engines based on Kashimas Excel scripts
==> creation of the awesome Raspexi Logo


[SIZE="4"]Downloads :[/SIZE]

Raspberry pi image based on raspbian with Autobooting Raspexi on boot ( needs 16GB SD Card )

https://drive.google.com/file/d/0BwI...ew?usp=sharing

Compiled r3 sources (compiled before AUX inputs where added )

https://drive.google.com/file/d/0BwI...ew?usp=sharing

If you have tested the software with any other car than a FD3s , please give me feedback and tell me if everything is displayed correctly, so that i can update the compatibility matrix

edgars95rx7 02-13-14 10:51 PM

Any updates of this? You are the man for making this.

Markus1981 02-14-14 10:28 AM

Well unfortunately I don't have my car yet (still sitting at my importer since 12th December ) . I would just need someone to test my communication protocol . If it's working I can get the software commissioned . It will be open source and the gauges will be based on the gauges that megatunix uses ( I like the gauges that megatunix has as it's fully customizable . ) as I am no programmer and I have to commission a guy via freelancer.com this exercise will cost about 200-300 USD . So I need to be 100% sure the communication is working and reads out correct values before I can carry on . I hope to be able to get some donations to make up for the development costs once it's finished , but I don't intend to make a profit with this software .

Markus1981 03-08-14 11:52 AM

1 Attachment(s)
Sorry for the long delay , got my car on Tuesday this week and fitted the power fc today . The interface works , so proof of concept is completet . Now I can begin to get the software developed . Attached a actual readout screenshot during idle ;)

Markus1981 03-11-14 01:44 AM

Hi guys ,

Just to keep you on your toes , this project just starts rolling now .
I have just awarded the project to the developer on Freelancer . The development of the inital communications interface was 136 $ and the GUI will be a further 200 $ . He will start next week to adapt the Gauges from Megatunix and interface them with the Apexi Power FC . I hope i can show the first results in about 2 weeks time and release the source code by mid of April .
How many people would be interested to contribute to this in terms of donations after i can show a working software ?

$lacker 03-11-14 05:46 AM

If it ends up being something that I could use, I'll donate something

Markus1981 03-11-14 06:08 AM

1 Attachment(s)
Well when I read through the forum and saw all the people that started to make software for the power fc . A lot of them wanted to have a better display of the values the power fc displays , this software will do exactly that . You will be able to make costum gauges as I am basing the gauges on the open source ones from megatunix . This is also the reason why this project will be fully open source an hopefully once I have a propper base . Some programmers will make nice add ons . I started to play arround with the gauge designer and it lets you make pretty neat gauges that look professional

$lacker 03-11-14 07:57 AM

This appears to be a great project, and something that a lot of people could use
There will be a special place in Mazdaspeed heaven for you once it's all completed

What sort of hardware (other than a PFC) will it require?

Markus1981 03-11-14 08:12 AM

1 Attachment(s)
I will use a raspberry pie ( if you don't know it google it quick ) as a pc . It's a nice cheap 35 $ arm pc that's the size of a credit card . It runs Linux of a sd card and only needs a 1 amp USB as a power supply ( perfect for in car application ) . On my car I will run a 7 inch flat screen via hdmi . And obviously you will need a interface cable like a FC hako or Datalogit . I am personally testing with the FC hako as this is all I have ;) It will also run on any other Linux laptop . But the reason I am doing it with a raspberry pie is that I can mount something inexpensive in the car that also boots faster than a laptop . And if I want to tune then I take the laptop and tune it with the various windows based programs . Just want my car to be more 21st century inside

$lacker 03-11-14 09:47 AM

If you're successful, I'll be doing essentially the exact same thing
Only difference is that I have a Datalogit rather than a FCHako

Markus1981 03-14-14 10:10 AM


Originally Posted by $lacker (Post 11696113)
If you're successful, I'll be doing essentially the exact same thing Only difference is that I have a Datalogit rather than a FCHako

Still don't understand what happens in the case of a Datalogit when you have the commander on and at the same time send and request commands via the laptop . Don't know which channel gets priority as both devices will send constantly requests for the sensor data

$lacker 03-14-14 10:23 AM

Is it even possible to hook up both at the same time?
I've never owned a commander and always used a laptop for tuning, so I don't know

Markus1981 03-14-14 10:36 AM

1 Attachment(s)
I am not Shure , if it can . I just bought a oled commander :) . Never mind the mess in my car just connected everything and still need to find final locations for everything

$lacker 03-27-14 09:09 PM

Any progress there Markus?

bufferovrflo 03-27-14 10:33 PM

I'm just now stumbling onto this and I can't tell you how badass this is! I'm a DBA but dabble in everything so if you need any help let me know. My RPi isn't being used for anything at the moment and love to make use of it along these lines

Markus1981 03-28-14 02:31 AM

Hi guys

Sorry for beeing so quiet the last few days but work has been hectic and still busy sorting out all the shit with my FD ( seized brakes turbos service ) my developer just updated me that he will deliver the first alpha release to me by early next week . Hope you guys have a bit more patience with me . It will be worth it

Markus1981 03-31-14 04:27 PM

3 Attachment(s)
Hi ,

I will receive the alpha version tomorrow , which will show the the dashboard and just animate it at random as a proof of concept for the dash portion .After this the python script to interface with the power fc will be ported to C and it will be possible to interface with the gauges with live data ( hopefully by end of next week )
My first initial gauge design is also finished now . My car had another setback today by popping one of the plastic boost pipes in 2 . Will hopefully fix that tomorrow so the car will be ready to test for the weekend . At least my interiour is now sorted .

Just thought I keep you guys in the loop

bufferovrflo 03-31-14 10:16 PM

Well done man! Sorry if I missed this but how are you physically connecting the hardware together? Also incorporating a wide band sensor into this is icing on the cake.

Markus1981 04-01-14 12:10 AM

I am connecting a fc hako to a raspberry pi and the pi via hdmi to a 7" TFT . The pi runs on USB power with only 1 amp

Markus1981 04-01-14 02:00 AM

1 Attachment(s)

Originally Posted by bufferovrflo (Post 11710016)
Well done man! Sorry if I missed this but how are you physically connecting the hardware together? Also incorporating a wide band sensor into this is icing on the cake.

Hi

THe aditional inputs for the Hako or datalogit will initially not be displayed . First i want to concentrate on the basics , which is reading the standard provided data from the PFC , and display them as gauges .

I have a lot of TODOS already after its working , but that would depend on donations after the inital release :

TODOS:

Inital Release :

==>Get communication with power FC and read stock sensors ==> Done
==>Make Megatunix gauges a standalone program that runs on raspberry pi ==> Done
==>Port python power FC interface to C and implent in Standalone gauge program ==> Open
Implement tire circumference correction value to adjust speedo accuracy ==> Open

Nice to haves ( if i can get enough donations to pay off the inital development )

==> Make linux distro smaller and run raspexi viewer embeded ( quicker startup)
==> Implement Logging function to USB csv file for Excel
==> Implement imperial values (for the US users) PSI . deg F , mph
==> Implement readout of additional datalagot / Hako inputs


Attached a screenshot with some of the original megatunix gauges runing as standalone on a raspberry pie with raspbian

Markus1981 04-02-14 12:33 AM

Had a bit of time to play arround with my raspberry pi .
I am busy modifying the image , so it will run as a embedded system .
I might need some help , so if there is any linux guy there that wants to help shoot me a message .

What i have done so far :

Install latest raspbian wheezy from raspberry pi homepage (2014-01-07-wheezy-raspbian.zip)

-Change default boot to terminal
--redirect console to tty3 (to have a blank screen without all the boot messages )
-Autologin user pi
-start the program by calling startx (program path)

Total start up time till programm runs = 41 seconds

TODO:
-further reduce boot time
-solve issue that the mouse pointer is not visible (but mouse works )
-Create custom boot splash (recompile kernel or FBI ?)

Anyone that can help me with that and wants to contribute please let me know

Derekcat 04-03-14 07:01 AM

Quick Googling suggests fbi as an easy solution:
Custom Splash Screen for Raspberry Pi (Raspbian) - EDV-Huber.com

Sounds easy to do? I should be able to help with the pointer issue, and I could try to help with the boot time.. Do you have a work in progress .img of your install I could play with? (I have a 256MB Model B, and a PowerFC+Datalogit+Commander that I can test with)

I'm historically a Mac guy, but my last job had me get quite a bit deeper into the Linux/Unix environment, and I've been playing with Linux since 2003 or so..

Markus1981 04-03-14 07:13 AM


Originally Posted by Derekcat (Post 11711459)
Quick Googling suggests fbi as an easy solution:
Custom Splash Screen for Raspberry Pi (Raspbian) - EDV-Huber.com

Sounds easy to do? I should be able to help with the pointer issue, and I could try to help with the boot time.. Do you have a work in progress .img of your install I could play with? (I have a 256MB Model B, and a PowerFC+Datalogit+Commander that I can test with)

I'm historically a Mac guy, but my last job had me get quite a bit deeper into the Linux/Unix environment, and I've been playing with Linux since 2003 or so..

Hi

Thanks , i tried the FBI route a while back and booted sucsessful into X Desktop .
When i tried to boot to terminal it hung . Maybe you have more success than me
I will see how i can create the image from my existing one and upload it somewhere .
The software is still version 1 , and just shows gauges with some hopping needles as demo , they are not yet linked to the interface . i hope to have a working version on the weekend , but no guarantees . Would be awesome if you can help out . Will send you a PM once i managed to upload it

Markus1981 04-05-14 01:39 AM

Might be able to upload a first beta release for testing tomorrow . Let's hold thumbs

$lacker 04-05-14 06:14 AM

Great work
Kept on forging ahead


All times are GMT -5. The time now is 03:18 AM.


© 2024 MH Sub I, LLC dba Internet Brands