Announcement

Collapse
No announcement yet.

Arduino based VDI!

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

  • Nandor
    replied
    I am using Mr. Don Bowers VDI program, it works awesome try that if you want.

    Leave a comment:


  • Nandor
    replied
    Hello dgm . It seems that the backlight command line is incorrect for your IC2 setup, I think.
    "MD_V13:17: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'"
    "MD_V13:209: error: 'class LiquidCrystal_I2C' has no member named 'setBacklightPin'


    lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);


    ^


    MD_V13:209: error: 'POSITIVE' was not declared in this scope


    lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);"

    This is my setup
    .
    .
    .
    int backLight = 13; // pin 13 will control the backlight
    .
    .
    digitalWrite(backLight, HIGH);
    .
    .
    lcd.backlight();

    Try to find out why its saying this error mesage "MD_V13:209: error: 'POSITIVE' was not declared in this scope"
    I hope this helps!

    Leave a comment:


  • dgm
    replied
    The LCD address to 0x27 for a 16 chars and 2 line display

    Leave a comment:


  • dgm
    replied
    Hi Mr. NĂ ndor, good evening to you and thank you for having responded, I checked what type of lcd I have is a 16x2 I2c, as I have already written I can read on Hello World, I found the right library liquidisplay_I2c-1.1.2 , And embedded menu system as Mr. Daren suggested, but I can not load the program. Below I'll make the mistakes found by Arduino:


    Arduino:1.8.2 (Windows 7), Scheda:"Arduino Leonardo"


    MD_V13:17: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'


    LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6 _pin,D7_pin);


    ^


    C:\Program Files\Arduino\examples\MD_V13\MD_V13.ino:17:80: note: candidates are:


    In file included from C:\Program Files\Arduino\examples\MD_V13\MD_V13.ino:8:0:


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:57:3: note: LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t, uint8_t)


    LiquidCrystal_I2C(uint8_t lcd_Addr,uint8_t lcd_cols,uint8_t lcd_rows);


    ^


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:57:3: note: candidate expects 3 arguments, 8 provided


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:55:7: note: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(const LiquidCrystal_I2C&)


    class LiquidCrystal_I2C : public Print {


    ^


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:55:7: note: candidate expects 1 argument, 8 provided


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:55:7: note: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(LiquidCrystal _I2C&&)


    C:\Users\Home\Documents\Arduino\libraries\LiquidCr ystal_I2C-1.1.2/LiquidCrystal_I2C.h:55:7: note: candidate expects 1 argument, 8 provided


    C:\Program Files\Arduino\examples\MD_V13\MD_V13.ino: In function 'void setup()':


    MD_V13:209: error: 'class LiquidCrystal_I2C' has no member named 'setBacklightPin'


    lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);


    ^


    MD_V13:209: error: 'POSITIVE' was not declared in this scope


    lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);


    ^


    exit status 1
    no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'




    Thank you.

    Leave a comment:


  • Nandor
    replied
    Hi, what error does the Arduino program shows to you? Have you checked your LCD adress for I2C? It is different than for direct connection. For me this was the first error :P have luck!

    Leave a comment:


  • dgm
    replied
    Hi Mr. HomeFire, thank you for having responded, my is a compatible micro arduino, recognized as a Leonardo. I also tried with another arduino uno a genuine but nothing.
    Thank you for your time you use to answer me!

    Leave a comment:


  • homefire
    replied
    Make sure your picking the correct Arduino Type.

    Leave a comment:


  • dgm
    replied
    Hi, Good evening to all the members of this Forum. I ask for your help for a problem with arduino VDI, I can not load the sketch written by Mr. Daren (MD_V13), I tried in all possible ways, but I can not load it from many mistakes. I downloaded the bookstores reported by Mr. Daren but nothing, I can say that my arduino with liquidcrystal_I2C can load Hello World from the liquidcrystal_I2C-1.1.2 library. Please some of you who has had this problem can help me. Thank you for your kind patience.

    Leave a comment:


  • homefire
    replied
    All you really need is The chip, Regulator, Crystal and caps on rudimentary PCB. Plug the chip in a Uno, Program it, migrate it to a rudimentary board and your in. https://www.banggood.com/DIP28-ATmega328PPU-MCU-IC-Chip-With-Arduino-UNO-Bootloader-p-932159.html?rmmds=searchClick image for larger version

Name:	MinimalBoardPCB.png
Views:	1
Size:	26.4 KB
ID:	348480

    Leave a comment:


  • homefire
    replied
    Mega2560 is really over kill for just the VDI. Remember Battery requirements would be quite higher then the little Nano and OLED. The little Nano will do the job and more. A little OLED would look snappy on a detector too. Enough Room on the screen for VDI, Battery Status and More. https://www.banggood.com/0_96-Inch-W...-p-932606.html

    Leave a comment:


  • treasurehunter747
    replied
    Hey folks. I am new to arduino but reading and learning a lot. Will i be able to use this lcd with the code given here? this is the mega2560 with 320x240 lcd. Thanks fort any assiatnce.














    2 viewed per hour


    SainSmart Mega2560 R3 + 3.2" TFT Touch LCD SD Slot + TFT Shield Kit For Arduino
















    2 viewed per hour


    SainSmart Mega2560 R3 + 3.2" TFT Touch LCD SD Slot + TFT Shield Kit For Arduino


    Leave a comment:


  • Nandor
    replied
    Reminds me of the Spectrum XLT with signagraph.

    Leave a comment:


  • eduardo1979
    replied
    TGSL X/Y

    Originally posted by Teleno View Post
    Can you help me ientify the R and X points for this project in the TGSL schematic?
    TGSL EDU X/Y.
    Attached Files

    Leave a comment:


  • Teleno
    replied
    Originally posted by eduardo1979 View Post
    I did this project a long time ago, but it did not work very well. The VDI numbering is erratic. I will publish my design here according to the source code. The original design that was published by the author, does not work, because it is not compliant with the source code. I had to research and redo the entire design to make the VDI work.
    Enjoy.
    Can you help me ientify the R and X points for this project in the TGSL schematic?

    Leave a comment:


  • Prospekteur
    replied
    I dont know.....but the old Tgsl-VDI-project here in the Forum works well for me and isnt erratic;-)

    bernte_one: Nice to hear from you....i wasnt too much in this forum the last time. I want to build this VDI with you.....but it will take a bit of time, because i havent too much free time in the next weeks. I dont know if i can really help you but im really interested in building this VDI;-). Eventually more people from this forum build this VDI with us???!!!! Lets do it!

    Leave a comment:

Working...
X