{"id":8192,"date":"2026-05-12T11:13:27","date_gmt":"2026-05-12T10:13:27","guid":{"rendered":"https:\/\/blog.univ-angers.fr\/polytech_2A\/?p=8192"},"modified":"2026-05-13T09:29:24","modified_gmt":"2026-05-13T08:29:24","slug":"creation-dun-reveil-connecte-de-lidee-au-prototype","status":"publish","type":"post","link":"https:\/\/blog.univ-angers.fr\/polytech_2A\/2026\/05\/12\/creation-dun-reveil-connecte-de-lidee-au-prototype\/","title":{"rendered":"Cr\u00e9ation d&#8217;un r\u00e9veil connect\u00e9 : de l&#8217;id\u00e9e au prototype"},"content":{"rendered":"\n<div class=\"wp-block-cover\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" class=\"wp-block-cover__image-background wp-image-8584\" alt=\"\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-768x1024.jpg\" style=\"object-position:63% 56%\" data-object-fit=\"cover\" data-object-position=\"63% 56%\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-768x1024.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-225x300.jpg 225w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-1152x1536.jpg 1152w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-1536x2048.jpg 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-40 has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-medium-font-size wp-block-paragraph\">Se r\u00e9veiller avec une alarme agressive, v\u00e9rifier son t\u00e9l\u00e9phone d\u00e8s le matin\u2026 Et si on pouvait faire mieux ? Si on pouvait d\u00e9cider de l&#8217;apparence de ce qui est plus qu&#8217;un simple r\u00e9veil, mais un objet de d\u00e9coration qu&#8217;on peut modifier suivant nos envies, nos humeurs en toute simplicit\u00e9 pour \u00eatre de bonne humeur d\u00e8s le matin.<\/p>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">L\u2019id\u00e9e du projet<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons voulu cr\u00e9er un r\u00e9veil pour que l&#8217;utilisateur puisse le personnaliser depuis un t\u00e9l\u00e9phone. \u00c0 ce moment-l\u00e0, nous avons r\u00e9fl\u00e9chi \u00e0 plusieurs designs et id\u00e9es comme un r\u00e9veil : <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>int\u00e9gr\u00e9 dans une table de chevet<\/li>\n\n\n\n<li>qui projette l&#8217;heure au plafond <\/li>\n\n\n\n<li>qui projette des formes au moment de l&#8217;alarme<\/li>\n\n\n\n<li>qui int\u00e8gre une station m\u00e9t\u00e9o pour savoir comment s&#8217;habiller<\/li>\n\n\n\n<li>qui \u00e9jecte une h\u00e9lice au d\u00e9clenchement de l&#8217;alarme qui ne pourra s\u2019arr\u00eater qu\u2019une fois celle-ci retrouv\u00e9e et remise en place<\/li>\n\n\n\n<li>qui joue la musique choisie par l&#8217;utilisateur<\/li>\n\n\n\n<li>r\u00e9glable en ligne <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"1024\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58-781x1024.jpeg\" alt=\"\" class=\"wp-image-8896\" style=\"aspect-ratio:0.7667362588047062;width:224px;height:auto\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58-781x1024.jpeg 781w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58-229x300.jpeg 229w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58-768x1008.jpeg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.37.58.jpeg 997w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Le mat\u00e9riel et les choix techniques<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Raspberry Pi Pico 2W (Wifi)<\/li>\n\n\n\n<li>\u00e9cran TFT <\/li>\n\n\n\n<li>boutons <\/li>\n\n\n\n<li>LEDs <\/li>\n\n\n\n<li>boule de cristal<\/li>\n\n\n\n<li>haut-parleur <\/li>\n\n\n\n<li>des fils (beaucoup de fils)<\/li>\n\n\n\n<li>6 boutons tactiles<\/li>\n\n\n\n<li>site web<\/li>\n\n\n\n<li>breadboard<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-scaled.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-1024x606.png\" alt=\"\" class=\"wp-image-8388\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-1024x606.png 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-300x178.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-768x454.png 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-1536x909.png 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-2048x1212.png 2048w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/fils-500x296.png 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Premiers tests<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons commenc\u00e9 par essayer de faire fonctionner la pico en d\u00e9tectant seulement un appui sur un bouton pour allumer une LED. Puis rapidement nous avons fait nos premiers essais sur l&#8217;\u00e9cran et \u00e9tions capables d&#8217;\u00e9crire ce que nous voulions sur l&#8217;\u00e9cran \u00e0 l&#8217;aide d&#8217;une biblioth\u00e8que de code et de quelques lignes.<\/p>\n\n\n\n<div class=\"wp-block-media-text is-image-fill-element\" style=\"grid-template-columns:34% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13-576x1024.jpeg\" alt=\"\" class=\"wp-image-8308 size-full\" style=\"object-position:42% 56%\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13-576x1024.jpeg 576w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13-169x300.jpeg 169w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13-768x1365.jpeg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13-864x1536.jpeg 864w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.13.jpeg 1148w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<pre class=\"wp-block-code has-medium-gray-color has-black-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-1\"><code>from machine import Pin, SPI\nimport st7735\n\n# Configuration SPI\nspi = SPI(1, baudrate=20000000, sck=Pin(10), mosi=Pin(11))\n\ntft = st7735.ST7735(spi, cs=Pin(9), dc=Pin(8), rst=Pin(12))\n\n# Effacer l'\u00e9cran\ntft.fill(st7735.color565(0, 0, 0))\n\n# Afficher du texte : texte, x, y, couleur\ntft.text(\"\u00e7a marche\", 10, 20)\n\n\n<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">L\u2019affichage de l\u2019heure<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons ensuite voulu afficher l&#8217;heure sur l&#8217;\u00e9cran et \u00e0 l&#8217;horizontale, pas \u00e0 la verticale comme c&#8217;est \u00e9crit par d\u00e9faut et en beaucoup plus gros. Nous avons donc d\u00fb trouver plus de documentation pour enrichir notre biblioth\u00e8que. De plus, l&#8217;heure devait venir d&#8217;internet comme sur nos t\u00e9l\u00e9phones pour que le r\u00e9veil soit toujours \u00e0 la bonne heure. <\/p>\n\n\n\n<div class=\"wp-block-media-text\" style=\"grid-template-columns:46% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"2039\" height=\"1138\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure.jpg\" alt=\"\" class=\"wp-image-8313 size-full\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure.jpg 2039w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure-300x167.jpg 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure-1024x572.jpg 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure-768x429.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure-1536x857.jpg 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/heure-500x279.jpg 500w\" sizes=\"auto, (max-width: 2039px) 100vw, 2039px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<pre class=\"wp-block-code has-light-gray-color has-black-background-color has-text-color has-background has-link-color wp-elements-2\" style=\"font-size:4px\"><code>from machine import Pin, SPI\nimport st7735\nimport time\nimport network\nimport ntptime\n\nspi = SPI(\n        0,\n        baudrate=20_000_000,\n        polarity=0,\n        phase=0,\n        sck=Pin(18),\n        mosi=Pin(19)\n    )\ntft = st7735.ST7735(\n    spi,\n    128,\n    160,\n    cs=Pin(17),\n    dc=Pin(16),\n    rst=Pin(20),\n)\ntft.init()\n\ndef affichage_heure(texte, texte_color=st7735.BLACK, fond_color=st7735.WHITE):\n\n    tft.fill(fond_color)  # x, y, width, height\n    tft.text(texte, 30, 70, texte_color)\n    tft.show()\n\n# -------- CONFIGURATION WI-FI --------\nSSID = \"A15 de Ronan\"       # Remplace par ton SSID\nPASSWORD = \"ronan123\"    # Remplace par ton mot de passe\n\n# -------- FONCTIONS --------\n\n# Connexion Wi-Fi\ndef wifi_connect():\n    wlan = network.WLAN(network.STA_IF)\n    wlan.active(True)\n    wlan.connect(SSID, PASSWORD)\n\n    print(\"Connexion WiFi...\")\n    for _ in range(20):\n        if wlan.isconnected():\n            print(\"WiFi connect\u00e9 :\", wlan.ifconfig())\n            return True\n        time.sleep(0.5)\n\n    print(\"WiFi non connect\u00e9\")\n    return False\n\n# Synchronisation NTP\ndef sync_ntp():\n    try:\n        ntptime.host = \"pool.ntp.org\"\n        ntptime.settime()   # met l'heure UTC\n        print(\"NTP synchronis\u00e9\")\n        return True\n    except:\n        print(\"Erreur NTP\")\n        return False\n\n# Heure d'\u00e9t\u00e9 fran\u00e7aise\ndef is_dst_france(y, m, d):\n    def last_sunday(year, month):\n        t = time.mktime((year, month, 31, 0, 0, 0, 0, 0))\n        while time.localtime(t)&#091;6] != 6:  # 6 = dimanche\n            t -= 86400\n        return time.localtime(t)&#091;2]\n\n    if m &lt; 3 or m &gt; 10:\n        return False\n    if 3 &lt; m &lt; 10:\n        return True\n    if m == 3:\n        return d &gt;= last_sunday(y, 3)\n    if m == 10:\n        return d &lt; last_sunday(y, 10)\n\n# Heure fran\u00e7aise\ndef heure_francaise():\n    tm = time.localtime()  # UTC\n    y, m, d = tm&#091;0], tm&#091;1], tm&#091;2]\n\n    offset = 1 + (1 if is_dst_france(y, m, d) else 0)\n    h = (tm&#091;3] + offset) % 24\n\n    return \"{:02d}:{:02d}:{:02d}\".format(h, tm&#091;4], tm&#091;5])\n\n# -------- PROGRAMME PRINCIPAL --------\ndef main():\n    if wifi_connect():\n        sync_ntp()\n    else:\n        print(\"Pas de Wi-Fi, heure non synchronis\u00e9e\")\n\n    last_sync = time.time()\n\n    while True:\n        print(\"Heure :\", heure_francaise())\n        affichage_heure(heure_francaise(), st7735.RED,st7735.BLACK)\n        # resynchronisation NTP toutes les 8 heures\n        if time.time() - last_sync &gt; 8 * 3600:\n            if sync_ntp():\n                last_sync = time.time()\n\n        time.sleep(1)\n<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Avec ces quelques lignes, nous \u00e9tions capables d&#8217;afficher l&#8217;heure fran\u00e7aise pr\u00e9cise, actualis\u00e9e toutes les 8 heures, avec l&#8217;affichage de l&#8217;heure de plusieurs couleurs possibles ainsi que diff\u00e9rentes couleurs de fond d&#8217;\u00e9cran.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Le site web <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c9tant donn\u00e9 que la Pico peut acc\u00e9der \u00e0 Internet, nous avons cr\u00e9\u00e9 notre site web pour que l&#8217;utilisateur puisse modifier :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>la luminosit\u00e9 de la LED<\/li>\n\n\n\n<li>la couleur de la LED <\/li>\n\n\n\n<li>le nom de l&#8217;alarme<\/li>\n\n\n\n<li>la couleur de l&#8217;heure <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons donc pu r\u00e9utiliser des comp\u00e9tences que nous avions acquises lors de la pr\u00e9pa en HTML et avons pu programmer cette page HTML : <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230.png\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"767\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230.png\" alt=\"\" class=\"wp-image-8315\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230.png 806w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230-300x285.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230-768x731.png 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-171230-315x300.png 315w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/a><figcaption class=\"wp-element-caption\"><a href=\"http:\/\/reveilconnectepersonnalise.atwebpages.com\/reveil.php\">http:\/\/reveilconnectepersonnalise.atwebpages.com\/reveil.php<\/a><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons ensuite h\u00e9berg\u00e9 notre site web que nous avons transform\u00e9 en fichier php et cr\u00e9\u00e9 un fichier de sauvegarde pour que les modifications restent appliqu\u00e9es apr\u00e8s actualisation de la page gr\u00e2ce \u00e0 ce site web :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"453\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002-1024x453.png\" alt=\"\" class=\"wp-image-8317\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002-1024x453.png 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002-300x133.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002-768x339.png 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002-500x221.png 500w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-10-172002.png 1208w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/cp1.awardspace.net\/start\/\">https:\/\/cp1.awardspace.net\/start\/<\/a><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Les interactions (boutons + manuel)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nous avons ensuite pens\u00e9 le r\u00e9veil pour qu&#8217;il puisse fonctionner sans \u00eatre connect\u00e9 \u00e0 Internet gr\u00e2ce \u00e0 des boutons tactiles pour un design plus doux. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1 bouton pour ajouter des heures<\/li>\n\n\n\n<li>1 bouton pour ajouter des minutes<\/li>\n\n\n\n<li>1 bouton pour ajouter des heures \u00e0 l&#8217;alarme<\/li>\n\n\n\n<li>1 bouton pour ajouter des minutes \u00e0 l&#8217;alarme <\/li>\n\n\n\n<li>1 bouton pour allumer les LED<\/li>\n\n\n\n<li>1 bouton pour actualiser la connexion Wi-Fi \/ ou s&#8217;y connecter<\/li>\n\n\n\n<li>2 boutons-poussoirs (reli\u00e9s) pour arr\u00eater l&#8217;alarme<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Lors de cette \u00e9tape, nous avons supprim\u00e9 4 boutons qui avaient pour utilit\u00e9 de retirer des heures ou des minutes \u00e0 l&#8217;heure ou \u00e0 l&#8217;alarme, mais qui nous semblaient superflus puisqu&#8217;il suffit de passer 23 heures ou 59 minutes pour revenir \u00e0 0. <\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1022\" data-id=\"8726\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-1024x1022.png\" alt=\"\" class=\"wp-image-8726\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-1024x1022.png 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-300x300.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-150x150.png 150w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-768x767.png 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements-301x300.png 301w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/shema-branchements.png 1082w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Nos difficult\u00e9s<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Les difficult\u00e9s ont \u00e9t\u00e9 nombreuses lors de ce projet, nous avons eu des soucis pour h\u00e9berger notre site web, puisque celui que nous utilisions a disparu d&#8217;un jour \u00e0 l&#8217;autre. Nous avons eu des probl\u00e8mes d&#8217;impression 3D car notre premi\u00e8re impression \u00e9tait disproportionn\u00e9e et il y avait trop de mati\u00e8re entre les boutons tactiles et la surface, ce qui les rendait inutilisables. De plus, l&#8217;ouverture \u00e9tait mal orient\u00e9e, ce qui rendait l&#8217;acc\u00e8s \u00e0 l&#8217;int\u00e9rieur du r\u00e9veil tr\u00e8s difficile pour proc\u00e9der au montage. Pour terminer, nous avons eu un gros souci de soudure et de court-circuit. Alors que nous travaillions sur le projet, nous nous sommes rendu compte que la carte chauffait. Nous nous sommes alors rendu compte que le projet \u00e9tait en court-circuit \u00e0 cause d&#8217;une mauvaise soudure de l&#8217;\u00e9cran. Nous avons donc ressoud\u00e9 l&#8217;\u00e9cran. Cependant, le dernier jour de projet, tout a totalement grill\u00e9. Nous avons donc tout recommenc\u00e9 avec une nouvelle carte, avec laquelle tout fonctionnait beaucoup mieux pendant quelques minutes, il n&#8217;y avait plus de faux contacts mais soudainement tout a \u00e0 nouveau grill\u00e9, cette fois tr\u00e8s probablement \u00e0 cause de l&#8217;aimant du haut-parleur qui s&#8217;est coll\u00e9 \u00e0 l&#8217;alimentation et a cr\u00e9\u00e9 un court-circuit. Pour terminer avec les difficult\u00e9s rencontr\u00e9es, nous avons longtemps travaill\u00e9 sur le fait que l&#8217;utilisateur puisse choisir ses sons d&#8217;alarme en les t\u00e9l\u00e9chargeant sur la carte SD. Cependant, nous n&#8217;avons pas r\u00e9ussi \u00e0 faire fonctionner le lecteur MP3 correctement, donc nous avons abandonn\u00e9 cette id\u00e9e.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"8319\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09-576x1024.jpeg\" alt=\"\" class=\"wp-image-8319\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09-576x1024.jpeg 576w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09-169x300.jpeg 169w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09-768x1365.jpeg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09-864x1536.jpeg 864w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-06-at-21.28.09.jpeg 1148w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"789\" data-id=\"8897\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48-1024x789.jpeg\" alt=\"\" class=\"wp-image-8897\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48-1024x789.jpeg 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48-300x231.jpeg 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48-768x592.jpeg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48-389x300.jpeg 389w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.48.jpeg 1389w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"851\" data-id=\"8898\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47-1024x851.jpeg\" alt=\"\" class=\"wp-image-8898\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47-1024x851.jpeg 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47-300x249.jpeg 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47-768x638.jpeg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47-361x300.jpeg 361w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/WhatsApp-Image-2026-05-12-at-18.43.47.jpeg 1251w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Le produit final<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finalement, nous avons un r\u00e9veil avec un code fonctionnel, qui permet de modifier l&#8217;heure et les minutes manuellement ou de le faire automatiquement en \u00e9tant connect\u00e9 \u00e0 internet. Le tout reli\u00e9 \u00e0 un site web fonctionnel qui permet de modifier les apparences du r\u00e9veil aussi bien pour la LED que pour l&#8217;\u00e9cran ainsi qu&#8217;une interface qui permet de programmer des alarmes avec une alarme personnalisable parmi une liste de choix.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"1024\" data-id=\"8580\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-472x1024.jpg\" alt=\"\" class=\"wp-image-8580\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-472x1024.jpg 472w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-138x300.jpg 138w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-768x1666.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-708x1536.jpg 708w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-944x2048.jpg 944w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_150958-scaled.jpg 1180w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"8584\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-768x1024.jpg\" alt=\"\" class=\"wp-image-8584\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-768x1024.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-225x300.jpg 225w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-1152x1536.jpg 1152w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-1536x2048.jpg 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151159-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"8582\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-1024x768.jpg\" alt=\"\" class=\"wp-image-8582\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-1024x768.jpg 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-300x225.jpg 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-768x576.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-1536x1152.jpg 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-2048x1536.jpg 2048w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151037-400x300.jpg 400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"8583\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-1024x768.jpg\" alt=\"\" class=\"wp-image-8583\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-1024x768.jpg 1024w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-300x225.jpg 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-768x576.jpg 768w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-1536x1152.jpg 1536w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-2048x1536.jpg 2048w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/20260511_151101-400x300.jpg 400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-background\" style=\"background:linear-gradient(90deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)\">Ce qu\u2019on am\u00e9liorerait<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Actuellement, le r\u00e9veil est \u00e9videmment am\u00e9liorable puisque la pico est grill\u00e9e, donc toutes les fonctionnalit\u00e9s sont inutilisables. En revanche, l&#8217;\u00e9cran n&#8217;est probablement pas utilis\u00e9 \u00e0 son plein potentiel et, pour l&#8217;utilisation que nous en avons, je pense qu&#8217;une matrice LED serait plus pertinente. De plus, si nous avions eu plus de temps, nous aurions mieux pris notre temps pour apprendre \u00e0 souder puis souder. Concernant le design, nous aurions pu utiliser du bois pour une esth\u00e9tique plus raffin\u00e9e.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/resultat-final.png\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"534\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/resultat-final.png\" alt=\"\" class=\"wp-image-8402\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/resultat-final.png 616w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/resultat-final-300x260.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/resultat-final-346x300.png 346w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><figcaption class=\"wp-element-caption\">Apparence esp\u00e9r\u00e9e du projet <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102812.png\"><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"328\" data-id=\"8907\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102812.png\" alt=\"\" class=\"wp-image-8907\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102812.png 338w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102812-300x291.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102812-309x300.png 309w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102700.png\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"495\" data-id=\"8909\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102700.png\" alt=\"\" class=\"wp-image-8909\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102700.png 501w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102700-300x296.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102700-304x300.png 304w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102345.png\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"418\" data-id=\"8908\" src=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102345.png\" alt=\"\" class=\"wp-image-8908\" srcset=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102345.png 432w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102345-300x290.png 300w, https:\/\/blog.univ-angers.fr\/polytech_2A\/files\/2026\/05\/Capture-decran-2026-05-13-102345-310x300.png 310w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c9crit par : Ronan MEZIERE Jos\u00e9phine BERGER &amp; Anth\u00e9a BOTTAREAU<\/p>\n","protected":false},"excerpt":{"rendered":"<p>L\u2019id\u00e9e du projet Nous avons voulu cr\u00e9er un r\u00e9veil pour que l&#8217;utilisateur puisse le personnaliser depuis un t\u00e9l\u00e9phone. \u00c0 ce moment-l\u00e0, nous avons r\u00e9fl\u00e9chi \u00e0 plusieurs designs et id\u00e9es comme un r\u00e9veil : Le mat\u00e9riel et les choix techniques Premiers &hellip; <a href=\"https:\/\/blog.univ-angers.fr\/polytech_2A\/2026\/05\/12\/creation-dun-reveil-connecte-de-lidee-au-prototype\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":109234,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[641],"tags":[],"class_list":["post-8192","post","type-post","status-publish","format-standard","hentry","category-641"],"_links":{"self":[{"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/posts\/8192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/users\/109234"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/comments?post=8192"}],"version-history":[{"count":20,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/posts\/8192\/revisions"}],"predecessor-version":[{"id":8973,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/posts\/8192\/revisions\/8973"}],"wp:attachment":[{"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/media?parent=8192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/categories?post=8192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/polytech_2A\/wp-json\/wp\/v2\/tags?post=8192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}