MilesTag

Open Source Laser Tag => Open Source Lounge => Topic started by: Pingvin on December 25, 2014, 10:33:27 AM

Title: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 25, 2014, 10:33:27 AM
New project on STM32F103RET6 controller

PCB on OSH Park
https://oshpark.com/shared_projects/QR522afK

https://oshpark.com/shared_projects/8Rx9mt5f

https://oshpark.com/shared_projects/mzwjOQEH

Repository
https://github.com/PingvinOpenTag/ARMada-lasertag-system
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 25, 2014, 10:58:35 AM
Comments, feedback, suggestions?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on January 29, 2015, 07:17:57 AM
Small changes - added amplifier.
Suddenly handy, place enough.
.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 07, 2015, 12:33:40 AM
PCB Armada in real

Quality - super!
I recommend!
http://www.eng.pselectro.ru/
Title: Re: Open Source Laser Tag project - ARMada
Post by: Scorpy on March 07, 2015, 02:07:57 PM
Pingvin - Another great job pal, got to admire your ability to get things done quickly and with great results.  ;)  Scorpy
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 07, 2015, 11:36:27 PM
Pingvin - Another great job pal, got to admire your ability to get things done quickly and with great results.  ;)  Scorpy
Thank Scorpy.
More work is necessary to get the result.
But I hope it will turn out fairly quickly.

First, we need to collect at least one device and check - did not allow for errors in the design?
And then there is the difficulty - it is difficult to solder the controller in this case.

But nothing - break through!

But I must say at once - a complex project for self-assembly.

But what the artist does not want to "broaden the horizons"?  ;) :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 08, 2015, 09:44:07 AM
Have you seen the trailer?
War Thunder: "Victory is ours"

http://www.youtube.com/watch?v=0-J5Vg0SxLc
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 09, 2015, 11:51:48 PM
PCB in case.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 24, 2015, 02:41:34 AM
Armada white pcb first sound test
http://www.youtube.com/watch?v=nlHujkbn9-s&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 30, 2015, 07:16:04 AM
Аdjustable amperage through the IR diode (ARMada)
http://www.youtube.com/watch?v=G0Z-ZdUyHHI&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 02, 2015, 09:36:15 AM
Sensor for ARMada - D=30mm, RGB LED, two power levels of vibration motor.
Sensors detect lesions independently - 4 zones.
Title: Re: Open Source Laser Tag project - ARMada
Post by: 2wice on April 02, 2015, 03:33:24 PM
Looking good, well done.

Keeping a close eye on this.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 08, 2015, 03:56:55 AM
Now Armada itself can update the firmware of the controller with an SD card! Enough to write on the card with the firmware file (hex format), and call it update.hex
Armada itself update and starts firmware . :D ;)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 09, 2015, 10:36:28 PM
Armada amplifier test. Powered from 3V. Passive acustic.
http://www.youtube.com/watch?v=Iox3FGA9wtQ&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 14, 2015, 03:07:54 AM
Armada Bootloader from microSD card in work.
http://www.youtube.com/watch?v=-GjpptGK9Qc&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 22, 2015, 01:47:54 AM
Armada amplifier powered from 6V. 3W spiker
http://www.youtube.com/watch?v=pKlWXqm0ybY&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 30, 2015, 09:51:10 AM
Armada sensors PCB.
(http://www.open-tag.ru/forum/download/file.php?id=3368)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 07, 2015, 03:22:16 AM
Armada. RGB test
http://www.youtube.com/watch?v=ArDAGVtxMVE&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 07, 2015, 05:40:07 AM
ARMada. RGB test with cap
http://www.youtube.com/watch?v=DKRczdYpG_E&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Scorpy on May 07, 2015, 01:18:53 PM
Great work Pingvin, love the way it attaches to the ribbon lead.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 07, 2015, 10:37:43 PM
Great work Pingvin, love the way it attaches to the ribbon lead.
Thank you, Scorpy!
It's nice to read this.
I will try! ;) :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 12, 2015, 07:03:22 AM
Armada. Four sensors
http://www.youtube.com/watch?v=CgLOL7080w0&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 14, 2015, 09:50:50 AM
Armada. Sensors driver test
http://www.youtube.com/watch?v=hfxMOxfElk0&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Scorpy on May 14, 2015, 12:57:14 PM
Pingvin Great job,  does your sensors take hits individually, like head and body shots. 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 14, 2015, 10:44:09 PM
Pingvin Great job,  does your sensors take hits individually, like head and body shots.
Thank you, Scorpy!
And not only. The installation of the vibration motor in each sensor - it will be possible to determine where the bullets flew (from which direction). And there will be two levels of power vibration, depending on the greatness of damage.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 22, 2015, 05:10:51 AM
Armada. Sounds Manager Test
http://youtu.be/BWteek99NCY
Title: Re: Open Source Laser Tag project - ARMada
Post by: Scorpy on May 22, 2015, 09:21:28 AM
Pingvin Great job,  does your sensors take hits individually, like head and body shots.
Thank you, Scorpy!
And not only. The installation of the vibration motor in each sensor - it will be possible to determine where the bullets flew (from which direction). And there will be two levels of power vibration, depending on the greatness of damage.
First class Pingvin, that will make the games more realistic, being able to distinguish between body or head hits, or even direction of hit, would be great to have this on the MilesTag gear.  Hat of to you young man. 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 22, 2015, 02:12:21 PM
Scorpy, I even blushed! I plan to begin distributing wire kits in the near future. That they are available for purchase to the public. A protocol - MilesTag 2, of course! Only it is necessary to check all is well. The project I will not give in any case!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 24, 2015, 10:43:56 AM
Sensor with two  SMD RGB LED
Of course - independent.  ;)
(http://www.open-tag.ru/forum/download/file.php?id=3394)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 27, 2015, 12:17:16 AM
Now it is possible in a minimum configuration SD card not to - will be a separate unit purchased, if desired. . Under sounds reserve 400 kilobytes of controller flash memory  - enough for the basic version. Sampling frequency can be increased up to 22 kHz, for example - will sound more pleasant than an "Ascetic." To change the sound, perform the settings and change the firmware can be via USB. ;) :)
Now we have to figure out how to HID devices in Qt to work ...:?



(http://www.open-tag.ru/forum/download/file.php?id=3404)

(http://www.open-tag.ru/forum/download/file.php?id=3403)

 ;) 8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 27, 2015, 12:42:57 AM
(http://www.open-tag.ru/forum/download/file.php?id=3401)

(http://www.open-tag.ru/forum/download/file.php?id=3400)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 27, 2015, 06:00:27 AM
Here we live.
Third If the bear - do not hurt! He is very affectionate and loves ice cream!  ;) :D ;D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on May 29, 2015, 09:56:48 PM
  Hi Pingvin,
I started a LTAscetic kit in a ProtoBoard to test, but I'm really crazy about your new features at ARMada project!
 Could you send the PCB file and firmware for me to try incorporate some code for SCORE and RECOIL system?

 Thanks and congrats for your work! :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 30, 2015, 04:43:30 AM
New PCB.
ARMada-compact.
40x35 mm

Bluetooth, USB (HID-device and Li charging), bandana, graphical LCD display and SD card - for plug-ins.
But even without them, the entire basic functionality will be present, and the sounds too.

(http://www.open-tag.ru/forum/download/file.php?id=3413)

(http://www.open-tag.ru/forum/download/file.php?id=3412)

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 30, 2015, 04:45:51 AM
  Hi Pingvin,
I started a LTAscetic kit in a ProtoBoard to test, but I'm really crazy about your new features at ARMada project!
 Could you send the PCB file and firmware for me to try incorporate some code for SCORE and RECOIL system?

 Thanks and congrats for your work! :)

Of course You will get it! ;) :D

But the firmware is far from over!
Even reload is not finished writing, so much that did not finish.
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on May 30, 2015, 06:33:57 AM
Really great stuff with great features !!  8)
Really well thought project.
Do you have a github for Armada ?

Edit : Why you do not use an Arduino DUE as ARM Cortex-M3 CPU ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 01:15:37 AM
Thank you for the nice words and appreciation of my humble labors.
Comrades - what I want to achieve their projects?
I want the community were completely open source projects, these projects could compete with commercial projects.
For any creative person could use community developments and contribute to the development of the project.
So that he could realize his well wishes, without waiting for the mercy of commercial or proprietary products.


I svim abusing official position, created for the site hosting server company in which I work (forgive my employer is).

Website:  armada.ltascet.com 

Multilingual website. Today, it supports three languages ​​- Russian, English and German.
You can add any other language.
But I can not do it with one filling content and translation.

If you are willing to help - please become, I will give you administrative rights.
Or, alternatively - simply write articles and translations in any text editor and send it to me, I will post them on the site.

As for the repositories - I spread on githab already completed and audited projects.

Armada project is in development.
But if there will be willing to participate in the development of the project can be on the same site set up SVN or GIT.

In general - I welcome your suggestions.

Ready to open all the technical documentation and source code of firmware and software for the PC. But I'm afraid our local Russian producers do not disdain just copy our ideas and achievements.

I do not mind if they honestly say - we produce "Armada" and opened source firmware (I offered them a partnership, but was refused). But they did not! They just start to produce under its own brand and will close all of its firmware changes.

 Therefore, at first - let's work with the private repository, accessible only to registered participants.

What are your suggestions?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 01:44:42 AM
...
Edit : Why you do not use an Arduino DUE as ARM Cortex-M3 CPU ?
This option is considered! But the board has not found it necessary to my controller.
And then - the price of ...
But in terms of promotion of the open source project - that would be great!
Not everyone can solder the board, much easier to overpay and get ready.
So this option is not discounted.
Offers the option boards - see!
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on May 31, 2015, 05:07:04 PM
I have the opportunity to join the project for the translation (english to french) and also help to code or improve the firmware within the limits of my knowledge.  8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 10:34:59 PM
I have the opportunity to join the project for the translation (english to french) and also help to code or improve the firmware within the limits of my knowledge.  8)
Wonderful!
I am plagued by doubts - open source code for developers only, or spit on everything and completely open in access (then wait for the clones under different brands)? :-\
Vote?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 11:07:10 PM
And another moment - need to check for themselves the source license purity before opening.
The firmware used FreeRTOS, FAT-FS
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 11:15:17 PM
/*----------------------------------------------------------------------------/
/  FatFs - FAT file system module  R0.09                     (C)ChaN, 2011
/-----------------------------------------------------------------------------/
/ FatFs module is a generic FAT file system module for small embedded systems.
FAT-FS license

/ This is a free software that opened for education, research and commercial
/ developments under license policy of following trems.
/
/  Copyright (C) 2011, ChaN, all right reserved.
/
/ * The FatFs module is a free software and there is NO WARRANTY.
/ * No restriction on use. You can use, modify and redistribute it for
/   personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
/ * Redistributions of source code must retain the above copyright notice.
/
/-----------------------------------------------------------------------------/

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 31, 2015, 11:19:28 PM
FreeRTOS license

Quote
FreeRTOS is licensed under a modified GPL and can be used in commercial applications under this license without any requirement to expose your propriatory source code. An alternative commercial license option is also available in cases that:

    You cannot fulfill the requirements stated in the "Modified GPL license" column of the table below.
    You wish to receive direct technical support.
    You wish to have assistance with your development.
    You require legal protection or other assurances.

http://www.freertos.org/a00114.html

In my opinion there is some ambiguity. :-\

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 01, 2015, 04:00:15 AM
What do you think about this?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 05:59:26 AM
(http://www.open-tag.ru/forum/download/file.php?id=3427)

(http://www.open-tag.ru/forum/download/file.php?id=3426)
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on June 02, 2015, 08:57:40 AM
Looks good ! What is the size of the pcb ?
It seems that there is a signal wire which was not been rooted.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 09:16:59 AM
Looks good ! What is the size of the pcb ?
It seems that there is a signal wire which was not been rooted.

39x35 mm without SD modul
26x16 mm - SD modul
The module can be broken off and take out the wires at a convenient location for the installation.

This jumper wire. Well, really difficult with such a density of two layers do!
This is a three position switch fire mode will - single shots, long queue shots and  shots queue cutoff - 3 -5 rounds.



And what to do with the mounting holes? :-\
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 09:32:22 AM
Today tested sending IR packets.
According to calculations of the current should be greater than 1A at 100% of power.
R = 1,5 Om
V (on DAC output) = 3,7V (Li) *(128/255)=1,8V
I=1,8V/1,5Om = 1.2A

But the real current measure nothing.



But here the problem is one hundred on the IR diode drop at current 1A - 2,6V
So the actual current is lower, of course.
For more than 1A current was needed IR LED powered from a higher voltage.
Or reduce the resistance.

But in general Like all good. :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 10:31:57 AM
I am trying to deal with all sorts of descriptors USB HID - it's just some sort of ass! :o
Excuse the expression
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on June 02, 2015, 10:34:47 AM
 Hey Pingvin.
 What are the uses you plan to give to SD?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 10:47:39 AM
Hey Pingvin.
 What are the uses you plan to give to SD?
Store sound files. (already done)
Store the configuration file (the plans)
Change the firmware (done)
Store Statistics (plans)

Maybe someday the whole game logic bear in scripts on the card.


But I repeat - the card is not required!
This is an option.
In a minimum configuration without the card and Bluetooth module will be available to all the basic features, including sounds.

Instead, it can be connected to any extension module - the same standard GPIO, and the supply voltage is.


In general, so - it is a hardware platform that provides a lot of opportunities. Need all of them or not, and how to use them - solves every man for himself. The main thing - the opportunity is there, then there is a choice.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2015, 02:51:26 PM
The nearby town. But the project is closed and no detailed description.

(http://www.siblasertag.ru/images/blaster_plate.png)
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on June 04, 2015, 05:33:41 PM
Hi pigvin,

Before i fall on your Armada project here, i thought about an enhanced lasertag system but lack of time, i am not passed the design stage.
Your ARMda project has many similarities to what i wanted to do. I am following with interest your development.

(http://i18.servimg.com/u/f18/13/15/39/79/laster10.png)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 04, 2015, 10:21:30 PM
Hi pigvin,

Before i fall on your Armada project here, i thought about an enhanced lasertag system but lack of time, i am not passed the design stage.
Your ARMda project has many similarities to what i wanted to do. I am following with interest your development.


Hi!
I am ready to send you all the technical documentation and source code of the firmware (in the state to date).

I use DipTraсe (non-profit license - up to 1000 pins, key can be found on the Internet) - for the development of scheme and printed circuit boards.
Code for ARM controller write in CoIDE (CooCox).

I planned to add to the board USB connector and chip to charge the lithium battery, and also want to place on board switch. To the board was fully complete and require only the installation into the prepared casing.

Many plans, a lot of work - and hardware and firmware and Android LaserTag system (already there are concrete achievements and successes http://lasertagparts.com/forum/index.php?topic=557.msg3066#msg3066)

(http://lasertagparts.com/forum/index.php?action=dlattach;topic=557.0;attach=476;image)


 and PC soft and the need to study the description of the USB HID devices...

Connect.

As they say in Russia - "the mind - it's good, but two - better!"
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on June 05, 2015, 05:54:28 AM
Hi!
I am ready to send you all the technical documentation and source code of the firmware (in the state to date).

I use DipTraсe (non-profit license - up to 1000 pins, key can be found on the Internet) - for the development of scheme and printed circuit boards.
Code for ARM controller write in CoIDE (CooCox).


Yes, i'm interested in the source code and technical documentation to be able to contribute to the project.
Here i use Cadsoft Eagle but i think DipTrace is identical.

Thank you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 05, 2015, 07:21:58 AM
Hi!
I am ready to send you all the technical documentation and source code of the firmware (in the state to date).

I use DipTraсe (non-profit license - up to 1000 pins, key can be found on the Internet) - for the development of scheme and printed circuit boards.
Code for ARM controller write in CoIDE (CooCox).


Yes, i'm interested in the source code and technical documentation to be able to contribute to the project.
Here i use Cadsoft Eagle but i think DipTrace is identical.

Thank you.

Well, today will form the archive. Then I tell you how to fix a project that he compiled from you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 05, 2015, 09:08:12 AM
Firmware source
https://yadi.sk/d/NsmE0Qx7h6iEJ

Archive with a password. To know a password - write me a private message.

Install the new version CooCox.

Create a new project, specify when creating the controller STM32F103RET6, remember the path where you saved the project.

Download the archive with the source files, unzip

To compile the project, get in the file
ARMada_work/rtos_103_SDIO_FAT_complite/rtos.coproj


 lines
 </MemoryAreas>
        <LocateLinkFile path="c:/documents and settings/xxxx/application data/coocox/coide/configuration/programdata/armada/arm-gcc-link.ld" type="0"/>
  <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="C:\Documents and Settings\xxxx\Application Data\CooCox\CoIDE\config\flash\CooCox-Flash\CoIDE_STM32F1xx_HD_512K\STM32F10x_HD_512.elf"/>



And replace them with a similar string of you created a new project file (with the extension .coproj)


Do not forget to install a compiler!
I think - I work with version 4.7.

Good luck!
There will be questions - ask.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 05, 2015, 09:36:47 AM
Hardware (DipTrace)
https://yadi.sk/d/HajPtzJTh6mPv
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 09, 2015, 01:22:41 AM
I lowered the clock frequency to 24 MHz
Current consumption has decreased by half.

Now
33 mA - Standby consumption with all peripherals (except for the Bluetooth module).
21 mA - all disabled, only the controller and opamp.

 8) ;)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 11, 2015, 02:13:44 AM
ARMada. USB mass storage+SD card

http://www.youtube.com/watch?v=69mH1rcADbs&feature=youtu.be
 8) ::)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on June 24, 2015, 08:36:57 AM
  Hey Sir Pingvin, send news to us!  :)

 I open this page every day to follow the news.
 Cheers.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 27, 2015, 01:29:36 PM
  Hey Sir Theuer!
I am now on holiday, a week spent in the salty lake, just arrived today, so little news.
I make a new version of the board. There will be USB and want to connect a graphical display from Nokia.
(http://dvrobot.ru/images/products/product_img_473.jpg)
http://dvrobot.ru/239/473.html
Well, if USB - God himself commanded to put the chip controller to charge the lithium battery! ;) :D
And still do influences include SD card easily retrievable, then changed his mind - again you can use the mode USB storage mass - why did it once again to pull, let it be within the housing.
So far, it looks like this (Incomplete!)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on June 30, 2015, 10:10:37 PM
  Greeeeat add!
 This display from Nokia will add almost endless possibilities of menu with characters, numbers and symbols.

  Thanks.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 02, 2015, 10:12:43 AM
Armada with USB (PCB in DipTrace)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 17, 2015, 12:34:44 PM
Armada_usb_lcd. 3D model of PCB
http://www.youtube.com/watch?v=DnWEJOP0_Cc&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on July 17, 2015, 09:26:34 PM
  :) :) :) :)
 I'm still open this page every day to follow the news!

 The pcb is looking cool!

 Any news with Nokia display?

 What is the current overview of your software?

 Greetings, Theuer.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 19, 2015, 12:11:02 PM
  :) :) :) :)
 I'm still open this page every day to follow the news!

 The pcb is looking cool!

 Any news with Nokia display?

 What is the current overview of your software?

 Greetings, Theuer.

The display has not yet tried to connect. I plan immediately to the factory PCB try.
I do not think there will be problems hundred.
Firmware, too little time is given.
Configured UART, but the driver from the ring buffer is not yet ported.
Just I plan to rewrite the bootloader, if connected USB, Armada will be defined as an external drive (Mass storage device). When pulling the cord to check for updated firmware file (update.hex) and if detection - reprogrammed.
Everything will be over time!
Initially, hardware bring home to the mind.
I want to order the production of printed circuit boards with USB, but temporarily on a tight budget.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 20, 2015, 06:41:24 AM
Armada with vibro
http://youtu.be/Uy4e7hs8jvk
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 28, 2015, 01:55:24 AM
Lasertag device Armada. USB mass storage and bootloader. Update firmware
http://www.youtube.com/watch?v=TQTxgvxeS2Q&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on July 30, 2015, 05:11:35 AM
Armada. Setting using the ini-file.
http://www.youtube.com/watch?v=ek5hUZ6xgBQ&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 05, 2015, 06:58:44 AM
Trying to draw the design bandanas.
http://www.youtube.com/watch?v=Yvand9qBRbU&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 11, 2015, 05:26:33 AM
Armada. Set bluetooth from ini-file.

http://www.youtube.com/watch?v=X49ddlxmaQg&feature=youtu.be

Clarification: it was necessary to immediately delete the file system.bin. I forgot to do it, so do not change the settings to take effect.

This binary file contains the system settings. If the file is on the SD card, the settings are read from it. If not - then read from the configuration file armada.ini and saved as a new file sistem.bin
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 18, 2015, 01:42:01 AM
Armada is now also a small screen
(http://www.open-tag.ru/forum/download/file.php?id=3510)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 19, 2015, 04:48:11 AM
Armada with nokia5110 lcd
http://www.youtube.com/watch?v=HVAdwPbo390&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 25, 2015, 01:33:15 AM
Armada. Try variations of appearance of the user interface.
http://www.youtube.com/watch?v=QTjDicQpkDk&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 26, 2015, 04:49:14 AM
ARMada. Sound valume digital control
http://www.youtube.com/watch?v=eSwLndtOFJ8&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 18, 2015, 01:26:54 AM
Android Lasertag System. Send avatar picture test
http://www.youtube.com/watch?v=HjMsT5_AYGE&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 18, 2015, 11:57:34 PM
Android Lasertag System. Send Picture Test (on hardware)
http://www.youtube.com/watch?v=ntsE21ynsk0&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 21, 2015, 12:58:35 AM
Little fresh information on the project ...
Current scheme and topology today
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 21, 2015, 02:14:09 AM
GERBER files
http://yadi.sk/d/31jDP4nxjDEHX

DipTrace files
http://yadi.sk/d/qo__o08BjDEMB
http://yadi.sk/d/z2uv8wRKjDEMb


Title: Open Source Laser Tag project - ARMada fu
Post by: oneil on September 21, 2015, 03:07:23 AM
Hi pingwin
very good job, your project i very interesting.
Can you give the all the functions ? ( bluethoo, captor, parameter software,.....)

thank you

oneil
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 21, 2015, 03:52:38 AM
Complete list of options until you can not give as a project under development.
While everyone is tested on the breadboard.
Printed circuit board new version I received second a week.

Already implemented (you can see on the video in the post above)
The basic game features:
Shooting single, automatic, semi-automatic
Independent of the affected area, with an independent display (RGB leds) and Vibo.
Smooth adjustment of the current through the IR LED - 100 levels (can up to 255).
Adjustable exactly current, but not the duty cycle.
Although the duty cycle can be adjusted as desired.

Playback of audio files (wav format) placed on the SD card.
The software volume control sound effects.

The wireless connection using Bluetooth technology between the tag and the bandanna, and between tag, bandana and your smartphone.

Update firmware directly from the SD card.

Full customization of the system through the ini-file

The new version added:
USB
This allows the device to operate in a mode of mass-storage, it is possible to replace the sounds, edit ini-file, update the firmware directly from the SD card, without disassembling the device and extracting SD card.


Charge the lithium battery through USB connector.

Added a graphical LCD (Nokia 5110).



That's what I remember ...



The plans - the integration of the device in the Android lasertag system without losing the basic functionality.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 21, 2015, 04:43:58 AM
The test results of the first version of the PCB identified deficiencies.
Namely - the high-frequency interference from Bluetooth module fell into the sound signal path.

It is not critical, but it is unpleasant ...

Therefore, in the second version taken measures to reduce interference.
Separated by "grounds" amplifier, Bluetooth module and the controller.
Antenna Bluetooth module placed outside the board.
Chip amplifier is placed closer to the signal source.
Added filters on the power supply.

How effective these measures will practice.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 28, 2015, 04:13:43 AM
I got a new version of the printed circuit boards Armada - with USB
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on September 28, 2015, 02:28:16 PM
 Hi Pingvin, it's me again!

 Good ideia put the bluetooth antenna a little out of board!

 Do you think now ARMada is ready to play with friends?
 Here in my town there was only one Paintball field. And now it went bankrupt!
 I can't wait to change my old uMT to new ARMada end return to play!

 Great job!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 28, 2015, 11:12:57 PM
Thank you!
Now I begin to solder the new version of the device.
Wish me good luck!
If I do not find serious errors in the printed circuit board and it will work as it was intended - yes, the product is ready for consumption!

Next - to improve the firmware can be infinite.
It laid great potential.

Armada will interact with a smartphone, with all its consequences.
But the ability to work without a smartphone will be saved.

To switch from one  to the other games mode will be a microswitch, budnt do not need to change the settings, the device will do everything itself.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 02, 2015, 04:01:48 AM
The result of the struggle with interference from Bluetooth
http://www.youtube.com/watch?v=iZujqAgqe6s&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 15, 2015, 04:20:27 AM
ARMada. Fire mode switch test
www.youtube.com/watch?v=pVDYI3gl0tI&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: CaptainJack on October 18, 2015, 06:53:36 AM
Pingvin,

I must say: very impressive work !

Cheers,

Jack
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 18, 2015, 10:35:05 PM
Pingvin,

I must say: very impressive work !

Cheers,

Jack
Thank you value my modest contribution to the development LaserTag systems.
Nicely.  :D 8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 18, 2015, 10:46:14 PM
Guys - that's another very interesting project from Russia - Caustic!
(http://www.open-tag.ru/forum/download/file.php?id=3642)
(http://www.open-tag.ru/forum/download/file.php?id=3643)
(http://www.open-tag.ru/forum/download/file.php?id=3644)
(http://www.open-tag.ru/forum/download/file.php?id=3645)
(http://www.open-tag.ru/forum/download/file.php?id=3646)
http://www.open-tag.ru/forum/viewtopic.php?f=5&t=4128&start=410

Hardware is open, firmware - proprietary.
http://github.com/caustic-lt-system/caustic-public
Author literate person.
The controller uses the same.
In Caustic implemented radio coverage with radios.
More feature of the project - a modular, mezzanine architecture.
I did not once think about it.
And then - a vivid example of successful solutions!
The controller on the  separate PCB with SD card.
And connected to it, depending on the desired functionality - shields.
I really wanted to make shields for the Armada.
That is, at one and the same Core module can operate two different systems.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 22, 2015, 01:39:57 AM
ARMadaUSB bootloader
http://www.youtube.com/watch?v=9GYL-bRUj3M&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 23, 2015, 12:50:19 PM
The project "ARMada" and the project "Caustic" will have a common core!
(http://www.open-tag.ru/forum/download/file.php?id=3642)
I hope - this is the first step towards creating a common open hardware platform HSL
Yes, even with an open architecture.
Different functionality is achieved by connecting the corresponding Shield from different developers.
Just I hope that free access to these modules will reduce the barrier to entry in the independent development of laser tag systems.
As the main deterrent - it is just the complexity of the soldering controllers in the SMD package.

In essence - this is a 40-legged DIP controller and even with strapping and SD card.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 28, 2015, 02:09:05 AM
ARMada and RC command
www.youtube.com/watch?v=pS9ajj01kQo&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on November 13, 2015, 01:22:35 AM
The first sketches Schild weapons.
Interfaces:
"Classical" Headband
bluetooth
The radio
Graphical LCD
USB
Connector for an external power amplifier (if required)
Power input from the external battery for the real time clock
Buttons (2 analog inputs, distinguish three states)
IR diode
LED backlight
Power connector
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 04, 2015, 12:34:27 PM
ARMada. Smart lasertag bandana
www.youtube.com/watch?v=bho24huOdeQ&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 06, 2015, 11:04:51 PM
What's inside?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on December 07, 2015, 10:26:25 AM
 Hi Pingvin, your work is amazing!
  Long time I try to log in here to keep talking about your ARMADA but could not time.
  ARMADA is still very neat and powerful.

 I have a big doubt on output pins...

 There is the chance of being created two pins for simple signal output??? Just 0~1  ;)

 My great frustration with Milestag is the difficulty of creating a signal output for shot recoil and another for received shot feedback.

Recoil like this:
https://www.youtube.com/watch?v=YD-qo7HKBFU

and for being shot, I think two types of feedback. Vibration motors and EMS for biceps or chest like this:
https://youtu.be/UntF0-__IpI?t=59s

 Again... Congratulation for this amazing work!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 07, 2015, 10:03:02 PM
Thank you!

Do not worry - we find a pair of contacts for you! ;) 8)

Here are three logical contact and more ground and power.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 08, 2015, 12:30:53 AM
Add 2 buttons

Now it can be a first aid kit, and a base, and a bomb - anything.  8)
In tennis you can play and listen to music.  ;D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 08, 2015, 03:04:10 AM
Add switch
http://www.youtube.com/watch?v=avYi1sWIZ3A&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on December 08, 2015, 09:31:25 AM
  I really need to play with it !!!  ;D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 09, 2015, 12:57:38 AM
  I really need to play with it !!!  ;D
No problems! ;) :D 8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 09, 2015, 06:00:37 AM
www.youtube.com/watch?v=-n1K6eA_xXI
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 21, 2015, 12:03:42 AM
Now tag
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 21, 2015, 12:04:48 AM
...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on December 24, 2015, 03:40:35 PM
 Ho ho ho...

  It's just a little better than my first 2009 prototype!  ;D

 Greeeat Job!

 Merry Christmas my friend.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 24, 2015, 09:40:14 PM
Thank Theuer!
Merry Christmas! :D

Tag work
http://www.youtube.com/watch?v=oOEMvbp3Kv0&feature=youtu.be
 :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 02, 2016, 11:05:12 PM
People here have anyone alive? Ay!

I've color screen is connected to the Armada.

ARMada and TFT. Same text
www.youtube.com/watch?v=ER-vJQ4dutU&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: mirotes on February 03, 2016, 05:00:42 PM
Very nice.  :D
Do you Sell this?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 03, 2016, 09:53:13 PM
Very nice.  :D
Do you Sell this?
Hardware is open.
If someone is difficult to solder their own devices, we can think about mass production.
But first we have to finish everything and put release.
Printed circuit boards are available - no problem!

Nothing I will not hide!

All those wishing to accelerate the development and take part in the project - welcome! ;) 8)

Now I begin to teach Armada draw pictures in BMP format.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 04, 2016, 01:11:03 AM
ARMada & TFT. Same Pictures.
www.youtube.com/watch?v=KmVC8TVrvS4&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 11, 2016, 03:39:03 AM
ARMada. Calendar & Clock
www.youtube.com/watch?v=i-Vyjcryxg0&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 13, 2016, 03:47:07 AM
New variant to sensor
www.youtube.com/watch?v=HWtnAPp0dd8

(http://forum.easyelectronics.ru/download/file.php?id=26708&t=1)

(http://forum.easyelectronics.ru/download/file.php?id=26707&t=1)
Title: Re: Open Source Laser Tag project - ARMada
Post by: c0m4r on February 16, 2016, 10:41:48 AM
Nice :) But PCB will be expensive due to carving cost...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 16, 2016, 10:22:41 PM
Nice :) But PCB will be expensive due to carving cost...
Unfortunately, you're right ...
A one printed circuit board is about $ 1.3 (subsequent orders will be a bit cheaper).
I can not solve the problem with cases. Сonnectors too big.

The bill for the production of already paid.
Two weeks should get ready to printed circuit boards - we'll see that this floor...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 01, 2016, 02:58:02 AM
new sensor pcb
www.youtube.com/watch?v=bJciM7nyZXg&feature=youtu.b
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 09, 2016, 11:13:48 AM
ARMada & WS2812B
www.youtube.com/watch?v=7LhttfF-OV0&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on March 31, 2016, 11:15:29 AM
New variant to sensor
www.youtube.com/watch?v=HWtnAPp0dd8

(http://forum.easyelectronics.ru/download/file.php?id=26708&t=1)

(http://forum.easyelectronics.ru/download/file.php?id=26707&t=1)

Hello Pingvin,

Have you a scheme for this new sensor please ?
Thank you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 04, 2016, 04:43:01 PM
Hello,

I tried to work on a sensor with 3 tsop4856, 2 RGB LEDs 5050, 1 vibromotor , shift register (SPI daisy chain).
To study only and not for production yet.

Click on the thumbnail :
(http://img15.hostingpics.net/thumbs/mini_396487Scheme.png) (http://www.hostingpics.net/viewer.php?id=396487Scheme.png)

PCB rendering (not perfect) : click on the thumbnails.

Top :
(http://img15.hostingpics.net/thumbs/mini_405719sensortop.png) (http://www.hostingpics.net/viewer.php?id=405719sensortop.png)

Bottom :
(http://img15.hostingpics.net/thumbs/mini_684816sensorbottom.png) (http://www.hostingpics.net/viewer.php?id=684816sensorbottom.png)


What do you think Pingvin and others ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 07, 2016, 12:12:46 AM
A long time not looked!
Unfortunately, the correct circuit scheme I have not.
I did the layout, tracer directly into the PCB.
But I am sure to make and lay out!
Now I am working on a graphical interface for the small screen color.
That scheme-draft https://yadi.sk/i/zhttp4vFqbfDG
Today, the loan principal sensor scheme!
I go there more IR diodes placed yet.

I liked your sensor!
If you do not mind - I will try to do similar.
But something needs to be fixed.

And how do you want to solve the problem of cases for sensors?

What connectors are planning to use?
You have placed them at the bottom?
But there must be contact with the human skin, to feel the vibration.
How we solved this problem?


Next time I will try here to order such sensors.


I want to make the backlight player's team color.
Therefore, adding two transistors and resistors - to adjust the brightness of the LEDs.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 07, 2016, 04:10:44 AM
Scheme


P.S. R16 = 100
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 07, 2016, 10:48:39 AM
I liked your sensor!  Thank you

If you do not mind - I will try to do similar.
But something needs to be fixed. Ok

And how do you want to solve the problem of cases for sensors?

I design a sensor base to be printed in 3D with a 3D printer (reprap or not).
(http://img15.hostingpics.net/thumbs/mini_699716renderingbasesensor.png) (http://www.hostingpics.net/viewer.php?id=699716renderingbasesensor.png)

The clear plastic dome can be bought here : http://www.ema-models.co.uk/index.php/acrylic-plastic-shapes/hemispherical-domes/clear-domes/hemispherical-head-44-5mm.html

The STL file for the base to be printed is on my thingiverse repository here : http://www.thingiverse.com/thing:1469092


What connectors are planning to use? only wires soldered to the pcb ; no connectors
You have placed them at the bottom? The vibromotor is on the top of the pcb.

But there must be contact with the human skin, to feel the vibration. I don't know if these vibrating motor need to be near the skin to feel vibration ? http://fr.aliexpress.com/item/Wholesale-10PCs-Lot-x-DC-3V-60mA-9000-2000RPM-Phone-Coin-Flat-Vibrating-Vibration-Motor/32608222993.html?spm=2114.06010108.3.1.SbiBGh&ws_ab_test=searchweb201556_0,searchweb201602_5_301_10034_507_10032_10020_10017_10005_10006_10021_10022_401_10018_10019,searchweb201603_8&btsid=c90b2531-91a7-4686-b45d-fdaf04d0f05d
How we solved this problem?


Next time I will try here to order such sensors.


I want to make the backlight player's team color. Are they the same LEDs that feedback LEDs ?
Therefore, adding two transistors and resistors - to adjust the brightness of the LEDs. How can you do pwm ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 07, 2016, 11:19:23 AM
Scheme


P.S. R16 = 100

Thank you for the scheme.

What is the role of the IR LED (D2) on your scheme ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 07, 2016, 12:25:38 PM
Scheme


P.S. R16 = 100

Thank you for the scheme.

What is the role of the IR LED (D2) on your scheme ?

Yes a lot of things!
Medic can heal.
Distribution of ammunition.
"Radiation" or "plague" - infect others.
Selection of captured weapons.
Distribution of "blast wave" from the bombs.
Radar walls.
We can smoothly adjust the IR radiation power.
Yeah, a lot of things you can think of ...
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 07, 2016, 12:52:02 PM
Great, I get it !
Very interesting features to which I had not thought  8)

Is it a TSAL6100 as in the taggers ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 08, 2016, 01:58:32 AM


Is it a TSAL6100 as in the taggers ?
Yes
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 08, 2016, 11:10:21 AM
Ok.

On your scheme, why do you connect the IR led on pin 5 of the connector ? Why you don't use an output from the shift register (U1) to run the IR led ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 09, 2016, 04:04:44 AM
Ok.

On your scheme, why do you connect the IR led on pin 5 of the connector ? Why you don't use an output from the shift register (U1) to run the IR led ?
56 KHz  from the shift register?  ???
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 09, 2016, 01:01:40 PM
Indeed, I have not thought at all to the frequency. You are right.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 12, 2016, 10:18:40 PM
Armada. GUI for Color LCD
www.youtube.com/watch?v=4aZQyEAsOSY&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on April 13, 2016, 09:30:39 AM
Very nice GUI !  8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 26, 2016, 10:53:24 PM
ARMada bandana with color lcd.
www.youtube.com/watch?v=bH7kO5jUSnk
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 13, 2016, 03:01:04 AM
Connecting peripherals
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on May 16, 2016, 07:13:59 PM
  Hi Pingvin, I'm not writing ever, but still following your project and inspiring me in it.
 After I did the 12V Recoil system,
I'm now working on the force feedback system with Muscle Stimulation.

 When I get to work, I put here the electronic diagram and instructions.

 See you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 16, 2016, 09:38:59 PM
  Hi Pingvin, I'm not writing ever, but still following your project and inspiring me in it.
 After I did the 12V Recoil system,
I'm now working on the force feedback system with Muscle Stimulation.

 When I get to work, I put here the electronic diagram and instructions.

 See you.
Hi !
OK  8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 26, 2016, 04:02:51 AM
Another variant of the sensor
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 25, 2016, 01:56:33 AM
ARMada backlight
www.youtube.com/watch?v=yw5fMzCXiXA&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 08, 2016, 02:56:25 AM
ARMadaGameOver
www.youtube.com/watch?v=ldeCwaxwkpw&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Scorpy on September 08, 2016, 01:12:02 PM
Pingvin, Love your vibrating sensors. Great work again.  Scorpy
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 08, 2016, 11:44:53 PM
Pingvin, Love your vibrating sensors. Great work again.  Scorpy
Thank you, Scorpy! Vibro in each sensor, in order to be able to determine the direction from which "flew a bullet." Sensors independent, if you remember. Additionally, you may have noticed - added a "backlight" team color sensor, to identify the player's affiliation to one or another team. Backlight brightness adjustable - 8 levels of brightness (and Vibro have 8 levels too). I want to start serial production.
Title: Re: Open Source Laser Tag project - ARMada
Post by: ezio on September 09, 2016, 10:08:32 AM
Hey Pingvin.  This is the first time I'm really looking into this project, and I just wanted you to know that I'm very impressed!  I loved the idea of putting the vibration motors in the sensors, and to make the sensors independently register hits.  Very thoughtful!  I will be watching this project unfold very closely.  Excellent, excellent work!

Круто! Кпёво!  За здоровье!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 11, 2016, 05:19:33 AM
Hey Pingvin.  This is the first time I'm really looking into this project, and I just wanted you to know that I'm very impressed!  I loved the idea of putting the vibration motors in the sensors, and to make the sensors independently register hits.  Very thoughtful!  I will be watching this project unfold very closely.  Excellent, excellent work!

Круто! Кпёво!  За здоровье!
Thank you for your interest in the project and a flattering review! It's always nice when your efforts are appreciated. But it is not implemented yet, and half of the plan.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 15, 2016, 02:02:48 AM
Determination of the most likely areas where shot. When multiple sensors simultaneously.

 For example, if three sensors worked - vibrates (and highlighted in red on the video - for clarity) only the middle sensor. You can handle all the possible options.

www.youtube.com/watch?v=1MnslRGbFAI&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 10, 2016, 01:41:30 AM
ARMada: energy consumption
www.youtube.com/watch?v=zZI98gTnaeY&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 18, 2016, 12:58:50 PM
 Hi Pingvin, it's Theuer from Brazil again.

 I keep watching every week your progress in the ARMADA project. Its amazing!
 Do you still plans to make it available for partners or public like was the LTAscetic?
 I am asking this because Brazil is in crisis AGAIN :( and so I am with some free time to return to evolve my laser tag. I'd love to change the system of my kit for ARMada and try to contribute with some new features.

 The ARMada's site is down permanently?

 Thanks for all, see you.
Theuer
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 18, 2016, 03:14:57 PM
Scheme


P.S. R16 = 100

Thank you for the scheme.

What is the role of the IR LED (D2) on your scheme ?

Yes a lot of things!
Medic can heal.
Distribution of ammunition.
"Radiation" or "plague" - infect others.
Selection of captured weapons.
Distribution of "blast wave" from the bombs.
Radar walls.
We can smoothly adjust the IR radiation power.
Yeah, a lot of things you can think of ...

  I just read the whole topic again and saw some information that I had not seen before, "Distribution of "blast wave" from the bombs." THIS IS COMPLETELY BRILLIANT!
  With that we will finally be able to differentiate a simple grenade and RPG just by increasing the spread of the IR signal.

 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 20, 2016, 01:02:12 AM
Hi Pingvin, it's Theuer from Brazil again.

 I keep watching every week your progress in the ARMADA project. Its amazing!
 Do you still plans to make it available for partners or public like was the LTAscetic?
 I am asking this because Brazil is in crisis AGAIN :( and so I am with some free time to return to evolve my laser tag. I'd love to change the system of my kit for ARMada and try to contribute with some new features.

 The ARMada's site is down permanently?

 Thanks for all, see you.
Theuer



Hello my friend!
Armada - open hadrware project.
The scheme is in the public domain, but the new changed a bit - I set the low drop voltage regulator 3.3 Volts. Now I do not worry about the SD card, Bluetooth module and the small screen - now all in accordance with datasheet.
Directly from battary powered only sound amplifier and IR diode.
I can safely powered device from a voltage of 3.4 - 6V.

ARMada powered from 5V
www.youtube.com/watch?v=Q6_Gzr3gcXg&feature=youtu.be

Сurrent stabilization system via the IR diode will provide the same range of defeat  and when the battary fully charged, and when it is bursting.

Added protection against reverse polarity power supply.
Added connector for feedback motor.
Added connector, through which it is possible to program the controller using PC COM port or the USB-UART adapter.

For example, as thet
https://ru.aliexpress.com/item/Free-Shipping-1pcs-PL2303-USB-To-RS232-TTL-Converter-Adapter-Module-with-free-cable-PL2303HX/2036174569.html?spm=2114.14010208.99999999.264.Qfhoqt&detailNewVersion=&categoryId=400103


More has provided the ability to connect the radio module NRF24.
Now we can publish the release !!! ;) 8)

Printed circuit board can send right now according to the cost of production (to you personally - free), but they have a small structural error, that is easy to fix (see picture).
In the release, it will certainly be corrected.

As for the code - I do shun spread in open access, because they do not trust our local producers of lasertag equipment. They do not stop to use other people's open development.

But anyone who wants to develop the project and promises not to publish the source code (the code can be transmitted to others in the developers group) - I give the source!

And maybe later, I open the code completely ...

In binary firmware will be made publicly available.

Moreover - in the near future I'll want to establish serial production of finished products.
Prices are very democratic!

On site we will understand ...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 20, 2016, 05:40:59 AM
Site now work!  ;)
http://armada.ltascet.com
Who wants to - will create an account for you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 20, 2016, 12:32:19 PM
  Unbelievable job.
 Do you have some extras boards to sell?
  I tried register me in armada.ltascet but some error occurred. Recaptcha I think.
 Where can I access source code to learn, understand and try to help?

 This week I'm working on affordable "FlashBang"(sound Grenade).
Here in Brazil is almost impossible to find this grenades used for Airsoft, and CO2 cartridges and disposable spare shells are expensive. So, my project is a CNC grenade core mechanism with a Schrader valve to inflate with simple pump or compressor, steel air tank and nozzle to fit a PET Watter bottle(to explode).
Thus, the cost of this grenade per game is about zero!  :)
 
 I saw you added a plug for feedback!  ;) Thanks!

LET'S GO!!!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 20, 2016, 10:31:55 PM
  Unbelievable job.
 Do you have some extras boards to sell?
  I tried register me in armada.ltascet but some error occurred. Recaptcha I think.
 Where can I access source code to learn, understand and try to help?

 This week I'm working on affordable "FlashBang"(sound Grenade).
Here in Brazil is almost impossible to find this grenades used for Airsoft, and CO2 cartridges and disposable spare shells are expensive. So, my project is a CNC grenade core mechanism with a Schrader valve to inflate with simple pump or compressor, steel air tank and nozzle to fit a PET Watter bottle(to explode).
Thus, the cost of this grenade per game is about zero!  :)
 
 I saw you added a plug for feedback!  ;) Thanks!

LET'S GO!!!

I'll send a PCD for you free.
Registration on the site is disabled - otherwise the spam bots.
I will create an account for you.
The source code will give the link a little later, as soon as the archive will create.
To createn account for you, I need your e-mail address.
You can tell in personal messages.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 27, 2016, 03:13:51 AM
ARMada Release 1 scheme
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 27, 2016, 04:13:37 AM
 It's not a microcontroller with DC in and pins OUT, It's a veeery complex motherboard!
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on October 27, 2016, 05:21:53 AM
Yes, it's true ! it is a real motherboard. It's a great work.
I like to analyze the schematics to try to understand the functioning to learn.

Why use two outputs of the controller for the ir led and what are their roles  (IR_PWM_ADJ and IR_POWER_DAC) ?

Sorry for the beginner's questions.

Thank you.

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 27, 2016, 05:32:33 AM
Yes, it's true ! it is a real motherboard. It's a great work.
I like to analyze the schematics to try to understand the functioning to learn.

Why use two outputs of the controller for the ir led and what are their roles  (IR_PWM_ADJ and IR_POWER_DAC) ?

Sorry for the beginner's questions.

Thank you.

IR_PWM_ADJ - is output for  IR diode with current stabilization. The output IR_POWER_DAC exhibit the desired voltage, for example - 1 Volt. We obtain the current through the IR diode V / R = 1 / 1.5 (R23, R24) = 0.67 amps

IR Power Control
www.youtube.com/watch?v=G0Z-ZdUyHHI
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 27, 2016, 06:16:58 AM
Ahahaha, are you kidding?!  :)  ;D
 Great ideia! Well done.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 27, 2016, 07:53:41 AM
Ahahaha, are you kidding?!  :)  ;D
 Great ideia! Well done.
Another important function of the current regulator - to neutralize the fall in the range of defeat due to a decrease in the battery voltage during discharge. Range of defeat will be the same when changing the voltage in the range of 3.4-6 Volts.
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on October 27, 2016, 10:05:21 AM
Great. I understand the principle of the stabilization of the current depending the battery discharge.

However, it's a little hard for me to understand parts of the scheme.

At the moment I am particularly interested in the IR transmission part and I do not understand everything (IR_PWM_LOW_POWER, IR_PWM_ADJ).

IR_POWER_DAC is input  or output pin to the controller ?

Q2 and Q5 are IRLML2502 (not specified in the scheme) ?

:)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 27, 2016, 10:58:13 AM
Great. I understand the principle of the stabilization of the current depending the battery discharge.

However, it's a little hard for me to understand parts of the scheme.

At the moment I am particularly interested in the IR transmission part and I do not understand everything (IR_PWM_LOW_POWER, IR_PWM_ADJ).

IR_POWER_DAC is input  or output pin to the controller ?

Q2 and Q5 are IRLML2502 (not specified in the scheme) ?

:)

Q2 - IRLML2502
Q5,Q6 - IRLML5203

Q5 - Reverse polarity protection of power
IR_POWER_DAC - analog output

simplified diagram of a current regulator
(http://samlib.ru/img/b/burykin_w_i/generatortoka/generatortoka-9.png)

(http://samlib.ru/img/b/burykin_w_i/generatortoka/generatortoka-10.png)

(http://best-chart.ru/wp-content/gallery/nuzhnye-ustrojstva/sxema-stabilizatora-toka-na-ou-lm358-i-kt817.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: xfifi on October 27, 2016, 02:28:09 PM
Thank you very much for all that information Pingvin !
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 27, 2016, 11:04:51 PM
 The drop voltage is(was) a serious problem.
 Here in my kit, I always had IR range problems because high consumption of recoil force feed back and muscle simulator force feed back.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 28, 2016, 08:31:36 AM
So who dares to repeat?
Printed circuit board I'll send.
 ;) :)
I will try in the near future to issue technical documentation and schemes for assembly.

But firmware is not completed yet at 100%, I confess ...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on November 01, 2016, 10:14:05 PM
ARMada in the "Predator" (AK-12) case
www.youtube.com/watch?v=R19h5_Uk0kU&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Konigprasatko on November 02, 2016, 07:28:07 PM
Pingvin, your work is very impressive and inspiring. Thank you for being a pioneer and keeping this technology alive!
Title: Re: Open Source Laser Tag project - ARMada
Post by: istarion on November 20, 2016, 10:16:54 AM
I'm very interested in the ARMada project. Your innovations with the sensors in particular is very impressive. I sent an email requesting registration with your website. Looking forward to the chance of working with you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on November 20, 2016, 08:49:48 PM
I will be glad to cooperate!
The task is very much.
If the hardware is already more or less understood and implemented, then the firmware and software for Android need to write now.

First and foremost, of course - the program configurator.
There are already a configurator for the "Ascetic", written in Qt,
www.youtube.com/watch?v=n5ikXYz3mhE
but inconvenient to use widgets on small smartphone screens.
Therefore it is necessary to rewrite the program, using a bunch of Qt + QML.

Further:
Implement change the firmware on the bluetooth.
Write a program providing connection gun (or several guns) <-> Smartphone <-> bandana. Programmes at This will display all the game options, as well as liaise with other players via 3G (4G) long-distance or/and WiFi at close range.
There's a problem.
The first major - cellular operators do not provide the real IP address.
Therefore you need either a proxy server with a real IP or ...

I have a idea, already tested practically - use instant messaging server, for example - using XMPP protocol (jabber).

In parallel with the work to implement radios nrf24l +
The release version of the printed circuit board is provided - either using a connector for LСD, or connector to the bandana (through a special Shield).

In general - a lot of work, enough for all!

P.S. With regard to bandana - a new version of the sensor 8 vibration motor is used. 4 will be directly on the sensors, 4 more - between the sensors, they will vibrate when hit detected two adjacent sensor.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 02, 2016, 05:49:25 AM
New tag with ARMada  inside.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 02, 2016, 05:50:30 AM
New tag with ARMada  inside.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 02, 2016, 08:01:15 AM
Two cases I bought here http://laserwar.ru/shop/index.php?route=product/category&path=20_75

Each costs about $ 50

Talk to the manager, you want to buy on the stock.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on December 02, 2016, 09:12:39 AM
 Niiiiice setup!!!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 02, 2016, 10:45:19 AM
At the weekend - to a range of lesion test.
Diode - a narrow - 3 degrees.
But powerful - need to be careful, it is easy to exceed the safe level of infrared radiation.

This is my second tag in this case.
Before that I tested the first tag.
TSAL6100 issued 100m defeat range.
I think this is not enough.
Another diode, a little more powerful TSAL6100, but the wavelength of 890 nm - sure defeat in the 140 meters (more have not tried).

(https://pp.vk.me/c637120/v637120684/180d0/KllbGd2EEbc.jpg)
Tomorrow I will try this - 940 nm, 3 degrees.
But I know that the company where I bought the body, there is a certificate of hygienic safety in the use of such a diode in this case.
The only question is - what is the maximum safe current?

In extreme cases - can be used and a diode with a wavelength of 890 nm.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 03, 2016, 02:40:01 AM
Time about 14 hours, the temperature is 15 below zero degrees Celsius. Unfortunately out of space on the SD card, the test is not recorded completely. The maximum distance at which were registered hits - about 130 meters. We'll have to take my word.
www.youtube.com/watch?v=tiMkHheKCco
Title: Re: Open Source Laser Tag project - ARMada
Post by: ezio on December 04, 2016, 10:20:14 AM
Hey Pingvin --

The ASHQ taggers advertise a range of 1300 feet (~400 meters) using their "outdoor" setting, and I believe they're just using the TSAL6100 LED.  Based on the results you were getting with the TSAL6100, do you believe this claim is exaggerated?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 04, 2016, 11:27:40 PM
Hey Pingvin --

The ASHQ taggers advertise a range of 1300 feet (~400 meters) using their "outdoor" setting, and I believe they're just using the TSAL6100 LED.  Based on the results you were getting with the TSAL6100, do you believe this claim is exaggerated?

In cloudy weather, with a good lens - the real result.
But I deliberately held the test when the sensor is marred direct sunlight at noon.
Please note that the video I stand facing the sun and how the sun is blinding the camera.
The cloudy day and I can get a range of more than 300 m sure with this diode.
In direct sunlight the sensitivity of TSOP is much lower and range will be less - twice, that's for sure!
That is, at best, will be hitting the advertised tag under the bright sun on a 200 m distance.

But I have to TSAL6100 results much more modest.
Maybe worse optics maybe the current need to pass through the diode maybe more qualitative sight is needed - I have yet to find solutions.

Manufacturers, who I bought the case, argued that the range of lesions in the sun they have 154 meters, in the shade - 320m.
With this case theory I can not get a result above these figures.

www.youtube.com/watch?v=ihTnYPYm6BY
Title: Re: Open Source Laser Tag project - ARMada
Post by: ezio on December 05, 2016, 08:48:05 AM
In cloudy weather, with a good lens - the real result.

Ah!  Good to know.  Thank you for the information!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 29, 2016, 12:09:15 AM
smart sensor prototype with ws2812 smart RGB leds
https://www.youtube.com/watch?v=W_ekcYagpiw&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 01, 2017, 10:18:53 PM
ARMada and nrf24.
First steps.
Low-level drivers already working.
Read the values of registers and record the new values can already.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on February 03, 2017, 03:41:00 PM
Very impressive work Pingvin... I'm following closely now and want to build one to experiement with.

Is the NRF24 radio to replace bluetooth?  Advantage is lower power requirement, any other advantages?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 03, 2017, 09:55:01 PM
Very impressive work Pingvin... I'm following closely now and want to build one to experiement with.

Is the NRF24 radio to replace bluetooth?  Advantage is lower power requirement, any other advantages?

Hello!
No, bluetooth I plan to leave. After all, it can be used not only for connecting bandanas and tag, but also to connect with your smartphone.
Lack of bluetooth in that the network (common digital space of the battlefield), they can not build.
On the radio modules nrf24 can build a network with repeaters, in which each individual device can send data to any other device on a network.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on February 04, 2017, 09:20:46 AM
Very impressive work Pingvin... I'm following closely now and want to build one to experiement with.

Is the NRF24 radio to replace bluetooth?  Advantage is lower power requirement, any other advantages?

Hello!
No, bluetooth I plan to leave. After all, it can be used not only for connecting bandanas and tag, but also to connect with your smartphone.
Lack of bluetooth in that the network (common digital space of the battlefield), they can not build.
On the radio modules nrf24 can build a network with repeaters, in which each individual device can send data to any other device on a network.

A mesh network!  I am experimenting with some xbee radios right now for a similar purpose.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 06, 2017, 12:07:19 AM
No.
Mesh network - it's hard.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on February 14, 2017, 07:14:04 AM
  Hi Pingvin, do you know if this Development Board (STM32F103C8T6 based) works with your Firmware?
  For now, is the only STM32F103 I founded here in Brazil.
 See you!

 Update us with news! :)

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 14, 2017, 09:44:41 AM
Unfortunately no.
need stm32f103ret6

https://ru.aliexpress.com/item/10PCS-STM32F103RET6-LQFP64-ARM-new-and-original-IC-free-shipping/32468227246.html?spm=2114.14010208.99999999.293.dWjVFq
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on February 14, 2017, 10:26:11 AM
 It´s a pity... Importing products to Brazil is always a pain and long wait.
 Do you have the ARMada's pcb file with complete component list? I´m starting looking for the components and conectors.
 Thanks man.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on February 14, 2017, 10:25:47 PM
 One more thing...
Do you know why I got this:

 "#define SHORT_DURATION 4    //ìèíèìàëüíàÿ äëèòåëüíîñòü (â "òèêàõ") íåïðåðûâíîãî íàæàòèÿ êóðêà,
                     //íåîáõîäèìàÿ äëÿ ôèêñàöèè ñîáûòèÿ "êóðîê íàæàò"

 AHAHAHAHA
 Where are the our good old Cyrillic?  :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 14, 2017, 11:31:36 PM
Unfortunately, to date, not enough resources to produce the finished board.
Or at least a radio parts kits for the assembly and the printed circuit board.
Moreover - the project develops, constantly made some changes.

But I do everything possible in this direction.

I started making a list of components.
How do I publish.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 14, 2017, 11:34:06 PM
One more thing...
Do you know why I got this:

 "#define SHORT_DURATION 4    //ìèíèìàëüíàÿ äëèòåëüíîñòü (â "òèêàõ") íåïðåðûâíîãî íàæàòèÿ êóðêà,
                     //íåîáõîäèìàÿ äëÿ ôèêñàöèè ñîáûòèÿ "êóðîê íàæàò"

 AHAHAHAHA
 Where are the our good old Cyrillic?  :)

These are the problems with the encoding. :-[

UTF-8  <-> Windows CP1251


//минимальная длительность (в "тиках") непрерывного нажатия курка,
//необходимая для фиксации события "курок нажат"

http://www.online-decoder.com/ru
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 15, 2017, 05:05:30 AM
Preliminary list of components (generated DipTrace)
Later take the form of a spreadsheet.

RefDes   Value                        Pattern                            Name                 
_____________________________________________________________________________________________

С31      220u                         CAP_2815                           SMD электролит       
C1       47u                          CAP_1812                           CAP_1812             
C2       27                           CAP_0603                           CAP_0603             
C3       27                           CAP_0603                           CAP_0603             
C4       0.1u                         CAP_0805                           CAP_0805             
C5       0.1u                         CAP_0805                           CAP_0805             
C6       0.1u                         CAP_0805                           CAP_0805             
C7       0.1u                         CAP_0805                           CAP_0805             
C8       10u                          CAP_1206                           CAP_1206             
C9       0.1u                         CAP_0805                           CAP_1206             
C10      47u                          CAP_1812                           CAP_1812             
C11      20                           CAP_0603                           CAP_0603             
C12      20                           CAP_0603                           CAP_0603             
C13      0.1u                         CAP_0805                           CAP_0805             
C14      0.1u                         CAP_0805                           CAP_1206             
C15      0.1u                         CAP_0805                           CAP_1206             
C16      47u                          CAP_1206                           CAP_1812             
C17      0.01u                        CAP_0805                           CAP_1206             
C18      47u                          CAP_1812                           CAP_1812             
C19      10u                          CAP_1812                           CAP_1812             
C20      47                           CAP_0603                           CAP_0603             
C21      47                           CAP_0603                           CAP_0603             
C22      10u                          CAP_1812                           CAP_1812             
C23      0.1u                         CAP_0805                           CAP_0805             
C24      10u                          CAPAE-10.3x10.3h10.2               CAP_1812             
C25      0.1u                         CAP_0805                           CAP_1206             
C26      0.1u                         CAP_0805                           CAP_1206             
C27      0.1u                         CAP_0805                           CAP_1206             
C28      0.1u                         CAP_0805                           CAP_1206             
C29      10u                          CAP_1812                           CAP_1812             
C30      0.1u                         CAP_0805                           CAP_0805             
C31      0.1u                         CAP_0805                           CAP_1206             
con1     SWD                          PLS 1x3                            PLS                   
con2     Single/Auto/SemiAuto         MW-3M                              MW-3M                 
con3     IR                           PW-10-3M                           PW-10-3M             
con5     Keys                         MW-3M                              MW-3M                 
con6     flex cable for sensors       Copy_of_HDRF-2x5T/2.54x2.54/13x5   PLS                   
con7     POWER                        PW-10-3M                           PW-10-3M             
con8     VBat                         MW-2M                              MW-2M                 
con9     boot                         PLS 1x2                            PLS                   
con11    AmpliferPower                PLS 1x2                            con2                 
con12    Spiker                       MW-2M                              MW-2M                 
D1                                    MELF-D1405                         LL4148-GS08           
D2                                    MELF-D1405                         LL4148-GS08           
D3       LED                          GL561                              GL561                 
FB1      MI0805K400R-10               RES_0805                           RES_0603             
FB2      MI0805K400R-10               RES_0805                           RES_0805             
J1       flex cable for LCD/NRF24L+   PLS 1x8                            90131-0124           
J2       feedback motor               PIN1                               PLS                   
J3       UART                         PLS 1x4                            644456-4             
J4       miniUSB 5BF                  USB_J1_UX60-MB-5ST                 miniUSB 5BF           
L1       22uH                         IND_1206                           IND_1206             
L2       470nH                        IND_0805                           IND_0805             
L3       22uH                         IND_1206                           IND_1206             
Q1       IRLML2502                    SOT23                              IRLML2502             
Q2       IRLML2502                    SOT23                              IRLML2502             
Q3       IRLML2502                    SOT23                              IRLML2502             
Q4       IRLML2502                    SOT23                              IRLML2502             
Q5       IRLML5203                    SOT23                              IRLML5203             
Q6       IRLML5203                    SOT23                              IRLML5203             
Q8       IRLML2502                    SOT23                              IRLML2502             
R1       10k                          RES_0603                           RES_0603             
R2       10k                          RES_0603                           RES_0603             
R3       10k                          RES_0603                           RES_0603             
R4       10k                          RES_0603                           RES_0603             
R5       10k                          RES_0603                           RES_0603             
R6       4,7                          RES_0603                           RES_0603             
R7       1k                           RES_0603                           RES_0603             
R8       1k                           RES_0603                           RES_0603             
R9       PVZ2A                        PVZ2A                              PVZ2A                 
R10      100                          RES_0603                           RES_1206             
R11      3.3k                         RES_0603                           RES_0603             
R12      10k                          RES_0603                           RES_0603             
R13      10k                          RES_0603                           RES_0603             
R14      1M                           RES_0603                           RES_0603             
R15      1M                           RES_0603                           RES_0603             
R16      10k                          RES_0603                           RES_0603             
R17      10k                          RES_0603                           RES_0603             
R18      1M                           RES_0603                           RES_0603             
R19      1M                           RES_0603                           RES_0603             
R20      10k                          RES_0603                           RES_0603             
R21      10k                          RES_0603                           RES_0603             
R22      1k                           RES_0603                           RES_0603             
R23      3.3                          RES_1206                           RES_1206             
R24      3.3                          RES_1206                           RES_1206             
R25      1k                           RES_0603                           RES_0603             
R26      1k                           RES_0603                           RES_0603             
R27      10k                          RES_0603                           RES_0603             
R28      10k                          RES_0603                           RES_0603             
R29      10k                          RES_0603                           0603                 
R30      10k                          RES_0603                           RES_0603             
R31      1k                           RES_0603                           RES_0603             
R32      1k                           RES_0603                           RES_0603             
R33      1k                           RES_0603                           RES_0603             
R34      4,7                          RES_0603                           RES_0603             
R35      10k                          RES_0603                           RES_0603             
R36      0                            RES_0603                           RES_1206             
R37      1k                           RES_0603                           RES_0603             
R38      1k                           RES_0603                           RES_0603             
R39      1k                           RES_0603                           RES_0603             
R40      1k                           RES_0603                           RES_0603             
R41      100                          RES_0603                           RES_0603             
R42      100                          RES_0603                           RES_0603             
R43      100                          RES_0603                           RES_0603             
R44      2k                           RES_0603                           RES_0603             
R45      22                           RES_0603                           RES_0603             
R46      22                           RES_0603                           RES_0603             
R47      1.5k                         RES_1206                           RES_0603             
R48      470                          RES_0603                           RES_0603             
R49      470                          RES_0603                           RES_0603             
R50      10k                          RES_0603                           RES_0603             
R51      3.3k                         RES_0603                           RES_0603             
R52      100                          RES_0603                           RES_0603             
R53      470                          RES_0603                           RES_0603             
R54      1M                           RES_0603                           RES_0603             
R55      3.3k                         RES_0603                           RES_0603             
R56      3.3k                         RES_0603                           RES_0603             
R59      0                            RES_0805                           RES_0805             
R60      0                            RES_0805                           RES_0805             
R61      100                          RES_0603                           RES_0603             
R62      1k                           RES_0603                           RES_0603             
R63      1k                           RES_0603                           RES_0603             
R64      1k                           RES_0603                           RES_0603             
R65      1k                           RES_0603                           RES_0603             
R66      10k                          RES_0603                           RES_0603             
R67      10k                          RES_0603                           RES_0603             
R68      3.3k                         RES_0603                           RES_0603             
R69      10k                          RES_0603                           RES_0603             
R70      0                            RES_0603                           RES_0603             
T1       TDA2822M                     SOIC-8/150mil                      TDA2822M             
U1       STM32F103RET6                QFP-64/12x12x0.5                   STM32F103RET6         
U2       112I-TDAR-R                  Copy_of_DM3D-SF (micro sd)         microSD (push-pull)   
U3       HC-05                        BT_module                          BT_module             
U4        MCP601-I/SN                 SOIC-8/150mil                       MCP601-I/SN         
U5       MCP73831T-2ATI               SOT23-5                            MCP73831T-2ATI       
U6       NCP551/LP2985AIM5-3.3        SOT23-5                            NCP551               
Y1       8MGz                         HC-49S                             HC-49S               
Y2       32.768 KHz                   DT-38                              DT-38   
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 22, 2017, 12:17:59 AM
One person soldered  "Ascetic" (my other project) and that's what it became.
The resistor at the gate of the FET nominal value of 3.3K at a frequency of 56 kHz does not allow him to fully open. The fronts are filled up signal.
Compare ostsillogramy - one is 3.3K, while the second - 100 ohms.

(http://s42.radikal.ru/i096/1702/13/4bf149cbcebat.jpg)

(http://s16.radikal.ru/i191/1702/99/54e9e08ddd07.png)

(http://s016.radikal.ru/i337/1702/8d/d255c2c08258.png)


  In their the justification except to say that I do not have oscilloscope.
It was not possible to see the signal on the IR diode.

So criticize, make notes!
I can also be wrong ...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 22, 2017, 02:05:07 AM
Next variant.
The main change - this amplifier feedback voltage.
The resistance, which is supplied with the feedback voltage is reduced.
This is due to the fact that the power supply have a low voltage.
In a discharged battery just 3.4 volts.
With a large current to the IR diode voltage drop is also about 3 volts.
Therefore, "to adjust" it remains only 0.4 volts.
It enhances the voltage amplifier 5 times - up to 2 volts.
The maximum current must not be less than 1.5-2 Ampere.

Added Chip - protection of USB ports from static electricity.


The main thing for me to stabilize the current system worked well.
To defeat the range was high.

Everything else does not cause problems.

If all goes well with this version of PCB - I lay out everything on githab.
Sources also reveal and lay out as soon as the firmware will be completely ready.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 24, 2017, 12:04:03 PM
Comrade duaneb ordered printed circuit boards of the new release.
Amazing beauty! 8)
Several kits will send me.
For that he thanks a lot!
We will develop the project further ...
(http://i13.photobucket.com/albums/a255/DuaneB/20170224_095201_zps4uiyeeb3.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on February 24, 2017, 01:18:05 PM
 8)  happy to help!
Title: Re: Open Source Laser Tag project - ARMada
Post by: ezio on February 24, 2017, 03:11:02 PM
I didn't realize you were now selling your project!  I'd be interested in testing it out myself.  Can you tell me how much you're charging for the main board, assuming we purchase and solder on all the components ourselves?

Also, are you charging anything for the code?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 25, 2017, 01:25:21 AM
I didn't realize you were now selling your project!  I'd be interested in testing it out myself.  Can you tell me how much you're charging for the main board, assuming we purchase and solder on all the components ourselves?

Also, are you charging anything for the code?

Not sure correctly understood the meaning of the message.
I do not sell the project, the project will be opened under the GPL license.
No one is forbidden to independently order the production of printed circuit boards and make the device yourself.


The code will also be fully open, of course.


P.S. The code will also be fully open, of course.
The code will change slightly.
Just two pins reassigned.


Instead of the operational amplifier mcp601 in the new revision chip mcp6002

U7 - chip USBLC6-4
This protection against static electricity.


But let's not forget that this is still a prototype, we have to check everything in practice.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 02, 2017, 12:55:10 AM
The code will also be fully open, of course.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 02, 2017, 12:29:40 PM
TSOP4836... are you using 36kHz carrier frequency?  Why not 56kHz?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 02, 2017, 08:59:16 PM
TSOP4836... are you using 36kHz carrier frequency?  Why not 56kHz?
Should be 4856, of course!
This "copy and paste".
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 02, 2017, 10:16:59 PM
 Pingvin, what's U1?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 02, 2017, 10:58:54 PM
Correct.
Its for this sensors PCB
(http://i13.photobucket.com/albums/a255/DuaneB/20170224_095201_zps4uiyeeb3.jpg)

Printed circuit board sensors are designed for these case.

(http://laserwar.ru/shop/image/cache/data/datchik-480x480.jpg)

http://laserwar.ru/shop/index.php?route=product/product&path=17&product_id=274
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 02, 2017, 11:28:34 PM
 Pingvin, I'll need to bother you again...
 Do you have some BOM component list to V3 Board? I'm trying to create a list at mouser.com (because in Brazil there is almost nothing SMD) but it's almost impossible.
 How do you buy your components?
 Thanks.
 I'm studying "Mesh network", I hope to help to implement this feature in ARMada. ;)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 02, 2017, 11:39:32 PM
Comrade duaneb ordered printed circuit boards of the new release.
Amazing beauty! 8)
Several kits will send me.
For that he thanks a lot!
We will develop the project further ...
(http://i13.photobucket.com/albums/a255/DuaneB/20170224_095201_zps4uiyeeb3.jpg)

  It's OSH Park? It's V5? :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 03, 2017, 12:01:41 AM
  It's OSH Park? It's V5? :)

Comrade duaneb ordered this.

Yes - it's V5.
Yes - Ordered from OSH park in USA.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 03, 2017, 12:05:56 AM
Pingvin, I'll need to bother you again...
 Do you have some BOM component list to V3 Board? I'm trying to create a list at mouser.com (because in Brazil there is almost nothing SMD) but it's almost impossible.
 How do you buy your components?
 Thanks.
 I'm studying "Mesh network", I hope to help to implement this feature in ARMada. ;)


Well - I sit down to make a list of components and try to give links to buy them is not very expensive.



stm32f103ret6
(http://ru.mouser.com/images/stmicroelectronics/images/STM_QFP_64.jpg)
Very expensive!!!  :o
http://ru.mouser.com/ProductDetail/STMicroelectronics/STM32F103RET6/?qs=sGAEpiMZZMv8kklI404QlRKMvgl2sJFq

Much cheaper.
https://ru.aliexpress.com/item/STM32F103RET6-ST-LQFP64-16-IC-New-and-original-Free-shipping-in-stock/32718836835.html?spm=2114.14010208.99999999.289.I4DIHe


https://ru.aliexpress.com/item/Free-shipping-10pcs-STM32F103RET6-LQFP64-IC-256-to-512-Kbytes-of-Flash-memory-Best-quality/1936840308.html?spm=2114.14010208.99999999.296.I4DIHe


TDA2822D
(http://ru.mouser.com/images/stmicroelectronics/images/SOIC_8_t.jpg)

http://ru.mouser.com/ProductDetail/STMicroelectronics/TDA2822D013TR/?qs=sGAEpiMZZMtxdzBvM0rKcYZK2fRap7ixJaA55IzNJ%252b4%3d

I ordered here, but when I ordered, the minimum number of shares was 100, Now why is 500 pieces, very cheap and work.
https://ru.aliexpress.com/item/100PCS-TDA2822M-SOP8-TDA2822-SOP-SMD-new-and-original-IC-free-shipping/32541375288.html?spm=2114.13010608.0.0.NScdfj

MCP73831T-2ATI/OT  (MCP73831T-2ACI/OT)
(http://ru.mouser.com/images/microchiptechnology/images/sot23_5.jpg)

http://ru.mouser.com/ProductDetail/Microchip-Technology/MCP73831T-2ATI-OT/?qs=sGAEpiMZZMsfD%252bbMpEGFJbfJoD52oiVF6wvYeU3VtEk%3d
http://ru.mouser.com/ProductDetail/Microchip/MCP73831T-2ACI-OT/?qs=%2fha2pyFadug7ns3NDcZ1%252bguMEttpm87FnqDgwUSDURWu9uo0PeBXyw%3d%3d

 On aliexpress  (https://ru.aliexpress.com/item/10PCS-MCP73831T-2ACI-OT-SOT23-5-MCP73831-Charge-Management-Controller/32662608819.html?spm=2114.03010208.3.2.XUM1xZ&ws_ab_test=searchweb0_0,searchweb201602_2_10000560_10000606_10000561_10000073_10000357_10000074_10000608_10000709_10000660_10000704_10000703_10000175_10000507_10000505_10000558_10000068_10000552_10000063_10000365_10000367_10099_10000156_10000663_10000665_10096_10000669_10000569_10000097_10000094_10000337_10000723_10000090_10000147_10000091_10000726_10000144_10000339_10000150_10000679_10117_10084_10000678_10083_10000676_10080_10000153_10000673_10082_10081_10110_10111_10112_10113_10000535_10114_10000534_10000089_10000086_10000710_10000083_10000349_10000690_10000135_10000716_10000080_10000693_10078_10079_10000717_10077_10000688_10073_10000684_10000140_10070_10122_10123_10126_10127_10124_10000546_10125_10065_10068_10000132_10000033_10000030_10000026_10000126_10000023_10000129_10000123_432_10000696_10060_10062_10000699_10056_10055_10054_10000632_302_10059_10000120_10000020_10000013_10000117_10103_10102_10000016_10000114_10000111_10052_10053_10107_10050_10106_10051_10000621_10000384_10000629_10000101_10000100_10000576_10000579_10000104_10000045_10000578_10000375_10000108_10000377_10037_10000612_10000390_10000613_10000042_10000592_10000594_10000039_10000587_10000036_10000389_10000187,searchweb201603_1,afswitch_1,ppcSwitch_5,single_sort_0_default&btsid=173c38db-41de-48a0-9c85-c5a1351357a7&algo_expid=d3aa1815-2213-439b-a4de-b6a665c84397-0&algo_pvid=d3aa1815-2213-439b-a4de-b6a665c84397)

NCP551SN33T1G (analog - LP2985AIM5-3.3)
(http://ru.mouser.com/images/mouserelectronics/images/TSOP_5_t.jpg)

http://ru.mouser.com/ProductDetail/ON-Semiconductor/NCP551SN33T1G/?qs=%2fha2pyFadugKHTZZ5E8dadI6ltKdW6iNPmM8ZiBN5E0%3d
http://ru.mouser.com/ProductDetail/Texas-Instruments/LP2985AIM5-33-NOPB/?qs=sGAEpiMZZMsGz1a6aV8DcBojudwDyMGajn6ToUSUn%2f8%3d

 On aliexpress (https://ru.aliexpress.com/item/Free-shippin-10pcs-lot-LP2985AIM5X-3-3-LP2985AIM5-3-3-LP2985-3-3-SOT23-5-new/32697033135.html?spm=2114.03010208.3.18.gQ9Cdj&ws_ab_test=searchweb0_0,searchweb201602_2_10000560_10000606_10000561_10000073_10000357_10000074_10000608_10000709_10000660_10000704_10000703_10000175_10000507_10000505_10000558_10000068_10000552_10000063_10000365_10000367_10099_10000156_10000663_10000665_10096_10000669_10000569_10000097_10000094_10000337_10000723_10000090_10000147_10000091_10000726_10000144_10000339_10000150_10000679_10117_10084_10000678_10083_10000676_10080_10000153_10000673_10082_10081_10110_10111_10112_10113_10000535_10114_10000534_10000089_10000086_10000710_10000083_10000349_10000690_10000135_10000716_10000080_10000693_10078_10079_10000717_10077_10000688_10073_10000684_10000140_10070_10122_10123_10126_10127_10124_10000546_10125_10065_10068_10000132_10000033_10000030_10000026_10000126_10000023_10000129_10000123_432_10000696_10060_10062_10000699_10056_10055_10054_10000632_302_10059_10000120_10000020_10000013_10000117_10103_10102_10000016_10000114_10000111_10052_10053_10107_10050_10106_10051_10000621_10000384_10000629_10000101_10000100_10000576_10000579_10000104_10000045_10000578_10000375_10000108_10000377_10037_10000612_10000390_10000613_10033_10000042_10000592_10000594_10000039_10000587_10000036_10000389_10000187,searchweb201603_1,afswitch_1,ppcSwitch_5,single_sort_0_default&btsid=49240bb7-14e7-49e7-b7b8-adc04ac6d039&algo_expid=1fe3b0ff-f692-4a80-86d3-bb12a61ac64c-2&algo_pvid=1fe3b0ff-f692-4a80-86d3-bb12a61ac64c)


MCP601T-I/SN
(http://ru.mouser.com/images/mouserelectronics/images/SOIC_8_t.jpg)

http://ru.mouser.com/images/mouserelectronics/images/SOIC_8_t.jpg

 On aliexpress (https://ru.aliexpress.com/item/10pcs-lot-MCP601T-I-SN-SOP8/32787234494.html?spm=2114.03010208.3.2.xS4dBF&ws_ab_test=searchweb0_0,searchweb201602_2_10000560_10000606_10000561_10000073_10000357_10000074_10000608_10000709_10000660_10000704_10000703_10000175_10000507_10000505_10000558_10000068_10000552_10000063_10000365_10000367_10099_10000156_10000663_10000665_10096_10000669_10000569_10000097_10000094_10000337_10000723_10000090_10000147_10000091_10000726_10000144_10000339_10000150_10000679_10117_10084_10000678_10083_10000676_10080_10000153_10000673_10082_10081_10110_10111_10112_10113_10000535_10114_10000534_10000089_10000086_10000710_10000083_10000349_10000690_10000135_10000716_10000080_10000693_10078_10079_10000717_10077_10000688_10073_10000684_10000140_10070_10122_10123_10126_10127_10124_10000546_10125_10065_10068_10000132_10000033_10000030_10000026_10000126_10000023_10000129_10000123_432_10000696_10060_10062_10000699_10056_10055_10054_10000632_302_10059_10000120_10000020_10000013_10000117_10103_10102_10000016_10000114_10000111_10052_10053_10107_10050_10106_10051_10000621_10000384_10000629_10000101_10000100_10000576_10000579_10000104_10000045_10000578_10000375_10000108_10000377_10037_10000612_10000390_10000613_10000042_10000592_10000594_10000039_10000587_10000036_10000389_10000187,searchweb201603_1,afswitch_1,ppcSwitch_5,single_sort_0_default&btsid=78e7102c-dc54-46c8-b776-cd6bfe59d179&algo_expid=1069d8e7-7c8d-49ee-80be-eabb35d897b8-0&algo_pvid=1069d8e7-7c8d-49ee-80be-eabb35d897b8)

I order to Aliexpress usual.
Resistors and capacitors - in the local radio store.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 03, 2017, 02:13:00 AM
Card Holder Easy Micro SD Card
(https://ae01.alicdn.com/kf/HTB1NVoXOVXXXXbnXpXXq6xXFXXXJ/20pcs-500pcs-TF-Card-Holder-Easy-Micro-SD-Card-Socket-Connector-Plug.jpg)


Personally I ordered from this seller - things are good!
https://ru.aliexpress.com/item/20pcs-500pcs-TF-Card-Holder-Easy-Micro-SD-Card-Socket-Connector-Plug/32682539435.html?spm=2114.10010208.1000016.1.to5i1o&isOrigTitle=true


USB Connectors WR-COM Type B SMT 5Pin Horztl Fml Mini
(http://ru.mouser.com/images/wurthelectronics/images/inhouse_65100516121_t.jpg)
Very expensive!!!  :o
http://ru.mouser.com/ProductDetail/Wurth-Electronics/65100516121/?qs=sGAEpiMZZMulM8LPOQ%252bykyMnO5Xm8QqQbJ3lvbibddg%3d

Much cheaper.
 On aliexpress (https://ru.aliexpress.com/item/20PCS-Mini-USB-Type-B-Female-5-Pin-SMT-SMD-PCB-Socket-Connector-Short-body-USB/32709463957.html?spm=2114.03010208.3.29.Gj8wyN&ws_ab_test=searchweb0_0,searchweb201602_2_10000560_10000606_10000561_10000073_10000357_10000074_10000608_10000709_10000660_10000704_10000703_10000175_10000507_10000505_10000558_10000068_10000552_10000063_10000365_10000367_10099_10000156_10000663_10000665_10096_10000669_10000569_10000097_10000094_10000337_10000723_10000090_10000147_10000091_10000726_10000144_10000339_10000150_10000679_10117_10084_10000678_10083_10000676_10080_10000153_10000673_10082_10081_10110_10111_10112_10113_10000535_10114_10000534_10000089_10000086_10000710_10000083_10000349_10000690_10000135_10000716_10000080_10000693_10078_10079_10000717_10077_10000688_10073_10000684_10000140_10070_10122_10123_10126_10127_10124_10000546_10125_10065_10068_10000132_10000033_10000030_10000026_10000126_10000023_10000129_10000123_432_10000696_10060_10062_10000699_10056_10055_10054_10000632_302_10059_10000120_10000020_10000013_10000117_10103_10102_10000016_10000114_10000111_10052_10053_10107_10050_10106_10051_10000621_10000384_10000629_10000101_10000100_10000576_10000579_10000104_10000045_10000578_10000375_10000108_10000377_10037_10000612_10000390_10000613_10033_10000042_10000592_10000594_10000039_10000587_10000036_10000389_10000187,searchweb201603_1,afswitch_1,ppcSwitch_5,single_sort_0_default&btsid=686948c1-da63-4e4d-9223-b45c9d14f500&algo_expid=6606b90f-8367-4dfb-81f2-40a09f0f0547-3&algo_pvid=6606b90f-8367-4dfb-81f2-40a09f0f0547)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 03, 2017, 02:38:11 AM
HC-05 Bluetooth serial adapter module
(https://ae01.alicdn.com/kf/HTB1cvynOVXXXXaUXVXXq6xXFXXX7/8524565pcs-lot-HC-05-Bluetooth-serial-adapter-module-from-one-group-CSR-51-microcontroller.jpg)
Personally I ordered from this seller - things are good!
https://www.aliexpress.com/item-img/HC-05-Bluetooth-serial-adapter-module-from-one-group-CSR-51-microcontroller/32498242807.html

Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 03, 2017, 11:24:34 AM
ahhh!!  different sensor boards for 1/3 and 2/4... I ordered all 2/4 boards!!   Now I understand :-)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 06, 2017, 03:15:18 PM
  Hey Pingvin, I need some help here... Again!  ;)

  I didn't understand the specs of some components:
R36      0
R59      0
R60      0
R70      0
R9 PVZ2A (What this Trimmer do? It's 470 or 22K?)
C2       27
C3       27
C11      20
C12      20
C20      47
C21      47

 Thanks again.

 Edit: What the type of capacitors?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 06, 2017, 11:28:07 PM
  Hey Pingvin, I need some help here... Again!  ;)

  I didn't understand the specs of some components:
R36      0
R59      0
R60      0
R70      0
R9 PVZ2A (What this Trimmer do? It's 470 or 22K?)
C2       27
C3       27
C11      20
C12      20
C20      47
C21      47

 Thanks again.

 Edit: What the type of capacitors?

R59, R60,R70 - Do not need to install
R32,R42 -  Do not need to install

R36 - 0 Ohm (is a jumper, you can drop a tin)

 PVZ2A - This is a sound volume control (hardware) - 10-22 KΩ
https://ru.aliexpress.com/item/100pcs-original-new-free-shipping-Variable-Resistor-PVZ2A203A01R00-PVZ2A203-2X2-20K-Marking-24/32428213413.html?spm=2114.14010208.99999999.820.XdrU2M

C2,C3       27pF

C11,C12...
Depends on the capacity of sentinel quartz. Calculated by the formula:
Parasitic capacitance of quartz + parasitic capacitance of tracks (2 pF).
It is recommended to put a quartz watch with a parasitic capacitance of no more than 6 pF, then C11, C12 = 8 pF.
But I put the quartz and with a larger capacity and C11, C12 put 20 pF.
It is necessary to check in practice. If the condensers are not selected correctly, the resonator will be started for a long time, or it will not start at all.


C20,C21      47pF

Quote
What the type of capacitors?

Ceramic capacitors of size 0603
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 06, 2017, 11:51:52 PM
Tantalum Capacitor 10uF 10V A type

https://ru.aliexpress.com/item/New-original-100PCS-A-10V-10UF-A-106k-3216-A-SMD-tantalum-capacitor/2020193700.html?spm=2114.14010208.99999999.456.XdrU2M

https://ru.aliexpress.com/item/100pcs-Tantalum-Capacitor-10uF-10V-A-type-precision10-1206-SMD-10V10uF-Surface-Mount/32313717382.html?spm=2114.14010208.99999999.463.XdrU2M
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 13, 2017, 09:14:31 AM
 Hi Pigvin!
  I finally bought all the components for PCBs, now I'm waiting for the arrival of everything.
  Tell me, what was your insane technique for soldering everything?
  For now, I have a 30W soldering iron. Do you think it's possible with it?  :P

 Do you have any firmware and PCB upgrade file? I can no longer access the LT / ARMada site... :(
 Have a great week! See you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 13, 2017, 11:08:48 PM
Hi Pigvin!
  I finally bought all the components for PCBs, now I'm waiting for the arrival of everything.
  Tell me, what was your insane technique for soldering everything?
  For now, I have a 30W soldering iron. Do you think it's possible with it?  :P

 Do you have any firmware and PCB upgrade file? I can no longer access the LT / ARMada site... :(
 Have a great week! See you.
My high-tech soldering station and a quality control tool. :)

I got carried away by radio modules, I did not directly improve the firmware.
Under the new board, the firmware needs to be adapted - the voltage on the battery is measured on the other pin (the other channel of the ADC).

I did not pay for the domain on time, so the old site is not available.
Godaddy sent it to him and asked for more money to return.

But the new site was kindly provided by Comrade istarion.

armada.lasertag.store (http://armada.lasertag.store)

Thank you very much! :)

While learning a new for me WordPress engine.

I will post the articles there now.

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 13, 2017, 11:24:53 PM
Regarding the technology of soldering, we will discuss this in more detail.
I'm not saying that I'm doing everything right and in the best way, but I'm getting it, at least.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 14, 2017, 12:19:37 AM
Hi Pigvin!
  I finally bought all the components for PCBs, now I'm waiting for the arrival of everything.
 

Have you tried to calculate the cost of parts for one PCB?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 14, 2017, 12:33:59 AM
When soldering the controller, the main thing is to place it correctly and evenly so that its legs lie on the contact pads without any distortion.
 Then solder two legs diagonally, thereby securing it.

Well wet the liquid flux - do not regret it!
And we hold the soldering iron tip along a row of legs, trying not to press the soldering iron tips on the controller pins.
The solder will melt and, thanks to the flux, will flow under the feet.
If somewhere between the legs there was a drop of tin, then you can remove it with a stripped, multicore copper wire moistened in a flux.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 14, 2017, 06:45:48 PM
Hi Pigvin!
  I finally bought all the components for PCBs, now I'm waiting for the arrival of everything.
 

Have you tried to calculate the cost of parts for one PCB?

 I will have the exact cost per PCB very soon.
I bought the components along with a great purchase from someone else. When he returns, I will know the separate costs of my purchase.

 Good to know that you soldered PCBs with a simple soldering iron, this is what I have to do here as well.

 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 21, 2017, 11:49:47 AM
 
[/quote]

Have you tried to calculate the cost of parts for one PCB?
[/quote]

 Hi Pingvin, here is the last Price List.  :)
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 21, 2017, 10:40:20 PM
The controller is very expensive. :(
Why?
I buy for about $ 3

US $ 2.64
https://ru.aliexpress.com/item/Free-shipping-10pcs-STM32F103RET6-LQFP64-IC-256-to-512-Kbytes-of-Flash-memory-Best-quality/1936840308.html?spm=2114.10010208.1000016.1.BJaZav&isOrigTitle=true

Counterfeit?

What program can open a file Price List Theuer01.numbers ?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 22, 2017, 01:35:53 AM
Oh, curious!
Jim announced a new board.
Now with USB.  8) :)
(http://shop.lasertagparts.com/images/3%20Boards%20Compare%20Large.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 23, 2017, 11:10:42 AM
The controller is very expensive. :(
Why?
I buy for about $ 3

What program can open a file Price List Theuer01.numbers ?

 Hi Pingvin.
 It was very expensive because I needed to buy it from the Mouser USA store along with other materials from a colleague of mine. I had no choice.

"What program can open a file Price List Theuer01.numbers ?"
 Numbers!  :P hehehehe
 I use OSX because I work with video. I made an Excel version:

 I sent word to Jim congratulating him on the new PCB, it was cool.
 It's a solid design for a basic game. Unfortunately, importing a ready system is impossible here in my country.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 23, 2017, 06:12:33 PM
  Pingvin, more doubts here...

 I have 6 motherboards and 12 sensor boards, so, my idea is to make 2 complete kits with Gun + Bandana wireless using 4 motherboards and 2 other guns with sensors using cable. This way, I'll have 4 guns to play.

 What do you think? Any tips for me about the code for it?   ???

 Another thing, what do you think about using more TSOP sensors in parallel on each sensor board?
 eg: One Sensor board for head with 3 TSOP, another Sensor Board for chest with 4 TSOP.
 I hope you have plenty of free time to answer all this.  ;D ;D
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 23, 2017, 10:42:32 PM
A Chinese came to me alone - Anton (Anton Xin). :)
He offers the manufacture of printed circuit boards, the price tag is as follows:
10 pieces: 100doll. With delivery to Russia
50 pcs: 150doll. With delivery to Russia
100pcs: 200doll. With delivery to Russia
500 pcs: 350doll. With delivery to Russia

In principle, when ordering from 500 pcs advantageously obtained.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 23, 2017, 10:46:06 PM
Quote from: Theuer
Pingvin, more doubts here...

 I have 6 motherboards and 12 sensor boards, so, my idea is to make 2 complete kits with Gun + Bandana wireless using 4 motherboards and 2 other guns with sensors using cable. This way, I'll have 4 guns to play.

 What do you think? Any tips for me about the code for it?   ???

It's real.
You can connect conventional wire bandanas, like Jim's, for example.
But at the same time we need TSOP, which can work from 3V.
For example, TSOP 4856 (2.5V - 5V operating range of supply voltage).


Quote from: Theuer


 Another thing, what do you think about using more TSOP sensors in parallel on each sensor board?
 eg: One Sensor board for head with 3 TSOP, another Sensor Board for chest with 4 TSOP.
 I hope you have plenty of free time to answer all this.  ;D ;D

I do not see any problems.


Quote from: Theuer
I use OSX because I work with video. I made an Excel version

Thank you!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 24, 2017, 12:49:24 AM
10 pieces: 100doll. With delivery to Russia
50 pcs: 150doll. With delivery to Russia
100pcs: 200doll. With delivery to Russia
500 pcs: 350doll. With delivery to Russia

 This price tag is for what? Only Pcbs? Expensive, don't you think!?

 TSOP4856? Oh no, I saw scheme with TSOP4838 and bought this! I'm afraid now.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 24, 2017, 05:31:43 AM
10 pieces: 100doll. With delivery to Russia
50 pcs: 150doll. With delivery to Russia
100pcs: 200doll. With delivery to Russia
500 pcs: 350doll. With delivery to Russia

 This price tag is for what? Only Pcbs? Expensive, don't you think!?

 TSOP4856? Oh no, I saw scheme with TSOP4838 and bought this! I'm afraid now.
Only Pcbs.
It's a shame ...
The documentation is not complete, I do everything on the go.
Sometimes just not paying attention.
A little lower - the right scheme, I had to remove the wrong one.
Sorry ...  :(

Do not worry, buddy!
I'll order myself, I'll take it for you too.
How much should I send you?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 25, 2017, 01:08:26 AM
I received printed circuit boards from duaneb. :)
The quality is amazing!
Thanks again!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 27, 2017, 12:10:50 AM

Do not worry, buddy!
I'll order myself, I'll take it for you too.
How much should I send you?

 Nooo buddy, you helped me alot with PCBs! Don't worry, I'll find some Alibaba Seller to buy it.
 Very very thanks for your concern.

 Do you know the name of this new PCBs at OSHpark? Have some hight quality pictures of them?
They look great, but the white model look much more cool!  ;D
 Bye, have a good week.
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 27, 2017, 12:25:09 AM
Printed circuit boards ordered duaneb.
He needs to ask.
Why the color of the mask is just like that - I can not know.
 :)

Do not rush to order - I want to check everything first and make sure that everything will work properly.
I have already started to assemble the device.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 27, 2017, 09:43:47 PM
  Pingvin, tell me...
  What kind of LCD is active in the Firmware you sent to me?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 27, 2017, 10:11:06 PM
  Pingvin, tell me...
  What kind of LCD is active in the Firmware you sent to me?
Yes - the firmware is implemented drivers for color and black-and-white LCDs.
To activate the required driver, you need to use the macros that are in the types.h file

The default is a black and white display.
If you want to use color, use the macro
#define COLOR_LCD

The color display has at least two versions - V1.1 and V2.2
The version number is printed on the back of the display (see the picture).
You can activate the required version of the driver with a macro
// 1 to v1.1, 2 to v2.2
#define LCD_MODUL_VERSION 2

A few words about other macros ...

#define DEVICE_ROLE BANDANA
// # define DEVICE_ROLE TAG

Defines the role of the device - tag or bandana.
Only one of these macros should be used, not both at once.

// # define RTC_Enable
Use the real time clock and calendar. But you need to connect an external clock battery (as in a computer).

#define DIRECTION_CALCULATION
Activates the definition of the probable direction from where the "bullet flew". That is, only one vibro will vibrate, and not all that have fixed the packet. But this will be true when using 8 vibration motors.




// # define SENSORS_BECKLIGHT
Activates the background illumination of the sensors with the color of the team. The backlight brightness can be changed by setting the value in the armada.ini file
Later I implement the adjustment of the brightness of the backlight through the menu on the screen.


ATTENTION!!!
Black and white screens have different pinout options!
In order to connect a black and white screen instead of a color one to the same connector without problems, use such black and white screens as in the pictures.


https://ru.aliexpress.com/item/10pcs-Smart-Electronics-LCD-Module-Display-Monitor-White-backlight-adapter-PCB-84-48-84x84-Nokia-5110/32499312865.html?spm=2114.14010208.99999999.730.tfYAQo
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 27, 2017, 10:34:30 PM
 EXCECELLENT!!!
 Great explanation. Thanks
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 30, 2017, 11:36:01 AM
I assembled the device on a new printed circuit board.
Adapted the firmware, bootloader.
It seems to work, but how the current stabilization system works is difficult to track.
Tried visually, through the camera - it's not clear.
He shot at the ceiling, looked at the reaction of the bandage, lying a few meters away - the difference is at the minimum and at the maximum.
There is not enough digital oscilloscope.
And there is more to regulate in the scheme.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 30, 2017, 05:01:47 PM
 Is the LED current controlled via software?
 Has the STM pinning been changed in this version 5?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 30, 2017, 10:15:26 PM
Is the LED current controlled via software?
 Has the STM pinning been changed in this version 5?
Yes - the current through the IR diode is controlled programmatically.
On the PCB of version 5 there are small changes in the use of the pins of the controller.
But adjustments to the firmware can be made in 5 minutes.
I have already made an adapted firmware.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 30, 2017, 11:15:48 PM
  Is it like Miles CORE "Outdoor and Indoor" feature?

  I was curious about Battle Rifle Pro hardware and now I found one...
Look the size of PCB! It's ruge:
 https://youtu.be/QWjPKHRzaHE?t=4m26s

 Why?! :(
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 31, 2017, 02:32:01 AM
Played with a bias, with a gain factor of the feedback voltage, in general - which is an acceptable option turned out.
The gain factor is 2.
Resistor, from which the feedback voltage is taken - 0,5 Ohm.

Theoretically, with such parameters - what voltage is put on the DAC, this current should flow.
At 100% the voltage on the DAC is 1.3V, that is, theoretically, the current should also be 1.3A.
It seems that the oscilloscope's testimony does not contradict this (I went on a visit to a local radio master).
And noticed - the first pulse (pulses) have a larger amplitude.
Apparently there is a time lag in the feedback.
But this is not critical, IMHO.
In an extreme case, "bullets whistle" will be.

At a power of 0-2% no radiation is present, at 3% "shooting" begins.
This is achieved by selecting a bias resistor.
At the same time, from 6 meters the bandage does not fix any hits, I just shoot the IR diode TSAL6100, there is no tube.
At 100% go ricochets from walls and ceiling.

Full-scale tests are needed.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 31, 2017, 03:06:39 AM
  Is it like Miles CORE "Outdoor and Indoor" feature?




Not certainly in that way.
In Miles CORE "Outdoor and Indoor" the current is changed by a resistor. That is, only two levels of current.
The rest is adjusted by changing the duty cycle of the signal.
I'm still trying to regulate the current without changing the duty cycle.


Quote
  I was curious about Battle Rifle Pro hardware and now I found one...
Look the size of PCB! It's ruge:
 https://youtu.be/QWjPKHRzaHE?t=4m26s

 Why?! :(


Why are you asking me?
Ask the developers of the project.
 :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 31, 2017, 03:38:46 AM
ARMada V5
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on March 31, 2017, 09:28:08 AM
 
 Amazing!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 01, 2017, 02:08:41 AM
I want an inexpensive oscilloscope.
Two similar models

Hantek 6022BE (https://ru.aliexpress.com/item/Hantek-6022BE-PC-Based-USB-Digital-Storag-Oscilloscope-2Channels-20MHz-48MSa-s-with-original-box/32691294700.html?spm=2114.14010208.99999999.321.evmSbo)

(https://keptenkurk.files.wordpress.com/2014/08/hantek-6022be-usb-oscilloscope-2-kanal.jpg)

and


MDSO ISDS205A (https://ru.aliexpress.com/item/MDSO-ISDS205A-New-upgrade-3-IN-1-Multifunctional-20M-PC-USB-virtual-Digital-oscilloscop-spectrum-analyzer/32624169259.html?spm=2114.14010208.99999999.335.evmSbo)

(https://ae01.alicdn.com/kf/HTB1jrbFLVXXXXXrXXXXq6xXFXXXf/MDSO-ISDS205A-New-upgrade-3-IN-1-Multifunctional-20M-PC-USB-virtual-Digital-oscilloscop-spectrum-analyzer.jpg_640x640.jpg)

What to choose?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 05, 2017, 11:29:40 AM
 Hi, I think I'll choose Hantek 6022BL because two things:
1 Hantek has some alternative Firmwares projects like openhantek and OSX software.
2 BL model has 16 Logic Analyzer inputs.

 Please, could you send me some High res pictures of ready PCBs? I'm finally starting to weld mine now.
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 05, 2017, 11:18:43 PM
If something is not clear - ask.


Photo (https://yadi.sk/d/549qhniM3Ghbsq)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 05, 2017, 11:52:28 PM
 Great, thanks buddy!
 That will help a lot.

 Have you heard of Scopefun? http://www.scopefun.com/ (http://www.scopefun.com/)
 It's a Open Source Oscilloscope with very intersting specs:

 It looks like they're in the early stages of hardware yet, but it promises.  :D
  There is a PCB V1.2 at OSH Park. https://oshpark.com/shared_projects/ybnpFXLE (https://oshpark.com/shared_projects/ybnpFXLE)

 My second solder test: :) (The first one got bad)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 06, 2017, 02:48:35 AM
Excellent!
 :D 8)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 09, 2017, 05:23:24 AM
Today I tested a new current stabilization system (purple circuit board).
The sun at the zenith, it is clear, the sensors are under direct rays (the "target" stands facing the sun).
IR diodes are narrowly focused (not 6100), the case is the same "Predators" (AK12).

Immediately exposed 100% of the IR power.
Well, what can I say ...
I'm in a pleasant shock! :)
Judging by the map - about 200 m.
Let me remind you - the bright sun and direct rays on the sensors.
And powered by one lithium can, without voltage converters.
I'm satisfied with the result.


Why can not I explain this difference, all my theories do not work.
Can it be banal IR diode is better exposed (adjusted)?
Can constructive "vices" of the old scheme.


In this case, if you set the IR radiation power 3%, then there are no reflections from the walls, and you have to aim at a separate sensor. Immediately two sensors can not be hit.
To "fix" the result I plan to make even "purple" boards and put in the second "Predator" and again to test.

Thanks again comrade duaneb!
If not for his printed circuit boards, all this would be dragged on for months ...
And now we have a working hardware - can publish the hardware release .
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 15, 2017, 10:07:48 PM
 Pingvin, I am soldering the PCBs and I am having some difficulty knowing the correct place of the components on the PCB...
 Do you still have the V3 PCB files? The white PCB. I'm using de V2 diptrace file, but some components are on diferents places.
 Thanks again.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 16, 2017, 11:59:17 PM
Has corrected.
I hope I did not miss anything.
If something is unclear - ask, do not be shy.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 17, 2017, 12:01:34 AM
Top
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 17, 2017, 12:03:16 AM
DipTrace files
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 17, 2017, 11:51:09 PM
 Working hard here, I know there are some questions to answer you... I will.
 
 But, one more question for you... How to install bootloader and code in STM? Onboard USB or I'll need a programmer?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 18, 2017, 04:00:36 AM
Working hard here, I know there are some questions to answer you... I will.
 
 But, one more question for you... How to install bootloader and code in STM? Onboard USB or I'll need a programmer?


The loader is a separate program.
It can be downloaded in two ways:
1. Using the SWD connector and the ST-Link programmer (or its clone). ST-Link also allows debugging programs directly in the controller.
2. Using the UART connector. If there is a COM port on the computer, you will need an adapter RS232 <-> UART, for example, on the MAX3232 chip. If there is no COM port, you can use the USB <-> UART adapter .


After the loader is swirled into the controller, the firmware can be changed via the onboard USB connector.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 20, 2017, 07:21:00 PM
 Ohhh, I used a lot MAX232 when I worked with LED Panels in 2000.
 
 Please, help me again...
  Is the component with Red arrow wrong?
 Now I saw the schemme, and see many Caps with polarity. In this case, ceramic Caps are wrong, isn't it?
 In the Blue Arrow is ceramic Caps?
 
 Uow... it's hard...
 Thanks.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 20, 2017, 10:10:52 PM
  Is the component with Red arrow wrong?
 Now I saw the schemme, and see many Caps with polarity. In this case, ceramic Caps are wrong, isn't it?

If this ceramic capacitor is 10 uF (or more), then it's ok.
Let it remain, this is a filter for the supply voltage.


In the Blue Arrow is ceramic Caps?

Yes - 0.1 uF

Uow... it's hard...

Therefore, I am ready to start production of fully assembled devices.
And that the cost was democratic.
That the person had a choice - to be assembled by yourself or buy a ready-made device.
I do not know - can we discuss such issues here?


P.S. And for me, soldering is already like meditation - I even enjoy it. 
Now I understand women who embroider with a bisser.;) :D

P.P.S. I am confused by the USB connector on your photo.
What kind of connector is it like the location of the contacts?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 30, 2017, 02:22:22 AM
Guys, what about these radio modules?
SI4432
(http://cdn1.parkflyer.ru/static/files/banggood/img.banggood.com/thumb/large/2014/xiemeijuan/11/SKU122791/20140318124701203.JPG)
https://ru.aliexpress.com/item/SI4432-wireless-module-1000meters-long-distance-240-960mhz-Special-promotions/929600736.html?spm=2114.13010608.0.0.6FVMur
I think they are better suited for our purposes than NRF24.

Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 30, 2017, 02:47:42 AM
  I'm reading about the radio modules too, as well as the mesh network implementation.
 Getting a live score will be a huge step forward.  :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 30, 2017, 05:11:30 AM
  I'm reading about the radio modules too, as well as the mesh network implementation.
 Getting a live score will be a huge step forward.  :D
Mesh network is difficult.
To realize real-time statistics viewing, we can do without mesh networks.

There is an alternative to radio modules - the use of smartphones.

I think we need to develop both directions.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on April 30, 2017, 06:01:39 PM
 Yep, I agree.
 Maybe the first step is a "simple" REQUEST-RESPONSE system.
 The computer sends a request to one Gun at a time and receives a Data Package with the current status. At each complete response loop, the computer updates the overall scoreboard.
 What do you think?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 01, 2017, 12:52:38 AM
Yep, I agree.
 Maybe the first step is a "simple" REQUEST-RESPONSE system.
 The computer sends a request to one Gun at a time and receives a Data Package with the current status. At each complete response loop, the computer updates the overall scoreboard.
 What do you think?
Is this to avoid collisions?
Could be so.
And we can implement the resolution of collisions (resending the packet at random intervals).
Repeaters can be used to increase the range.

But the very first thing I plan to do is confirm my entry into the enemy.
After all, when shooting an enemy in line of sight and the radio signal will pass without interference. And the algorithm is simple.
And then it will develop a protocol (package structure and algorithms for equipment interaction).
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on May 01, 2017, 03:41:12 AM
 I didn't understand...
 Here in Brazil, when you explain something for a dumb person and he don't understand, we say: "Need a draw???"
 I think I'll need.  ;D
  Is it like a radar for you to know when you are in the enemy zone?
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 01, 2017, 03:55:44 AM
I didn't understand...
 Here in Brazil, when you explain something for a dumb person and he don't understand, we say: "Need a draw???"
 I think I'll need.  ;D
  Is it like a radar for you to know when you are in the enemy zone?

I'm talking about that.
When you hit the enemy, you can find out about the fact of the hit only by the LED flash on the bandage and the sound.
And if the distance is large and the sun is bright?
How do you know if you hit the enemy or missed?


I want to do this - clicked on the trigger - together with the shot (IR packet) the radio module switches on for reception and remains on for a while.
If you hit the enemy, the enemy electronics will also turn on the radio module, but for data transfer, will send a packet with confirmation that you hit the enemy with a shot. And will wait for confirmation that the package has been accepted for a while. If no confirmation is received, the packet will be sent again.

It's simplistic ...



To make the "enemy radar" you need a directional antenna. But such thoughts were! :-)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on May 02, 2017, 11:46:00 AM
 Oh, sure!
 I didn't think of this kind of feedback, because I think this would already be a mesh network type
 Shooter Feedback is very important
 Do you think we could implement a simple RX/TX radio module? So we can use only two CPU pins on the current pcbs.
  What do you think?
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 02, 2017, 09:56:53 PM
Oh, sure!
 I didn't think of this kind of feedback, because I think this would already be a mesh network type
 Shooter Feedback is very important
 Do you think we could implement a simple RX/TX radio module? So we can use only two CPU pins on the current pcbs.
  What do you think?
Radios, those that I liked - work on the interface of the SPI, and this is more than two pins of the controller. But I have the conclusions of two SPI interfaces - on the bandage connector and on the connector for the LCD screen.While I will experiment with them, and there - it will be seen ...


In the tag, the bandana (with many sensors) is not needed, instead of it you can connect the radio module. In the bandana, too, the screen is not very necessary, you can connect the radio module instead.
But the initial simple configuration can be this: a tag and a bandana interact with each other over the bluetooth, and in the tag (or bandana) there is a radio module that provides communication with other players and the game administrator.

https://www.youtube.com/watch?v=xjHGfmLD1Zs&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on May 24, 2017, 04:14:46 PM
  Hi Pingvin.
 Finally came the oscilloscope here, I chose the Hantek 6022BL with Logic Analyzer.
  I did a few tests with him and it seems okay.
 Now I'm looking for some Signal Decoder software compatible with Hantek. It would be nice to read and interpret I/O signals from BT, SD and LCD like this image:

 If you want to know anything about this oscilloscope or some test, just ask.  :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on May 28, 2017, 11:47:44 AM
Great, I congratulate you!
A useful tool.

And the SI4432 radio modem came to me.

I want to work with them.

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 01, 2017, 07:35:05 AM
ARmada and Si4432 RF modul. 433.92 MGz 0.8 mW  (-1dBm) test.
https://www.youtube.com/watch?v=UTUpvi4YDik&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on June 01, 2017, 09:28:19 AM
 Greaaaat!
  Are you planning to use this module for Bandana or Live Score?

 Duaneb, Your PCB project is open Source or colaborative too?

 See you guys.
 
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 01, 2017, 10:34:18 AM

  Are you planning to use this module for Bandana or Live Score?

It can be used for both the first and second.
But first I'll do the simplest thing - confirmation of the defeat of the enemy.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 02, 2017, 06:31:58 AM
I put out the power of 10 mW, checked - at 200 meters in direct line of sight there is a connection.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 04, 2017, 11:37:22 PM
I received boxes for bandages  :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 04, 2017, 11:42:21 PM
SMD antenna 433 MGz
   
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 07, 2017, 05:58:08 AM

Who are interested in the source code - please see: https://github.com/PingvinOpenTag/ARMada-lasertag-system


This is not a release, this is DeveloperPreview - for acquaintance with the basic functionality and testing the hardware.


Yes - it is clumsily written, decorated ugly, but there are no other source codes. :)

CooCox 1.7 is required for assembly

Constructive criticism and suggestions - welcome!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on June 07, 2017, 02:18:12 PM
 Greaaat news!

  That assembled PCB photo is already the Duaneb OSH version? Really cool!
 Do you still have contact with him?

 Great job, Sir.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 07, 2017, 10:18:52 PM
Greaaat news!

  That assembled PCB photo is already the Duaneb OSH version? Really cool!
 Do you still have contact with him?

 Great job, Sir.

Thank you, comrade! :)
Quite right!
The assembled printed circuit board in the photo is one of those that Duaneb sent me.
The code is fully adapted to it.
I have not spoken with Duaneb for a long time, but I will write to him and ask him to make public his order PCB on OSH.
This version of the PCB can be considered the first release of the hardware.
Of course - all hardware documentation will be in the repository, including gerber files.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on June 09, 2017, 03:49:22 PM
Happy to share...

https://oshpark.com/shared_projects/QR522afK

https://oshpark.com/shared_projects/8Rx9mt5f

https://oshpark.com/shared_projects/mzwjOQEH
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 10, 2017, 08:21:59 AM
Happy to share...

https://oshpark.com/shared_projects/QR522afK

https://oshpark.com/shared_projects/8Rx9mt5f

https://oshpark.com/shared_projects/mzwjOQEH
Thank you! :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 15, 2017, 12:44:14 AM
Sonar sound when there is no connection.
https://www.youtube.com/watch?v=2MTyQGu_9hQ&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: latidae on June 18, 2017, 06:48:39 AM
Looking very good Pingvin...
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 18, 2017, 11:02:15 AM
Looking very good Pingvin...
Thank you!
Unfortunately, slow development.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on June 29, 2017, 08:58:30 AM
ARMada/Ascetic wireless bandana for standart sensors.
A budget option.  ;)

To this case (G1906)

(https://www.rcscomponents.kiev.ua/modules/Asers_Shop/images/productimages/g1906.jpg)

(http://www.open-tager.ru/forum/download/file.php?id=4368)

https://easyeda.com/Pingvin/Bandana-638b57df8e1747baba871f611b0e00f3
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on August 01, 2017, 10:53:03 PM
  Hi Pingvin, I need some help here...
 I finished assembling the boards, but they do not work.
  My guess is if it's the clock's fault.
  I was comparing the Arduino MEGA's clock to that of the ARMADA with oscilloscope.
 While the Arduino's clock has 4V pulses, ARMADA's clock is almost grounded.
  I've already tested three different capacitors, now I'm stuck.
 
Do you have any tips?
 Thanks
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 02, 2017, 04:43:44 AM
Hi!
The first thing to check is with what parameters the firmware was compiled?
If it is determined in the firmware that the real-time clock will be used, and the RTC quartz is not installed - the firmware will hang on the initialization of the RTC quartz.

 Try to compile without this line.
#define RTC_Enable

in this file
 /Firmware/DeveloperPreview/rtos_103_SDIO_FAT_complite/types.h

Too little information.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on August 02, 2017, 02:26:38 PM
 Ok, I'll try.

"Too little information."
 I know, sorry about that...

 When I try upload the Boot Loader, I receive: "Device not found"
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 03, 2017, 01:16:51 AM
Ok, I'll try.

"Too little information."
 I know, sorry about that...

 When I try upload the Boot Loader, I receive: "Device not found"
This error is not related to quartz. If the programmer is connected correctly - the device must be determined in any case.
Check if the power supply is applied to the AVCС(VDDA) input of the controller?
What programmer do you use?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on August 07, 2017, 01:07:02 AM
 I'm using USB-TTL based on FTDI chip. It have GND, TX, TX and 5V(i don't connect).
 The TX and RX Leds is blinking normally like it was working right.
 Do you think I need to setup Speed, Stop bit, etc?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 07, 2017, 05:02:26 AM
I'm using USB-TTL based on FTDI chip. It have GND, TX, TX and 5V(i don't connect).
 The TX and RX Leds is blinking normally like it was working right.
 Do you think I need to setup Speed, Stop bit, etc?

Before you need to close the jumper "boot" - do not forget about this?
The voltage of the logic levels should be 3.3 Volts.
You also need to check if Rx and Tx are interchanged.

I tried it through a real COM port and level matching on max3232 - I did everything with the default settings.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 08, 2017, 07:07:00 AM
I forgot to warn - in the repository bootloader for the purple board.
For a white board I'll post it right now.
https://yadi.sk/d/R53sQySg3LoyMa
The difference is that different legs are used for USB_ATTACH
purple:
Code: [Select]
#define USB_ATTACH_PIN GPIO_PIN_6
#define USB_ATTACH_PORT GPIOC

white:
Code: [Select]
#define USB_ATTACH_PIN GPIO_PIN_4
#define USB_ATTACH_PORT GPIOB


The firmware from the repository can be compiled for a white printed circuit board.
To do this, you need to define the macro
Code: [Select]
#define OLD_VERSION_PCB in the file
ARMada-lasertag-system / Firmware / DeveloperPreview / rtos_103_SDIO_FAT_complite / types.h
He is there on the thirteenth line, just deactivated by two slashes.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on August 09, 2017, 06:43:13 PM
  What programmer do you use? Which do you indicate to buy?
  Here in Brazil I found ST-Link V2, is it works?
 Thanks again.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 11, 2017, 05:03:11 AM
  What programmer do you use? Which do you indicate to buy?
  Here in Brazil I found ST-Link V2, is it works?
 Thanks again.

I use ST-Link which is installed on the developer's board.
(https://s-media-cache-ak0.pinimg.com/originals/4c/81/a0/4c81a02e4278bce69539cc927155698a.jpg)

Yes - ST-Link  V2 should work!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 16, 2017, 10:13:56 PM
Again I took up radio modules.
I received two new radio modules.
Before that, one of the two radio modules I had broke.
Radio modules can be connected to two different ports - to the LCD port or to the sensor port.

I plan to do this: in the weapon, the radio module will be connected to the sensor port, and in the bandana to the LCD port.

If the radio module connected to the sensor port is already working, then in order to use the LCD port, you must disable the LCD driver.

With the existing project structure it is not easy to do this.
The main code is overloaded with low-level functions for working with hardware.

And since the equipment can be different (color or black and white LCD, for example), then there are many more macros.
The code became difficult to understand.

Of course - I, first of all - wanted to check the efficiency of my ideas as soon as possible, the quality of the code was in the background.
Now that the concept has generally justified itself, it's time to take up the quality of the code.

It is necessary to hide all low-level functions in the drivers.
Add a "middlware" layer to the interface so that there is a single interface for working with the connected devices and using the various devices, the code of the main program did not change.

This is such a difficult task...
Title: Re: Open Source Laser Tag project - ARMada
Post by: berk on August 19, 2017, 03:52:57 AM
You have just described what is known as a 'Hardware Abstraction Layer'. Shouldn't be too hard but if done properly a new piece of hardware should just drop straight in.

Good luck!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 20, 2017, 06:18:09 AM
You have just described what is known as a 'Hardware Abstraction Layer'. Shouldn't be too hard but if done properly a new piece of hardware should just drop straight in.

Good luck!
That's what I mean.
There are two types of screen, the initialization and text output functions are also different.
I want to make sure that the user who will write his code does not delve into the intricacies of the hardware implementation of the screen. It will be provided with an API for working with an abstract display.
Here is an example, so it was
Code: [Select]
bool configure_bluetooth(void)//настраиваем блютус модуль
{

bool at_res;
#ifdef COLOR_LCD
static volatile TextParamStruct TS;
TS.XPos =  0;
TS.YPos = 10;
TS.Size = 0;
TS.Font = StdFont;
TS.TxtCol = iWhite;//iGreen;//iRed;
TS.BkgCol =iBlack;//iWhite;
#endif


USART_DeInit(USART1);
InitCOM1(38400);
bt_set_at_commands_mode(true);
vTaskDelay(100);
bt_reset();
BL_ON;

at_res = send_test_at_command();
if(!at_res){
#ifndef COLOR_LCD
lcd8544_putstr(0, 8, "38400 тест не прошел", 0); // вывод первой строки
if (!screen_auto_refresh) lcd8544_dma_refresh(); // вывод буфера на экран ! без этого ничего видно не будет !
#else


if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
PStr("38400: Test error", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif
USART_DeInit(USART1);
InitCOM1(9600);
vTaskDelay(100);
}
if(strlen(armadaSystem.bluetooth.name))//если строка с именем не пустая
{

#ifndef COLOR_LCD
lcd8544_putstr(0, 16, "Имя: ", 0); // вывод первой строки
lcd8544_putstr(8, 16, armadaSystem.bluetooth.name, 0); // вывод первой строки
if (!screen_auto_refresh) lcd8544_dma_refresh(); //
#else
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
PStr( "Name: ", &TS);
PStr(armadaSystem.bluetooth.name, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif


at_res = send_set_at_command(at_name,armadaSystem.bluetooth.name);
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
if (at_res) PStr( "OK", &TS);
else PStr( "ERROR", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}

#else
if (at_res)
{

lcd8544_putstr(0, 24, "Имя успешно задано ", 0); // вывод первой строки
if (!screen_auto_refresh) lcd8544_dma_refresh(); //


}

#endif
}
if(strlen(armadaSystem.bluetooth.cmode))//если строка с именем не пустая
{
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
PStr( at_cmode, &TS);
PStr( "=", &TS);
PStr( armadaSystem.bluetooth.cmode, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif
at_res = send_set_at_command(at_cmode,armadaSystem.bluetooth.cmode);

#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
if (at_res) PStr( "OK", &TS);
else PStr( "ERROR", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif



}
if(strlen(armadaSystem.bluetooth.role))//если строка с именем не пустая
{
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
PStr( at_role, &TS);
PStr( "=", &TS);
PStr( armadaSystem.bluetooth.role, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif


at_res = send_set_at_command(at_role,armadaSystem.bluetooth.role);
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
if (at_res) PStr( "OK", &TS);
else PStr( "ERROR", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif



}
if(strlen(armadaSystem.bluetooth.mac_adress_for_bind))//если строка с именем не пустая
{

#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
PStr( "BIND:", &TS);
// PStr( "=", &TS);
PStr( armadaSystem.bluetooth.mac_adress_for_bind, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif
at_res = send_set_at_command(at_bind,armadaSystem.bluetooth.mac_adress_for_bind);
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
if (at_res) PStr( "OK", &TS);
else PStr( "ERROR", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif

}
if(strlen(armadaSystem.bluetooth.pswd))//если строка с именем не пустая
{
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
PStr( "PASSWORD:", &TS);
// PStr( "=", &TS);
PStr( armadaSystem.bluetooth.pswd, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif

at_res = send_set_at_command(at_pswd,armadaSystem.bluetooth.pswd);
#ifdef COLOR_LCD
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//если LCD занят, ждем 2 с
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.XPos =  0;
TS.YPos +=10;
if (at_res) PStr( "OK", &TS);
else PStr( "ERROR", &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif

}
bt_set_at_commands_mode(false);
USART_DeInit(USART1);
if(armadaSystem.bluetooth.baudrate) InitCOM1(armadaSystem.bluetooth.baudrate);
else InitCOM1(BAUDRATE);
bt_reset();
vTaskDelay(TIC_FQR*2);
#ifndef COLOR_LCD
BL_OFF;
#endif
}



It's terrible!
Unreadable!
Difficult to perceive!

Now this function looks like this
Code: [Select]


bool configure_bluetooth(void)//íàñòðàèâàåì áëþòóñ ìîäóëü
{

bool at_res;
unsigned char line_counter=0;
unsigned char line_on_screen=display_vertical_screen_resolution()/display_standard_symbol_height();


USART_DeInit(USART1);
InitCOM1(38400);
bt_set_at_commands_mode(true);
vTaskDelay(100);
bt_reset();
BL_ON;
display_put_string(0,line_counter++, "Set BT");

at_res = send_test_at_command();

if(!at_res){
if(!(line_counter<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}
display_put_string(0,display_standard_symbol_height()*(line_counter++),"38400: Test error");

USART_DeInit(USART1);
InitCOM1(9600);
vTaskDelay(100);
}
if(strlen(armadaSystem.bluetooth.name))//åñëè ñòðîêà ñ èìåíåì íå ïóñòàÿ
{

if(!((line_counter+1)<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}
at_res = send_set_at_command(at_name,armadaSystem.bluetooth.name);
display_put_string(0,display_standard_symbol_height()*(line_counter),"Name: ");
display_put_string(display_standard_symbol_width()*5,display_standard_symbol_height()*(line_counter++),armadaSystem.bluetooth.name);

if (at_res)
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"OK");
}
else
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"ERROR");
}
}
if(strlen(armadaSystem.bluetooth.cmode))//åñëè ñòðîêà ñ èìåíåì íå ïóñòàÿ
{

if(!((line_counter+1)<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}

at_res = send_set_at_command(at_cmode,armadaSystem.bluetooth.cmode);
display_put_string(0,display_standard_symbol_height()*(line_counter),at_cmode);
display_put_string(display_standard_symbol_width()*8,display_standard_symbol_height()*(line_counter),"=");
display_put_string(display_standard_symbol_width()*9,display_standard_symbol_height()*(line_counter++),armadaSystem.bluetooth.cmode);
if (at_res)
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"OK");
}
else
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"ERROR");
}
}
if(strlen(armadaSystem.bluetooth.role))//åñëè ñòðîêà ñ èìåíåì íå ïóñòàÿ
{
if(!((line_counter+1)<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}
at_res = send_set_at_command(at_role,armadaSystem.bluetooth.role);
display_put_string(0,display_standard_symbol_height()*(line_counter),at_role);
display_put_string(display_standard_symbol_width()*7,display_standard_symbol_height()*(line_counter),"=");
display_put_string(display_standard_symbol_width()*8,display_standard_symbol_height()*(line_counter++),armadaSystem.bluetooth.role);
if (at_res)
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"OK");
}
else
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"ERROR");
}
}
if(strlen(armadaSystem.bluetooth.mac_adress_for_bind))//åñëè ñòðîêà ñ èìåíåì íå ïóñòàÿ
{
if(!((line_counter+1)<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}
at_res = send_set_at_command(at_bind,armadaSystem.bluetooth.mac_adress_for_bind);
display_put_string(0,display_standard_symbol_height()*(line_counter),"BIND:");
display_put_string(display_standard_symbol_width()*5,display_standard_symbol_height()*(line_counter++),armadaSystem.bluetooth.mac_adress_for_bind);
if (at_res)
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"OK");
}
else
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"ERROR");
}
}
if(strlen(armadaSystem.bluetooth.pswd))//åñëè ñòðîêà ñ èìåíåì íå ïóñòàÿ
{

if(!((line_counter+1)<line_on_screen)){
vTaskDelay(150);
line_counter=0;
display_clear_screen();
}
at_res = send_set_at_command(at_pswd,armadaSystem.bluetooth.pswd);
display_put_string(0,display_standard_symbol_height()*(line_counter),"PASSWORD:");
display_put_string(display_standard_symbol_width()*9,display_standard_symbol_height()*(line_counter++),armadaSystem.bluetooth.pswd);
if (at_res)
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"OK");
}
else
{
display_put_string(0,display_standard_symbol_height()*(line_counter++),"ERROR");
}
}
bt_set_at_commands_mode(false);
GPIO_ResetBits(GPIOC, GPIO_Pin_4);//
USART_DeInit(USART1);
if(armadaSystem.bluetooth.baudrate) InitCOM1(armadaSystem.bluetooth.baudrate);
else InitCOM1(BAUDRATE);
// bt_reset();
vTaskDelay(TIC_FQR*2);
#ifndef COLOR_LCD
BL_OFF;
#endif
}

Now it works on both a color and black-and-white screen, the same code.
Even if I can connect another type of LCD, I do not need to change this code.
It looks a little better, does not it?
But the ideal is still far away.  ;) :)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 20, 2017, 06:25:36 AM
file display.h
Code: [Select]
#ifndef __DISPLAY_H
#define __DISPLAY_H
#include <stdio.h>
#include <stdint.h>

#include "cipher.h"
#include <GFXC.h>
#include "types.h"
#include "global_variables.h"

#ifndef COLOR_LCD
#define STANDARD_SYMBOL_HEIGHT 8
#define STANDARD_SYMBOL_WIDTH 6
#define HORIZONTAL_SCREEN_RESOLUTION 84
#define VERTICAL_SCREEN_RESOLUTION 48

#else
#define STANDARD_SYMBOL_HEIGHT 10
#define STANDARD_SYMBOL_WIDTH 6
#define HORIZONTAL_SCREEN_RESOLUTION 128
#define VERTICAL_SCREEN_RESOLUTION 128
#endif


void display_clear_screen(void);
void display_init(void);
// âûâîä ñòðîêè
void display_put_string(unsigned char x, unsigned char y, const unsigned char str[]);

unsigned char display_standard_symbol_height(void);
unsigned char display_standard_symbol_width(void);
unsigned char display_horizontal_screen_resolution(void);
unsigned char display_vertical_screen_resolution(void);

#endif



file display.c
Code: [Select]

#include "display.h"

void display_clear_screen(void){
#ifndef COLOR_LCD
clear_screen();
if (!screen_auto_refresh) lcd8544_dma_refresh(); // âûâîä áóôåðà íà ýêðàí ! áåç ýòîãî íè÷åãî âèäíî íå áóäåò !
#else
ClrScrn();
#endif
}


void display_init(void){
#ifndef COLOR_LCD
lcd8544_init(); // èíèöèàëèçàöèÿ ÷¸ðíî-áåëîãî äèñïëåÿ
#else

ILI9163Init();//
/*
drawBMP("2gun.bmp");
vTaskDelay((portTickType)(TIC_FQR*2));
*/

#endif


}


void display_put_string(unsigned char x, unsigned char y, const unsigned char str[]){

#ifndef COLOR_LCD
  lcd8544_putstr(x, y, str, 0); // âûâîä ïåðâîé ñòðîêè
  if (!screen_auto_refresh) lcd8544_dma_refresh(); // âûâîä áóôåðà íà ýêðàí ! áåç ýòîãî íè÷åãî âèäíî íå áóäåò !
#else
static volatile TextParamStruct TS;
if(xSemaphoreTake(xColorLCDSemaphore, (portTickType)(TIC_FQR*2)/*600*/ )== pdTRUE)//åñëè LCD çàíÿò, æäåì 2 ñ
{
while (!(SPI3->SR & SPI_SR_TXE)); // Wait for bus free
while (SPI3->SR & SPI_SR_BSY);
init_spi3();
SB(0x36, Reg); //Set Memory access mode
#if    LCD_MODUL_VERSION == 2
SB((0x08 |(1<<7)|(1<<6)), Dat);
#elif LCD_MODUL_VERSION == 1
SB((0x08 /*|(1<<7)*/), Dat);
#endif
TS.Size = 0;
TS.Font = StdFont;
TS.XPos =  (uint8_t)x;
TS.YPos = (uint8_t)y;
TS.TxtCol = iWhite;//iGreen;//iRed;
TS.BkgCol =iBlack;//iWhite;
PStr(/*"Set BT"*/str, &TS);
xSemaphoreGive(xColorLCDSemaphore);
}
#endif




}



unsigned char display_standard_symbol_height(void){

return (unsigned char) STANDARD_SYMBOL_HEIGHT;

}


unsigned char display_standard_symbol_width(void){
return (unsigned char) STANDARD_SYMBOL_WIDTH;

}


unsigned char display_horizontal_screen_resolution(void){
return HORIZONTAL_SCREEN_RESOLUTION;
}


unsigned char display_vertical_screen_resolution(void){
return VERTICAL_SCREEN_RESOLUTION;
}
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on August 23, 2017, 12:03:16 PM
 Hi Pingvin, I really need more some help...
 I had never had so many difficulties in an electronics project before.
 It's ridiculous, but I just do not understand how to connect the ST-Link V2 on the ARMADA CPU.
 ST-Link V2 have 10 Pins, (RST-SWDIO-GND-SWIM-SWCLK-3.3V-5V). How can I connect this on TX-RX ARMADA?
 Any ideia?
 Thanks buddy.
Title: Re: Open Source Laser Tag project - ARMada
Post by: berk on August 23, 2017, 12:13:57 PM
The professional way to do this is to do it at the link level. Create a library for the colour lcd, one for the monchrome one etc.
Each library exports the same API:
e.g.
InitDisplay()
ClearScreen();
OutputText() etc.

The display specific stuff is done inside the library but functionally it is the same. Commands like SetTextColour() are implemented but do nothing in the device libraries that do not support that function.

This way you don't pollute the core code with #ifdef DEVICE_A, you just see
InitDisplay()
and you know the device driver will sort it out for you.

Also, you can have as many different display devices (or others) as you like and your core code need never change.

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 23, 2017, 09:30:37 PM
The professional way to do this is to do it at the link level. Create a library for the colour lcd, one for the monchrome one etc.
Each library exports the same API:
e.g.
InitDisplay()
ClearScreen();
OutputText() etc.

The display specific stuff is done inside the library but functionally it is the same. Commands like SetTextColour() are implemented but do nothing in the device libraries that do not support that function.

This way you don't pollute the core code with #ifdef DEVICE_A, you just see
InitDisplay()
and you know the device driver will sort it out for you.

Also, you can have as many different display devices (or others) as you like and your core code need never change.

Thank you, berk, for participating!
Rewriting two libraries is an inadmissible luxury!
Too much time and effort will go away.
It's easier to make intermediate functions.
I get rid of #ifdef
Now all functions for working with the screen work with both drivers without #ifdef in the main program.

Code: [Select]

void display_clear_screen(void);
void display_init(void);
// вывод строки
void display_put_string(unsigned char x, unsigned char y, const unsigned char str[]);
void display_show_logo(void);
void display_show_guns_picture(void);
void display_show_bluetooth_icon(void);
void display_hide_bluetooth_icon(void);
void display_update_bluetooth_status(void);
void display_show_heart_picture(uint8_t picture_index);
void display_update_time(void);
void display_update_health(void);
void display_update_rounds(void);
void display_update_clips(void);
void display_update_battary_voltage(void);
void display_init_gui(void);
void display_update_fire_mode_status(void);
void display_backlight_off(void);
void display_backlight_on(void);
void display_show_game_over_picture(void);


unsigned char display_standard_symbol_height(void);
unsigned char display_standard_symbol_width(void);
unsigned char display_horizontal_screen_resolution(void);
unsigned char display_vertical_screen_resolution(void);


Here, for example - the task that will be responsible for the animation

Code: [Select]
void vTaskLED1(void *pvParameters) {
for (;;) {

if(!bt_configured)
    {
    continue;
    }

vTaskDelay(200);
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(0);
    xSemaphoreGive(xGameOverSemaphore);
    vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
    display_show_heart_picture(1);
    xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(2);
xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(3);
xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(2);
xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(1);
xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}
if(xSemaphoreTake(xGameOverSemaphore, (portTickType)(25))== pdTRUE )
{
display_show_heart_picture(0);
xSemaphoreGive(xGameOverSemaphore);
vTaskDelay(25);
}

#ifdef RTC_Enable
display_update_time();
#endif

display_update_battary_voltage();



            if (GPIO_ReadInputDataBit(GPIOC, GPIO_Pin_7) == 0){//если нет блютус соединения
            armadaSystem.wav_player.type_of_sound_to_play = SONAR;//надо воспроизвести звук сонара
            xSemaphoreGive(xWavPlayerManagerSemaphore);
            }
            else{
            if (armadaSystem.wav_player.type_of_sound_to_play == SONAR) armadaSystem.wav_player.type_of_sound_to_play=NOTHING;
            }
        }

}




Compare with what was!

In addition - I got rid of a lot of warnings when compiling a project
Soon I will update the repository.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 23, 2017, 09:39:23 PM
Hi Pingvin, I really need more some help...
 I had never had so many difficulties in an electronics project before.
 It's ridiculous, but I just do not understand how to connect the ST-Link V2 on the ARMADA CPU.
 ST-Link V2 have 10 Pins, (RST-SWDIO-GND-SWIM-SWCLK-3.3V-5V). How can I connect this on TX-RX ARMADA?
 Any ideia?
 Thanks buddy.


ST-Link connects to the SWD port.

Good luck!
I'm waiting for the good news from you! ;) :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: berk on August 24, 2017, 05:33:19 AM
I agree it is a lot of work to convert existing code to libraries. If you go that way you really need to do it from the start. What
you have now is much cleaner!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 29, 2017, 09:42:33 PM
I will add support for the scripting language LSL (Lasertag Scripting Language)


I decided to start with a simple one - with an interpreter.
It seems that it should turn out.

Writing will be scripts for the handlers of various events: clicking on a button, changing the status of the bluetooth connection, receiving the infrared "shot", commands from the RC and so on.

Events can have parameters: the contents of the IR package, the console commands, the new connection status, and so on.
The necessary parameters will be accessible to the corresponding script-handlers.

There are also global variables responsible for the gameplay: the level of health, the number of rounds in the clip, the remainder of the clips, the weapon damage, etc.
They will also be visible.

Timers will be available with the ability to configure them from scripts - the direction of counting, the interval of counting.

In addition, not all commands need to be executed each time.
Initialization of the same timer must be done one time.
Therefore, there will be a separator of the initialization code, which will be executed only once, and a cyclic code.
For example, the LOOP delimiter:

There will be comparison commands.
There will be a grouping of the command block with curly brackets.
# Is comments, lines will be ignored

While everything seems to be on the way, it will be seen what to add.

With the delimiters of the teams it was not decided.
Simpler, of course: one line - one command.
But I can make the command delimiter a semicolon.


For example, you need to issue two clips to anyone who shoots at the device.
But not more often than once every two minutes.

An example of a script (Handler of the received infrared packet).

countdown_timer_down_to 0
timestamp_counting_interval 1
LOOP:

if_timer_is_reset
{
send_add_clips 2
set_timer_value 120
reproduce_sound_ok
quit
}
reproduce_sound_error

ENDLOOP

Issue clips only their own

countdown_timer_down_to 0
timestamp_counting_interval 1
LOOP:

if_timer_is_reset
{
If_equals team_color_in_package, my_team_color
{
send_add_clips 2
set_timer_value 120
reproduce_sound_ok
quit
}
reproduce_sound_error
quit
}
reproduce_sound_error

ENDLOOP





The scripts will be on the SD card or broadcast on the radio channel.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 30, 2017, 07:51:18 AM
New PCB for new device
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on August 31, 2017, 10:06:37 AM
ARMada. Si4432 Driver InThe Main Firmware.
https://www.youtube.com/watch?v=PNboULEzN1g
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on September 13, 2017, 11:31:22 PM
  Finally I got the first Boot on ARMADA!

 What are the names of all PCB pins?
  I did not understand some things like 4 pins for TDA amp.
  I also do not understand where are the image files of the boot without SD card, where is that photo of the weapons with black background?

  Thank you, I am very pleased to see progress again.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 14, 2017, 11:39:40 PM
  Finally I got the first Boot on ARMADA!

 What are the names of all PCB pins?
  I did not understand some things like 4 pins for TDA amp.
  I also do not understand where are the image files of the boot without SD card, where is that photo of the weapons with black background?

  Thank you, I am very pleased to see progress again.

Wow! 8)
Congratulations!
What kind of screen is this?

Cartoons are stored in the controller's memory, although the ARMad can display BMP from SD card images.

I got carried away by radio modules - unresolved problems do not give rest, and the compilation of documentation seems a boring routine.
But we have to...
I will make a description necessarily.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 18, 2017, 05:43:44 AM
I hope I did not mess things up.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 18, 2017, 10:12:18 PM
At the person it turned out to flash Armada through USB <-> UART adapter.
Later I will give details.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 19, 2017, 01:00:08 AM
USB-TTL
https://ru.aliexpress.com/item/1pcs-USB-to-TTL-USB-TTL-STC-microcontroller-programmer-PL2303-in-nine-upgrades-plate-with-a/32273983048.html?spm=a2g0v.search0104.3.17.Sgglgc&ws_ab_test=searchweb0_0,searchweb201602_2_5570020_10152_10065_10151_10068_10344_10342_5560017_10343_10340_10341_10307_10301_10137_10060_10155_10154_10056_10055_10054_5470020_10059_303_100031_10099_5460020_10338_10339_10103_10102_440_10169_10052_10053_10142_10107_10050_10051_5380020_10326_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_143_10312_10313_10314_10078_10079_10073_10125,searchweb201603_6,ppcSwitch_5&btsid=94a6a9ce-7e05-47dd-8176-fe4f707f4dc5&algo_expid=e8a1b472-b319-4177-bfb8-5a1ba0605a38-2&algo_pvid=e8a1b472-b319-4177-bfb8-5a1ba0605a38
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on September 19, 2017, 01:11:21 AM
 Geeeat Pingvin!
 I have a few questions yet...
1 - Why Bluetooth GND is not common with PCB GND?
2 - Is the supply of TDA separate from the rest of the PCB? Need another battery?
3 - Why not use TDA in Bridge mode to increase volume?
4 - What is the main firmware file inside Coocox for me to configure if the PCB is Bandana or Gun? Where?
5 - How I setup the clock?  :D Finaly I solder the clock`s battery.

 Thanks, see you.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 19, 2017, 02:12:11 AM
Geeeat Pingvin!
 I have a few questions yet...
1 - Why Bluetooth GND is not common with PCB GND?
2 - Is the supply of TDA separate from the rest of the PCB? Need another battery?
3 - Why not use TDA in Bridge mode to increase volume?
4 - What is the main firmware file inside Coocox for me to configure if the PCB is Bandana or Gun? Where?
5 - How I setup the clock?  :D Finaly I solder the clock`s battery.

 Thanks, see you.

1 - The GND is separate, so that there is no high-frequency interference.
They are connected by a ferrite bead (or a 0 Ohm resistor) at one point.
I came to the conclusion that under the bluetooth GND is not needed at all.


2 -NO! The same as with the bluetooth.The GND is separate, so that there is no high-frequency interference.
They are connected by a ferrite bead (or a 0 Ohm resistor) at one point.
Power to the amplifier can be fed through a 0 Ohm resistor on the board, or from an external battery through the connector (then you can not set the resistor! Destroy the electronics)! The fact is that the amplifier can be powered by voltage up to 12-15 volts. If we need a very loud sound - we have an option in stock.
https://www.youtube.com/watch?v=pKlWXqm0ybY

3 - They already work in bridge mode, in my opinion.  On 4 ohms and 3 watt speakers, the sound is very loud. There is a resistor to adjust the volume hardware.


(https://avrlab.com/upload_files/1_11.PNG)




4 - In the repository.
Source codes are the same for the bandage, and for the tag.
All the parameters of the firmware assembly are determined through macros.
https://github.com/PingvinOpenTag/ARMada-lasertag-system/tree/master/Firmware/ReleaseCandidate/rtos_103_SDIO_FAT_complite

5-Turn off the devices, hold the trigger and keep it pressed to turn on the power - you will fall into the settings menu. There is a clock and calendar setting.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on September 24, 2017, 06:46:47 PM
  Many steps forward with your last tips.  :D
 One more strange thing is happening here... When I attach the SD card, the PCB hangs. The clock stops counting and the heart stops beating.
 Card information is normal and readable, BT settings, number of ammunition, etc. Everything is read and understood by the PCB, but when it finishes reading it hangs.
  Do you have any idea what that might be?  ???
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 24, 2017, 09:41:45 PM
  Many steps forward with your last tips.  :D
 One more strange thing is happening here... When I attach the SD card, the PCB hangs. The clock stops counting and the heart stops beating.
 Card information is normal and readable, BT settings, number of ammunition, etc. Everything is read and understood by the PCB, but when it finishes reading it hangs.
  Do you have any idea what that might be?  ???

What is the file system on the SD card?
Should be FAT 32.
The maximum volume of the disc in FAT32 is 4 Gb.
If you have a larger card, you can format it in FAT32 (4GB).
The fact that Windows correctly sees the files on the card does not say anything - the operating system works with the card at the sector level.
In firmware, the driver understands only FAT32.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on September 25, 2017, 12:32:00 PM
 Yep, FAT32.
 No, I did not say that the windows that read the card, was the PCB. It reads the card and understands the settings of Bluetooth, Password, Ammo, etc., but after reading and starting it hangs.
 For some reason the buttons are strange too, Reload and Trigger are triggered randomly.  ???
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on September 26, 2017, 08:00:58 AM
Yep, FAT32.
 No, I did not say that the windows that read the card, was the PCB. It reads the card and understands the settings of Bluetooth, Password, Ammo, etc., but after reading and starting it hangs.
 For some reason the buttons are strange too, Reload and Trigger are triggered randomly.  ???

Did you compile it yourself?
Give me the source with your settings and a binary file.

The settings for bluetooth and everything else should happen when there is no system.bin file on the card - in this file all settings are stored in a binary form.
After power on, if it is not - the settings are read from the armada.ini file and written to the file sistem.bin.

If there is no connection on the bluetooth with the bandage and the firmware is compiled for the weapon - two guns should be displayed on the screen.

There should be no reaction to pressing the buttons.

Most likely - it's just my defect in the firmware.

If it's not difficult - capture the process on the video.
Give me the source with your settings and a binary file.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 03, 2017, 10:19:59 PM
For new sensors PCB
(https://sun9-4.userapi.com/c841624/v841624613/2505a/1jPMYjcG6VM.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 03, 2017, 10:59:02 PM
 Hey! Cool design.
 Do you enable 4 sensor zones?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 04, 2017, 10:14:36 PM
Hey! Cool design.
 Do you enable 4 sensor zones?
Of course! ;) 8)
https://www.youtube.com/watch?v=hfxMOxfElk0&pbjreload=10
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 04, 2017, 10:41:31 PM
I received a parcel from EasyEda.
Inexpensive and relatively fast.

20 pieces ARMada PCBs.
90 pieces Sensor 1;3  PCBs.
90 pieces Sensor 2;4  PCBs.

For all $41.7 (including delivery).


Delivered ( 14 Days )



(https://pp.userapi.com/c840725/v840725884/100c2/wvr_28ZGGSo.jpg)
(https://pp.userapi.com/c840725/v840725884/100b9/gydYrgUe7-A.jpg)
(https://pp.userapi.com/c840725/v840725884/100cb/TH8fR2FYqQc.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 05, 2017, 09:43:29 AM

 Beautiful!!!  :D

 Are these PCBs the same as Github's or have you changed anything? Have you found any BUGs in them?
  Very cool to see a lot of PCBs like that! Veeery cool.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 05, 2017, 01:37:35 PM

 Beautiful!!!  :D

 Are these PCBs the same as Github's or have you changed anything? Have you found any BUGs in them?
  Very cool to see a lot of PCBs like that! Veeery cool.
Yes - these are printed circuit boards from the repository.
They are almost the same as the purple boards (there were no mistakes on purple boards), but I removed the "ground" polygon under the bluetooth module and put some capacitors on some of the others - but that's not the point.
Now I have plans to break Armada into blocks so that it can fit in small cases, for example - pistols.
And I add I2С interface for small screen OLED or something else.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 23, 2017, 09:47:40 PM
 Pingvin, I'm broking my head here...
 Who read the battery tension???
 The pcb here is reading the regulated 3.28V, not Li-Ion Volts and the USB charger is not charging.
 Any idea what´s going on?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 23, 2017, 10:15:40 PM
Pingvin, I'm broking my head here...
 Who read the battery tension???
 The pcb here is reading the regulated 3.28V, not Li-Ion Volts and the USB charger is not charging.
 Any idea what´s going on?
What version of the board?
From which sources and with what parameters did the firmware compile?
On a white printed circuit board and on a purple voltage on a battery, it is measured in different ways.
What does it mean - does not charge the battery?
For the charge of the battery answer a special chip.
During the charging process, no power is supplied to the microcontroller.
Show the diagram of how the battery is connected and the power switch.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 23, 2017, 11:15:35 PM
 I'm using the white board, V3 I think.

And the Firmware I used your "ARMada-lasertag-system-master.zip" 26/07/2017

 Following your ARMada Scheme:
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 24, 2017, 01:01:20 AM
I'm using the white board, V3 I think.

And the Firmware I used your "ARMada-lasertag-system-master.zip" 26/07/2017

 Following your ARMada Scheme:
The white circuit board is the "old version".
When compiling, there must be a macro in the types.h
#define OLD_VERSION_PCB

should not be a slash at the beginning of the line
Title: Re: Open Source Laser Tag project - ARMada
Post by: Theuer on October 25, 2017, 12:52:46 PM
 True, I found this "OLD_VERSION" line.
 Now I'm trying to understand why the SD card stuck the software.
Thanks.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on October 25, 2017, 09:58:05 PM
Why did you decide that the sd card stuck the the firmware?


The thing can be that when you connected the SD card, the Bluetooth module was tuned to the connection.
And if the bluetooth connection does not happen with a bandage (in which the corresponding firmware should be), then you will observe a similar picture.
The matter is that after installation of connection the sewing transfers the current status - in game it or not.  And as all the parameters of the player.
If the status is not received by tag, then it also "hangs", since it is not known what to display - whether the end of the game, or a new game.

What does your board connect to on the bluetooth?

And make a video with a description of the problem.

So it's hard to understand what the problem is - how to do a telephonic surgery. :)


And try a fresh firmware.
Some errors have been fixed.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 18, 2017, 11:05:39 PM
PCB "Matreshka" as wireless Bandana.

https://www.youtube.com/watch?v=0-m41UtSLBo&feature=youtu.be


Project on  EASYEDA
https://easyeda.com/Pingvin/Bandana_to_KA08_case-9440ad120ecb4737829db2311c2aa397

Sensor
https://easyeda.com/Pingvin/RGB_Sensor-045cd44a1dcb499295402dfda90ceb79
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on December 28, 2017, 12:21:32 AM
Domination tube. Prototype.

https://www.youtube.com/watch?v=rbvllnIhdbU&feature=youtu.be

Happy New Year and Merry Christmas!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on January 11, 2018, 04:17:22 AM
Same functions add.

https://www.youtube.com/watch?v=UYakTnB9fQE&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on February 02, 2018, 03:25:01 AM
ARMada with budget option bandana "Matreshka"
https://www.youtube.com/watch?v=dZErVzwoMoM&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 16, 2018, 12:14:43 AM
MatreshkaBTtoIrRetranslator
https://www.youtube.com/watch?v=wfPcvTlFIG8&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 16, 2018, 02:36:40 AM
Bandana on the basis of the PCB Matryoshka + smartphone = infrared remote control.
https://www.youtube.com/watch?v=5p9PJ_wyjwE&feature=youtu.be
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 24, 2018, 05:45:36 PM
I was away for a long time... but I am back now, almost ready to load firmware and try it out for the first try...


https://ibb.co/jUdJx7
(https://image.ibb.co/iw3kc7/20180324_182614.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 25, 2018, 10:10:25 AM
I noticed that the dip-trace files for the bandana sensors show R11, R12, and R13 as 3.3k in the board layout, but 100 ohm in the schematic file.  These are the current limiters for the RGB LED, and should be 100 ohm for ~30ma current in the LED, not 3.3k.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 26, 2018, 12:59:22 AM

In my case the details in the amplifier circuit are not those in the circuit.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 26, 2018, 01:15:21 AM
In my case the details in the amplifier circuit are not those in the circuit.
The power connector should be powered by a irlml5023 transistor.
This is protection against reverse polarity.
Resistor R70 (0 Ohm) - not needed.
Check your circuit board with wiring diagrams.


(http://armada.lasertag.store/wp-content/uploads/2017/04/armadausb_v5_mount_scheme_top-768x543.jpg)

(http://armada.lasertag.store/wp-content/uploads/2017/03/armadausb_v5_mount_scheme_bot-768x543.jpg)

Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 26, 2018, 12:54:51 PM
Hi Pingvin,

This may be dumb question, but the firmware can be compiled as either a weapon, or sensor bandana (DEVICE_ROLE).

Does this mean that two Armada core boards are required for a wireless weapon and bandana configuration?  With the bluetooth connecting them together?

Is it also possible for the weapon to use a hard-wired bandana and not use the bluetooth?  (using the weapon DEVICE_ROLE?)

Thank you,
Duane
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 26, 2018, 10:49:43 PM
Hi Pingvin,

This may be dumb question, but the firmware can be compiled as either a weapon, or sensor bandana (DEVICE_ROLE).

Does this mean that two Armada core boards are required for a wireless weapon and bandana configuration?  With the bluetooth connecting them together?

Is it also possible for the weapon to use a hard-wired bandana and not use the bluetooth?  (using the weapon DEVICE_ROLE?)

Thank you,
Duane
Yes that's right.
Another option - ARMad as a tag and a wireless bandana Matryoshka.
But the firmware is different.
In the repository they are not yet available.
https://www.youtube.com/watch?v=j0vfYwLnz48&pbjreload=10
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 27, 2018, 11:24:04 AM
Another question... can the 4432 radio be used instead of bluetooth?  Using bluetooth for other communications?
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on March 30, 2018, 07:58:04 AM
Another question... can the 4432 radio be used instead of bluetooth?  Using bluetooth for other communications?
Theoretically, of course, it is possible (there will be such a version, perhaps), but in practice this has not yet been realized.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 30, 2018, 03:00:08 PM
I will try to do this.  I have one board ready to flash and experiment with.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 31, 2018, 07:51:03 AM
Hi Pingvin,

I have my board all assembled and I am ready to flash... but I need some help.  I am using st-link v2, and I understand that I need to use the SWD connection, but where does that connect on the Armada?

You posted some pictures for Theur back in August on this, but MilesTag forum is not working and pictures are not available.

Do I use the USB port on ARMada for the SWD?

Thank you.
Duane

Hi Pingvin, I really need more some help...
 I had never had so many difficulties in an electronics project before.
 It's ridiculous, but I just do not understand how to connect the ST-Link V2 on the ARMADA CPU.
 ST-Link V2 have 10 Pins, (RST-SWDIO-GND-SWIM-SWCLK-3.3V-5V). How can I connect this on TX-RX ARMADA?
 Any ideia?
 Thanks buddy.


ST-Link connects to the SWD port.

Good luck!
I'm waiting for the good news from you! ;) :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 31, 2018, 09:21:31 AM
Ignore my last post... I found it.

Hi Pingvin,

I have my board all assembled and I am ready to flash... but I need some help.  I am using st-link v2, and I understand that I need to use the SWD connection, but where does that connect on the Armada?

You posted some pictures for Theur back in August on this, but MilesTag forum is not working and pictures are not available.

Do I use the USB port on ARMada for the SWD?

Thank you.
Duane

Hi Pingvin, I really need more some help...
 I had never had so many difficulties in an electronics project before.
 It's ridiculous, but I just do not understand how to connect the ST-Link V2 on the ARMADA CPU.
 ST-Link V2 have 10 Pins, (RST-SWDIO-GND-SWIM-SWCLK-3.3V-5V). How can I connect this on TX-RX ARMADA?
 Any ideia?
 Thanks buddy.


ST-Link connects to the SWD port.

Good luck!
I'm waiting for the good news from you! ;) :D
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on March 31, 2018, 11:53:40 AM
Success!!

(https://image.ibb.co/iJMy9n/20180331_124526.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 01, 2018, 04:52:05 AM
Congratulations!  :)
A sensor loop correctly assembled? Cut the postings in the right places?

(http://armada.lasertag.store/wp-content/uploads/2017/03/sensors_pinout-768x543.jpg)
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 01, 2018, 05:29:19 AM

Clamp the trigger and turn on the power - you will get to the settings menu.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on April 01, 2018, 07:44:35 AM
Hi Pingvin,

I didn't cut the wires on the sensors yet, but I understand where the wires need to be cut... will try that today.

I already used the menu for setting time, IR power, etc... works great!

Audio is not working yet... I had to substitute the amplifier chip... I used a NJM2073M because the TDA2822 is obsolete and can't be purchased here.  (Alibaba maybe... but it takes so long to arrive!).  Need to troubleshoot this next.

I am learning how the software works... big project!  Nice job getting all of this together and working!!

Duane

Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 01, 2018, 09:03:52 AM

...
Audio is not working yet... I had to substitute the amplifier chip... I used a NJM2073M because the TDA2822 is obsolete and can't be purchased here.  (Alibaba maybe... but it takes so long to arrive!).  Need to troubleshoot this next.

...

Duane

https://ru.aliexpress.com/item/Chip-TDA2822-TDA2822M-dual-channel-monolithic-power-amplifier-IC-new-original-ZYXP2/32693746832.html?spm=a2g0s.13010208.99999999.637.KIrnXx
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on April 01, 2018, 09:54:10 AM
Ordered!
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 02, 2018, 03:32:28 AM
I looked at the characteristics of the NJM2073M chip - it is very similar to the TDA2822
Should work, in my opinion.

But why do you have 10 kΩ resistors instead of 0.1 μF capacitors?
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on April 02, 2018, 07:35:44 AM
I thought it would be a drop in replacement too...  maybe I made a mistake on the passive components?  I'll look at the amplifier tonight... maybe I just need to fix my mistakes and it will work.
Title: Re: Open Source Laser Tag project - ARMada
Post by: duaneb on April 02, 2018, 08:22:12 AM
Just looked at my photo of the board... the "104" components are capacitors.  I think it's ok, but I will put it on the scope tonight to see what's happening.

The SD card doesn't seem to work yet... I tried installing the bootloader too, but I can't get it to pick up the new .hex file from the SD card.  My SD card socket seems backwards too... the ones I received have the correct pinout, but the card inserts from the other end... I have ordered more from alibaba... hope they are the same design as yours.

Still some issues to troubleshoot.
Title: Re: Open Source Laser Tag project - ARMada
Post by: Pingvin on April 03, 2018, 03:05:02 AM
https://ru.aliexpress.com/item/50pcs-lot-TF-Easy-holder-Mobile-Phone-Micro-SD-card-holder-TF-card-connector-Slot-Sockect/32748088427.html?spm=a2g0s.13010208.99999999.497.nmyeht


the card must be formatted in Fat32

Not hex, bin format.