Author Topic: Open Source Laser Tag project - ARMada  (Read 50862 times)

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #345 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?
« Last Edit: April 02, 2018, 03:37:27 AM by Pingvin »

duaneb

  • Jr. Member
  • *
  • Posts: 19
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #346 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.

duaneb

  • Jr. Member
  • *
  • Posts: 19
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #347 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.

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
« Last Edit: April 03, 2018, 03:08:21 AM by Pingvin »

hg6iqi

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Open Source Laser Tag project - ARMada
« Reply #349 on: April 26, 2018, 01:10:03 AM »
Hi Pingvin!

 I have prepared this device:

https://easyeda.com/Pingvin/Bandana_to_G026_case-6bc4d1d6e12e4c4db0ab4dd649829511

 When programming, it says that the size of the program is too large.

 Where can I find the right firmware for testing?

 Thanks for your help:
 Steve

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #350 on: April 26, 2018, 11:11:43 AM »
Hi Pingvin!

 I have prepared this device:

https://easyeda.com/Pingvin/Bandana_to_G026_case-6bc4d1d6e12e4c4db0ab4dd649829511

 When programming, it says that the size of the program is too large.

 Where can I find the right firmware for testing?

 Thanks for your help:
 Steve
Set the level of optimization Os






Or I'll send you a binary file.
By the way - there is a new version of the firmware that works and as an infrared remote control paired with a smartphone.
https://www.youtube.com/watch?v=5p9PJ_wyjwE
I'll post it tomorrow.
« Last Edit: April 26, 2018, 12:00:32 PM by Pingvin »

hg6iqi

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Open Source Laser Tag project - ARMada
« Reply #351 on: April 26, 2018, 12:28:46 PM »
Dear Penguin!

I already see the mistake, I tried to burn it:

Armada laser-tag system / firmware / ReleaseCandidate / rtos_103_SDIO_FAT_complite /

but this is another source, not for this board.
What you've inserted, another source code.

So it could not have been good.

Hi:
Steve.

hg6iqi

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Open Source Laser Tag project - ARMada
« Reply #352 on: April 26, 2018, 12:59:26 PM »
I have built two Ascetic boards, it works well.
I'd like to try wireless bandana too.
Here's a photo about it:


Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #353 on: April 27, 2018, 12:03:38 AM »
There was an error in the design of the project - the two files were in a different folder and they were not in the repository.
Fixed.

https://easyeda.com/account/project/attachment?project=9440ad120ecb4737829db2311c2aa397

As for the Matryoshka board, while I taught her how to work with ARMada.
You can replicate devices so quickly that I just can not keep up with you.
Come on my heels! :D ;)

To "Matryoshka" was able to work with the "ascetic", you need to solve one problem - to configure the Bluetooth module properly.

"ARMADA" can work in both Master mode and Slave mode.
At the moment, "ARMada" works in Master mode and connects to a specific device, the mac address of which I prescribe in the settings.


"Ascetic" works in the mode of the slave, therefore "Matryoshka" should work in the mode of the Master.

The task is just to translate "Matryoshka" into Master mode and specify the MAC address of the device with which you want to connect.

There is one more interesting mode for these modules - they are looking for available devices and are trying to connect with the first one - but I have not yet tested this mode.

The blues mode is set by AT commands.

In the firmware I did not implement the module configuration yet.
Of course I'll try to do this if there is enough memory in the controller (or write separete firmware for setup bluetooth).

« Last Edit: April 27, 2018, 03:14:54 AM by Pingvin »

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #354 on: April 27, 2018, 02:39:19 AM »
I started writing the deodosting functional for "Matryoshka" - setting the Bluetooth module.
« Last Edit: April 27, 2018, 03:00:19 AM by Pingvin »

hg6iqi

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Open Source Laser Tag project - ARMada
« Reply #355 on: April 27, 2018, 01:03:44 PM »
Hi Pingvin!

I understood the bluethooth configuration.

Does the "Matryoshka" bandana have firmware available for me?
The picture shows "BudgetBandana", but I do not have one.

thanks
Steve.

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #356 on: April 27, 2018, 10:21:34 PM »
Hi Pingvin!

I understood the bluethooth configuration.

Does the "Matryoshka" bandana have firmware available for me?
The picture shows "BudgetBandana", but I do not have one.

thanks
Steve.

Of course have!
I thought they were accessible by the link that I posted above.
Attached.

Source
https://yadi.sk/d/NxAIAsV33Us2gV

Bin
https://yadi.sk/d/KXCY9K7b3Us2gd


But this firmware is not able to tune the bluetooth.
I deal with this problem - I write the code.


P.S. I'm well advanced!
AT commands already work.
It remains to decide how to find out whether it is necessary to configure the Bluetooth or it is already configured and how to transfer the parameters, because we only have an IR interface, which means that we need to extend the protocol for the commands for managing the bluetooth.
« Last Edit: April 28, 2018, 12:37:02 AM by Pingvin »

hg6iqi

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Open Source Laser Tag project - ARMada
« Reply #357 on: April 28, 2018, 02:07:08 AM »
I also thought the link would be good, but it was only my project library that brought it.

I have already programmed "Matryoskha", it works perfectly.

I'll make a video later.

Thank you very much.

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #358 on: April 28, 2018, 02:58:56 AM »
I solved one more problem - now after the bluetooth configuration is set, a special code is written to the last cell of the flash memory.
When the device is turned on, this code will be read and checked.


What am I planning to do?
I want to configure the module in the Master mode and in the search mode of available devices and connection with any of them.
That is, there will be no binding to a specific mac address and no need to pass parameters.
« Last Edit: April 28, 2018, 03:00:36 AM by Pingvin »

Pingvin

  • Developer
  • Veteran
  • ***
  • Posts: 456
    • View Profile
Re: Open Source Laser Tag project - ARMada
« Reply #359 on: May 01, 2018, 06:38:16 AM »
I forgot to warn - on the P3 connector you need to fix the jumper between the first (square pad) and the second leg.