roman.kazicka@agnicoli.org
+421.918.901.732
  • Systémové myslenie v IT a Digitálna Fabrikácia
      • 2017-2018
      • 2018-2019
          • 2018-2019-Študenti
      • 2019/2020
          • Študenti
          • Projekty
              • 2019_P01
              • 2019_P02
              • 2019_P03
              • 2019_P04
              • 2019_P05
              • 2019_P06
              • 2019_P70
              • 2019_P08
              • 2019_P09
      • 2020/2021
          • 2020/2021-Studenti
          • 2020/2021-Projekty
      • 2021/2022
          • 2021-2022-Študenti
          • 2021-2022-Projekty
      • 2022/2023
          • 2022/2023-Studenti
          • 2022/2023-Projekty
      • 2023/2024 2023/2024
  • Prednášky
  • Systémové myslenie pri tvorbe IoT riešení
  • Kurzy
  • Workshopy
  • Kybernetické riešenia - Kybernetickým spôsobom
      • Finančná gramotnosť v inteligentných riešeniach-úvod
  • Nachádzate sa tu:  
  • Systémové myslenie v IT a Digitálna Fabrikácia
  • 2022/2023

2022-2023-STHDF

P01-2022-S04-S06-S07: Card shuffler

P01: Card Shuffler

 

Team

  • Adam Gajdoš - 3D modeling;
  • Marián Jarník - team leader, electrotechnics, assembly;
  • Róbert Karpiel - domain expert, project administration and documentation (EA / Prolaborate / WikiFactory / Joomla).

 

Motivation

A card shuffler is a device that is used to randomly rearrange a deck of playing cards. There are several reasons someone might want to use a card shuffler, for example:

  1. Speed, efficiency, convenience: Shuffling cards by hand can be time-consuming. A card shuffler can quickly and efficiently shuffle the cards, making it faster to get to the game. Therefore it can be a useful tool for people who host regular card games or for those who play multiple games in a row.
  2. Randomness: Many often-used methods of shuffling, such as "overhand shuffle", are extremely inefficient in producing truly random shuffles. Riffle shuffles approach randomness much more quickly, but they are also harder to execute.
  3. Accessibility: Some people may have difficulty shuffling cards by hand due to physical limitations; a card shuffler can make it easier for them to participate in card games.
  4. Reduced risk of cheating, professional use: Shuffling cards by hand can open the possibility of cheating, as a skilled person may be able to manipulate the cards. A card shuffler can make it more difficult to cheat by taking the shuffle away from the players' hands. In casino or professional card game tournaments, card shufflers are often used as well in order to ensure fair play and to prevent cheating.

Our major motivation was to speed up and automate the tedious preparation of card games so that players can use the time needed to sufficiently shuffle the cards more meaningfully. This way, we could automate (and make more interesting) especially those card-game-related activities, which are usually perceived as the least fun; furthermore, we wanted to raise awareness about the less intuitive facts about randomness in card and board games, such as the difference between various kinds of shuffles (and possibly use the end result in our own randomness-focused experiments).

 

Randomness in card shuffling

Not all card shuffling methods are equal; one of the most common methods used by beginners, overhand shuffling, requires about 10.000 shuffles to start approaching statistically insignificant levels of non-random bias. However, riffle shuffle, for example (shown in the upper right corner) only requires 7 to 8 shuffles to reach the same level of randomness.

PCG_0339_Cards_8b.png

External sources (papers) on the subject:

  • Trailing the Dovetail to its Lair (7 shuffles) (paper, direct download)
  • Shuffling Cards and Stopping Times (paper)
  • The Overhand Shuffle Mixes in Θ(n^2 log n) Steps (paper)

 

Team vision

As part of working on this project, we wanted to focus mainly on and gain experience in the following areas:

  • the basics of 3D modeling in general, 3D modeling tools and subsequent printing-related software,
  • try out 3D printing and pre-print optimization in practice,
  • creating a tangible product / prototype (as programmers / CS students, we usually only create software) that we could potentially later even use for our own statistical experiments.

 

Strategy and specification

At the beginning of the project, we identified / determined the following major steps:

  1. problem analysis, getting to know similar existing solutions, specification,
  2. 3D model design inspired by existing solutions,
  3. identification and procurement of necessary external components (engine, gears) compatible with our model,
  4. 3D Model printing, prototype assembly (incl. drive and power supply),
  5. prototype testing.

Our final goal was to create a device capable of mixing standard decks of 52/32 playing cards mechanically (using the "riffle shuffle" method) powered by an electric motor and a battery.

 

Existing solutions

We drew inspiration from multiple existing 3D-printed card shuffler solutions, for example:

  • Manual Playing Card Shuffler by RockstarAlchemist

 

Implementation

Initial design

We started by creating a v0.1 design sketch of the expected device:

CardShuffler_nakres.jpg

As can be seen in the sketch above, the original design included a single motor and a gear/transmission mechanism for force transfer. In later phases, these choices were superseded by a two-motor design.

 

3D design

During the modeling phase, we went over the total of 7 full iterations of prototype design. We used FreeCAD as our 3D CAD modeling tool and PrusaSlicer for STL-to-G-code conversion and printing optimization. Select pictures of the last iteration of all parts can be seen below; STL files and full documentation are available at the WikiFactory repository.

Process of designing one section of the 3D model in FreeCAD (shuffler body):

SMVIT_FreeCAD_Nahlad_2.png

 

Final iteration

Body

CardShuffler_Body.jpg

 

Card holders

CardShuffler_Desks.jpg

 

Drawer

CardShuffler_Drawer.jpg

 

Axes

CardShuffler_Axis.jpg

 

Fully assembled model

(FreeCAD + Assembly4 extension, incl. motor models)

SMVIT_FreeCAD_Nahlad_3.jpg

 

External components

Outside of 3D-printed parts of our design, a single common 9-volt battery, electrical switch, two motors (LaskaKit LA143059) and necessary wiring to power the device were also used.

 

Assembly

Assembly of the 3D-printed parts went mostly according to expectations; however, the motor holders (which were reworked and diminished in one of the prototype iterations in order to cut back on material costs and printing time; see below) proved to be too small to reliably hold the motors, especially when turned on.

IMG_20230124_161313.jpg

The originally intended wiring method (series) had to be also switched for a parallel alternative in order to even out motor speeds (see example videos at the WikiFactory repository).

 

Testing

Issues identified

During the final testing, one major issue was identified - the cards were not moved quickly / far enough to slide through the gap between the card holder and central shuffler area. Due to the gap being too large, too many cards managed to get into the gap at the same time and got stuck on occasion. Furthermore, some of the friction-induced kinetic energy was often wasted on card rotation instead of merely pushing the cards into the central area.

VID_20230124_194537_issue.png

Some alterations were made to mitigate these issues, but only with partial success, such as moving the axes closer to the gap, limiting card rotation (see temporary solution below) and using various materials to increase their friction (masking tape, insulation tape, silicone or rubber bands). Due to time- and tool-related constraints, re-printing of the relevant 3D parts or ordering stronger motors was not possible in time.

IMG_20230129_102950.jpg

 

Recommended solutions

We would recommend the following improvements to mitigate some of the issues faced:

  • narrow the gap which the cards fall through to the central section (to force fewer cards to go through at any given time),
  • introduce a more permanent solution to undesirable card rotation directly in the 3D model,
    • ideally movable/detachable/customizable, as card sizes differ.
  • Návštevy: 346

P02-2022-S09-S11-S17:Chladiaca podlozka

p02

  • Návštevy: 277

P03-2022-S15-S19-S22:Deafinity-Doorbell-for-people-with-impaired-hearing

Hodnotenie používateľov: 5 / 5

Deafinity

The doorbell for people with impaired hearing

Motivation

A doorbell for deaf individuals or those with hearing disabilities can greatly improve their daily lives by providing an alternative method of notification when someone is at the door. This can be especially useful for those who may not always be able to hear a traditional doorbell or may not have someone with them at all times to assist them.

Having various LED devices or vibrating devices placed around the house allows the homeowner to be notified in any room they may be in, rather than being limited to the sound of a doorbell which may not always be audible to them. This gives deaf or hard-of-hearing individuals more independence and allows them to feel more confident in answering the door on their own.

Additionally, a doorbell for deaf individuals or those with hearing disabilities can provide a sense of security by alerting the homeowner to someone at the door, even if they are not able to hear the doorbell. It can also be a useful tool for those who may receive frequent visitors and need an easy way to know when someone has arrived.

Overall, a doorbell for deaf individuals or those with hearing disabilities can significantly improve their quality of life by providing an accessible and convenient way to be notified of visitors at their door.

Using a Raspberry Pi for the Deafinity project can be a good choice for several reasons:

Cost: Raspberry Pi boards are relatively inexpensive, making them a cost-effective solution for the Deafinity project.

Versatility: The Raspberry Pi is a versatile computer that can be used for a wide range of projects. This makes it a good choice for the Deafinity project as it can potentially be repurposed for other uses in the future.

Connectivity: The Raspberry Pi has built-in Ethernet and WiFi connectivity, making it easy to connect to the internet and other devices. This can be useful for the Deafinity project as it may need to send notifications or signals to various devices around the house.

Community: The Raspberry Pi has a large and active community of users and developers, meaning there is a wealth of knowledge and resources available for those working on the Deafinity project using the platform.

Peripherals: The Raspberry Pi has many peripherals available, including LED displays, sensors, and motors, which can be used in the Deafinity project to provide notifications or signals to the homeowner.

Overall, the Raspberry Pi is a good choice for the Deafinity project due to its low cost, versatility, connectivity, and availability of peripherals and community resources.

smvit10.png

3D Printing

The Deafinity project has used 3D printing to create two custom boxes: one to house the doorbell button and one to house the LED notification device. These 3D-printed boxes allow for a customized and tailored fit for the specific components used in the Deafinity project. The project required custom boxes to house the doorbell button and LED notification device, and 3D printing allowed for the creation of these tailored and precise fits.

In addition, 3D printing was useful for prototyping in the Deafinity project. It allowed for the creation of prototypes of the custom boxes and other parts, enabling the testing and iteration of different designs before committing to a final version.

Incorporating hinges into the 3D-printed boxes for the Deafinity project allowed for easy access to the electronic components inside while also providing a secure closure. This was made possible through the use of 3D printing, which allowed for the creation of these custom boxes in a single print.

In addition, 3D printing allowed for the precise and accurate placement of the hinges on the boxes, ensuring that they functioned smoothly and effectively. This added a level of convenience and ease of use to the Deafinity project, as the boxes could be easily opened and closed as needed.

Overall, the use of 3D printing in the Deafinity project allowed for the creation of custom boxes with hinges in a single print, enabling a convenient and secure method of accessing the electronic components inside. This proved to be a valuable and effective use of 3D printing in the development of the project.

smvit1.pngsmvit2.pngsmvit3.pngsmvit4.pngsmvit5.pngsmvit6.pngsmvit7.pngsmvit8.png

Assembly 

Doorbell

The doorbell component of the Deafinity project consists of a Raspberry Pi, a battery case, and a mechanical keyboard key housed in a 3D-printed box. These components were assembled as follows:

First, the Raspberry Pi and battery case were placed inside the 3D-printed box. Mounting brackets or other securing methods were used to hold these components in place inside the box.

Next, the mechanical keyboard key was mounted onto the exterior of the box, serving as the doorbell button. The keyboard key was then connected to the Raspberry Pi using the appropriate wiring and connections, allowing the doorbell button to trigger the Raspberry Pi when pressed.

Finally, the box was closed and secured, making sure that all components were securely in place and that the doorbell button was easily accessible from the outside.

Overall, the doorbell component of the Deafinity project was assembled by placing the necessary electronic components inside a 3D-printed box, connecting them, and securing the box to ensure everything was in place and functional.

Signal box

The LED signal box for the Deafinity project is comprised of a Raspberry Pi, battery case, breadboard, and LED, all housed inside a 3D-printed box. These components were assembled in the following manner:

The Raspberry Pi and battery case were placed within the 3D printed box and secured in place using mounting brackets or other methods. The breadboard was then connected to the Raspberry Pi using the appropriate wiring and placed inside the box. This allowed the Raspberry Pi to control the LED.

The LED was placed in the designated hole on the exterior of the box and connected to the breadboard using the appropriate wiring. The box was then closed and secured, making sure that all components were properly in place and functional.

The LED signal box for the Deafinity project was assembled by placing the necessary electronic components inside the 3D printed box, connecting them, and ensuring that everything was securely in place.

smvit9.png




  • Návštevy: 301

P04-2022-S16-S24:Messenger

Who are we and what have we done?

We are the final year students at FIIT STU, Samuel Vanek and Dominik Puk.

As part of the Systems Thinking course, we have designed and created a "Messenger" project which is used to display a desired text between two people via a web application and a display in the form of a matrix LED display.

The solution consists of 3 parts:

  • Fabricated box
  • Web application
  • IOT hardware

    Design of the solution

In the following chapter, we will present the design of our solution for the individual parts.

Component diagram

Our proposed solution consists of two main component parts:

  • Local part - fabricated part + IoT hardware
  • Web part

The Local part of our solution consists of the heart of our system, the ESP12. This ESP uses a matrix display to display information and also has a reset button. The devices will be stored in a fabricated box, which we will introduce later. It consists of three parts.

The Web part of the solution consists of a REST web service used for storing messages from the user part and sending them to the ESP12 for display if requested.image

Web application

Design of the basic screen for sending messages to the local device.

The screen will have one text field where we can type in the text that is to be displayed on the device. The second will be a button that we can use to send the text itself.

image

Design of the box

Our box will consist of three parts:

  • Box - LED matrix and ESP module components placed inside
  • Front cover
  • Rear cover

​

Design of the box in which the LED matrix and ESP module components will be placed, along with dimensions, can be found in the image below.

image

​
The top part of the image shows the box from the front. The LED matrix will be placed in the cutout. The pins of the LED matrix will be located in the cutout on the left, from where the wiring will lead to the back part to the ESP module. There will be circular cutouts with a depth of 1.1 cm in the corners of the box. The cutouts will be used to attach and easily remove the front cover.

The lower left part shows the box from the back. The ESP module will be attached to two columns on the left with screws. The pins and wiring from the ESP module will lead into the box, which is why there is a cutout in the right column on the bottom. The wiring from the column cutout leads to the cutout on the right, where it powers the LED matrix in the front. There are cutouts in the corners for attaching the rear cover.

The following image shows the designs for the rear and front covers, which attach to the box and create a whole for placing and protecting the components.

image

​On the left is the design for the rear cover. The cover is filled throughout. There will be holes in the corners for attaching the cover to the back of the box.

On the right is the design for the front cover. In the middle part of the image, the cover is shown from the front and its dimensions correspond to the front of the box so that the entire LED matrix is visible. In the top part of the image, the cover is shown from the back. The cutout in the middle is extended to fit a piece of plexiglass which will protect the LED matrix. In the bottom part of the image, the cover is shown from the top. There are cylindrical protuberances in the corners that will be inserted into the front of the box and secure the cover to the box.

Solution

In this chapter, we will describe the individual parts of the solution based on our design.

Fabrication

In this part of the solution, we will describe the process of fabricating the box model along with the iterations that arose from the deficiencies of the previous prototype. We created the box and cover model using the Blender3D modeling tool.

​

First iteration

Model of boxView case_model_1.stl @ Wikifactory

​

Front cover modelView predny_kryt_model_1.stl @ Wikifactory

​

Back cover modelView zadny_kryt_model_1.stl @ Wikifactory

​

The image below shows the first printed prototype.

image

Errors occurred during printing, resulting in the creation of the second iteration model. The design also had to be changed because it proved to be non-functional after implementation.

List of errors in the first prototype:

  • Cylindrical protuberances on the front cover fell off during printing and also broke when inserted into the box

image

  • Incorrect dimension of the thickness of the columns of the box. The columns are too thick, it is not possible to attach the ESP module to them because the pins of the module are obstructed by the columns.
  • Printing error. The model separated during printing, resulting in the height of one corner of the box being smaller.

image

  • Dimension of the height of the cutout for the LED matrix. The LED matrix is not securely placed in the box and has a large vertical clearance.​

    Second iteration of model

In the second iteration, we redesigned the front cover. Instead of protuberances, the cover will contain holes and will be attached to the box with screws. This solution does not provide easy manipulation and removable, but it is necessary in terms of strength and quality. The dimensions of the cover are retained from the first design.

image

​

We also reduced the height of the cutout for the LED matrix to 3.5, narrowed the columns in the back of the box, and corrected the error in the model that caused the corner to curve.

​

Final box modelView case_final.stl @ Wikifactory

​

Final front cover modelView predny_kryt_final.stl @ Wikifactory

​

3D printing of the individual parts took approximately:

  • Box 8.5 hours
  • Front cover 1 hour
  • Rear cover 1.5 hours

​

Web application

As stated in the design, the web application provides input for the text to be displayed and a button to send the text itself. This text is then saved on the backend of our web application and is made available upon request from the local part.

image

Hardware

Node MCU ESP12 - node_techFunimage

Matrix 32x8 - matrix\_techFunimageConnectionimage

Final product

Description of final product

The local device operates in two modes:

  1. AP - access point
  2. Non-AP - display

The device is always in AP mode at startup or reset. In this mode, we can connect to the device via WIFI. After connecting, a web page is offered to us, through which we can change the WIFI network to which the device should log in. After saving to this WIFI, the device will automatically log in and switch to the second mode. If the device is within range of the last WIFI network when turned on, the device will immediately switch to Non-AP mode.

image

In Non-AP mode, the device periodically queries a web service to retrieve the text to be displayed. This text is displayed cyclically on the matrix display. If no text is received from the web service, a default message is displayed.

imageimageimageimage

Ideas for improvement

  1. Adding plexiglass in front of the matrix display
  2. Improved web application
  3. Creating different modes that the user can switch between (displaying account status, displaying messages, displaying...)
  4. Expanding for multiple devices
  • Návštevy: 347

P05-2022-S21-S23:Automatic voleyball trainer model

SMVIT - Automatic voleyball trainer model

Peter Stríž and Marek Vajda

Our intent is to create small model of machine which can shoot (or throw) balls at variable speeds and under variable angle.

Motivation

We have chosen this topic because we want to enhance our knowledge about 3D printing, CAD programs and IoT technologies, which we believe are going to be one of the leading technologies in the future. The main focus of this project is to find an efective way to build quick and functional prototypes, which can execute our ideas using IoT and 3D printing.

First ideas to solve our problem

The design process typically involves a series of steps, including gathering information, brainstorming, prototyping and testing, and final implementation. In order to create some product, we had to specify what our outcomes should be, so that later we could verify against them if we were succesfull.

Specification:

  • create a small model that can shoot balls
  • model is 3D printed
  • model has 2 motors that spin opposite to each other, in order to shoot balls
  • use ESP32 to controll everything
  • motors can be easily turned on and off
  • support variable speeds between motors, so we can introduce ball spin

Once the product specification was finalized, we began the implementation of the design. We started by creating a rough sketch:

delo sketch

CAD design

Software which we used was Fusion 360, since it provides easy collaboration, parametric desing and relatively easy to use user interface. By using CAD software and 3D printing, we were able to test and make adjustments to our design quite quickly.

This model served as a blueprint for the final product, and we were able to test and make adjustments to the design before actually building it.

 3d

At first we designed the upper part that shoots and only after that we focused on designing places to mount our electronic devices. 

Later, we used Creality slicer to slice up various parts of our model and convert them to gcode. For 3D printing we used a medium sized 3D printer Creality Ender 5 Plus.

Diagram of physical components

This diagam shows physical components architecture based on our 3D model. Manufactured model is 3D printed CAD model which is described in previous section. There are two electric motors and L298N motor controller with H bridge. L298N serves for controlling the speed and direction of electromotors. ESP32 is also present for controlling the L298N board and providing HTTP server for WEB gui. HTTP server means that this device can be controlled over WiFi with any mobile or PC connected to ESP32s WiFi AP.

component diagram

 

This is the actual wiring diagram we used:

delo zapojenie

ESP-32 program behaviour

We programmed ESP32 microcontroller to provide a WiFi access point which is used for connection between Smartphone/PC and ESP32. When connection is established, connected devices can access the graphical user interface of simple webapp. Webapp is served by running webserver of ESP32. Gui provides controls of two motors. After HTTP server backend recieves command from gui, ESP32 sends instruction to L298N which sets the motors rpms.

sw

Finished product

In the end, we were succesfull to create a small model of volleyball trainer that can shoot small balls. We also learned a lot of stuff about 3D printing, wiring stuff and in general about working on a physical devices.

delo

  • Návštevy: 291

P06-2022-S01-S02-S14:Interaktivna podlozka

Interactive Coaster

Team members:

  • Katarína Bielčiková
  • Martin Pažický
  • Roman Berešik

Motivation:

Coaster is a tool we use daily. It helps to keep the surfaces of furniture clean without any stains or scratches caused by glasses or cups. Coasters are usually inconspicuous and one does not really care about their design. That is not the case for this project. We decided to make the exact opposite - a coaster that glows and plays sound when a glass is put on the top, a coaster that attracts lots of attention. Since we are huge fans of the Star Wars films, we decided to design the coaster as the iconic Death Star. Although such coaster does not ease your life more than a normal one, it can make you smile and brighten your day a bit :)

Solution:

The solution to create an interactive coaster consisted of four main steps:

  1. Connecting the hardware
  2. Modeling the Death Star
  3. 3D Printing the Death Star
  4. Adjustments on the printed model

Hardware Connection:

First thing we needed was was to acquire and connect the hardware that facilitates the light glowing and sound playing. To make such hardware set functional, we required the following components:

  • Arduino UNO
  • MP3 player
  • Speaker
  • M/M cables
  • Resistors
  • Button
  • MicroSD cart
  • LED strip

After gathering all the necessary components we designed a scheme describing the way of connecting these components:

image_2023-01-14_130539713.png

When all the hardware was connected according to the scheme, we measured it to find out what the size and scale of our Death Star model should be:

No description available.

 

Death Star Modeling:

Since we wanted to 3D print the death star, we first needed to model it in a software. We deided to choose Blender. Our model consisted of 3 parts - top of the star, bottom of the star and a connecting layer.

Top:
model-top.png

Bottom:

No description available.

 

Middle:

No description available.

All together in blender:

No description available.

Death Star 3D printing:

We saved the model to .stl format. Then we used the Prusaslicer software for parsing the model to 3D printer instructions. We also needed to adjust the 3D printing settings to the following:

No description available.

Prusaslicer parsed the model to .gcode file and it was ready for the 3D printer. 

All the parts were printed successfully:

image_2023-01-14_133855865.png

image_2023-01-14_133910065.png

Adjustments on the printed model:

Finally, after printing the model we needed to put the hardware inside and we also had to make some adjustments. We created small holes with the use of drill to make the sound coming out of the speaker louder. We also used the drill to make place on for the button that turns on the lights and sound on the top part. Cap of the top part was also replaced with different - transparent material, so the lights could be more visible. 

funkcna-podlozka.jpg

  • Návštevy: 317

Ďalšie články…

  1. P07-2022-S08-S13:QuadFinder
  2. P08-2022-S03-S05:Dispenser
  3. P09-2022-S18-S20-S25:Color-Regonition
  4. P10-2022-S10-S12:Keys

Podkategórie

2022/2023- Študenti Počet článkov:  24

2022/2023-Projekty Počet článkov:  11

Strana 5 z 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6


© 2023 by JoomLead. All rights reserved.
  • Systémové myslenie v IT a Digitálna Fabrikácia
    • 2017-2018
    • 2018-2019
      • 2018-2019-Študenti
    • 2019/2020
      • Študenti
      • Projekty
        • 2019_P01
        • 2019_P02
        • 2019_P03
        • 2019_P04
        • 2019_P05
        • 2019_P06
        • 2019_P70
        • 2019_P08
        • 2019_P09
    • 2020/2021
      • 2020/2021-Studenti
      • 2020/2021-Projekty
    • 2021/2022
      • 2021-2022-Študenti
      • 2021-2022-Projekty
    • 2022/2023
      • 2022/2023-Studenti
      • 2022/2023-Projekty
    • 2023/2024 2023/2024
  • Prednášky
  • Systémové myslenie pri tvorbe IoT riešení
  • Kurzy
  • Workshopy
  • Kybernetické riešenia - Kybernetickým spôsobom
    • Finančná gramotnosť v inteligentných riešeniach-úvod