Outils pour utilisateurs

Outils du site


issue208:micro-ci_micro-la

CYD and RPi Pico 2??? Greetings again fellow Sentient Lifeforms. Things here at landing pad 2997 on Terra haven't calmed down at all since last month, instead they have gotten worse. Shipping delays and project timeline slippage seem to keep matters in a constant state of flux. Anyway, let’s talk about the news in the world of Microcontrollers. RPi Pico 2 First up is the news that just dropped on August 8 that the folks at Raspberry Pi Foundation have not only created a new Microcontroller named RP2350 and that will be the base chip on the new RPi Pico 2 that will retail for $5.00 USD and available from a few select retailers (see https://www.raspberrypi.com/products/raspberry-pi-pico-2/). The downside for now is that the RPi Pico 2 currently doesn’t have Wireless or Bluetooth. That is coming probably before the end of the year. No price has been released for the wireless model at this point, but the speculation around the Internet is that it will probably be around $10 USD. Add to that the board is the same size as the RPi Pico, it’s pretty exciting stuff!

CYD et RPi Pico 2 ???

Je vous salue à nouveau, chers frères et sœurs de la forme de vie sensible. Les choses ici, sur la plateforme d'atterrissage 2997 de Terra, ne se sont pas du tout calmées depuis le mois dernier, au contraire elles ont empiré. Les retards de livraison et les décalages dans le calendrier du projet semblent maintenir les choses dans un état de flux constant.

Quoi qu'il en soit, parlons des nouvelles dans le monde des microcontrôleurs.

RPi Pico 2

Tout d'abord, le 8 août, la Fondation Raspberry Pi a créé un nouveau microcontrôleur nommé RP2350 qui sera la puce de base du nouveau RPi Pico 2, vendu au prix de 5,00 USD et disponible auprès de quelques détaillants sélectionnés (voir https://www.raspberrypi.com/products/raspberry-pi-pico-2/). L'inconvénient pour l'instant est que le RPi Pico 2 n'est pas équipé d'un système sans fil ou Bluetooth. Cela arrivera probablement avant la fin de l'année. Aucun prix n'a été communiqué pour le modèle sans fil à ce stade, mais les spéculations sur Internet indiquent qu'il sera probablement de l'ordre de 10 USD. Si l'on ajoute que la carte a la même taille que le RPi Pico, c'est assez excitant !

The good news is that the new chip is more powerful than the RP2040 (which was a pretty powerful device) and will bring some awesome specs. I’ll try to distill the specs down for you. The Pico 2 has roughly double the RAM of its predecessor, and double the flash storage too. Flash storage is still kept separate from the SoC, but there is 8KB of on chip storage, reserved for the new Arm TrustZone feature. The stock CPU speed sees a 17 MHz boost over the original Pico, but you can overclock the Pico’s CPU with just two lines of MicroPython. The real performance boost is in how the Arm Cortex M33 performs versus the older Cortex M0+ and that still remains to be seen. In addition to all of that, a number of vendors have announced that they have specialty boards based on the RP2350, including Sparkfun, Seeed Studios, Pimoroni, Invector Labs, Cytron, Adafruit, and many others. We’ll look at the RPi Pico 2 down the road. You can find the Micropython firmware at https://micropython.org/download/RPI_PICO2/ and CircuitPython at https://circuitpython.org/downloads.

La bonne nouvelle, c'est que la nouvelle puce est plus puissante que le RP2040 (qui était un appareil assez puissant) et qu'elle apportera des caractéristiques impressionnantes. Je vais essayer de vous les présenter.

Le Pico 2 dispose d'environ le double de la RAM de son prédécesseur, ainsi que du double de la mémoire flash. Le stockage flash est toujours séparé du SoC, mais il y a 8 Ko de stockage sur la puce, réservé à la nouvelle fonction Arm TrustZone. La vitesse du processeur de base est augmentée de 17 MHz par rapport à la Pico originale, mais il est possible d'overclocker le processeur de la Pico avec seulement deux lignes de MicroPython. Le véritable gain de performance réside dans les performances de l'Arm Cortex M33 par rapport à l'ancien Cortex M0+, et cela reste à voir.

En plus de tout cela, un certain nombre de fournisseurs ont annoncé qu'ils avaient des cartes spécialisées basées sur le RP2350, dont Sparkfun, Seeed Studios, Pimoroni, Invector Labs, Cytron, Adafruit et bien d'autres.

Nous nous pencherons sur le RPi Pico 2 un peu plus tard. Vous pouvez trouver le firmware Micropython sur https://micropython.org/download/RPI_PICO2/ et CircuitPython sur https://circuitpython.org/downloads.

CYD or ESP32-2432S028R If you haven’t been watching the news for new Microcontroller boards and devices pretty closely, you might not know about the CYD or ESP32-2432S028R. What is it, why am I discussing it here, and what the heck does ‘CYD’ mean? Just to get this out of the way, CYD stands for ‘Cheap Yellow Display’ (The board is yellow in the original device but some of the third party versions are more orange than yellow). Basically, (and you should be able to figure this part out from the part number) it’s an ESP32 WROOM 32 chip, along with a 2.8-inch LCD TFT touchscreen, all on a single board, and with LOTS of goodies attached like a microSD card interface, an RGB LED, a photoresistor light sensor, and some GPIO exposed pins available to interface many sensors. I’d love to show you some pictures, but due to shipment delays, I was unable to provide any pictures from my testing unit. So instead of “borrowing” pictures from someone’s website, I’ll suggest you take a look at the Random Nerds website at https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/. They have a really good tutorial on how to get going with Arduino code, and some REALLY good pictures, to get you drooling. If you are like me, you can immediately start to see some interesting and fun projects using this device. (My adult son wants us to use the test device to make a “pip-boy” wearable wrist unit similar to the one they use in the Fallout series of games and in the TV Series of the same name – https://gear.bethesda.net/products/fallout-series-pip-boy-die-cast-replica. If you didn’t get to watch it when Season 01 was released, you really need to see it! Season 02 is currently in production. I TRULY believe that he’s more excited about this device that I am, if that’s even possible.

CYD ou ESP32-2432S028R

Si vous n'avez pas suivi de près l'actualité des nouvelles cartes et des nouveaux appareils à microcontrôleur, il se peut que vous ne connaissiez pas le CYD ou l'ESP32-2432S028R. Qu'est-ce que c'est, pourquoi en parler ici, et que signifie « CYD » ?

Pour commencer, CYD signifie « Cheap Yellow Display » (la carte est jaune dans l'appareil original, mais certaines versions tierces sont plus orange que jaune). Essentiellement, il s'agit d'une puce ESP32 WROOM 32, d'un écran tactile LCD TFT de 2,8 pouces, le tout sur une seule carte, et avec BEAUCOUP d'accessoires comme une interface pour carte microSD, une LED RGB, un capteur de lumière à photorésistance, et quelques broches GPIO disponibles pour interfacer de nombreux capteurs.

J'aurais aimé vous montrer quelques photos, mais en raison des retards de livraison, je n'ai pas été en mesure de fournir des photos de mon unité de test. Au lieu d'« emprunter » des photos sur le site de quelqu'un, je vous suggère de jeter un coup d'œil sur le site Random Nerds à l'adresse https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/. Ils ont un très bon tutoriel sur la façon de commencer avec le code Arduino, et quelques images VRAIMENT bonnes, pour vous faire saliver.

Si vous êtes comme moi, vous pouvez immédiatement commencer à imaginer des projets intéressants et amusants utilisant cet appareil. (Mon fils adulte veut que nous utilisions le dispositif de test pour fabriquer une unité de poignet portable « pip-boy » similaire à celle utilisée dans la série de jeux Fallout et dans la série télévisée du même nom - https://gear.bethesda.net/products/fallout-series-pip-boy-die-cast-replica.) Si vous n'avez pas eu l'occasion de la regarder lors de la sortie de la saison 01, il faut absolument que vous la voyiez ! La saison 02 est actuellement en cours de production. Je crois sincèrement qu'il est plus enthousiaste que moi à propos de cet appareil, si c'est possible.

Not only can you use Arduino to program the CYD device, it looks like you should be able to use the generic ESP-32 Micropython firmware and add a couple of modules to support the display and touchscreen interfaces. As I have (constantly complained) not received the board yet (and today is the deadline for this article), I haven’t been able to actually power up the board and try anything at all to this point. I am planning on creating a series of future articles that will detail using the CYD in Arduino AND Micropython. Just to attempt to justify this whole thing, there is even a Driver that should allow you to design GUI interfaces (seen in many Internet images of the CYD) that includes buttons, sliders, arcs, and other “widgets” – that I will try to test and provide future reports on as well. In doing my ‘early research’, as I usually do before I get a new device, I ran across a YouTube video (https://www.youtube.com/watch?v=0AVyvwv0agk) by Brian Lough who has done a serious amount of work on using the CYD. He has also created a GitHub repository to hold most of the things that he talks about, as well as a Discord channel dedicated to the CYD. The bottom line is this device seems to be a great addition to your Microcontroller parts box, and at the very least shows a tremendous amount of potential for things to come in the world of Micropython and Microcontrollers.

Vous pouvez non seulement utiliser Arduino pour programmer le dispositif CYD, mais il semble que vous devriez être en mesure d'utiliser le micrologiciel générique ESP-32 Micropython et d'ajouter quelques modules pour prendre en charge les interfaces d'affichage et d'écran tactile.

Comme je n'ai pas encore reçu la carte (je m'en plains constamment) et que la date limite pour cet article est aujourd'hui, je n'ai pas pu allumer la carte et essayer quoi que ce soit jusqu'à présent. Je prévois de créer une série d'articles futurs qui détailleront l'utilisation du CYD avec Arduino ET Micropython.

Pour tenter de justifier tout cela, il existe même un pilote qui devrait vous permettre de concevoir des interfaces graphiques (que l'on voit dans de nombreuses images du CYD sur l'Internet) comprenant des boutons, des curseurs, des arcs et d'autres « widgets » - que j'essaierai de tester et sur lesquels je fournirai des rapports à l'avenir également.

En faisant mes « premières recherches », comme je le fais habituellement avant d'acquérir un nouvel appareil, je suis tombé sur une vidéo YouTube (https://www.youtube.com/watch?v=0AVyvwv0agk) de Brian Lough qui a effectué un travail considérable sur l'utilisation du CYD. Il a également créé un dépôt GitHub pour contenir la plupart des choses dont il parle, ainsi qu'un canal Discord dédié au CYD.

En conclusion, ce dispositif semble être un excellent ajout à votre boîte d'éléments pour microcontrôleur, et montre au moins un énorme potentiel pour les choses à venir dans le monde de Micropython et des microcontrôleurs.

As I was wandering around the Internet looking for this, I noticed a number of larger displays, some with touchscreen and some without, but none (so far) with dedicated Microcontrollers onboard. As to the “Cheap” portion of the Cheap Yellow Display, when I went to the Internet looking for the ESP32-2432S028R and variants, I found that, depending on where you want to buy from and how fast you want it, you can find many versions of the board for less than $20 USD. For a device that includes a 240 x 320 px display WITH Touchscreen, MicroSD card reader AND an ESP32 controller with Wireless and Bluetooth, I would say that getting one is pretty much a no brainer! If you are considering buying the CYD board, the folks at MakerAdvisor have created a https://makeradvisor.com/tools/cyd-cheap-yellow-display-esp32-2432s028r/; it shows a number of boards, availability, and price, from some vendors (mostly Amazon and Aliexpress) – to get you started on your purchase. Next time (I can’t promise that it will be next month, since I’m STILL waiting on my test board to come in), I’ll start the series with getting the board up on Arduino IDE (yes, Arduino!). Until next time, as always; stay safe, healthy, positive and creative!

En parcourant l'Internet à la recherche de cet écran, j'ai remarqué un certain nombre d'écrans plus grands, certains avec écran tactile et d'autres sans, mais aucun (jusqu'à présent) avec des microcontrôleurs dédiés à l'intérieur de l'écran.

En ce qui concerne la partie « bon marché » du Cheap Yellow Display (écran jaune bon marché), lorsque j'ai cherché sur Internet l'ESP32-2432S028R et ses variantes, j'ai constaté que, selon l'endroit où vous voulez l'acheter et la vitesse à laquelle vous voulez l'obtenir, vous pouvez trouver de nombreuses versions de la carte pour moins de 20 dollars US. Pour un appareil qui comprend un écran 240 x 320 px AVEC écran tactile, un lecteur de carte MicroSD ET un contrôleur ESP32 avec WiFi et Bluetooth, je dirais qu'il ne faudrait pas hésiter à s'en procurer un !

Si vous envisagez d'acheter la carte CYD, les gens de MakerAdvisor ont créé un site https://makeradvisor.com/tools/cyd-cheap-yellow-display-esp32-2432s028r/ ; il montre un certain nombre de cartes, leur disponibilité et leur prix, chez quelques vendeurs (principalement Amazon et Aliexpress) pour vous aider à démarrer votre achat.

La prochaine fois (je ne peux pas promettre que ce sera le mois prochain, car j'attends toujours la livraison de ma carte de test), je commencerai la série avec l'installation de la carte sur l'IDE d'Arduino (oui, Arduino !).

Jusqu'à la prochaine fois, comme toujours, restez en sécurité, en bonne santé, positifs et créatifs !

issue208/micro-ci_micro-la.txt · Dernière modification : 2024/09/03 09:41 de auntiee