Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Rezo

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    1,114

    Please do share what you have built! Happy to...

    Please do share what you have built! Happy to provide the graphics code if you’d like. But just note that its a work in progress and I am no expert. I learn more C++ with every new challenge I tackle...
  2. Replies
    10
    Views
    2,228

    @spook Quick question here: I ran the app on...

    @spook

    Quick question here:
    I ran the app on Windows, installed the new font I wanted to generate
    File > New >New from font
    I selected the font, 20pt
    I then optimised the font to remove the...
  3. Replies
    30
    Views
    1,114

    So, I never got around to testing this - just...

    So, I never got around to testing this - just haven't had time, and I've also been working on getting the 2nd gauge to display as I want. As well as other things in parallel.

    I went with a very...
  4. I'll add some 3-5 second delays between each set...

    I'll add some 3-5 second delays between each set of draw-clip functions and see what happens.

    Just to make sure I understand this right.. looking at the image below - anything I load into the...
  5. Thanks mjs, I'll try that on Bootcamp later on. ...

    Thanks mjs, I'll try that on Bootcamp later on.

    @KurtE, I'm seeing some odd behavior with the serClipRect.

    I set the display background to white, then used your example code for the gauge and...
  6. Is there an online tool I can use to create more...

    Is there an online tool I can use to create more fonts? I have a ttf file for the new font I want to create
  7. Thanks Luni! Tested it this morning, WOW! the...

    Thanks Luni!

    Tested it this morning, WOW! the sample rate is so high, my display refresh rate jumped!
    This seems to be doing exactly what I wanted it to do, and it's doing it well!

    Regarding...
  8. Okay, looks like we're almost there! It...

    Okay, looks like we're almost there!

    It compiles but with two warnings:

    CAN_T4_MB_interval:574: warning: narrowing conversion of '(._93)8234u' from 'short unsigned int' to 'uint8_t {aka...
  9. Thanks Paul. I really appreciate the help from...

    Thanks Paul. I really appreciate the help from all members so far on my various topics.
    The only reason I haven't posted the full code is it took me months to obtain knowledge for multiple sources...
  10. My bad, I should have posted a more realistic...

    My bad, I should have posted a more realistic example. I'll elaborate.

    There are two functions, void canSend01(uint8_t pid) and void canSend22 (uint16_t pid)
    Why do I have two? one takes 8 byte...
  11. Sure :) enum { ...

    Sure :)



    enum {
    INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x0b
    }

    void canSend_01(uint8_t pid){
    CAN_message_t msgTx, msgRx;
  12. Thank you both. Just implemented it into my...

    Thank you both.

    Just implemented it into my main sketch and I'm at the last hurdle.
    I'm passing a HEX value in each function (I store them with alphabetic names in an enum)

    Getting this final...
  13. I like this approach, seems to be what I'm...

    I like this approach, seems to be what I'm looking for.
    But, tried to compile and test on a T3.2 and getting the following error:

    sketch_feb19c:5: error: 'func0' was not declared in this scope
    ...
  14. Firing multiple functions with a fixed interval between them - non blocking?

    Hi,

    Lets say I have 10 functions I would like to run, we can call them myFunction1 through myFunction10.

    I want to run each function with a fixed interval between them, lets say 100ms:

    ...
  15. Replies
    16
    Views
    243

    Why don't you just use PiCAN 2 or something...

    Why don't you just use PiCAN 2 or something similar to communicate with CAN directly from the RasPi?

    What's your end goal with this project? Is it for data logging, realtime display or just...
  16. Replies
    30
    Views
    1,114

    Thank you Nominal Animal, I'll try and implement...

    Thank you Nominal Animal, I'll try and implement something in the upcoming days. I will have to sample the data twice in each loop, correct?
  17. My apologies, I blindly went through it and...

    My apologies, I blindly went through it and didn't even realise it was all set to 0x00..
    I decided to use another font for now from Frank's library and its working thanks to mjs513's guidelines.
  18. Tried your suggestion, still no change.

    Tried your suggestion, still no change.
  19. I actually came across FrankB's set of Google...

    I actually came across FrankB's set of Google fonts. I tired one but when I use it, it does not come up on the display..
    No errors when compiling (I did have to edit his .c and .h files a bunch...
  20. What's the method with this library to use custom...

    What's the method with this library to use custom front? Is there some type of font generator I can use online to create the required files?
    I've searched the thread but it comes across as a rather...
  21. Replies
    30
    Views
    1,114

    Could you possibly go deeper into a code example?...

    Could you possibly go deeper into a code example?
    Lect2 and Lect1 are the sensor readings I assume.. so for every two sensor readings I'll check if the reading is going up or down I assume, then...
  22. Replies
    30
    Views
    1,114

    So a quick update on my project (its moving...

    So a quick update on my project (its moving really slow, have had some family matters to deal with recently).

    I was able to add a second gauge render (the one that resembles the 2nd image in my...
  23. @KurtE - were you able to locate this display...

    @KurtE - were you able to locate this display elsewhere for less than 40 USD? It looks great but price wise....
    Also, could you run the gauge test you put together for the 9431? I would love to to...
  24. Following! Would be nice to see performance next...

    Following!
    Would be nice to see performance next to the 9488
  25. Replies
    164
    Views
    9,814

    Thanks for the confirmation tonton. I have...

    Thanks for the confirmation tonton.

    I have another question.

    I some of my calculations of the response, I am placing some of the data into formula's based on my requests (filter based on header...
  26. Replies
    164
    Views
    9,814

    Not sure if this is the right place but perhaps...

    Not sure if this is the right place but perhaps someone can advise, but I am using the FlexCan_T4 library for this project on of my T4.0's

    CAN over OBD2 (UDS) - is there a minimum timing that...
  27. Replies
    12
    Views
    445

    PM with the details - interested to hear what...

    PM with the details - interested to hear what you’re setting up!
  28. Replies
    12
    Views
    445

    How about a 3.5” TFT ? Kurt has put together a...

    How about a 3.5” TFT ?
    Kurt has put together a library for the ILI9488, which supports a pretty decent resolution of 480x320 pixels.

    Im going to be using one for a CAN BUS gauge display I’m...
  29. Replies
    64
    Views
    19,561

    It may have the upside of more GPU power (haven't...

    It may have the upside of more GPU power (haven't looked into the details), but at 78 USD and a resolution of 320x240 it's not a relevant option, at least for my project.
  30. Replies
    64
    Views
    19,561

    Reviving this for the sake of info from Paul :) ...

    Reviving this for the sake of info from Paul :)

    I'm ordering the 3.5" ILI9488 display from buydisplay.com
    I'll connect it to an FPC breakout board for testing. I know there are some additional...
  31. Replies
    37
    Views
    2,183

    I just downloaded v1.49 from the PJRC website....

    I just downloaded v1.49 from the PJRC website. Ran the file but all it did was open an instance of Arduino marked at Teensyduino.
    Shouldn't it have prompted the installer?
    18788

    I'm running...
  32. How safe is it to run the SPI clock at 60Mhz?

    How safe is it to run the SPI clock at 60Mhz?
  33. Thanks for running the test, really appreciate...

    Thanks for running the test, really appreciate it! 390ms doesn't seem that bad TBH.
    Here is what the clip update looks like on the 9341 using a potentiometer on an analog input - I don't think it...
  34. Can anyone with the ILI9488 on a 480x320 display...

    Can anyone with the ILI9488 on a 480x320 display and a T4 test out the gauge sketch from the ILI9341 thread and post the results? (and perhaps set SPI clock to 30000000)

    I want to see how they...
  35. So do I need to set the clip, update the display...

    So do I need to set the clip, update the display and then clear it again as a sequence for each item on the display that I would like to clip?

    Iíve tried many variations of setting the function...
  36. Whats the use of tft.setClipRect(); at the end of...

    Whats the use of tft.setClipRect(); at the end of the last two for loops?



    for (int percent = 75; percent >= 0; percent--) {
    int16_t min_x = g_needle_rect_min_x;
    int16_t min_y =...
  37. Here are my test results with the SPI speed...

    Here are my test results with the SPI speed increased:

    CS:10, DC:9 RST:255 MOSI:11, SCLK:13 MISO:12
    _t3n::begin mosi:11 miso:12 SCLK:13 CS:10 DC:9
    T4 setup CS/DC
    _t3n::begin - completed...
  38. Thanks Kurt - this is super helpful. Will keep...

    Thanks Kurt - this is super helpful. Will keep following this thread for updates.
    I'll try clean up the image to remove the background for a clean background, this way we will have less data to push...
  39. Replies
    1
    Views
    229

    Love it, awesome project to light up Hannukah ...

    Love it, awesome project to light up Hannukah

    I’m pretty sure I’ve seen posts by you on DIY Audio forum over 15 years ago..?
  40. Replies
    30
    Views
    1,114

    @KurtE I just placed an order for two T4's -...

    @KurtE

    I just placed an order for two T4's - and I am getting the gauge image cleaned up by a graphic designer. So I will have that ready to test hopefully in a few weeks.
    Meanwhile, I am...
  41. Replies
    30
    Views
    1,114

    @KurtE @mjs513 can either of you upload a short...

    @KurtE @mjs513
    can either of you upload a short video or GIF of the gauge/needle sweep
    I'll only be able to run this on my hardware next week and I'm really interested in seeing the smoothness of...
  42. Replies
    30
    Views
    1,114

    KurtE, this is amazing stuff!!! Thank you for...

    KurtE, this is amazing stuff!!! Thank you for putting time into this - definitely will give me a solid start and the code is simple enough to help me understand how the needle is being calculated and...
  43. Replies
    30
    Views
    1,114

    Thank you for this - it’s exactly my plan: draw...

    Thank you for this - it’s exactly my plan: draw the frame in the setup and update the needle position in the loop.
    But, my maths has not been put to practice in many years and thats actually where I...
  44. Replies
    30
    Views
    1,114

    ILI9341 CAN Display - Gauge rendering on display

    Hi all,

    After spending months getting my automotive CAN BUS display working, I really want to beautify the UI and make it a bit more easier to read.
    My ultimate goal is to display two gauges in...
  45. Replies
    13
    Views
    493

    Finally - I have also had success with Collin80’s...

    Finally - I have also had success with Collin80’s fork reading canbus data from my Golf GTI.
    I built a sketch a while ago to pull standard and custom VW PID’s and I’m now adapting it to the FlexCan...
  46. Replies
    13
    Views
    493

    No one? No insight all all? Quite disappointing,...

    No one? No insight all all?
    Quite disappointing, I thought there would be a bit more support on this forum than others.
  47. Replies
    13
    Views
    493

    So I got my Teensy to read the message...

    So I got my Teensy to read the message transmitted from the Uno ("hello" over can every second)
    I had my Can Tx/Rx mixed up between the T3.2 and the TJA1050, and I added a 120ohm resistor between...
  48. Replies
    7
    Views
    342

    If you are connecting to a vehicle that supports...

    If you are connecting to a vehicle that supports OBD2 (IIRC anything manufacured after 2004), you need to request the data with the corresponding PID (https://en.wikipedia.org/wiki/OBD-II_PIDs -...
  49. Replies
    13
    Views
    493

    Teensy 3.2 Canbus - Which FlexCan do I use?

    Hi all,

    Ove the last couple of months (on and off) I've been developing a project around OBD/UDS canbus based data display for my car (MQB VW)
    I started off with an Arduino Uno and an Elecfreaks...
Results 1 to 49 of 49