Jump to content
skyone

arduino: a cheap board for E11 blaster effects

Recommended Posts

just note i made an easy assembly board to make the work easier and better. Just succesfully completed its testing, the sound is loud and clear, no clipping or noise, thanks to PCB connections. With this board it will be easier to fit arduino and their components inside the PVC pipe, saves extra cables and work, no mistakes.

 

pcb-blaster.jpg

 

Size WxLxH mm
main unit: 91x29x21.8
drivers module: 41.5x29x18.70
bar leds module: 35.5x19.5x9.85

 

instructions1-02-2019.jpg

 

instructions3.jpg

Edited by skyone
  • Like 1

Share this post


Link to post
Share on other sites

Best regards from Spain...

First of all great job yours...

I have in my hardware teensy 2.00 ++ hardware, yes I know it´s not arduino but I can programe it using arduino code, the only thing it´s will change the pinout position.

The trouble it´s when I compiled your .ino files...appears errors, seams to fault the libraries or some similar stuff to complete the compiling process.

Here quoted I show you the compilling message .txt.

Thx a lot for your kinddly attention.

The first one pcb its mine.

 

wiring_pinout.png

Quote

Arduino:1.8.8 (Windows 7), TD: 1.45, Tarjeta:"Teensy++ 2.0, Serial, 16 MHz, US English"

sketch_mar03b: In function 'void setup()':
sketch_mar03b:234: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b: In function 'void loop()':
sketch_mar03b:271: warning: comparison between signed and unsigned integer expressions
       if ((millis() - start_hold) >= HOLD_DELAY){                   // for longer than x/1000 sec(s)

                                   ^

sketch_mar03b:276: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:285: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:318: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00); // single and no cycle

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:351: warning: suggest parentheses around comparison in operand of '&'
          if (buttonPushCounter2 >= 17 & buttonPushCounter2 <= 20) {

                                 ^

sketch_mar03b:441: warning: suggest parentheses around comparison in operand of '&'
          if (buttonPushCounter3 >= 17 & buttonPushCounter3 <= 20) {

                                 ^

sketch_mar03b:699: warning: comparison between signed and unsigned integer expressions
   if(currentMillis - previousMillis > interval) {

                                     ^

sketch_mar03b:802: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:879: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:959: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1052: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1155: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1266: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1330: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1344: warning: comparison between signed and unsigned integer expressions
   if(currentMillis - previousMillis > interval) {

                                     ^

sketch_mar03b:1389: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1415: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1481: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1538: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b:1582: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b: In function 'void empty_classic_weapon()':
sketch_mar03b:1648: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b: In function 'void ping_garand()':
sketch_mar03b:1658: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b: In function 'void reload_ammo_classic()':
sketch_mar03b:1668: error: call of overloaded 'write(int)' is ambiguous
     Serial.write(0x00);

                      ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2:0,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:18:17: note: candidate: virtual size_t usb_serial_class::write(uint8_t)

  virtual size_t write(uint8_t c)  { return write(&c, 1); }

                 ^

In file included from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Stream.h:24:0,

                 from c:\program files\arduino\hardware\teensy\avr\cores\usb_serial\usb_api.h:6,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:2,

                 from C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,

                 from C:\Users\MARIAN~1\AppData\Local\Temp\arduino_build_726041\pch\Arduino.h:1:

C:\Program Files\Arduino\hardware\teensy\avr\cores\teensy/Print.h:48:9: note: candidate: size_t Print::write(const char*)

  size_t write(const char *str)   { return write((const uint8_t *)str, strlen(str)); }

         ^

sketch_mar03b: In function 'void statusCounter6()':
sketch_mar03b:1678: warning: comparison between signed and unsigned integer expressions
                if(currentMillisAmmo - previousMillisAmmo > intervalAmmo) {

                                                          ^

call of overloaded 'write(int)' is ambiguous

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

 

 

Share this post


Link to post
Share on other sites

Notes about the DFplayer sound module:

lZrpPSM.jpg

 

 

you can find several DFplayer chinese clones on the market but not everyone fit this project. In fact there are fakes clones that don't support the DFplayer libraries.

working clones have a chip named "YX5200", blue led status light,  silkscreen around all components on board..

dfplayer_%20mini-inferiore.jpg

 

example of not working clone:

dfplayer_04.jpg

 

Edited by skyone

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...