Search found 1639 matches

by Roberthh
Tue Oct 08, 2019 7:44 pm
Forum: ESP32 boards
Topic: Reading fan tacho signal frequency?
Replies: 6
Views: 114

Re: Reading fan tacho signal frequency?

If the output is open drain, then you can use a pull-up to 3.3V. 50 Hz aka 20ms is also not an issue. You can use a PIN IRQ, which triggers on every falling edge, and take the time between transitions using utime.ticks_us(). The pin IRQ on ESP32 has a substantial jitter, so you should average or low...
by Roberthh
Tue Oct 08, 2019 1:15 pm
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 197

Re: MicroPython on Casio fx-CG50 Questions?

I can see the fun factor of running micropython on a calculator, but can't see a real use of programming on the calculator. That's true. And if you are up for a small device, a smart phone with Python is more capable. But still I'm using my small calculators. Single purpose, always ready to use. Es...
by Roberthh
Tue Oct 08, 2019 11:42 am
Forum: ESP32 boards
Topic: bluetooth on esp32
Replies: 19
Views: 1445

Re: bluetooth on esp32

I just compiled it on my debian 10 machine. Here, python defaults to python3. I had to look into README.md and had to call:

pip install pyserial 'pyparsing<2.4'

Then it worked.
by Roberthh
Tue Oct 08, 2019 10:05 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 197

Re: MicroPython on Casio fx-CG50 Questions?

There is a wonderful Android (and Linux, Windows, even Mac) app called free42, which emulates the HP42 with it's 32 digit precision, and there is the HP42 re-build called DM42 from swiss micros. I had an HP42 once, but the keypad broke.
by Roberthh
Tue Oct 08, 2019 6:21 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 197

Re: MicroPython on Casio fx-CG50 Questions?

This is also an interesting device: https://www.numworks.com/
Although, for pocket calculators I stick to HP and RPN
by Roberthh
Sun Oct 06, 2019 7:45 pm
Forum: ESP32 boards
Topic: Error while trying to install a micropython distribution package using upip
Replies: 5
Views: 116

Re: Error while trying to install a micropython distribution package using upip

Unless you run into an memory error on running your code, you do not need to precompile it. Just copy the python files to your board.
by Roberthh
Sat Oct 05, 2019 7:18 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 269

Re: ESP32 access via Ipad

Hello John. I do not know what you tested, but I just started Webrepl on my ESP32. it simply works. You may have to update your ESP32 to the recent firmware version.

P.S.: Webrepl for ESP32 was enabled on Apr 27, 2018
by Roberthh
Sat Oct 05, 2019 6:47 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 269

Re: ESP32 access via Ipad

I do not have an iPad, so I can only look at he Internet. And I find USB OTG adapters. Maybe there is one for your device. Instead of Webrepl, you may use telnet. There is a telnet implementation, made by @chrisgp, which works on ESP32. You may also try a different firmware branch of Micropython, th...
by Roberthh
Sat Oct 05, 2019 6:28 pm
Forum: ESP8266 boards
Topic: UART eats my 15th char!
Replies: 1
Views: 42

Re: UART eats my 15th char!

You do not fail. By default, the receive buffer has a size of 16. Due to the way it is implemented, the 16th character is lost. There was already discussion bout that, and that it should be fixed. You may avoid that problem by increasing the receive buffer with the keyword argument rxbuf=nnn, e.g. u...
by Roberthh
Fri Oct 04, 2019 6:39 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 269

Re: ESP32 access via Ipad

REPL is just the Python command line. Nothing strange. There is WiFi based REPL interface in the ESP32 and ESP8266 variants, called WebREPL. It has to be enabled & configured at least once via USB. After that, you can get access with any browser. WebREPL includes a file transfer mechanism. There sho...