Modifications

Sauter à la navigation Sauter à la recherche
932 octets ajoutés ,  2 juin 2021 à 10:04
Ligne 197 : Ligne 197 :  
* [http://docs.micropython.org/en/v1.15/library/esp32.html#rmt Documentation Officielle du module RMT]
 
* [http://docs.micropython.org/en/v1.15/library/esp32.html#rmt Documentation Officielle du module RMT]
 
* [http://blog.bschwind.com/2016/05/29/sending-infrared-commands-from-a-raspberry-pi-without-lirc/ Excellent article bien documenté sur la réception et décodage de signaux IR sur un GPIO].
 
* [http://blog.bschwind.com/2016/05/29/sending-infrared-commands-from-a-raspberry-pi-without-lirc/ Excellent article bien documenté sur la réception et décodage de signaux IR sur un GPIO].
 +
 +
== Interface CAN ==
 +
{{ambox-stop|text=Le firmware officiel ESP32 ne contient pas de classe CAN. }}
 +
 +
Ceci étant, nos86 à produit une [https://github.com/nos86/micropython/tree/esp32-can-driver version de MicroPython V1.13 pour ESP32 incluant un module machine_can.c] ainsi que l'exemple [https://github.com/nos86/micropython/blob/esp32-can-driver/examples/esp32_can.py esp32_can.py] autour du transciever MCP2251 (comme sur la présente carte).
 +
 +
Il y a bien eu une tentative de [https://github.com/micropython/micropython/pull/5310 Pull-Request #5310] mais ce dernier n'est pas arrivé à terme, il ne suivait pas l'interface {{fname|machine.CAN}} du port STM32.
    
== Interface LAN8710A ==
 
== Interface LAN8710A ==
Ligne 208 : Ligne 215 :  
lan = network.LAN( id=None, clk_type=3, mdc=Pin(23), mdio=Pin(18), power=Pin(21), phy_addr=1, phy_type=network.PHY_LAN8720 )
 
lan = network.LAN( id=None, clk_type=3, mdc=Pin(23), mdio=Pin(18), power=Pin(21), phy_addr=1, phy_type=network.PHY_LAN8720 )
 
</nowiki>
 
</nowiki>
 +
 +
== GPIO ==
 +
Les GPIO disponibles sur la carte s'utilisent comme n'importe quel GPIO sous MicroPython.
 +
 +
'''Attention:''' Les fonctions de la carte (relais, CAN, IR, etc) sont également indiqué sur la documentation du GPIO
 +
 +
[[Fichier:MicroPython-esp32-evb-GPIO.jpg]]
    
== Où acheter ==
 
== Où acheter ==
29 922

modifications

Menu de navigation