Elektroda.com
Elektroda.com
X
Elektroda.com

INTERFACEINATOR - that is, the command center of the Earth differently

SylwekK 5451 26
This content has been translated flag-pl » flag-en View the original version here.
  • INTERFACEINATOR - that is, the command center of the Earth differently

    What some on the forum know is that I like LED blinking. In this project, I gave it the maximum vent and was able to get carried away by the wave to such an extent that by the end I had had enough :)
    You remember Earth Command Center by colleague @ reaven22? Yes, it was his design that was the inspiration for my construction and even for this occasion I asked him for permission to use the lead melody from his suitcase, but on sound details later :)
    Watching the CDZ project a long time ago and contributing to the topic at the same time, I didn't even think that I would have the opportunity to do something similar in the future. Well, life sometimes surprises and when a cute nephew shows up, Uncle has to do something.

    The construction took me some time, and it was created in full conspiracy for at least a year. Maybe two people besides me knew about everything. Even my daughters did not notice that it was supposed to be a toy - daddy does the new driver and that's it.

    What were the assumptions then? Initially, it was supposed to be simple, some LEDs, some switches, buttons. In the meantime, ambition prevailed and ideas began to sprout slightly diversifying the fun - gameplay. A quick decision - some Atmega and shift registers to cover the buttons and lights, each of them freely programmable and generating sound effects. When, after several dozen hours of devising the layout and possibilities, I accidentally flashed somewhere on the WS2811 internet pages in DIP - the decision was immediate. Half of the LEDs were replaced in the project, thanks to which I was able to get rid of 6 pcs of 74HC595 registers, which made the schematic and the board extremely simple, and at the same time drastically increased the playability. I went back to the point of designing and thinking about new possibilities.

    In total, some 200 hours of thinking, planning, designing, soldering and programming (just over 4500 lines of program in C written from scratch) resulted in a device that not only lights up and makes sounds, but also has sewn educational options (e.g. fun colors, manual exercises with precise turning of knobs, simple rhythmics, etc.) and memory exercises (several versions). The latter option is particularly interesting due to the scalability of the game - even parents can do the competition :) There was also an arcade option in the form of a simple game with the use of the RADAR module.

    The two-and-a-half-year-old recipient is probably satisfied, and his parents, I have the impression, were more surprised by the suitcase than he was :)
    The device is designed in such a way as to logically combine certain elements, dependencies and react to signals. I introduced a random element (it can be changed with a hidden option or turned off completely) thanks to which games in modules (if they are active) start after a random time and expect the operator's reaction.
    Admittedly, the toddler will not use all the possibilities right away, but I announced to parents that you can absolutely not leave the device alone with this device, and they can use it (memory games start easily, but it gets really hardcore as you win).
    As for a child, a few minutes of play is absolutely enough and the joy of the flashing lights is ahead. Anyway, what kind of child will take more than 10-15 minutes.



    The toddler liked to click with a microwave and an oven, so I think that this suitcase will be a much better and safer option for him :)
    And one more important feature - there are no instructions for this. Searching for and discovering the suitcase's possibilities is all the fun.

    And a few more technical details.
    Ultimately, the system is controlled by Atmega328 16 MHz, and it is helped by 9 74hc595 registers - some of them are inputs for button operation, and some as LED control outputs. Quite a large PCB ordered from Allpcb.
    Hardware PWM is used to generate melodies and audio effects. In retrospect, I wish I had made two audio channels (the board was ready and some changes would be needed). All sounds are synthesized (including explosions, crackles, etc) and this had to be handled in time with sending the package to WS_LED. Added to this is the control of shift registers with a slightly modified software SPI to make it easier to read the input states. I do not give the diagram because there is nothing special about it. WS chain connection and rej595 are standard, as is the connection of potentiometers for analog inputs. There are no miracles here, just the basic rules straight from the beginner's guides :) The program and its capabilities are the most important here.

    After long thoughts on how to power this device, I fell on a small 2200 mA powerbank, which should be enough for about 8-10 hours of fun without a break. It is convenient and practical. The entire device does not exceed a current consumption of approximately 150 mA.
    I used ISD1820 to record and play back audio, which turned out to be a shot at 10, because whoever would not touch the suitcase, he likes this option the most :)
    There is also, of course, a power indicator with signaling. When the suitcase opens, the entire system is automatically turned on and the ENERGY module shows the battery status for a few seconds, and then goes to normal operation. If the status is too low, the device will not go into play mode, but will sound an alarm.
    The housing, as you can see, is an ordinary suitcase, and the base of the switches and lights is 5 mm milky plexiglass, and all the holes are drilled on a large CNC machine by a friend (once again, many thanks to Grzes :) On top, I designed a sticker printed in UV technology (printed by the company that deals with such things).
    Oh, the sound. in total, there are nearly 40 different effects and melodies. I first "compose" the theme melodies in a music program to transfer them easily to the processor later. It was more difficult with special effects - some of them required dozens of tests on foot to make them sound the way I wanted them to. And below my friend @ reaven22's melody as one to choose from the menu :)





    A few photos from the assembly stage.

    INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently INTERFACEINATOR - that is, the command center of the Earth differently


    And this was the toddler's reaction (and then the presentation of the suitcase).



    Cool? Ranking DIY
    Can you write similar article? Send message to me and you will get SD card 64GB.
    About Author
    SylwekK
    Level 32  
    Offline 
    SylwekK wrote 2651 posts with rating 2585, helped 82 times. Live in city Lipsko. Been with us since 2007 year.
  • #2
    ArturAVS
    Moderator HP/Truck/Electric
    It looks like the "nuclear suitcase" of a certain president :D . As for the use of ISD1820, I have some doubts, it was better to use e.g. such a module with SD card support.
  • #3
    SylwekK
    Level 32  
    ISD can easily cope in this case, super quality is not needed here :)
  • #4
    ArturAVS
    Moderator HP/Truck/Electric
    SylwekK wrote:
    super quality is not needed here

    I did not mean quality, but the ease of controlling and loading audio files via USB.
  • #5
    SylwekK
    Level 32  
    Yes, it would be more interesting with that module (I read the article) only in the assumptions of the project I had a simple opportunity to record a few seconds and then play it back. If I was doing something with the messages, I would definitely consider using something stronger than isd.
  • #6
    walbe
    Level 18  
    Super performance!
    INTERFACEINATOR - nice name, I wonder how to translate it? A face changer or maybe an International Face Changer? :-D
  • #7
    SylwekK
    Level 32  
    walbe wrote:
    INTERFACEINATOR - nice name, I wonder how to translate it?

    I don't know, that's what it came to my mind at the beginning and it stays that way :) Every invention of Dr. Dundershmirtz (the one from my avatar) had "inator" in the name and I liked it :)
  • #8
    Damian_Max
    Level 15  
    Great construction, big congratulations !!
    It looks very cool, it inspired me to build a substitute for what I have in my drawer.

    Heh, @ sylwekk1 on the (micro) SD card upload the batch, diagram, pcb, documentation / description (e.g. topic printed in pdf) and a dedication. Hide the card inside the device (with warm glue or somehow), when your toddler grows up, maybe he will look there :) (although it is already donated, it will be difficult to drop it there, but maybe under the pretext of 'service / replacement of xD batteries')

    As for sounds, you can download special effects packs for games, there is a lot to choose from.

    Aa and I found a bug:
    "You cannot leave this device alone"
    "the kid will take care of it for a few (teen) minutes"
    if the little one takes a dozen or so minutes, the parents will absolutely not wait and look, but will take care of worldly matters xD.
    Against the background of various toys, this interfaceinator does not look particularly dangerous.
  • #9
    SylwekK
    Level 32  
    @Damian_Max, thanks :)
    Damian_Max wrote:
    As for sounds, you can download special effects packs for games, there is a lot to choose from.

    Probably yes, only for me everything is generated in real time by the processor (such a climate of 8bit :) ), and for those you write about, the player would probably come in handy. I myself have quite a large base of effects due to filming and editing.
    Damian_Max wrote:
    Aa and I found a bug:
    "You cannot leave this device alone"
    "the kid will take care of it for a few (teen) minutes"

    Actually, I was more concerned with the safety of the suitcase :)
    My parents recently informed me that they got into the play with the lights themselves :D
  • #10
    reaven22
    Level 29  
    Congratulations on the design, workmanship and details !! :)
    It's nice that my design was an inspiration ;)
    My project, despite 9 years old, still enjoys Junior :) and soon she will start playing Junior.
  • #11
    Jawi_P
    Level 35  
    Professional job! :)
    It looks insane. If I can give you a hint, hmm, I miss a built-in walkie-talkie and a second towel to the set, so that he can call his parents :) .
    Great project - a mega plus from me :)
  • #12
    SylwekK
    Level 32  
    Thanks :)

    Jawi_P wrote:
    If I can give you a hint, hmm, I miss a built-in walkie-talkie and a second towel to complete the set to call my parents.

    Well, then, probably in any security store, they would throw it on the soil. :)
  • #13
    398216 UsuniÍty
    Level 43  
    One thing is certain - you will not get on board any plane with such a suitcase.
    Workmanship and appearance the best. For something that doesn't do anything (useful), it's a wonderful thing. Although it can and does; provides a moment of peace from the questions "Dad, why ..." changing them to "Dad, what is this?" :)
  • #14
    Belialek
    Level 22  
    SylwekK wrote:
    You don't need super quality here :)

    But it's great quality :) Has your colleague thought about reselling the project and the batch? I would like to offer something like that for my child :)
  • #15
    SylwekK
    Level 32  
    Belialek wrote:
    Has your colleague thought about reselling the project and the batch?

    I haven't thought about it yet, but I'm afraid the cost would be high. It would be a pity just those 200 hours of work :)
  • #16
    ditomek
    Level 21  
    Could a colleague give a rough overview of the functions and relationships between them? Is the translation into the surrounding world 1: 1 or some other? I mainly mean PLASMA and SPECTRO components. What functions do they control in real life?
  • #17
    SylwekK
    Level 32  
    PLASMA is, let's say, an educational module. With automatic operation, it shimmers with all colors (RGB led), while with manual control, the potentiometers can control each color separately and observe the effect and mixing.

    SPECTRO is a typical visual gadget. The module was supposed to be more extensive, but time was running out a bit and maybe in some update I will add a few previously planned things to it. Generally, there are several effects programmed there, which can be additionally modified in color.
  • #18
    Zenereczek
    Level 10  
    SylwekK, as always, beautiful!
    How do you find time for such masterpieces.
    Congratulations and admire.
  • #19
    SylwekK
    Level 32  
    Thanks :) Sometimes it's just a bit bad :)
  • #20
    Belialek
    Level 22  
    SylwekK wrote:
    I haven't thought about it yet, but I'm afraid the cost would be high.

    For one, a lot is PLN 100 and for another one million :)

    SylwekK wrote:
    It would be a pity just those 200 hours of work :)

    By selling the project / kit for self-assembly / finished product, these 200 hours have the opportunity to "earn" for themselves - otherwise there is "only" satisfaction with the project.
  • #21
    SylwekK
    Level 32  
    Belialek wrote:
    By selling the project / kit for self-assembly / finished product, these 200 hours have the opportunity to "earn" for themselves - otherwise there is "only" satisfaction with the project.

    A matter worth considering. :)
  • #22
    SylwekK
    Level 32  
    Oh, I said how long it took and I forgot about the costs :)
    Well, it didn't work out cheaply. Not counting the time to develop the device and write the program, the cost of all elements of the toy was around PLN 400. I was also surprised after the count. The elements were bought at different intervals and on the occasion of other orders, I did not feel it so drastically in my pocket :)
  • #23
    Piottr242
    Level 23  
    How much did such a large printed circuit board cost you? And where did you do?
  • #24
    SylwekK
    Level 32  
    I was doing at ALLPCB, the cost of 5 items was something like 150 PLN. Well, in our country, nobody would make me cheaper.
  • #25
    tomus2k
    Level 26  
    SylwekK wrote:
    I don't know, that's what it came to my head at the beginning and it stays that way :) Every invention of Dr. Dundershmirtz (the one from my avatar) had "inator" in the name and I liked it :)

    Where's the kill button? Every inator had it :D
  • #26
    SylwekK
    Level 32  
    tomus2k wrote:
    Where's the kill button? Every inator had it

    Oh tap ... you are actually right - a button that should not be pressed under any circumstances - will be an idea for version 2 :)
  • #27
    ArturAVS
    Moderator HP/Truck/Electric
    SylwekK wrote:
    a button that must not be pressed under any circumstances

    Unlocked by turning two keys at the same time :D . Additionally, maybe a small pyrotechnic charge as a substitute for destruction? Safe for the pest, of course. After an "explosion" the entire INTERFACEINATOR would be "dead" until restarted by the constructor.