Search found 16 matches

by Abraxas
Wed Apr 29, 2020 4:18 pm
Forum: ESP32 boards
Topic: Python for MAX3421E Chip (SPI to USB)
Replies: 1
Views: 144

Python for MAX3421E Chip (SPI to USB)

M5Stack has a USB Host module based on the MAX3421E chip. Does anyone know if there are any libraries or python example code out there that takes advantage of this USB capability. I would really like to use this module to send and receive data via USB in my current project
by Abraxas
Thu May 24, 2018 4:57 pm
Forum: ESP32 boards
Topic: Connecting via USB
Replies: 7
Views: 2600

Re: Connecting via USB

Okay, here is what I have learned so far. I found another site that had directions on how to flash MicroPython on this board found here: https://appelsiini.net/2018/m5stack-esp32-firmware-cli/ Followed the instructions, was able to use the screen command but it didn't show a python prompt. Instead i...
by Abraxas
Tue May 22, 2018 8:45 pm
Forum: ESP32 boards
Topic: Connecting via USB
Replies: 7
Views: 2600

Re: Connecting via USB

I tried your sugestion but with no luck. I was wondering could it be a driver issue? If it is a driver issue how can I fix it? I think my driver comes from silicon labs.
by Abraxas
Tue May 22, 2018 7:05 pm
Forum: ESP32 boards
Topic: Connecting via USB
Replies: 7
Views: 2600

Re: Connecting via USB

I used this tutorial located here on youtube: https://www.youtube.com/watch?v=xM53h3usfMI
The same /dev/cu.SLAB_USBtoUART path was used for the flashing process.
by Abraxas
Tue May 22, 2018 6:28 pm
Forum: ESP32 boards
Topic: Connecting via USB
Replies: 7
Views: 2600

Connecting via USB

I just uploaded the esp32-20180511-v1.9.4.bin onto my esp-32 from my mac. From the terminal I tried to get into repl by using the usual screen /dev/ttyUSB0 115200 and it said that the file/directory didn't exist. So I decided to search my ports using ls /dev/cu.* and found that my board was on this ...
by Abraxas
Fri May 18, 2018 6:57 pm
Forum: ESP32 boards
Topic: Putting micropython on an m5stack with 4M of PSRAM
Replies: 3
Views: 1158

Re: Putting micropython on an m5stack with 4M of PSRAM

Thanks for the information! :D
by Abraxas
Thu May 17, 2018 6:38 pm
Forum: ESP32 boards
Topic: Putting micropython on an m5stack with 4M of PSRAM
Replies: 3
Views: 1158

Putting micropython on an m5stack with 4M of PSRAM

I recently bought a M5Stack with 4M of PSRAM and a MPU9250 9DOF sensor (see the link below for more info on the board). https://www.amazon.com/gp/product/B079NSNVVW/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 I would like to put micropython on it but am unsure of where to go to do this. I can use ei...
by Abraxas
Fri Jan 12, 2018 3:01 am
Forum: MicroPython pyboard
Topic: Exception handling with files
Replies: 8
Views: 2478

Re: Exception handling with files

@Dave Thanks so much! Your suggestion worked for checking to see if a file actually exists. Then I just use an if statement to condition whether reading is necessary. Code below: # Don't forget to import uos def fileExists(fileName): try: uos.stat(fileName) print("File found!") return True except OS...
by Abraxas
Wed Jan 10, 2018 9:42 pm
Forum: MicroPython pyboard
Topic: Exception handling with files
Replies: 8
Views: 2478

Re: Exception handling with files

Thanks for all your advice. I decided to try using a with statement (See code below.) since it sounded like the easiest to implement but ended up getting an "OSError: [Errno 2] ENOENT." I tried looking up what this meant but my searches came up with irrelevant information. """ logPunches(fileName) -...
by Abraxas
Tue Jan 09, 2018 5:28 pm
Forum: MicroPython pyboard
Topic: Exception handling with files
Replies: 8
Views: 2478

Exception handling with files

Below is some code I wrote to log punches. Also included is some code to handle errors that might occur if a file cannot be read for whatever reason. However when I run this code the files seem to be corrupted (I am basing this off of some of the weird characters inputed to the file) or the file doe...