« STIC Discussion:STIC IV (2021)/Grand projet: Boite Binaire » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
(→‎liens circuits switch -- ~~~~ : nouvelle section)
 
(→‎paramètres découpe -- ~~~~ : nouvelle section)
 
(6 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 2 : Ligne 2 :


Voilà un [https://www.tinkercad.com/things/dbvbfV1OXCa-sticiv-arduino-swith-variations circuit Tinkercad] j'ai recomposé à partir d'un sketch avec boutons poussoirs. J'ai aussi trouvé [https://forum.arduino.cc/t/detecting-multiple-switches-buttons/467976 ceci] dans une discussion forum qui peut aider.
Voilà un [https://www.tinkercad.com/things/dbvbfV1OXCa-sticiv-arduino-swith-variations circuit Tinkercad] j'ai recomposé à partir d'un sketch avec boutons poussoirs. J'ai aussi trouvé [https://forum.arduino.cc/t/detecting-multiple-switches-buttons/467976 ceci] dans une discussion forum qui peut aider.
Et encore un [https://www.instructables.com/How-to-Multiple-Buttons-on-1-Analog-Pin-Arduino-Tu/ step-by-step] mais il faut remplacer les boutons par des switchs.
===Re: liens circuits switch -- [[Utilisateur:JeromeHumbert|JeromeHumbert]] ([[Discussion utilisateur:JeromeHumbert|discussion]]) 11 mai 2022 à 11:13 (CEST)===
Merci beaucoup Kalli !
Petite question, je pense ne pas avoir assez d'emplacement sur mon arduino pour pouvoir faire les switchs (12 emplacements) et le 4 digit display (12 emplacements). Comment me conseilles-tu de procéder ? Est-ce qu'il y a une extension possible ? Ou un deuxième arduino ?
Merci d'avance !
Jérôme
====Re: Re: liens circuits switch -- [[Utilisateur:Kalli|k. benetos]] ([[Discussion utilisateur:Kalli|discussion]]) 11 mai 2022 à 11:51 (CEST)====
J'ai trouvé cette réponse. J'en ai déjà entendu parler de la première. Apparement il suffit de les renommer, ''"call them Pin 14 to Pin 19 and they will work like digital ones.''". Combien te faut-il?
''There are two ways you can get more pins out of an arduino.''
''The first way is by using the Analog pins as digital output pins, which is really easy to do. All you need to do is refer to A0-A5 as pins 14,15,16,17,18,19. For example to write high to pin A0 just use digitalWrite(14, HIGH).''
''The other way to get more pins out of the Arduino is by using a Shift Register. To do this I recommend using the [https://nootropicdesign.com/ez-expander/ EZ-Expander Shield], which allows you to use digitalWrite([20-35], HIGH) when you import the EZ-Expander Library. This shield however only allows the pins to be used as outputs only and uses pins 8,12 and 13 to control the shift registers.''
''The great thing is, is that you can use both of the two methods above together, without any problems.''
=====Re: Re: Re: liens circuits switch -- [[Utilisateur:JeromeHumbert|JeromeHumbert]] ([[Discussion utilisateur:JeromeHumbert|discussion]]) 11 mai 2022 à 12:45 (CEST)=====
En tout 24 du coup c'est juste pas assez sur un seul arduino même avec ta technique secrète ;).
[[Fichier:Montage avec le 4 digit.png|vignette|gauche]] 1- Un circuit que j'ai trouvé utilisant le 4 digit
[[Fichier:Montage switchs.png|vignette|gauche]]
2- Mon circuit fonctionnel avec les switchs.
Du coup ta deuxième solution peut être la bonne ! Est-ce que t'en as un en stock ?
== paramètres découpe -- [[Utilisateur:Kalli|k. benetos]] ([[Discussion utilisateur:Kalli|discussion]]) 14 juin 2022 à 14:11 (CEST) ==
[https://edutechwiki.unige.ch/en/Trotec_Speedy_100R#Process_Options_and_parameters_-_Tables_for_cutting_and_engraving table de paramètres]
{| class="wikitable" border="1"
|-
! Material
! Cutting power
! Cutting speed
! Cutting Hz
! N cutting passes
! Engraving power
! Engraving speed
!N engraving passes
! Engraving resolution
! Notes
|-
| Plexi 5mm
|100
|0.75
|4000
|1
|80
|100
|500
|Better, position the plate on top of some wooden blocks, not directly on the grid.
|-
| Plywood birch
|4mm
|100
|1.2 (for large objects maybe a bit less)
|1000
|1
|80 (or better 2 at 60) 100
|500
|Birch plywood is strong quality but difficult to laser, in particular larger than 4mm sizes.
|}
Watch out for flames

Dernière version du 14 juin 2022 à 13:11

liens circuits switch -- k. benetos (discussion) 3 mai 2022 à 21:39 (CEST)

Voilà un circuit Tinkercad j'ai recomposé à partir d'un sketch avec boutons poussoirs. J'ai aussi trouvé ceci dans une discussion forum qui peut aider.

Et encore un step-by-step mais il faut remplacer les boutons par des switchs.

Re: liens circuits switch -- JeromeHumbert (discussion) 11 mai 2022 à 11:13 (CEST)

Merci beaucoup Kalli !

Petite question, je pense ne pas avoir assez d'emplacement sur mon arduino pour pouvoir faire les switchs (12 emplacements) et le 4 digit display (12 emplacements). Comment me conseilles-tu de procéder ? Est-ce qu'il y a une extension possible ? Ou un deuxième arduino ?

Merci d'avance !

Jérôme

Re: Re: liens circuits switch -- k. benetos (discussion) 11 mai 2022 à 11:51 (CEST)

J'ai trouvé cette réponse. J'en ai déjà entendu parler de la première. Apparement il suffit de les renommer, "call them Pin 14 to Pin 19 and they will work like digital ones.". Combien te faut-il?

There are two ways you can get more pins out of an arduino.

The first way is by using the Analog pins as digital output pins, which is really easy to do. All you need to do is refer to A0-A5 as pins 14,15,16,17,18,19. For example to write high to pin A0 just use digitalWrite(14, HIGH).

The other way to get more pins out of the Arduino is by using a Shift Register. To do this I recommend using the EZ-Expander Shield, which allows you to use digitalWrite([20-35], HIGH) when you import the EZ-Expander Library. This shield however only allows the pins to be used as outputs only and uses pins 8,12 and 13 to control the shift registers.

The great thing is, is that you can use both of the two methods above together, without any problems.

Re: Re: Re: liens circuits switch -- JeromeHumbert (discussion) 11 mai 2022 à 12:45 (CEST)

En tout 24 du coup c'est juste pas assez sur un seul arduino même avec ta technique secrète ;).

Montage avec le 4 digit.png

1- Un circuit que j'ai trouvé utilisant le 4 digit

Montage switchs.png














2- Mon circuit fonctionnel avec les switchs.

Du coup ta deuxième solution peut être la bonne ! Est-ce que t'en as un en stock ?

paramètres découpe -- k. benetos (discussion) 14 juin 2022 à 14:11 (CEST)

table de paramètres


Material Cutting power Cutting speed Cutting Hz N cutting passes Engraving power Engraving speed N engraving passes Engraving resolution Notes
Plexi 5mm 100 0.75 4000 1 80 100 500 Better, position the plate on top of some wooden blocks, not directly on the grid.
Plywood birch 4mm 100 1.2 (for large objects maybe a bit less) 1000 1 80 (or better 2 at 60) 100 500 Birch plywood is strong quality but difficult to laser, in particular larger than 4mm sizes.

Watch out for flames