Cours:Multimetre : Différence entre versions
m (→Fichiers) |
|||
| Ligne 21 : | Ligne 21 : | ||
=Fichiers= | =Fichiers= | ||
| + | '''*Fichiers Kicad''' | ||
| + | **[[Media:2024 FichierEtudiantKiCad.zip]] | ||
*liens tinkercad | *liens tinkercad | ||
**[https://www.tinkercad.com/things/jgsCCo0HmtU simulation pour ohmmètre] | **[https://www.tinkercad.com/things/jgsCCo0HmtU simulation pour ohmmètre] | ||
| Ligne 27 : | Ligne 29 : | ||
**[https://docs.google.com/spreadsheets/d/1U529O5DzbZEr_Bc2yAxmZ1gn65Y0_K2YUc_RzgcK114/edit?usp=sharing Calibres Volmètre ] | **[https://docs.google.com/spreadsheets/d/1U529O5DzbZEr_Bc2yAxmZ1gn65Y0_K2YUc_RzgcK114/edit?usp=sharing Calibres Volmètre ] | ||
**[https://docs.google.com/spreadsheets/d/1--cW_m3tTq4-uabpUYxtuZK7hvvfFN8TpTvE_-18gt8/edit?usp=sharing Calibres Ohmmètre] | **[https://docs.google.com/spreadsheets/d/1--cW_m3tTq4-uabpUYxtuZK7hvvfFN8TpTvE_-18gt8/edit?usp=sharing Calibres Ohmmètre] | ||
| − | |||
| − | |||
*Fichiers eagle : | *Fichiers eagle : | ||
**[[Media:VoltmetreRoutageEtudiants.sch]] | **[[Media:VoltmetreRoutageEtudiants.sch]] | ||
Version du 18 octobre 2025 à 17:38
Sommaire
Planning
- Lundi : 8h30-12h30 14h-17h
- dossier : 8h30-11h15 14h-17h
- formation KiCad de 11h30 à 12h30
- Mardi : 8h30-...
- montage et test de la carte / routage
- Mercredi : 8h30-17h (prévoir le déjeuner sur place)
- programmation : 8h30-14h30
- évaluation: 14h30-17h
KiCad
- tutoriels KiCad
Saisie de schéma
Réalisation d'un PCB
Fichiers
*Fichiers Kicad
- liens tinkercad
- Liens feuilles de calculs
- Fichiers eagle :
Programmation
Vérification du fonctionnement de la carte
- Télécharger le fichier suivant :
- Programmer dans un terminal avec la ligne de commande suivante :
avrdude -v -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:Test_multimetre.ino.hex:i
Programmation sur tinkercad
https://www.tinkercad.com/things/dSQS8on1FL6
Fonction affiche
// ! bien déclarer les broches en sorties !
void affiche7sgt(uint8_t n)
{
PORTB=(PORTB&0xf0)|(n&0x0f);
}
// exemple d'utilisation
affiche7sgt(2); // permettra d'afficher la valeur 2
affiche7sgt(i); // permettra d'afficher le chiffre i (entre 0 et 9 ! )
affiche7sgt(n%10); // permettra d'afficher la valeur des unités de n