Arduino Forum

Community => Products and Services => Topic started by: Protonerd on Apr 11, 2016, 03:58 pm

Title: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 11, 2016, 03:58 pm
**********************************
Buying a DIYino Stardust v3 (new!!!), V2 and DIYino Prime V1 board:

Simply follow the link to my website. All information regarding order, payment, shipping and specs you can find there:
Buying a DIYino board (https://www.protowerkstatt.com/diyino-prop-boards)


**********************************************

Hi fellow Arduino forum members,

I proudly and happily announce my Arduino compatible family of boards, the

DIYino Stardust V3 (NEW!!!)



(https://cdn.website-editor.net/85bc6b3df1aa41ad817a0ccdd84d8e64/dms3rep/multi/f4deaf35-053d-4231-9254-41de8e0c7653.jpg)

and

DIYino Prime v1

(https://i.imgur.com/8YlduAi.jpg)

and

DIYino Stardust v2

(https://i.imgur.com/tvzUjqW.jpg)

Technical data at a glance:



The DIYino Stardust v3 board integrates:
- USB charging circuitry on board to charge a single Li-Ion 3.7V battery
- an Atmega328P-AU (based on the Arduino Nano)
- MPU-6050 6-axix accelero- and gyrometer for gesure/motion detection
- YX6300-24SS Wav/MP3 decoder (same chipset as on the DFPlayer Mini)
- (NEW) SD-card to hold the sound files
- 3W audio amplifier
- 3 Low Side drivers capable of handling ~2.4A each, to drive loads like RGB LEDs, small motors etc.
- very small size (only slightly larger than a Nano but with a lot more functionality)
- (NEW) can be charged via USB and via Recharge Port, you have the choice
- (NEW) includes on-board wiring for interrupt triggered, low latency clashes

The DIYino Stardust v2 board integrates:
- USB charging circuitry on board to charge a single Li-Ion 3.7V battery
- an Atmega328P-AU (based on the Arduino Nano)
- MPU-6050 6-axix accelero- and gyrometer for gesure/motion detection
- YX6300-24SS Wav/MP3 decoder (same chipset as on the DFPlayer Mini)
- 16MByte SPI-Flash for music/sound files storage
- 3W audio amplifier
- 3 Low Side drivers capable of handling ~2.4A each, to drive loads like RGB LEDs, small motors etc.
- very small size (only slightly larger than a Nano but with a lot more functionality)

The DIYino Prime v1 board integrates:
- an Atmega328P-AU (based on the Arduino Nano)
- MPU-6050 6-axix accelero- and gyrometer for gesure/motion detection
- YX5200-24SS Wav/MP3 decoder (same chipset as on the DFPlayer Mini)
- SD card slot for music/sound files storage
- 3W audio amplifier
- 6 Low Side drivers capable of handling ~1A each, to drive loads like LEDs, small motors etc.
- User Manual: LINK (https://github.com/Protonerd/DIYino/blob/master/DIYino_Prime_v1_User_Manual.pdf)
(https://i.imgur.com/5Z2zL0B.jpg)


- User Manual: LINK (https://github.com/Protonerd/DIYino/blob/master/DIYino_Stardust_v2_User_Manual_v1.pdf)


A size comparison of the Prime v1 (rigth) and Stardust v2 (left) to a single Arduino Nano can be see on the picture below:
(https://i.imgur.com/CMJQXE7.jpg)

It all started with this thread: Arduino Lightsaber for LED string blades (http://forum.arduino.cc/index.php?topic=361566.0). After a while, seeing how much interest and enthusiasm this project created, I decided to take it to the next level: create a board integrating all the features of my original prototype, with obvious advantages for everyone who wants to build similar replica items:
- small size: the DIYino measures 22mm x 65mm, target was the same or smaller size as a 18650 type battery, which is mostly used for similar battery powered applications
- integrated solution: no need to solder modules on a breadboard, all interconnects on the PCB. This makes it ideal to build it in into models where the acces to the internal electronics is difficult at best and comes with a lot of effort in case of wires going a-stray.
- proven architecture: already quite a large community is using the same circuitry for prototype builds

The field of application is by no means limited to lightsaber electronics. You can use it universally for all DIY projects needing a programmable Light/Sound/Motion combo. I will use it for educational projects in my area to teach kids that programming electronics is fun! I already have a lot of crazy ideas in mind which children and also "Big kids" will love, waiting to be made!

My goal was to make it easier for people who plan to embark on building an item requiring programmable Light/Sound/Motion detection a start in the world of Arduino programming. While it is feasible to put together the architecture designed by me from the constituent parts (Arduino Nano, MPU6050 breakout board, DFPlayer Mini, transistors, breadboard etc.), for comparison you can check the size difference.


I would like to thank to following guys on this forum without whose inspiration, support and work this project would not have been possible:

JakeSoft for showing that it's possible (see his thread: Arduino Lightsaber (http://forum.arduino.cc/index.php?topic=261980.0)) and for building a community on this forum
neskweek for his superb work on the code (see here: LSOS (https://github.com/neskweek/LightSaberOS))
racemaniac for his idea of using neopixels (see rgb ledstring lightsaber (http://forum.arduino.cc/index.php?topic=366701.0))








Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: JakeSoft on Apr 11, 2016, 11:44 pm
Do these ship with an SD card?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 12, 2016, 10:27 am
Do these ship with an SD card?
No. If there is a public outcry for them, I can look for a cheap source of suitable SD-cards, but since they are such wide-spread, I currently do not see the need to provide one.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: xl97 on Apr 13, 2016, 12:16 am
nice job..

I didnt the same thing a while back for my S.C.A.B board..

(Arduino compatible board for props)..  I use the wave shield approach vs the YX5200-24SS Wav/MP3 chip.


where are you getting your boards assembled at/through?

I do my by hand/re-flow.. and am looking for a cheap assembly solution/company.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Apr 13, 2016, 02:26 pm
Add me to the list please!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 14, 2016, 08:56 am
nice job..

I didnt the same thing a while back for my S.C.A.B board..

(Arduino compatible board for props)..  I use the wave shield approach vs the YX5200-24SS Wav/MP3 chip.


where are you getting your boards assembled at/through?

I do my by hand/re-flow.. and am looking for a cheap assembly solution/company.
I have them manufactured and assembled in various EU-countries. So if you are based in the EU, I gladly give you the names of the companies.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: xl97 on Apr 14, 2016, 01:52 pm
I dont think it matters... does it?

I get my boards made/shipped from China..

was just looking to find a nice/cheap ASSEMBLY portion of it..

Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: occidere on Apr 15, 2016, 06:54 am
Add me to the list please!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: xl97 on Apr 29, 2016, 01:51 pm
I'm not sure who you are talking about...

but the best sound board in the community/scene doesnt even cost that much RETAIL..

(thats multiple sound fonts...tons of effects...  bluetooth params/options setting..  and the list goes on and on)..

from the same place.. there are other 'cheaper' modules.. that may offer less sound change options..etc..

so either they have no idea what they are talking about.. or didnt want the business?

Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: AardvarkSagus on May 03, 2016, 04:30 pm
My most humble apologies. Posts deleted. I can't seem to get anything right.

In the mean time, excellent work on these Proto. I can't wait to see how will they do, and what everybody makes with them. I love that they're not limited to one particular project.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 04, 2016, 11:22 am
My most humble apologies. Posts deleted. I can't seem to get anything right.

In the mean time, excellent work on these Proto. I can't wait to see how will they do, and what everybody makes with them. I love that they're not limited to one particular project.
I did not mean your post, so please feel to put it back. I've meant the last post from xl97, I'm not sure I understand what he wants to tell with his post, but it seems definitely out of place and inappropriate.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: AardvarkSagus on May 05, 2016, 02:11 pm
I did not mean your post, so please feel to put it back. I've meant the last post from xl97, I'm not sure I understand what he wants to tell with his post, but it seems definitely out of place and inappropriate.
OK. The gist of what I said was I'd anyone is wondering about the value in these little DIYino boards, compare my recent conversations with another reputable saber manufacturer about obtaining an electronics-only kit. His electronics has many similar features to these, multiple sound fonts, RGB control, etc. The difference is that I don't believe it used an accelerometer for swing detection and I'm pretty sure it didn't support a string blade. I was told I needed to buy their proprietary RGB module for lighting.

All told, the price ended up being over $300 for all these components together. The DIYino however, being custom programmable electronics with more sensitive accelerometer input, the versatility to configure the output to whateverer you can program, even the very fact that you're not limited to just a lightsaber make this look like an incredible deal.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 11, 2016, 11:36 am
To give a heads-up to those guys who are on the pre-order list: currently I face some delivery bottleneck, due to the fact that out of 20 boards in the first run, after extensive testing only 8 turned out to be fully functional. This is bad news for now, but I'm still confident that I can fix a further 3-4 boards. The rest has really defective chips, nearly in all cases it's the MPU6050. Although for this run I selected DigiKey to avoid getting bad parts from dubious sources, it seems Invensense has a lousy chip test and delivers unacceptable high ppm rates or have a serious manufacturing spill going on and even the biggest distributors are affected.

This means that there is a chance I cannot fulfill all pre-orders from the 1st run. Currently all 8 boards are payed for and reserved for the guys below. It also means that all other payments I will send back for the time being, only accepting orders and payments if I can fix/salvage additional boards. Please take note of this.


Up till now I got payment from:
zendium3ki (1 board)
DJWing79 (6 boards)
dannyc09 (1 board)
iwok78 (1 board)

I will use the thread to keep you updated.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on May 12, 2016, 12:23 pm
Thanks for the update.
Does your supplier have some sort of warranty on their work?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 12, 2016, 04:44 pm
Yesterday I managed to fix 2 additional board :), that means all guys who currently already payed will get their boards and I still have one more to offer. A few other boards also look like they could be fixed, but I will start on them only after my vacation.

As to warranty, hell, yes, they must. I work in the semiconductor industry and I can tell you: if chips are starting to fail in the application, then the hell is loose at the manufacturer! Even though I'm a tiny little point on their scales but still they do not want bad image and I order from the biggest distributors. They will re compensate, otherwise they are in trouble  >:(
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on May 12, 2016, 07:15 pm
Good to hear!

Thank you for keeping us up to date!  :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 16, 2016, 10:56 pm
This week all 10 DIYino boards went out to the guys who ordered them, I feel quite happy and now it's time to get some rest before turning my attention again to new projects.

I certainly plan further runs of the DIYino, but only after I get enough feedbacks from the saber builders who already got (or are goingto get soon) a board and check what can be improved.

The DIYino boards from the 1st run all have a special feature: I slightly modified the MPU calibration sketch (found as a link in the LSOS GitHub page) to write the offsets into the EEPROM from the memory location of 96. I chose this address in a way not to collide with neskweeks other variables stored in EEPROM from LSOS. I also added code to LSOS to read back the values in the setup, I will ask neskweek to add this code to the official one.

All boards went through a tight quality check incuding:
- burning the bootloader to the Atmega328, configuring the DIYino board as an Arduino Nano
- powering up via USB and check that the board can communicate with the host PC
- uploading code
- calibrating the MPU6050 and storing the calibrated offset values in EEPROM
- uploading a dedicated DIYino test bench which checks that
   - the low-side drivers (mosfets) work by switching on/off and PWM controlling LEDs
   - the sound engine by playing sound founds from SD card while adjusting the volume
   - reading out the MPU acceleration and gyro values to check that it's alive and reacts not only
     to calibration but to real movement as well

Enjoy the saber building and tell me what you think!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: pert on May 18, 2016, 06:37 am
- burning the bootloader to the Atmega328, configuring the DIYino board as an Arduino Nano
Why not configure it as an Uno? That way it will have the 500 byte Optiboot bootloader instead of the 2 KB ATmegaBOOT_168_atmega328.hex. That extra 1.5 KB of space could come in handy with LSOS getting so close to the limit. The other benefit of using the Uno bootloader is the Nano one has a bug that can cause infinite reset loops if you set a short watchdog timeout in your sketch.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: zendium3ki on May 20, 2016, 02:12 pm
Hello guys,
arrived today DIYino the right time and it is fantastic.

Thanks Protonerd.

Now I have a long process of testing to do!!

But obviously what I miss is the free time!!!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: iwuk78 on May 22, 2016, 01:37 am
Mine arrived today. Looks good.

Thanks Protonerd! 

Maybe when you get back from your vacation you could send your test code? :)

Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on May 23, 2016, 05:09 pm
Got mine too!  Thanks Protonerd!   Now need to test.

I think all the lightsaber os code can be found on the github site
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 24, 2016, 08:38 am
Why not configure it as an Uno? That way it will have the 500 byte Optiboot bootloader instead of the 2 KB ATmegaBOOT_168_atmega328.hex. That extra 1.5 KB of space could come in handy with LSOS getting so close to the limit. The other benefit of using the Uno bootloader is the Nano one has a bug that can cause infinite reset loops if you set a short watchdog timeout in your sketch.
You are a bottomless source of great knowledge. I was not aware that was possible, nor that the nano has a buggy bootloader. Does this bug affect all boards or only certain "technology corners"? I ask this because one out of the 20 boards fromthe first run exhibits exactly this problem, but some simpler sketched run on it.
Another question: does the uno also have an Atmega328P? Because I once tried to bootload a non-P as nano instead of mini and it failed...
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 24, 2016, 08:58 am
Why not configure it as an Uno? That way it will have the 500 byte Optiboot bootloader instead of the 2 KB ATmegaBOOT_168_atmega328.hex. That extra 1.5 KB of space could come in handy with LSOS getting so close to the limit. The other benefit of using the Uno bootloader is the Nano one has a bug that can cause infinite reset loops if you set a short watchdog timeout in your sketch.
You are a bottomless source of great knowledge. I was not aware that was possible, nor that the nano has a buggy bootloader. Does this bug affect all boards or only certain "technology corners"? I ask this because one out of the 20 boards fromthe first run exhibits exactly this problem, but some simpler sketched run on it.
Another question: does the uno also have an Atmega328P? Because I once tried to bootload a non-P as nano instead of mini and it failed...
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: pert on May 24, 2016, 09:12 am
Does this bug affect all boards or only certain "technology corners"?
It affects any board that uses the ATmegaBOOT_168_atmega328.hex bootloader, Duemilanove, Diecimila, Nano, Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328 and possibly some of the other boards that don't use optiboot and don't have WATCHDOG_MODS defined in the makefile, I haven't looked into the bootloader source for those. The issue: https://github.com/arduino/Arduino/issues/4492 (https://github.com/arduino/Arduino/issues/4492) is that the watchdog is not disabled by the bootloader so if it was enabled in the sketch and times out during the bootloader then it can go into an endless reset loop.

You should be able to just select the Uno from Tools > Board menu before you burn the bootloader and then the users of the DIYino will need to remember to use it as an Uno.

I use a lot of the Pro Minis which come with the ATmegaBOOT_168_atmega328.hex bootloader. I always burn the Uno bootloader on them right away and use them as an Uno instead of Pro Mini.

does the uno also have an Atmega328P? Because I once tried to bootload a non-P as nano instead of mini and it failed...
Yes, Uno is ATmega328P
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Sethski on May 29, 2016, 04:18 pm
This is exciting! I've put together a few lightsabers but new to Arduino and something that I'd like to put time into learning. Please do consider me interested if (hopefully when) you make more available.

Looking forward to seeing how the owners of the first batch put them to use.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 08, 2016, 05:11 pm
I added a draft documentation to the first post. It is still very rudimentary but I included much needed and requested wiring pics for your reference. Enjoy and give me feedback. I will of course continuously improve this document to give more flesh to the bone!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: zendium3ki on Jun 09, 2016, 02:21 pm

Hi Protonerd, in italian they say: giù il cappello!!


Great job!!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 10, 2016, 10:59 am

User Manual has been updated (see in first post), new topics:
- some restructuring of existing Chapters
- include wiring for an in-hilt recharge port
- include full circuit schematics
- explanation about the LS1...LS6 pins, this in particular became a FAQ by many and is important to properly wire the LEDs (whatever setup you use)
- along with the LSx wiring a 3.7V supplied RGB(W) High-Power LED setup is shown (still most popular setup for lightsaber lighting)


I will work on the document, next items to be added in the coming days:
- basic neopixel wiring and basics of operation
- advanced neopixel wiring with power saving option
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Jun 10, 2016, 09:41 pm
What kind of mosfet is required for this?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 10, 2016, 10:10 pm
Because of some guys working now on neopixel sabers, there was a bit of a pressure to include those chapters as well, so I updated the User Manual with the chapters describing basic and advanced wiring for neopixel striped.

I also added text to some of the other chapters as well. Phrasing is still very rough and needs a lot of polishing, but my intention was to quick-start people using the board.

@dannyc09: care to elaborate? The DIYino Prime board has all mosfets needed, except if you want to do something extreme.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Jun 10, 2016, 10:20 pm
Because of some guys working now on neopixel sabers, there was a bit of a pressure to include those chapters as well, so I updated the User Manual with the chapters describing basic and advanced wiring for neopixel striped.

I also added text to some of the other chapters as well. Phrasing is still very rough and needs a lot of polishing, but my intention was to quick-start people using the board.

@dannyc09: care to elaborate? The DIYino Prime board has all mosfets needed, except if you want to do something extreme.
Great!

I've got the components for building my own board as well as the diyino.  What mosfet would I need for an led string on the diy board?  Thanks
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 10, 2016, 10:48 pm
Great!

I've got the components for building my own board as well as the diyino.  What mosfet would I need for an led string on the diy board?  Thanks
OK, now it's clear. In case you want to solder together your own board for LED strings, I would recommend this type:
http://www.infineon.com/dgdl/Infineon-BSP318S-DS-v02_04-en.pdf?fileId=db3a30433b47825b013b51c9a6fc2aa8

Reason: not so small as the one on the DIYino Prime board, so they can be soldered in at home with ease using an average soldering iron, but also not so big than those in TO package, which hardly fits into any hilt (not to mention 6 of them)...

But there are many other suitable transistors. Look out for these parameters:
- it has to be "Logic Level"
- has to be n-channel MOSFET
- Vgs(th) gate-source threshold voltage should be between 1V to 2V roughly
- Rdson shall be <0.5Ohm
- ID (continous drain current) >1A
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Jun 10, 2016, 11:35 pm
Wonderful!  A huge help thank you!

I'm building up my led string this weekend so will hopefully have some progress with both the diyino and diy board soon.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 14, 2016, 11:06 am
I included a new version of the User Manual including a full schematics and wiring diagram for a neopixels type saber.

I had to attach it as ZIP file due to size limitations on this forum. I guess I need to move the User Manual somewhere else, because due to the many pictures the size keeps increasing.

BTW, if anyone has trouble accessing the User Manual, please let me know, one guy complained that he got an access denied message.

Have fun with your builds and keep posting the results!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 15, 2016, 11:03 am
User Manual (https://github.com/Protonerd/DIYino/blob/master/DIYino_v1_User_Manual_draft_v03.pdf) can be found now in GitHub instead of as attachment since many users had trouble accessing it from the forum.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 07, 2016, 04:53 pm
A new version of the User Manual (draft) (https://github.com/Protonerd/DIYino/blob/master/DIYino_v1_User_Manual_draft_v04.pdf) is uploaded to GitHub.

The new version includes a chapter about LED string wiring and different string wiring techniques. It also features 2 full wiring diagrams for LED strings using Serial II. technique and HP-LED wiring using a 5V DC/DC.

The 2nd big run of the DIYino Prime v1 is on the way, I accept pre-orders already. Based on the success of the first run I've placed a bigger order so I will have enough to fulfill all orders, no worry :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Sethski on Jul 08, 2016, 06:57 pm
Woo-hoo! Please put me down for pre-order 1 board of the next run. I may add a second board if my wallet gets fuller in the meantime and another is still available... Will there be any change to the price from the first run? Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 08, 2016, 10:53 pm
Price will slightly go up, reason is a popular demand to provide a compatible micro-SD card which I will ship together with the boards, so that people out there can use the board rigth away. I also consider loading a free sound font and a couple of handy config sounds for an even smoother start.
At the same time the shipping cost will slightly decrease. I will set the price once I get the quotes for the uSD.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Sethski on Jul 09, 2016, 12:35 am
That sounds reasonable :-) I'll keep an eye on the thread - hope progress goes smoothly
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: JakeSoft on Jul 10, 2016, 04:32 am
Price will slightly go up, reason is a popular demand to provide a compatible micro-SD card which I will ship together with the boards, so that people out there can use the board rigth away. I also consider loading a free sound font and a couple of handy config sounds for an even smoother start.
At the same time the shipping cost will slightly decrease. I will set the price once I get the quotes for the uSD.
This is a great idea and is in line with the commercial offerings.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 19, 2016, 02:45 pm
Bump.

New price is set, please see first post. Valid for run#2. Including SD-card and some (welcome) surprises.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: sligs78 on Jul 23, 2016, 07:09 am
How do I go about getting one of these?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Sethski on Aug 11, 2016, 12:14 pm
Hoping all's well. Just wondered if there's any news/ETA on batch 2? Much preferred and respect to take as long as required til you're happy, just curious  ;)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Aug 11, 2016, 04:36 pm

Hi guys,

So far I opted to inform individual customers one by one, now it's time to give an update for those who are also interested in getting a DIYino Prime board but are not yet on the order list.

Currently I anticipate roughly 1 month of delay in the deliveries due to a manufacturing issue with the MPU6050 parts. I expect working boards ready to be shipped out by beginning of September (hence the 1 month, my earlier assumption was beginning of August).

Cheers: Andras
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Sethski on Aug 12, 2016, 09:28 am
Cheers for update (and PM) and great to see this moving forward ;)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: phoenix239 on Aug 19, 2016, 09:25 am
Depending on the price (broke college student, so it depends) I'd like to be added to the order list  :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Aug 19, 2016, 12:53 pm
Depending on the price (broke college student, so it depends) I'd like to be added to the order list  :)
Price and all other conditions are (still) in the first post.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: phoenix239 on Aug 19, 2016, 09:04 pm
Ok, my brain went right past that... a bit more than I can afford currently, but not too bad for what it can do
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: sligs78 on Aug 23, 2016, 11:51 pm
Can buckpucks be used with the DIYino? I plan on making a RGB string blade with adjustable colors; three different buckpucks would be on each leg of the RGB led. Would the buckpuck interfere with the output of the DIYino and PWM?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Aug 26, 2016, 07:33 pm
Can buckpucks be used with the DIYino? I plan on making a RGB string blade with adjustable colors; three different buckpucks would be on each leg of the RGB led. Would the buckpuck interfere with the output of the DIYino and PWM?
Could you send a sketch of what you plan to make? Along with the spec of the buckpuck you intend to use? I will have a look, I'm interested myself although I never used buckpucks before (well, not for ligthsabers anyway).
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Aug 26, 2016, 07:35 pm
Good news, I just picked up today the repaired DIYino boards from the assembly house, they all work find after swapping the MPU on all of them. So now I have a large stock of working boards.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: sligs78 on Aug 28, 2016, 06:00 am
Could you send a sketch of what you plan to make? Along with the spec of the buckpuck you intend to use? I will have a look, I'm interested myself although I never used buckpucks before (well, not for ligthsabers anyway).
I changed my idea; I'm not going to use the buckpucks. It would take up too much space, so I ordered some smd n-channel mosfets. I also read that the PWM would mess with the buckpucks anyway.

It was the buckpucks from the TCCS site.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Aug 28, 2016, 09:01 pm
I changed my idea; I'm not going to use the buckpucks. It would take up too much space, so I ordered some smd n-channel mosfets. I also read that the PWM would mess with the buckpucks anyway.

It was the buckpucks from the TCCS site.
I'm not exactly sure why you wanna do that. The DIYino boards have the mosfets already
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: sligs78 on Aug 29, 2016, 04:16 am
I'm not exactly sure why you wanna do that. The DIYino boards have the mosfets already
I'm making a RGB string blade where I can control each color.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jshaw on Sep 10, 2016, 06:36 am
Protonerd, I received the diyino today and it is so sweet!  Great little care package in there too.


Reading over the pdf, I see that it mentions battery charging from USB in the warning in 3.2.1 :
"Reason is, that the USB in this case will overforce the voltage of the power source, thus acting as a battery charger"

Does this mean that it's possible to charge our (protected, rechargeable, of course) batteries in hilt over USB?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Sep 13, 2016, 10:07 am
Protonerd, I received the diyino today and it is so sweet!  Great little care package in there too.


Reading over the pdf, I see that it mentions battery charging from USB in the warning in 3.2.1 :
"Reason is, that the USB in this case will overforce the voltage of the power source, thus acting as a battery charger"

Does this mean that it's possible to charge our (protected, rechargeable, of course) batteries in hilt over USB?
I've put in the warning exactly because frankly I do no know! Logic tells it just could work but and USB is definitely not officially meant to recharge Li-Ion (or any other type of ) rechargable batteries. So do it on your own risk. Sooner or later I will also attemp it. But I do not know what will come out of it...and if it depends on the type of battery used. So there are a lot of questions marks and if's.

If it worked it would be great for sure, it would eliminate the need for a recharge port for some setups.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: xl97 on Sep 13, 2016, 02:16 pm
if there is no over charge protection circuit in place..  I wouldnt chance it.

Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jshaw on Sep 14, 2016, 01:18 am
if there is no over charge protection circuit in place..  I wouldnt chance it.


Are those circuits usually on the battery?

 I have a small USB powered battery charging board from spark fun (I think?) that might be easy enough to put between the board and the battery, in case that's where the overcharge perfection is located.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Sep 14, 2016, 09:05 am
if there is no over charge protection circuit in place..  I wouldnt chance it.


Same idea! Although I need to have a detailed look how the protection PCB is meant to work for protected Li-Ion batteries.

Actually the DIYino (like the Arduino Nano the controller part is based on) has a Schottky diode between the USB 5V and the 5V of the board (post-LDO). I.e. if you plug in the USB and you have your 3.7V single Li-Ion battery connected to the 5V pin, there is a ~300-400mV drop from the USB. And the Schottky diode has a constant current of 0.5A (the type used PMEG2005EJ). So the voltage is higher than the recommended 4.2V, but in a way it has the CCCV (constant current constant voltage) characteristics required for Li-Ion charging.

There is an interesting article here:
http://batteryuniversity.com/learn/article/charging_from_a_usb_port

Well, it does not say it must not be done. Interestinly if I measure the 5V pin when USB plugged in and Li-Ion disconnected I in fact measure ~4.2V. This is basically the Schottky-diode drop plus IR drop over the plug and cables. How reliable this voltage drop is I cannot say, but both the voltage and the current is close to those required by Li-Ion charging.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: sligs78 on Sep 18, 2016, 10:04 am
When going for neopixels, should I get double the length of the blade so it shines on the other side of the strip? It looks like since the LEDs are on one side of the strip, I would need another strip to be put on the other side.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: billpealer on Sep 26, 2016, 03:58 am
wai wait wait,..  you put all those things on one board?  the nano? accelerometer and audio player?  and you are MAKING THEM?  how much are they?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: phoenix239 on Sep 26, 2016, 12:29 pm
First post under the photos, currently shows 69 eur/board.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Sep 26, 2016, 01:29 pm
wai wait wait,..  you put all those things on one board?  the nano? accelerometer and audio player?  and you are MAKING THEM?  how much are they?
Yeah, exactly :) I think you have been around for quite a time now, this is already the 2nd run, first samples I already shipped this March.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Oct 11, 2016, 03:48 pm
Happy to announce that the first (non-draft) version of the

DIYino Prime v1 User Manual (https://github.com/Protonerd/DIYino/blob/master/DIYino_Prime_v1_User_Manual.pdf)

is available.

I re-lectured all chapters, checked them for correctness, included a new chapter for OLED display integration, fixed cross-references etc.

(if in spite of all my efforts to release a document without technical errors you find one, please report to me)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Dec 08, 2016, 07:27 pm
A newbie question.  With the diyino, would I need an additional driver to use something like the luxeon rebel for the light source?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 08, 2016, 07:59 pm
A newbie question.  With the diyino, would I need an additional driver to use something like the luxeon rebel for the light source?
Yes, it has all the drivers, 6 pcs, you could even drive two full RGB modules, for instance for a saber staff.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: AardvarkSagus on Dec 08, 2016, 11:38 pm
Does it have current regulation at all, or are you simply calling the PWM capability of the MOSFETs the driver, and leaving the LED on direct drive when 100% on?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 09, 2016, 12:38 pm
Does it have current regulation at all, or are you simply calling the PWM capability of the MOSFETs the driver, and leaving the LED on direct drive when 100% on?
No current regulation, so you have to take care about including the right current limiting resistors and/or PWM values to avoid (prolonged) overdrive of the LEDs. A good rule of thumb is to include a resistor which limits the voltage to max the Vth_max of the LED in question.
R(currentlimiter)=[V(battery)-Vth_max(LEDx)]/I(max_LEDx)
For instance if you have a 3.7V 18650 battery and a red LED with a max voltage of 2V@700mA->
R=[3.7-2]/0.7=~2.4 Ohms
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Dec 24, 2016, 07:00 am
Looking for some assistance in troubleshooting my diyino and LSOS.  I have a single LED luxeon wired to LS1, using a 3.7V lion battery with 5vdc regulator to the 5v pin, two buttons to D4 and D12, 4ohm speaker on spk1 and spk2.  I compiled and loaded the LSOS 1.4 configured for two buttons.  When I connect the power I see the lights on the board, hear a startup sound for second or so, and the saber light starts to pulse.  It continues to pulse the light, but pressing the buttons does nothing.  I've checked my soldering job several times, the buttons are working correctly according to my multimeter.  Don't know if I have a software or hardware issue.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Dec 24, 2016, 10:52 pm
Got the is loaded on the card, it was compiling correctly before. But, no sound. I connected a pair of earbuds to make sure it's not the speaker. You can hear a sound when the blade is lit, but it's the "feedback" from the light, I think, kind a highpitched hum. I reformated the sdcard on a windows 7 (I'm using a mac) system and dragged the contents over as your writeup mentions, no change. I'm using 1.3 right now, was 1.4, no change.

This is the output of the serial monitor:
L02�������������������������
Connecting to DFPlayer...
Connected to DFPlayer !

And that's all. Should there be more?
I have 3 of the diyino boards, and they're all doing the same - buttons work and turn on/off the blade, pressing the aux button makes the light on the blade pause, so I think it's trying to play. When I first connected the cards, before loading the software on them, using the test code they came with, I did get the startup sound (chewie I think). 
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 25, 2016, 06:56 pm
I responded on GitHub. I think that either you have less sound fonts on the SD card as defined in Soundfont.h, so the codevtries to acess files which do not exist, or - which I think is more probable - you have the wrong version of the board manager. Namely the mp3 player code compiles but does not do anything if compiled with avr board 1.6.12 or greater. Use 1.6.11
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Dec 27, 2016, 01:45 am
I did get it working, wrong libraries as you mentioned.  The "problem" I have now is when I retract the blade, the humming noise continues for another 30-60 seconds after the blade has retracted (led goes out).  Is this normal, or a programming bug?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: twittemb on Dec 29, 2016, 10:51 am
Hi guys

I'm Thibault from Canada. First of all ... great work to you ! Very impressive.

I was wondering if there were still DIYino boards left to buy ? Question for Protonerd I think.

Thanks and happy new year.

Thibault.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Jan 02, 2017, 03:33 am
Anyone see an issue with programming in a "night light" mode?  I was thinking adding some coding to allow a double press on the main button when in standby that would turn on the blade at half-brightness, no sound, for display on the wall.  This particular saber is using the diyino board with a single LED luxeon rebel.  Any problem with running it 8 hours or so at about half brightness?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: lewisdw on Jan 03, 2017, 06:57 pm
Anyone see an issue with programming in a "night light" mode?  I was thinking adding some coding to allow a double press on the main button when in standby that would turn on the blade at half-brightness, no sound, for display on the wall.  This particular saber is using the diyino board with a single LED luxeon rebel.  Any problem with running it 8 hours or so at about half brightness?
I made some code modifications so that a single press on the aux button in standby mode turns on the blade LED with a periodic flicker, and no sound.  Hopefully, that will not overheat either the LED or the main board.  I'll keep an eye on it.  At night it will be hung on the wall and charging.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jbkuma on Jan 10, 2017, 06:12 pm
The only issue here might be with charging while running.  A good charger is going to shut off when the battery is topped up and it is not ideal to "trickle charge" your lithium battery.  If your setup includes a way to isolate the battery, perhaps you could directly supply the hilt with a 5v source.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Zephos on Feb 17, 2017, 05:45 am
Can you add me to the order list? Can I order multiple boards?
 
This is exactly what I was trying to accomplish by piecing together several boards. Amazing!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Zephos on Feb 20, 2017, 08:10 am
Protonerd,

I sent my payment.

I hope I hear from you soon. It has been a couple of days.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Zephos on Mar 08, 2017, 04:15 am
I got it. Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 26, 2017, 09:57 pm
I'm happy to present you a new family member of the DIYino saber sound boards, the


Stardust


(http://i1035.photobucket.com/albums/a432/Kunci1/IMG_20170303_185547586_zpsnakpmyop.jpg) (http://s1035.photobucket.com/user/Kunci1/media/IMG_20170303_185547586_zpsnakpmyop.jpg.html)


This tiny but powerful board is a mid-range member of the Arduino compatible DIYino boards, capitalizing on the already proven architecture
of the Prime and at the same time streamlining the design to give you a board which is easy to integrate into a saber hilt.
To this end I applied certain adjustments to the Prime architecture, like:

- replacing the bulky SD-card with a 16MByte on-board SPI Flash. No moving parts involved.
- swapping the DFPlayer MP3 chipset to a more advanced one, capable of handling SPI Flash
- using 3 instead of 6 driver channels for LEDs and other peripherials (making board smaller but still perfect for RGB LEDs and neopixel builds)
- it comes with an micro USB connector like the Prime v1.5
- the USB signals are broken out so you can hook up an external USB connector, serving as general access port (and more!)
- all connections necessary to operate LSOS or USaber type saber softwares are integarted on board, eliminating the need for on-board wiring
- The board can also operate on a single 3.7V battery, or using a small DC/DC to boost the voltage to 5V. No need to find room for 2 cells in the hilt.

But there is more! The Stardust is not a stripped-down version of the Prime! It incorporates a feature unique among the saber boards

USB charging of the battery


(http://i1035.photobucket.com/albums/a432/Kunci1/DIYino_Stardustv1_front_zpssht71tzs.jpg) (http://s1035.photobucket.com/user/Kunci1/media/DIYino_Stardustv1_front_zpssht71tzs.jpg.html) :grin:



This opens up a whole new world of possibilities of hilt design and interaction with the electronics. Only a single interface suffices to reach all features:
- charging a single 3.7V Li-Ion/LiPo battery, via USB
- no charging device needed, no need for a big recharge port
- software updates can be flashed over USB
- the on-board SPI flash can be directly accessed over the USB as well, eliminating the need to take apart the hilt if you want a new set of sound fonts

(http://i1035.photobucket.com/albums/a432/Kunci1/IMG_20170303_185423301_zpsorqcnlbd.jpg) (http://s1035.photobucket.com/user/Kunci1/media/IMG_20170303_185423301_zpsorqcnlbd.jpg.html)


I hope you like it and I will keep you updated about the board features!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Vulkan on Mar 27, 2017, 11:49 pm
Nice! What's the cost of the board though.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 07, 2017, 03:11 pm
I've got a lot of inquiries as to how to buy a Stardust so I try to answer here to reach a bigger audience.
I did plan a bigger RUN1 to start, however I've got a bigger commission for the Prime v1 (yeah  :)  :)  :) , this is a BIG THING!!!) which takes all my time allocated to this project to secure. Therefore the Run1 of Stardust had to give room to this "strategically more important" delivery.

However I'm still on it, if everything goes according to plan I will have Run1 available by end of May/early June. In the mean time I hope I can assemble my first Stardust based RGB saber and show it off here. Stay tuned!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Apr 13, 2017, 02:48 pm
Is it still possible to order the Prime?  I've damaged my first board so need to get a replacement!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 13, 2017, 07:07 pm
Yes, it is. The 5th Run will start in May, so stay tuned! I will post a message as soon as I have the boards. How did you damage the board? Can you describe the fail behaviour?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Apr 13, 2017, 09:34 pm
Soldering iron was too hot and I managed to fry the contacts for the led string.

Shall I send payment now or wait until you post up?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Azsde on May 02, 2017, 06:39 pm
Hello,

I am very interested by the Stardust !

What type of battery does it support ? I must say that the USB recharge is really a killer feature !

First batch should be available around june, right ?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jahaan2311 on May 18, 2017, 07:15 pm
Hi Protonerd!

What you've done is absolutely incredible, would the stardust board be available for sale and could I Purchase a few? I've been wanting an Arduino based saber for a long time and would love to work with yours that was tried and tested as the Diyino :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 19, 2017, 03:36 pm
Soldering iron was too hot and I managed to fry the contacts for the led string.

Shall I send payment now or wait until you post up?
Now you can order, parts arrived.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on May 19, 2017, 03:40 pm
There is a large restock of the DIYino Prime v1 boards available starting NOW! Although this 5th run is the biggest so far, I recommend signing up quickly as the stock diminishes fast.

(http://i1035.photobucket.com/albums/a432/Kunci1/DSC_4506_zpsxkygmck8.jpg)

Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Jun 04, 2017, 09:38 pm
Payment sent for one prime! :-)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 05, 2017, 12:58 pm
Payment sent for one prime! :-)
Got it! I will send it out in the coming days! What are you up to with the board? Just curious...:)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dannyc09 on Jun 05, 2017, 08:20 pm
Got it! I will send it out in the coming days! What are you up to with the board? Just curious...:)
I'm doing a custom saber build.  Made a nice green led string!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jamesgreen on Jun 07, 2017, 09:57 pm
Are these only supporting led string blades or can they be used for hilt illuminated sabers as well?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: AardvarkSagus on Jun 08, 2017, 04:17 am
In-Hilt, string blade, or Neopixels. It'll work for all of them.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 14, 2017, 04:19 am
Protonerd, how goes the first run of the Stardust board?  I'm very interested in getting one!  Do you have a price point thought out?  Also, you say it is not a stripped down version of the Prime and has more features, is there a reason someone would choose the Prime over the Stardust?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 18, 2017, 10:36 pm
I thought I share this one with the Arduino community first, as it all started out here:

Stardust v2 User Manual (https://github.com/Protonerd/DIYino/blob/master/DIYino_Stardust_v2_User_Manual_v1.pdf)

Yes, the Stardust v2 is finally there! I have been doing a lot of breadboarding and actual field testing in a lightsaber and so far it works perfectly.

A quick reference guide of the new features:
[Full USB integration]: one interface to interact with the board, the integrated micro-USB port is used to 1. upload code 2. charge a single Li-Ion or LiPo battery 3. upload sound files to the MP3 player/SPI flash 4. see below  :)
[USB kill key]: the v2 can be wired to enable a so called USB kill key feature, which allows a complete shut-down of the board in case USB is connected
[K3 technology]: the v2 does not need a kill key, with its current consumption of 0.3mA in sleep mode it retains selve life for a long period of time. With a 3000mAh 18650 battery your blaster prop discharges the battery in (3000/0.3=10000h=416 days, which equals to over a year!!!
[Single battery use]: the V2 runs off a single 3.7V battery without the need to boost the voltage. You can use a voltage source up to 5V or a DC-DC booster still if you so choose. Thanks to the powerful 3W audio amp the v2 still retains superb sound quality and volume at 3.7V supply.
[Breadboard friendly design]: the v2 is fully breadboard friendly
[USB charging port]: the V2 can be used to charge a single Li-Ion or LiPo battery cell with 250mA according to the standard CCCV charging profile, thanks to the integrated USB charger circuit. The board will come with an on-board micro-USB connector as well as an extrenal, small size micro-USB breakout board to be able to place a port to anywhere in your prop design.
 
Legacy features:
- based on the successful DIYino Prime v1 design for lightsaber props
- Arduino Compatible board, configured as Arduino Uno to leverage the additional code space of the Uno bootloader
- smal size to fit into any blaster prop (W x L x H = 21mm x 51mm x 5mm or 0.82" x 2" x 0.2")
- can be intergated with neopixel stripes for the barrel running lights as well as RGB high-power LED modules (Cree, Luxeon, etc.)
 
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 19, 2017, 04:25 am
Sounds amazing!  How would I go about buying one? Also, I'm planning on putting the board in an E-11 stormtrooper  blaster that I'm building and one of the features I want to integrate is a push-pull solenoid to give a little force feed back when the trigger is pulled. Any thoughts on how I would wire it up?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 19, 2017, 02:14 pm
Sounds amazing!  How would I go about buying one? Also, I'm planning on putting the board in an E-11 stormtrooper  blaster that I'm building and one of the features I want to integrate is a push-pull solenoid to give a little force feed back when the trigger is pulled. Any thoughts on how I would wire it up?
Are you in the 501st?

With the push-pull solenoid do you refer to a buzz-motor (haptic feedback, vibration motor etc.)? If yes, it's quite easy, depends on the current. I have some small ones which can be driven from a digital I/O. But then it's more or less an on/off kind of thing. If you want to control the vibration speed, you could connect it to a PWM signal.

As to getting one, I'm now having the first bigger batch manufactured, might take another month or so to get the parts.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 19, 2017, 04:30 pm
Are you in the 501st?
I am not.  I have always been a huge fan of Star Wars but never had the time or money to really dig into it as a hobby. But I'm starting to get there. I got into 3D printing which has opened up a whole new world of possibilities!

With the push-pull solenoid do you refer to a buzz-motor (haptic feedback, vibration motor etc.)?
Nope, below is what I'm talking about. Its what arcade games like the Terminator Salvation use to give force feed back. The one I'll use obviously won't be as powerful though. I will need to wire it up so it gets a single pulse of power when the trigger is pulled. I'm thinking of some sort of Relay if the board doesn't have something that would handle that.

https://www.amazon.com/gp/aw/d/B018HX0R2W/ref=mp_s_a_1_2?ie=UTF8&qid=1497882474&sr=8-2&pi=AC_SX236_SY340_QL65&keywords=push+pull+solenoid+6v&dpPl=1&dpID=41CpMvWQ%2BNL&ref=plSrch

As to getting one, I'm now having the first bigger batch manufactured, might take another month or so to get the parts.
I await with great anticipation!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 20, 2017, 10:31 am
Nope, below is what I'm talking about. Its what arcade games like the Terminator Salvation use to give force feed back. The one I'll use obviously won't be as powerful though. I will need to wire it up so it gets a single pulse of power when the trigger is pulled. I'm thinking of some sort of Relay if the board doesn't have something that would handle that.

I await with great anticipation!
OK, I got it! Actually I personally think that a buzz motor would give you also a satisfactory kick, but by all means experiment - that is why we are all here - and let the community know how it worked out.
One tipp: for some lightsabers I got chance to build in a VECO bass speaker. It is bug (28mm), powerful, and rumbles in such a way that even a buzz motor gets obsolete.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 21, 2017, 05:10 am
OK, I got it! Actually I personally think that a buzz motor would give you also a satisfactory kick, but by all means experiment - that is why we are all here - and let the community know how it worked out.
One tipp: for some lightsabers I got chance to build in a VECO bass speaker. It is bug (28mm), powerful, and rumbles in such a way that even a buzz motor gets obsolete.
Yeah, a buzz motor is plan B  if this doesn't pan out. I will defiantly post the results. I just picked up a Soundtraxx 27mm bass speaker. Not sure how it will perform but hopefully it will do as well as your 28mm!

Say, do you have a pre-order yet for the Stardust?  If so I'd love to get on it.  X-D
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 21, 2017, 11:22 am
Yes, I guess it's time to start a pre-order list. Let's do it simple, all who are interested in getting a Stardust please drop here a message to this thread. I will get back to you as soon as I have the boards. PCB manufacturing begins tomorrow.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 22, 2017, 04:50 am
As I'm sure you have already guest, put me down for  1 (for now...one project at a time ;-) )!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: vrpc on Jun 22, 2017, 11:18 pm
Yes, I guess it's time to start a pre-order list. Let's do it simple, all who are interested in getting a Stardust please drop here a message to this thread. I will get back to you as soon as I have the boards. PCB manufacturing begins tomorrow.
I'm very interested but would like to know the price point.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 23, 2017, 08:38 am
Albeit the many new features and the higher test efforts I was able to reduce the manufacture costs further, so I'm happy to tell that the Stardust v2 is going to be launched at an even lower price than the Prime.

The cost for one board will be 54 EUR
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: NobAkimoto on Jun 24, 2017, 09:28 am
I'd definitely like to purchase a couple. (Probably 2 or 3 for now.)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 27, 2017, 04:50 pm
Noted, with some luck I can send them to you in July. This time I ordered a large batch in anticipation of the demand I've seen for the Prime.

Next step is to redesign the Prime and make it from High-end to UHE :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: NobAkimoto on Jun 27, 2017, 07:31 pm
For an UHE prime, I'd kind of want to see if it could push enough current on its own through power delivered through, say, a USB-C port. Something that would let you basically plug in an off the shelf portable charger like the Anker PowerCore mini (the lipstick case sized one: https://www.anker.com/products/A1104011 ) and swap them in and out easily. Obviously the USB-A/mini standard used for that generation of product wouldn't provide sufficient voltage or current, but since C 1.1 allows (at a minimum) 5V/3A, that might be feasible in the future where you could just swap a pack in and out.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jun 28, 2017, 05:22 am
Protonerd,
  I've been reviewing the pinout of the Stardust board and going over my blaster project in my head and I might be stuck. I'm hoping you will have some sugestions.

What I want to do:
Use a momentary switch for the trigger (obviously)
Use a momentary push button to rotate through sound fonts
Use a momentary switch for reloading action (when X number of shots have been fired the gun would make a 'click' sort of "out of rounds" sound unti the action slide is drawn back toggling the momentary switch "reloading" the clip)
And also activating a push pull solenoid, but only when there are 'rounds' to be fired

The first three shouldn't be an issue with the D11, D12 and D13 pins. However the drive of the push pull solenoid at specific times is where I'm stuck. Originally I was planing on using another momentary swith stacked on top of the trigger switch to drive the solenoid. This way every time the trigger is pulled the sound would fire and so would the solenoid. But with this aproch the solenoid will fire even if the 'clip' is empty. Also with different sound fonts I may not want it to fire.

Is there another option I'm not thinking of?  Also, can you tell me how the A0 pin is used?  In the manual it is labeled as 'digital I/O', just not sure if it is usful for me here.

Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jun 29, 2017, 11:55 am
Protonerd,
  I've been reviewing the pinout of the Stardust board and going over my blaster project in my head and I might be stuck. I'm hoping you will have some sugestions.

What I want to do:
Use a momentary switch for the trigger (obviously)
Use a momentary push button to rotate through sound fonts
Use a momentary switch for reloading action (when X number of shots have been fired the gun would make a 'click' sort of "out of rounds" sound unti the action slide is drawn back toggling the momentary switch "reloading" the clip)
And also activating a push pull solenoid, but only when there are 'rounds' to be fired

The first three shouldn't be an issue with the D11, D12 and D13 pins. However the drive of the push pull solenoid at specific times is where I'm stuck. Originally I was planing on using another momentary swith stacked on top of the trigger switch to drive the solenoid. This way every time the trigger is pulled the sound would fire and so would the solenoid. But with this aproch the solenoid will fire even if the 'clip' is empty. Also with different sound fonts I may not want it to fire.

Is there another option I'm not thinking of?  Also, can you tell me how the A0 pin is used?  In the manual it is labeled as 'digital I/O', just not sure if it is usful for me here.

Thanks!
On my E11 blaster build I use only the trigger to implement all features you described. But if you prefer to attach a different switch to all of these features, you need maybe a Prime, which has tons of digital signals.
Or as an alternative you might in fact use A0, I included it as an aux signal in case someone wants an ADC to measure something, but A0 can also be configured as a regular digital I/O, so you can use it for sure. As for the solenoid firing at clipout, it can be programmed differently :) Software is a powerful means to reach your target with Arduino.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jul 01, 2017, 04:47 am
but A0 can also be configured as a regular digital I/O, so you can use it for sure.
Perfect!  That is what I was hoping to hear. Now I just need to learn how to use it. Admittedly I have no expiriance with arduino`s so I just bought a cheap board to teach myself.  Wish me luck!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 05, 2017, 11:54 am
Perfect!  That is what I was hoping to hear. Now I just need to learn how to use it. Admittedly I have no expiriance with arduino`s so I just bought a cheap board to teach myself.  Wish me luck!
You are on the right way if you are willing to learn. Blasters are a good way to pick up coding skills are they are comparably simpler than lightsabers, therefore optimal for beginners. Good thing about Arduino is, that you can reach experienced level fast.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jul 20, 2017, 04:25 am
Protonerd, have you started shipping the Stardust board?  If so what is the total cost and what's your preferred method of payment?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 21, 2017, 05:15 pm
I will update the first post.

I prefer PayPal, the price for the Stardust will be 54 EUR + shipping.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jul 23, 2017, 05:27 am
Payment sent for 1x Stardust board!  My first step to getting in the ranks of the 501st!!  (Now to start 3d printing the suit)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 23, 2017, 07:13 am
Here is a video showing a demo of the Stardust V2 board:

https://youtu.be/ThT7TGxRyZk

I created this one to show both a lightsaber prop as well as a blaster in action. Saber uses high power LEDs as source of illumination while the blaster is a full neopixel build.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jul 25, 2017, 05:12 am
That's awesome! I may need to make a YouTube video of my  blaster once done. I still have a lot of chalenges to overcome with my 3D model before I start printing it though.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 26, 2017, 09:46 am
Just out of curiosity: what type of 3D printer are you using and with what CAD?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Jul 27, 2017, 04:23 am
I use a Prusa i3 mk2s 3D printer (http://www.prusa3d.com).  It's by far the best printer I've used. I highly recommend it.   As for the CAD program, I use Sketchup but it can be a pain in the @$$ at times.  I'm in the market for a good replacement.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: chicokiri on Aug 10, 2017, 08:23 pm
I've a crossguard saber and a blaster rifle that could definitely use some neopixel love. I'll be getting in touch for two boards shortly.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Void269 on Aug 14, 2017, 04:22 pm
chicokiri, Protonerd is on vacation until September 10th so it will be sometime before he will be able to ship them out. Just FYI.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Sep 14, 2017, 09:57 pm
Good news, the first Run of the Stardust arrived and currently undergoing rigorous tests and quality checks.

The Stardust board costs 54 EUR + 6 EUR shipping.
If you order 5+ boards, price is reduced to 49 EUR/board + free shipping.
Payment is via PayPal to kun.andras@yahoo.de
If paying for services, add +3.9% for fees.
Please indicate following items in the comment field along with your payment:
- your name
- shipping address
- Forum nickname, and also Forum name (i.e. Arduino)
- "Stardust B" if you want to build a blaster, to be able to tell these orders apart from lightsaber prop orders ("Stardust LS")

I will handle orders in the order they come in. Boards are shipped out always on Saturdays, I can guarantee shipping in same week if payment arrived by Thursday.



(https://i.imgur.com/ucK9NCa.jpg)


By buying a board you confirm to have read the User Manual and understood the specification (see Stardust User Manual (https://github.com/Protonerd/DIYino/blob/master/DIYino_Stardust_v2_User_Manual_v1.pdf) ).
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: BertkeTech1 on Sep 19, 2017, 03:08 am
This is awesome Protonerd! I've been looking at a way to build my own arduino lightsaber for some years now and I thought I had it all figured out. I had planned on using an arduino nano, a MPU6050, and a Mini DFplayer. Thanks to you, now I can get all of this is one! I do have a couple questions though. To change blade colors in a smooth transition, I had planned on reading the value of a potentiometer with an analog pin. I went through your Stardust User Manual, and I was wondering if this would be possible with the stardust? I did not see any Analog Input pins, but was wondering if I could use the SDA or the SCL pins? If anyone could help me out I would appreciate it. Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Sep 19, 2017, 01:41 pm
The Stardust has one analog input pin as auxiliary pin, i.e. it's not situated at the board peripherie but with a smaller thru hole in the middle of the board. But you can use it. SDA and SCL on the other hand cannot be used for anything else than I2C, as they are also connected to the MPU. I break them out because for some applications you might want to use a small OLED display which also work with I2C.

As to your idea to change color smoothly with a potentiometer, did you look at my video showing the Gravity Color Mix feature? Would that be sufficient for color mixing or do you have something else in mind?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: dejordzta on Oct 01, 2017, 09:42 am
Hi Protonerd!

Just sent a payment for one of your Startburst LS boards.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Oct 31, 2017, 06:20 pm

There are still Stardust boards available, both for blasters and for lightsabers.

To recognize that most of the guys buying my boards are from the US I decided to update the pricing to reflect this.
Therefore starting from now buyers from US will get the Startdust board for $54 (instead of 54 EUR). Shipping is $6.

All other conditions remain the same.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Soulbp on Nov 09, 2017, 02:55 am
This may be already answered, but they come with the LOS code already loaded?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Soulbp on Nov 09, 2017, 03:25 am
I just read the manual, I see that it is not but has all the links etc.. I think if there is stock available I may order two of these in the next week.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Nov 09, 2017, 09:49 am
Stock is still available.

I even have a promotion until the new movie comes out for US costumers, same price as before but in $ and not in EUR. Make use of it, special price is only for limited time and volume.

As to including code on the boards: in fact I'm contemplating it now. I will probably offer pre-loaded boards (free fonts and FX-SaberOS) in future if I get demand for it. Price tag estimate is +15EUR. Of course pre-loaded boards can still be updated with newer code versions, but users can quick-start with them if under time pressure to make a prop.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Soulbp on Dec 08, 2017, 01:49 am
I got my boards and did the initial test. Should I use lightsaber-osgravity blend or fxsabers-os? rgb star led, single button is my current intention.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 12, 2017, 11:13 am
I got my boards and did the initial test. Should I use lightsaber-osgravity blend or fxsabers-os? rgb star led, single button is my current intention.
Go for FX-SaberOS from now on.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jesjhoward on Dec 17, 2017, 02:25 am
Proto, I'm having a bit of an issue. I have my two boards. By connecting the 5V and Bat+ pins I am able to get one of them flashed with the software, but unable to get to the point where I can transfer files to it. I've tried all of the options in the manual to no avail. The other board, I cannot even get to the flashing point. The red led comes on and stays on, and will not get assigned a COM port. Any help? Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 18, 2017, 03:42 pm
Proto, I'm having a bit of an issue. I have my two boards. By connecting the 5V and Bat+ pins I am able to get one of them flashed with the software, but unable to get to the point where I can transfer files to it. I've tried all of the options in the manual to no avail. The other board, I cannot even get to the flashing point. The red led comes on and stays on, and will not get assigned a COM port. Any help? Thanks!
I do extensive testing of the boards before they got delivered to customers. At the time of the delivery I can vouch for them. But as with all electronic boards, they are delicate items to be handled with care.

I started to give people advice to only try one of their boards at a time if they ordered multiple ones, and get in touch with me if it does not work before experimenting with the others. Reason is simple: I had multiple cases of users bricking all their boards in a matter of a few minutes, making the same mistake on all of them before getting in contact with me.

Please send me pictures of your boards as PN.
I can just hope that your boards are still not bricked. The one which you could flash, what do you mean you cannot transfer files? Did you wire up the USB breakout board or did you short the USb signals on-board?
As for the 2nd board, did you try to connect the USB via the on-board USB port or via the breakout? As I mention in the User Manual, micro-USB ports are not as mechanically robust as mini-USB ports, therefore you have to plug in the USB cable carefully. Ramming in the port can easily dislocate the port, rendering it useless or even shorting signals. Just some ideas to start with.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: jesjhoward on Dec 23, 2017, 09:31 pm
Sorry it's taken a while to get back with you, Proto. I did some more reading of your manual and have had some success. The board that I could program is fully working now and I have it in a saber! Woo! The second one did eventually get recognized by the computer, but it's hit and miss. Usually it behaves as I described, but every once in a while it will fire up. I think there's still hope for it, but I'll mess with it more after the holidays. Thanks again for the response and the awesome work you've done. I do have one question tho: Once the board goes into the sleep mode, is there any way of waking it using the activation button? I've been just pulling the battery to reset the board to get it to wake up. I suppose I could wire in a button on the reset pin. Let me know. Thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Soulbp on Dec 25, 2017, 04:37 pm
A quick question, if I use the usb breakout do I need to short the wires for file upload? If the short is required to use usb flash what is the cleanest way recommended to do this? I'd rather not have to keep bridging and unbridging, I guess I could get a small switch that could be used.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 27, 2017, 10:32 pm
Sorry it's taken a while to get back with you, Proto. I did some more reading of your manual and have had some success. The board that I could program is fully working now and I have it in a saber! Woo! The second one did eventually get recognized by the computer, but it's hit and miss. Usually it behaves as I described, but every once in a while it will fire up. I think there's still hope for it, but I'll mess with it more after the holidays. Thanks again for the response and the awesome work you've done. I do have one question tho: Once the board goes into the sleep mode, is there any way of waking it using the activation button? I've been just pulling the battery to reset the board to get it to wake up. I suppose I could wire in a button on the reset pin. Let me know. Thanks!
Please let me know how you configured the code. I had a while ago some issues with waking up, but they disappeared, but I did not find any explanation why they suddenly stopped working. All the configs I use (mostly single button, neopixel or star LED) are working fine, I can wake the boards, but I cannot fully exclude that some more exotic configs will cause the problem again.
I definitely will think about a redundant way to wake up. I'm considering a periodic wake up to maybe light an LED shortly to signalize the board is still alove, and if during this short period the main switch is pressed, the board will also wake up. Something for the near future. It definitely has to work reliably, since the Stardust boards do not have a kill-key per se. Of course one can install a small switch between 5V and BAT+, but if it can be avoided it's better.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Dec 27, 2017, 10:35 pm
A quick question, if I use the usb breakout do I need to short the wires for file upload? If the short is required to use usb flash what is the cleanest way recommended to do this? I'd rather not have to keep bridging and unbridging, I guess I could get a small switch that could be used.
If you want to access both FTDI and the SPI-Flash over the same USB port, you can do it by shorting the D+ to DU+ and D- to DU-. In this case both MP3 and FTDI chips will be connected to the USB port, so they will fight for the arbitration. To work around it, you can disable either one of them by cutting power to it with the PSF or PSM signals (see Manual) or in the code you can program the signals connected to PSF and PSF (I recall they are A2 and A3) to high to disable that module or low to enable it (pmos power switches).

If you need more explanation, let me know.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Soulbp on Dec 28, 2017, 03:49 am
What if I'd prefer to break out to be for flash/charging and the on board for the rest.

Never mind I found this in the manual, thanks!
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Jan 08, 2018, 02:14 pm
Hey there! I'm totally new to this whole world of DIY electronics and I'm super excited to build my first lightsaber! I've had a lot of positive feedback from my stream and YT viewers on this, and I had no idea there was such a big community for this stuff!
Admittedly I have only been researching building a lightsaber for the last 5 days, but I feel like I have some idea of how to go about it. The DIYino seems to be the way to go, since similar boards are quite expensive, and using many arduino components seems like a recipe for disaster introducing multiple points of failure for an amateur like me.

I have some experience with HEMA and was surprised to find that some sabers can be used for actual sparring. The ultraedge heavy duelling blade from UltraSabers looks like the right kind of blade for me, but I was wondering if the electronic components are designed to take that much punishment? I know you're not normally trying to strike the hilt, but with the sparring I do it's quite likely. I was planning on using some salvaged galvanised steel pipe with a leather wrap grip, and definitely a lot of padding on the inside.

Since it will likely take a beating, having less points of failure seems like a necessity. As far as I can tell, most of the images that Protonerd has uploaded on this thread are blocked from being shared outside of photobucket, and on photobucket's website itself the image is still unviewable to me for some reason, so I haven't been able to get a good closeup look at the prime or stardust boards. In either case, I may have put the cart before the horse by already having purchased the LED (single LED projected up the blade since the hilt will likely sit behind me as a prop when I stream). The LED I purchased was the SK6812, which seems to use a higher voltage than what a single Li-ion battery can output, and I can't tell if the stardust (looking far more appealing to me) can take the voltage of 2 batteries. Granted, I have almost no clue what I'm doing when it comes to all this, but would I even need 2 batteries? Would I need a buckpuck? (I have no idea what those do either)

Since I'm a PC tech guy rather than hobbyist, I'm well aware that type-c USB tends to be a lot more durable than microUSB, but it was good to see the earlier post about it as well. If I went with the stardust, I would be wanting to connect a short cable from the board to a type-c connector as the external plug. Is this even possible? (It's probably quite obvious to those who can see the board, but as I mentioned, I cannot view the images for whatever reason)

P.S Sorry everyone for the extremely long rant, I just wanted to get all of it out there at once. And to Protonerd - if I can get all this to work out, you may have quite a few extra orders coming in from my viewers :D
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jan 11, 2018, 01:11 pm
Hey there! I'm totally new to this whole world of DIY electronics and I'm super excited to build my first lightsaber! I've had a lot of positive feedback from my stream and YT viewers on this, and I had no idea there was such a big community for this stuff!
Admittedly I have only been researching building a lightsaber for the last 5 days, but I feel like I have some idea of how to go about it. The DIYino seems to be the way to go, since similar boards are quite expensive, and using many arduino components seems like a recipe for disaster introducing multiple points of failure for an amateur like me.

I have some experience with HEMA and was surprised to find that some sabers can be used for actual sparring. The ultraedge heavy duelling blade from UltraSabers looks like the right kind of blade for me, but I was wondering if the electronic components are designed to take that much punishment? I know you're not normally trying to strike the hilt, but with the sparring I do it's quite likely. I was planning on using some salvaged galvanised steel pipe with a leather wrap grip, and definitely a lot of padding on the inside.

Since it will likely take a beating, having less points of failure seems like a necessity. As far as I can tell, most of the images that Protonerd has uploaded on this thread are blocked from being shared outside of photobucket, and on photobucket's website itself the image is still unviewable to me for some reason, so I haven't been able to get a good closeup look at the prime or stardust boards. In either case, I may have put the cart before the horse by already having purchased the LED (single LED projected up the blade since the hilt will likely sit behind me as a prop when I stream). The LED I purchased was the SK6812, which seems to use a higher voltage than what a single Li-ion battery can output, and I can't tell if the stardust (looking far more appealing to me) can take the voltage of 2 batteries. Granted, I have almost no clue what I'm doing when it comes to all this, but would I even need 2 batteries? Would I need a buckpuck? (I have no idea what those do either)

Since I'm a PC tech guy rather than hobbyist, I'm well aware that type-c USB tends to be a lot more durable than microUSB, but it was good to see the earlier post about it as well. If I went with the stardust, I would be wanting to connect a short cable from the board to a type-c connector as the external plug. Is this even possible? (It's probably quite obvious to those who can see the board, but as I mentioned, I cannot view the images for whatever reason)

P.S Sorry everyone for the extremely long rant, I just wanted to get all of it out there at once. And to Protonerd - if I can get all this to work out, you may have quite a few extra orders coming in from my viewers :D
Valid point all the way, I updated my first initial post and re-included the most recent and best pictures of my 2 boards (Prime and Stardust).

I currently have only a few last Stardust boards, but restock is on the way and I have grand plans for 2018!!!

As to some of the questions:
- I know that neopixel datasheets spec 5V as supply for the pixels, but they will run fine off a 3.7V Li-Ion. No worries.
- I also would prefer a mini-USB for charging, for next bacthes I will probably offer a mini-USB breakout for a few bucks. A micro-USB breakout is always included with a Stardust and you can wire either of them to the board to access it from a distance (i.e. in-hilt recharge).
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Jan 12, 2018, 11:37 am
Thanks for the pictures! Any reason why there are three different colours? I assume the functionality is the same.

Grand plans? I await with great anticipation!

If they run fine off a single 3.7V, that's great news! But I would love to have a lightsaber which can go long intervals before needing to charge. How long would you expect a single battery to last? Most likely I could be using the sabre for practice for a period of up to 2 hours. I'm happy to try cramming more cells in the chassis if it means longer runtime.

I did not mention mini-USB at all. As far as I know, mini-USB is a dead interface type. Having looked further into what 'breakout' means, USB-C is not feasible (seems to have upwards of 10 'pins') and I will probably use a breakout board for a micro-USB connector.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jan 16, 2018, 03:05 pm
Thanks for the pictures! Any reason why there are three different colours? I assume the functionality is the same.

Grand plans? I await with great anticipation!

If they run fine off a single 3.7V, that's great news! But I would love to have a lightsaber which can go long intervals before needing to charge. How long would you expect a single battery to last? Most likely I could be using the sabre for practice for a period of up to 2 hours. I'm happy to try cramming more cells in the chassis if it means longer runtime.

I did not mention mini-USB at all. As far as I know, mini-USB is a dead interface type. Having looked further into what 'breakout' means, USB-C is not feasible (seems to have upwards of 10 'pins') and I will probably use a breakout board for a micro-USB connector.
Run time strongly depends on your blade illumination, and not much on the board. The Stardust is only consuming ~300uA in deep sleep, so with that you are looking at a shelf life of several months at least. With a good 18650 type Li-Ion you do not have to charge often. But of course you can always cram in multiple batteries if you can spare the space. But charging them in parallel might be an issue, you have to find a charger which can support that.

That is where an USB charger has its advantage: you have it everywhere, no need to bring a dedicated charger for your saber with you.

I know that the mini-USB is not widely used any more, except for Arduino boards ;o) , but I still prefer it mechanically to the slimmer micro-USB. To save room I mount a micro-USB on my Stardust boards and every Stardust will come with a micro-USB breakout included in the package. But now I'm experimenting with chassis designs and will probably use mini-USB. Easier to plug in/out.

All DIYino boards come in multiple colors, but in the functionality there is no difference. Except the newest run of Stardust, where I made red boards for sabers and white boards (wo/MPU) for blasters. But as the demand for saber boards is much higher than for blasters, I'm converting the whites to saber boards now to satisfy demand.

On the subject of my grand plans I'm not ready to disclose anything as of now, but stay tuned in the coming months :)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Jan 22, 2018, 04:27 am
Haha yeah, mini USB isn't that big of a deal for me. I'll be using a short internal extension regardless and I can just switch the plug type, so not a problem.

I still don't understand about the batteries. I would love to use 2x 18650s if I can fir them, but would there be an issue charging them if they are connected to your board in parallel?

I suspected that board colour was arbitrary, but it's good to have it confirmed.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jan 24, 2018, 03:28 pm
Haha yeah, mini USB isn't that big of a deal for me. I'll be using a short internal extension regardless and I can just switch the plug type, so not a problem.

I still don't understand about the batteries. I would love to use 2x 18650s if I can fir them, but would there be an issue charging them if they are connected to your board in parallel?

I suspected that board colour was arbitrary, but it's good to have it confirmed.
The on-board USB charger is designed to charge a single Li-Ion battery. If you want to use multiple ones in parallel, you can still use the board, but have to charge your system in a different way.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Feb 05, 2018, 12:56 pm
Yeah in that case I will definitely be using a single battery. Not to worry.

Thanks for the help and I will definitely be putting in my order in the coming days.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Feb 08, 2018, 04:42 pm
Good news for all the fans of Arduino sabers, now the DIYino boards have a new home:
Home of the Arduino Saber (http://www.protowerkstatt.com)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 01, 2018, 12:55 pm


Hi fellow Arduino forum members,

Spring is coming, and with that the good news!

I proudly and happily announce the newest member of my Arduino compatible family of boards, the

DIYino Stardust V3 (NEW!!!)



(https://cdn.website-editor.net/85bc6b3df1aa41ad817a0ccdd84d8e64/dms3rep/multi/f4deaf35-053d-4231-9254-41de8e0c7653.jpg)

The V3 merges the best of two worlds: the Prime V1 and the Stardust V2, I consider the V3 as the ultimate Arduino Saber board based on the Nano design.

The changes in a nutshell:
- (NEW) SD-card to hold the sound files, no limit on how many sound fonts you can install
- (NEW) can be charged via USB and via Recharge Port, you have the choice
- (NEW) includes on-board wiring for interrupt triggered, low latency clashes
- (NEW) comes with a pre-loaded generic saber code for an easy start


What stayed:
- USB charging circuitry on board to charge a single Li-Ion 3.7V battery
- an Atmega328P-AU (based on the Arduino Nano)
- MPU-6050 6-axix accelero- and gyrometer for gesure/motion detection
- YX6300-24SS Wav/MP3 decoder (same chipset as on the DFPlayer Mini)
- 3W audio amplifier
- 3 Low Side drivers capable of handling ~2.4A each, to drive loads like RGB LEDs, small motors etc.
- compact size 51mm x21mm x 6mm (only slightly larger than a Nano but with a lot more functionality!!!)
- low deep sleep mode current consumption (<300uA)
- fully compatible with FX-SaberOS (https://github.com/Protonerd/FX-SaberOS)


**********************************
Buying a DIYino Stardust v3 (new!!!) board:

Simply follow the link to my website. All information regarding order, payment, shipping and specs you can find there:
Buying a DIYino board (https://www.protowerkstatt.com/diyino-prop-boards)


**********************************************

(https://cdn.website-editor.net/85bc6b3df1aa41ad817a0ccdd84d8e64/dms3rep/multi/DSC_5453_kicsi.JPG)

(https://cdn.website-editor.net/85bc6b3df1aa41ad817a0ccdd84d8e64/dms3rep/multi/DSC_5458_kicsi.JPG)
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Messiahlad on Mar 02, 2018, 02:43 am
Absolutely excited about this board. I am now glad that I haven't had the funds to buy a stardust as this is the board that ticks all the boxes for me. Well done Protonerd.

As for ordering, I see the boards are available for pre-order. Is there an approximate instock or available timeframe for them. I am guessing you will want to test them all before shipment so I'm planning my building around availability.

Thanks again for everything you have done for aduino sabers.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 02, 2018, 12:23 pm
Absolutely excited about this board. I am now glad that I haven't had the funds to buy a stardust as this is the board that ticks all the boxes for me. Well done Protonerd.

As for ordering, I see the boards are available for pre-order. Is there an approximate instock or available timeframe for them. I am guessing you will want to test them all before shipment so I'm planning my building around availability.

Thanks again for everything you have done for aduino sabers.
In fact I already have my first prototype batch and built already a saber with the 1st one :) works perfectly. So proof of concept is done.

The V3 is in pre-order, which means I will collect a certain amount of orders before starting the assembly (I always plan ahead, so the PCBs are in fact already ordered), so the faster people order, the earlier they will get their boards.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: ArduinoMadd on Mar 05, 2018, 02:13 am
Nice! ...

Is there a schematic handy for this already? ... or is it the same as v2, wiring wise? wanna plan ahead and get supplies as well as make a hilt ...
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 05, 2018, 09:40 pm
Nice! ...

Is there a schematic handy for this already? ... or is it the same as v2, wiring wise? wanna plan ahead and get supplies as well as make a hilt ...
I just finished a draft User Manual for the V3.
https://github.com/Protonerd/DIYino/blob/master/DIYino_Stardust_v3_User_Manual_v1.pdf

The pinout is the same, except for some obsolete signals necessary only for the SPI flash, which has been replaced now with an SD-card slot. Wiring wise therefore its nearly the same as V2 but way easier.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: ArduinoMadd on Mar 06, 2018, 05:42 am
Excellent ... thanks Proto ...

Just finished Jake's (90 page+) thread and got totally confused at the end, as it went a bit off tangent ... bits of code here and there ... and it wasn't really evident how to put all the stuff together, mainly because everyone wanted to create their own versions/boards, etc ...

That left us, 'new to the scene' crew, a bit behind and dazed ... I personally would like to create a homebrew version 1st, before delving in to a ready made board ... hence why I'd like to play with the original basics of DIYuino ... with the bonus here being, you have documentation at hand ...

It might be just me being thick at times but laymen's comes in handy sometimes, even for the experienced person ... with that said ...

Is there a diagram out there to show how the Homebrew PRIME is wired, as in all the separate board modules wired together, before it became a dedicated PRIME board? ... just wanna muck about with DIYuino until v3 is ready ...



Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 07, 2018, 06:18 pm
Is there a diagram out there to show how the Homebrew PRIME is wired, as in all the separate board modules wired together, before it became a dedicated PRIME board? ... just wanna muck about with DIYuino until v3 is ready ...




In fact the V3 is ready and available, I'm just a careful guy who wants to keep commitments, therefore I wait until I have a bigger batch before starting sales in earnest. That said, I have a few V3 in stock and before they are gone I hope I will have the big batch.

Nevertheless you can check the FX-SaberOS Wiki for wiring diagrams by jbkuma, they explain perfectly how to build a homebrew. The homebrew of course is less than a V3, but I see how it fills folks with a sense of accomplishment to build a saber core from components.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: JakeSoft on Mar 09, 2018, 03:38 am
Excellent ... thanks Proto ...

Just finished Jake's (90 page+) thread and got totally confused at the end, as it went a bit off tangent ... bits of code here and there ... and it wasn't really evident how to put all the stuff together, mainly because everyone wanted to create their own versions/boards, etc ...

Yeah, sorry about that. If you want to build a home-brew DIYino but would prefer to write your own code, that's why I created the Universal Saber library. That way all the code you need to get started is on one place instead of spread around the thread.

https://github.com/JakeS0ft/USaber (https://github.com/JakeS0ft/USaber)

An example sketch (https://github.com/JakeS0ft/USaber/tree/master/Examples/Sabers/DIYinoSaber) is included that should be compatible with all of the standard DYIno hardware, home-brew or otherwise. It's very simple and intended to be a starting point for those that want to dive deep into making their own custom sketch for an Arduino-based saber.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: ArduinoMadd on Mar 11, 2018, 08:07 am
Proto:

Ok cool, so if I do a PayPal purchase, now, V3 will be in the post? :) ...


Jake:

Hey, don't be sorry man ... without you non of this Open Source Saber would be available ... I did not mean my post (above) to come over as a criticism ;) ... I just get so confused when 'I' cannot put things together ... I need more of an explanation, if you will ...

I have already played with USaber and the newer FX-SaberOS ... I'm slowly going through it all ...


thanks guys
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Mar 12, 2018, 07:02 pm
Proto:

Ok cool, so if I do a PayPal purchase, now, V3 will be in the post? :) ...


I still expect the V3 board to be out on time in April. I'm working hard to achieve the timeline. Actually a few are already out to testers and I will probably send out the board from my prototype run to those early birds first in the FIFO list.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Apr 05, 2018, 05:28 pm
I wanted to ask what sorts of speakers people normally use on their soundboards. I've done some researching and all I can seem to find are something called "lilypad speakers". From their specs, it doesn't seem like they'd have nearly the kind of output volume or quality that most arduino sabers seem to have, but I wanted to get a sort of poll on what most people normally use for audio output.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 06, 2018, 11:48 am
I wanted to ask what sorts of speakers people normally use on their soundboards. I've done some researching and all I can seem to find are something called "lilypad speakers". From their specs, it doesn't seem like they'd have nearly the kind of output volume or quality that most arduino sabers seem to have, but I wanted to get a sort of poll on what most people normally use for audio output.
The best ones I found so far are the 2W, 8Ohms 28mm speakers from VECO (like this: https://www.ebay.co.uk/itm/Veco-28mm-2-watt-8-ohm-Lightsaber-Speaker-X-3/112912006412?epid=22009256539&hash=item1a4a147d0c:g:zaMAAOSwevdaBt3Y). But I also made good experience with other 28mm or 20mm 2W speakers, important is the impedance, take 8Ohms.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: MaskedNozza on Apr 08, 2018, 07:08 pm
Thanks so much for all your help thus far, Protonerd! Once I have the speaker I'll be constructing my internal chassis and figuring out how my external chassis will go together! If I'm streaming some of it or upload a video, where would you prefer that I post a notification, if at all?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: CaptCosmic on Apr 11, 2018, 06:02 am
Protonerd,

I ordered one of the v3 boards a couple weeks ago from the site.  Do you have an updated ETA on when they will be shipping?
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Apr 16, 2018, 03:17 pm
Maybe the info was not sticking to the eyes, but I tried to get the message through that the V3 was at that time in pre-order, due in April.

I have therefore good news for you: this week I'm going to pick up the assembled batch, so I expect shipping in the course of next week.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: CaptCosmic on Apr 17, 2018, 04:17 am
Maybe the info was not sticking to the eyes, but I tried to get the message through that the V3 was at that time in pre-order, due in April.

I have therefore good news for you: this week I'm going to pick up the assembled batch, so I expect shipping in the course of next week.
Knew they were on Pre-order.  Just wanted to see if there was a more concrete shipping date.  Thanks for the info.  Looking forward to working with the board.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Bipe on Jun 23, 2018, 01:32 am
Hi Protonerd,

Thanks for creating this awesome board.  I recently bought a V3 for a saber I built and it's working great.  The DIYino with FX-SaberOS is a scratchbuilder's dream.

I'm starting another saber and I'd like to have more LED's.  Other than D11, D12, D13 and A0(D14) are there any pins that can be used for custom I/O?  It looks like D3 and D4 aren't used, but there are no breakouts for those pins.  
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Protonerd on Jul 11, 2018, 04:36 pm
Hi Bipe,

If you tell me for what purpose and what kind of LEDs you need, we could brainstorm how to make it happen. The Stardust V3 does not have any additional I/Os to drive LEDs or such, but since nowadays very often neopixels are used and for static lightning you can hook up an LED to the battery as well, let's see if you really need the extra pins.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: nguyer on Apr 26, 2019, 08:32 pm
Is this project still alive? It looks like https://www.protowerkstatt.com/diyino-prop-boards has been down for a while. I was hoping to order a Stardust board.
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: Messiahlad on Apr 27, 2019, 12:25 am
Andras has posted on the Facebook page that he is reworking the site for changes. Maybe contact him there for a board.

https://facebook.com/ProtoWerkstatt-740015792832712/
Title: Re: DIYino - an Arduino compatible board for prop electronics
Post by: nguyer on Apr 30, 2019, 01:28 am
Ah okay thanks. I don't have Facebook so I guess I'll just wait for his site to come back up. The new Infinity board sounds worth waiting for anyway.