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 2

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

Thanks skyone for the heads up! We in the lightsaber building community struggled a lot with fake DFPlayers in the past until we found out that the market is swamped with fakes.

Share this post


Link to post
Share on other sites

Does anyone know where I can get the sound files?  I PM,d skyone last week but he hasn’t been on for awhile.

Share this post


Link to post
Share on other sites
On 5/23/2019 at 12:47 PM, RankAndFileTrooper said:

Look here: https://github.com/Protonerd/FX-BlasterOS/tree/master/Sounds/FXBlasterOS_SF1_E11

 

You might need to reshuffle the order of the files but this link contains a full blaster sound set. Check from time to time for updates, as later on I might release new ones.

Thanks for the link to your open source blaster Andras.  I’ve built one of those boards too with your help.  I am hoping to find the sounds for this blaster project because this one has sounds like tie fighter, X-wing and many more that I can’t find elsewhere.  Hopefully Skyone or something else has the sounds files for this blaster.  Thanks again.

Share this post


Link to post
Share on other sites
On 5/22/2019 at 4:33 PM, joby619 said:

Does anyone know where I can get the sound files?  I PM,d skyone last week but he hasn’t been on for awhile.

just send me a PM and i will send you the link with the zip file to download

 

(sent you)

 

 

IMPORTANT NOTE ABOUT THE PROJECT: i fixed the RESISTOR value between the MP3 Player (DF Player) and Arduino, it must be 1 KOHM instead of 10KOHM or the DF player (and clones) wont work fine or at all!

Edited by skyone

Share this post


Link to post
Share on other sites
On 2/22/2019 at 12:07 AM, skyone said:

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

 

On 2/22/2019 at 12:07 AM, skyone said:

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

hi i am new to all of this where can i buy the green boards?

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