Announcement

Collapse
No announcement yet.

Arduino based VDI!

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

  • 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

    Comment


    • 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.

      Comment


      • Make sure your picking the correct Arduino Type.

        Comment


        • 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!

          Comment


          • 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!

            Comment


            • 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.

              Comment


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

                Comment


                • 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!

                  Comment


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

                    Comment


                    • But once you try Darens bar graph, you will not want anythinkg else

                      I am now trying to use it with oled SSD1309 (128x64) display, but it is 15 years ago when I programmed in C last time... Again - patience is the word that i need to repeat.

                      Comment


                      • Would it be possible to add bar graph somehow to VDI Experiments? so it would show VDI, metal name and the Bar graph too.

                        Comment


                        • I think that would be much easier to mod Darens project, because that bar graph is quite a bit complicated piece of code (for me). Its a year i finihsed it for IGSL and I am still learning from it...

                          Comment


                          • Me too, I have to learn more. But it would be an awesome feature to have and a pinpoint mode depth indicator.

                            Comment


                            • Hi, Mr. NĂ ndor, Thank you for having responded, but honestly did not understand if it is my hardware fault, or the MD_V13 sketch has any problems, my question is if you have worked with this SIg project in the Mr. Daren. Thank you ..

                              Comment


                              • It looks like you have problem with I2c/display. I had the same fault. I just found working Hello word code for my I2C and display and then I replaced those lines in original MD_13 sketch.

                                Comment

                                Working...
                                X