Go Down

Topic: Arduino Lightsaber for/with LED string blade (Read 165626 times) previous topic - next topic

Protonerd

Great, so the clear message is: check that you have a genuine DFPlayer wih an YX chipset. Or even better, get a DIYino board, then you do not have any risk, all the components are genuine, and sure to work :)

PedroRS

Taking into account all extra parts I bought to resolve the problem it don't seems a crazy option, sure... :-D

Protonerd

Taking into account all extra parts I bought to resolve the problem it don't seems a crazy option, sure... :-D
That is one reason among a few I decided to make the DIYino boards. At the price point the V3 is currently sold, it's nothing short of a bargain.

I made quick statistics, 95% of the problem support I give to people over on GitHub how to use FX-SaberOS are related to homebrew solutions. No complaint so far with any DIYino boards other than folks not reading the manual.

dgkavanagh

#723
Jun 18, 2018, 12:41 pm Last Edit: Jun 19, 2018, 12:17 am by dgkavanagh
I created inside DFPlayer_LSOS library a function to call this serial command (0x11 0x00) and executing it like this, the issue is solved...:
Hey Pedro!

I'm having the same issue, after i bought a DFplayer from Ali Express. I don't have the requisite knowledge to modify the library correctly.

I've tried adding the following code to the DFPlayer.h in the DFPlayer_LSOS library:
Code: [Select]
inline void disableAllLoops() {
setSendBuffer(0x11,0x00);
}


I then added your amendment to the FX-SaberOS script.

Would it be possible for you to provide more details so i could reproduce your fix please? :)

EDIT: I forgot to add the send(); command to the above. So i added the following and it now works!!
Code: [Select]
inline void disableAllLoops() {
setSendBuffer(0x11,0x00);
send();
}

DUSTY36

üdvözletem nekem olyan gondom lenne hogy a  hang fagyási problémáim vannak és nem tudok rájönni hogy mi
lehet a gond arduino nano 3  dfplayer mini Mpu6050  ezeket használom meg a Fx-saberOs programot de valamiért mindig van fagyási probléma mi lehet a gond


mindent beálítottam de valamiért folyton a hang beakad  ezen a címen elészt peterfekete81@gmail.com


Protonerd

The one before your message was written in Hungarian language, basically the guys was complaining about freezes with his setup.

@DUSTY36: I guess the problem might be a too high usage of RAM leading to instabilities. Can you specify for me how you configured the code? Especially if you have a neopixel blade with more than 120 pixels, stability problems can arise. The code is prepared for it however, so the worst thing what can happen will be that the system will be restarted by the watchdog.

If under "freezing board" you mean that the sound file keeps repeating, then you simply have a fake DFPlayer which is not fit for use. In this case make sure you have one with a genuine chipset from YX (that is a chineese company manufacturing these chips)

cslee_work

I want to use a Wemos ESP-32 module with 18650 batery holder. Does anyone know how to compile for it? I complains about avr/eeprom.h is not there. I think it's the board issue. I compiles if I set the board for arduino Uno.

jbkuma

ESP32 doesn't have EEPROM, you would either need to use preferences or spiffs.

bigdean65

I am running into the same issue.  Typically it loops whenever I turn the saber off.  It will play the saber shut down over and over. 

I have ordered some new DFPlayer's with the YX chip... hopefully that will fix it.
Dean

Theultimatesaber

Greetings Arduino community!

1) I'm looking for someone that can help me with a bring-up of Arduino on a new platform. To simplify the task this new controller will mimic a prior popular Creative Commons design (proffieboard) (https://fredrik.hubbe.net/lightsaber/v4) and provide similar features (strip LED, color profiles, possibility of accelerometer integration with smooth swing, flash on clash etc). Looking for someone with some prior experience or strong firmware skills to help get this project underway.

2) Secondarily I'm also looking for someone that can assist in saber application development.  This can be Python or other scripting to develop the observable aforementioned behaviors.

This new controller design once completed will be sent to our pcb design house and will be available to the public once our final build is complete.

Payment for this project will include the final production saber and is open to negotiation. This is an opportunity to work with an extremely exciting product and should serve as a wonderful new stepping stone for the sabering community and other DIY builders.

For more info please feel free to contact me directly at: theultimatesaber@gmail.com

xl97

?

1.) What would be any different than the retail boards? (plecter/naigon)
* feature wise

2.) What is any different from the number of DIY solutions out there?
* what different features? (and why?)
* why would I (as a consumer) want your new board over these others?


I see  you also posted at the fx0sabers forum too....(good luck)

I'm not sure I really understand your intent here?

Its like some saying "I want some to help make a new car"  (when there tons of different cars already exist)

probably cheaper to just buy one, thast fits your needs..

Is your new board planning on being open source as well or closed? and sold for profit?

What do you mean by this: "Arduino on a new platform"?

Protonerd

And the Arduino Saber Story is continuing...

I've been working on a new development for some months now pondering on what could be the next step in saber board design. Looking at the existing portfolio of established board manufacturers and open-source boards, we have seen an awesome development since the DIYino Prime board started the open-source revolution back in 2015.

Powerful processors, mid- to high-end motion engines, installation optimized board layout, USB-charging, cheap boards, quality boards, programmable boards, GUIs, advanced power saving, you name it. Not to mention the features implemented in software, SmoothSwing, full features with single button, neopixel animations, etc., all of which were implemented by the community whose cradle this very Arduino forum was.

I came to the conclusion that there is only one thing not existing yet, which would be a great addition, opening up endless new possibilities: a board having all these AND integrated Bluetooth capability.


Therefore I made research into what is required to build a over-the-air controllable board with BLE. Most major industrial nations require a certification in order to sell Bluetooth capable devices, so that was what I'd been looking for. And I found the ideal candidate: the new board will be built around a ready-to-use BL module, which is certified for all the countries where a certification to use a BL device is needed: MDBT42Q.

This beauty integrates an nRF52 chip from Nordic, which in turn has an ARM Cortex M4F. I.e. it has one of the most powerful 32-bit controller cores on the market, with 512k Flash and 64k RAM. I dubbed this new Board

DIYino Infinity




, as it offers nearly infinitely more resources than the AVR open source sabering started with. Infinity is engineered for perfection and quality without compromises known for all DIYino boards: I use the world's most advanced PCB design tool for professionals. It is developed with the full power of two expert EEs, using state-of-the-art Design Rules. More, it will be among those few boards which utilize 4 layers for routing, therefore it will have the highest density of features on the smallest PCB possible. I guess this is already formidable, but I haven't mentioned the best part: it is designed by someone who actively builds sabers   Oh yeah, Infinity will be infinitely and definitely open-source, both in hardware and software.



The CPU of the BLE module has one more unique feature I instantly fell for: all of the pins can be configured for all possible functionalities. I.e. all 7 GPIOs available in addition to all signals controlling the motion engine, audio amp, power saving and UART link can be used for PWM, SPI, I2C etc. This makes the board ideally suited not only for saber boards but a whole range of other props and creations. The board supports USB charging of a single Li-Ion battery cell and has provisions to connect an external USB breakout board for both charging and programming the board, without the need to access the board itself. Well, not to mention that once BLE is up and running the saber can be interacted with, including config settings, from a smart phone or PC.



The CPU of the BLE module has one more unique feature I instantly fell for: all of the pins can be configured for all possible functionalities. I.e. all 7 GPIOs available in addition to all signals controlling the motion engine, audio amp, power saving and UART link can be used for PWM, SPI, I2C etc. This makes the board ideally suited not only for saber boards but a whole range of other props and creations. The board supports USB charging of a single Li-Ion battery cell and has provisions to connect an external USB breakout board for both charging and programming the board, without the need to access the board itself. Well, not to mention that once BLE is up and running the saber can be interacted with, including config settings, from a smart phone or PC.

The CPU of the BLE module has one more unique feature: all of the pins can be configured for all possible functionalities. I.e. all 7 GPIOs available in addition to all signals controlling the motion engine, audio amp, power saving and UART link can be used for PWM, SPI, I2C etc. This makes the board ideally suited not only for saber boards but a whole range of other props and creations. The board supports USB charging of a single Li-Ion battery cell and has provisions to connect an external USB breakout board for both charging and programming the board, without the need to access the board itself. Well, not to mention that once BLE is up and running the saber can be interacted with, including config settings, from a smart phone or PC.

Currently board bring-up is progressing well, most of the integrated modules, including the capability to connect to a smart phone are up and running! Keeping the fingers crossed and very excited about this new prop board.


Protonerd

Yes, but not just any +1, but one from the original creator of Open Source Saber Boards!  :)

Go Up