RX8Club.com

RX8Club.com (https://www.rx8club.com/)
-   Series II Interior, Audio, and Electronics (https://www.rx8club.com/series-ii-interior-audio-electronics-167/)
-   -   RxDuino Source Code and Schematics, Now Open Source (https://www.rx8club.com/series-ii-interior-audio-electronics-167/rxduino-source-code-schematics-now-open-source-247128/)

paimon.soror 07-08-2013 05:26 PM

RxDuino Source Code and Schematics, Now Open Source
 
Hi all;

At this point it has been just about a year since the release of the RxDuino, and close to two years since I first started development on it. Lots of time, money, and board building was done, but I think the end result was quite nice. For those of you that purchased the product, I really appreciate your support and I hope that I have been vigilant in helping solve issues that have cropped up.

My decision to make this application and hardware open source has come from the growing interest in the S2 by new members to the community, and as a mechanism for those who are familiar with software/hardware development to improve on the product and give back to the community.

Also, there have been a few members who have messaged me wondering if there is going to be another group buy, and unfortunately I don't see that as a possibility due to the low population of the S2 community. Creating builds per order would just get too expensive and it just wouldn't make any sense to offer the product at a high price point.

It has been a while since anyone has posted bugs or issues regarding the platform, and I am hoping that is a good thing, and not an indication of a failed attempt to support the community.

I will continue to improve on the product, and make releases when users report issues or problems, but hopefully now the information used here can aid in the collaboration of both improvements upon this product, and the idea starter for new projects.

Anyway, the source, and the schematic (eagle) files have been hosted on Github, as well as a board zip file that can be easily submitted to your favorite board printing vendor for production. (BatchPCB is a fantastic choice if you want to print a board at low cost).

GitHub Link For Source: https://github.com/paimonsoror/RxDuino

GitHub Link For MCP2515 Library (Required): https://github.com/paimonsoror/Arduino_MCP2515

GitHub Link For Console: https://github.com/paimonsoror/RxDuino-Console

The code is obviously Arduino source code, but I have taken it an extra step and made it more C-like.

To develop, it is recommended to use AVRStudio which is free to download: AtmelŪ Studio 6 - Supporting Two Architectures: AVR and ARM, with One Integrated Studio - Overview

And you can set up your development environment to support Arduino by either following the tutorial, or downloading an install package to automate the process.

Tutorial: Normalexception.net - Setting Up AVRStudio 5 For Arduino Development

Installer (recommended): Arduino Template Express - Installation | Omar Francisco

If you have any questions, or want some insight on what part of the code is doing, please feel free to ask.






An Alternative Hardware Solution

An alternative for those of you that may already have an Arduino board is to implement a dual canbus sheild that I have developed. It would essentially add the functionality that the RxDuino has to the arduino board. This project has been hosted on my website for some time.

RxDuino Dual Canbus Sheld: Normalexception.net - RxDuino CANBUS Shield

seanp 11-10-2013 06:19 PM

Thanks for this.

I still have problems with the Bluetooth, and also the units are still wrong for "_INTERNATIONAL" - there needs to be a specific "_UK" version, which supports a "mix" of Miles and Deg. C.

The "Outside Temperature" button does not operate... and the module keeps "jumping" from ECU into MPG on it's own...

I'd like to work more with you again; send you some debugs with Bluetooth operations, and other buttons being pressed... Hopefully some way of "disabling" the output from RxD (using the CC buttons) - letting the Mazda stuff take back over when necessary.

In general the "sample rate" for most things displayed is "far too long" - or at least the display is updated too quickly, in reality. Should not really need updating any quicker than every half second - but also the "Values" should be constantly "averaged" during that period to, rather than an "instant snapshot"... Things like Fuel level, MPG oscillate too quickly to be useful.


All times are GMT -5. The time now is 10:05 PM.


© 2024 MH Sub I, LLC dba Internet Brands