Announcement

Collapse
No announcement yet.

Using gauges with uOLED-160-g2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    1. sir, i procured arduino mega....plz help me in modifying the code so as to show the gps speed in display......
    2. while running existing code, that u have shared, serial 2,3 pins are not working...i tried with 10,11,12,13...which are working
    3. how to show two rpms in same display but when a button is pressed...so that display changes from one sensor to other


    plz help , as my project tenure is ending.....

    Comment


    • #47
      here is the arduino uno supported code.....but display not showing any value....as u said, it wont as i dont have two serial ports in uno
      Attached Files

      Comment


      • #48
        Hello,

        Based on the Arduino Mega Reference Page.

        Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX). Used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip.
        Since the Arduino Mega has multiple hardware serial ports, you don't necessarily need the Software Serial Library, thus you can remove the "#include <SoftwareSerial.h>" line if you want.

        You might also want to change "SoftwareSerial DisplaySerial (2,3)" into #define DisplaySerial Serial.

        This will allow you to use Serial0 (D0 and D1) to communicate with the Display.

        If you want to use Serial0 for talking with your PC (error Logging), You may also use Serial 1 (D19, D18), Serial 2 (D17, D16), or Serial 3 (D15, D14) just as long as you have your RX and TX wired correctly.

        You can apply the same concept to your GPS device ("SoftwareSerial ss(RXPin, TXPin);").

        Please be careful not to use the same Serial Port to talk to different devices.

        I hope this helps.

        Best regards,

        Michael

        Comment


        • #49
          sir, im trying to modify this code to display some values from tft display to your 4d systems display.....but cant able to suceed...plz help

          project aim: to display team picture, gps speeds, laps, time etc

          this is the link for that project: https://create.arduino.cc/projecthub...atayu&offset=0

          Attached Files

          Comment


          • #50
            Hello,

            I do not have the other parts required for the project that you've linked and I cannot fully simulate this.

            Please understand that there is no quick solution to this, you'll need to understand the underlying concept of how the code works in order to taylor this to your needs.

            As far as I can understand, most of the syntax on printing to the LCD display on that project is closely similar to the goldelox serial library's command set.

            tft.setTextSize(1) for example is very similar to txt_Width(multiplier) and txt_Height(multiplier) that we've previously discussed.

            To be guided further on the goldelox Serial Command Set, I would Suggest reading the Goldelox Serial Command Refference Manual, Goldelox_Serial_4DLib.h might also help in understanding the proper syntax for the Goldelox Serial Library for the Arduino.

            For the part where something gets written or read out of the uSD card, please see the attached sample project.

            I really hope this helps.

            Best regards,
            Attached Files
            Michael

            Comment

            Working...
            X