Search found 5193 matches

by pythoncoder
Sat Jun 12, 2021 6:29 am
Forum: ESP32 boards
Topic: ESP32 for Smart attendance system(Face Recognition)
Replies: 2
Views: 514

Re: ESP32 for Smart attendance system(Face Recognition)

Vishwesh Bhat wrote:
Thu May 27, 2021 4:01 am
...
4. Is my hardware choice(ESP32) wrong for this project? Suggest me what else could I use to make things simpler.
...
See http://openmv.io/. These guys have camera hardware which runs MicroPython and code to to this kind of thing.
by pythoncoder
Thu Jun 10, 2021 5:09 pm
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 19
Views: 2426

Re: Cannot get access to /dev/ttyACM0

Good idea. Here is the relevant output: [ 1752.750204] usb 1-1: new full-speed USB device number 5 using xhci_hcd [ 1752.901103] usb 1-1: New USB device found, idVendor=2e8a, idProduct=0005, bcdDevice= 1.00 [ 1752.901108] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1752.90111...
by pythoncoder
Wed Jun 09, 2021 12:32 pm
Forum: ESP32 boards
Topic: Pin.PULL_UP not working?
Replies: 1
Views: 61

Pin.PULL_UP not working?

Reading forum posts this must have worked in the past. Yet I've tested today on two boards - including the reference board - with the same floating pin result. Adding physical resistors fixed the problem. Am I missing something or has a regression crept in? I'm running the latest daily build. The se...
by pythoncoder
Wed Jun 09, 2021 4:39 am
Forum: Development of MicroPython
Topic: Arrays pop()?
Replies: 1
Views: 102

Re: Arrays pop()?

You access them by index or by slice notation (a[4:10]). You can also create generators from them: a = array.array('I', range(32)) i = (x for x in a if x > 4) b = array.array('I', i) Arrays are much less flexible than lists but they are highly efficient as elements are stored in contiguous memory lo...
by pythoncoder
Tue Jun 08, 2021 3:54 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 19
Views: 2426

Re: Cannot get access to /dev/ttyACM0

I am experiencing intermittent problems accessing my Pi Pico on /dev/TTYACM0. The problem occurs after a power cycle (disconnecting and reconnecting the USB lead), and sometimes needs several power cycles before I can reconnect. When /dev/TTYACM0 is inaccessible it doesn't matter what tool I use to ...
by pythoncoder
Mon Jun 07, 2021 5:10 am
Forum: Raspberry Pi microcontroller boards
Topic: uf2 file
Replies: 2
Views: 124

Re: uf2 file

When you drag a uf2 file to the Pico it updates the firmware "automagically". The file does disappear. You can determine that the firmware has been updated by pressing ctrl-d at the REPL where you will see something like MicroPython v1.15 on 2021-04-29; Raspberry Pi Pico with RP2040 Type "help()" fo...
by pythoncoder
Sun Jun 06, 2021 4:31 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 32
Views: 16724

Re: Teensy 4.0 & 4.1

I don't know. I installed with

Code: Select all

pip3 install mpremote
with no problems. Here is where it installed to:

Code: Select all

[adminpete@capybara]: ~
$ which mpremote
/home/adminpete/.local/bin/mpremote
by pythoncoder
Sat Jun 05, 2021 8:00 am
Forum: ESP8266 boards
Topic: Error: power on the board.
Replies: 2
Views: 162

Re: Error: power on the board.

This sounds like an electrical problem, but I doubt anyone will be able to help without more details of your circuit. I would check for voltage drops in the power supply chain and errors in the Gnd levels cause by currents in the wiring.
by pythoncoder
Sat Jun 05, 2021 7:46 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 32
Views: 16724

Re: Teensy 4.0 & 4.1

It took some time to become familiar with mpremote, but I managed to transfer some scripts to my Teensy40... Have you tried the mount feature? This is very powerful. I am currently developing a large application written as a Python package, and have done this without transferring a single file to t...
by pythoncoder
Fri Jun 04, 2021 3:49 pm
Forum: General Discussion and Questions
Topic: Question about Timers
Replies: 3
Views: 188

Re: Question about Timers

If no ID is specified (or id == -1) the timer is virtual. A positive integer specifies a hardware timer.