Search found 1791 matches

by Roberthh
Thu Jan 23, 2020 4:32 pm
Forum: General Discussion and Questions
Topic: get programs on a board?
Replies: 3
Views: 90

Re: get programs on a board?

Ampy is fine. You may also use pyboard.py https://github.com/micropython/micropython/blob/master/tools/pyboard.py or rshell. These are both python scripts, which should work on any OS. You might have to install pyserial via pip: pip install pyserial or python -m install pip pyserial Rshell is pretty...
by Roberthh
Thu Jan 23, 2020 10:51 am
Forum: Programs, Libraries and Tools
Topic: Multiaxis stepper motors using RMT
Replies: 29
Views: 927

Re: Multiaxis stepper motors using RMT

Using the script of @OlivierLenoir with the viper code provided by @pythoncoder for do_int2, I get the following times: do_float 18039118µs do_int 8656320µs do_int2 3180131µs (Viper code) Tested on a Wemos Lolin32 Lite WITHOUT SPIRAM, at 240 MHz. On a Wemos Lolin32 Pro with SPIRAM @240MHz, i get: do...
by Roberthh
Wed Jan 22, 2020 9:24 pm
Forum: Programs, Libraries and Tools
Topic: Multiaxis stepper motors using RMT
Replies: 29
Views: 927

Re: Multiaxis stepper motors using RMT

8.9ms for 123,000 operations
Sure? That would be ~72ns for each call of do_int2(). That's hard to believe.
by Roberthh
Mon Jan 20, 2020 8:14 am
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 503

Re: IQR pin On "Lolin TFT 2.4" with

The display controller and the touch controller are distinct devices. Therefore any action to the display will not affect the touch device. And the touch IRQ pin does not require a clock signal. Anyhow, the clock is only needed and active during data transfers. Looking at the data sheet, it may howe...
by Roberthh
Sun Jan 19, 2020 3:04 pm
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 503

Re: IQR pin On "Lolin TFT 2.4" with

The IRQ-output of the XPT2046 does not need a clock signal. Can you check with an oscilloscope, whether there is any acticity on the IRQ pin when you push the screen. It is more or less an analog output, so transition may be too slow.
by Roberthh
Sun Jan 19, 2020 9:30 am
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 503

Re: IQR pin On "Lolin TFT 2.4" with

If you talk about Pin0, ist that the Pin labeled on the LoLin board with 0? If yes, that one, GPIO0, is also used for switching the device mode between run and bootload. Try to use another Pin of the LoLin.
by Roberthh
Sat Jan 18, 2020 9:10 pm
Forum: ESP8266 boards
Topic: DSMX 9645 Sattelite read data
Replies: 10
Views: 1009

Re: DSMX 9645 Sattelite read data

So at least I can see, that is is "normal" level, and the ESP8266 should be able to receive it. But you still do not know, whether any data is actually exchanged.
by Roberthh
Sat Jan 18, 2020 8:34 pm
Forum: ESP8266 boards
Topic: DSMX 9645 Sattelite read data
Replies: 10
Views: 1009

Re: DSMX 9645 Sattelite read data

Do you have any tools like oscilloscope or logic analyzer to visualize the signal on the data line? Or at least an DMM to tell the static signal level on the data line.
by Roberthh
Sat Jan 18, 2020 7:40 pm
Forum: ESP8266 boards
Topic: DSMX 9645 Sattelite read data
Replies: 10
Views: 1009

Re: DSMX 9645 Sattelite read data

The uart.read() may timeout fast. In the reading loop, you should first wait by calling uart.any(), until you receive some characters, and then call uart.read(). About the connection: I assume that you connect the orange wire to 3.3V Vcc, and that the idle state of the UART line is at a high level. ...
by Roberthh
Fri Jan 17, 2020 4:57 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 17
Views: 1510

Re: xpt2046

Rotations is a simple linear transformation, which you can do in your code, like: x_new = a + b * x, where the a and b values have to be determines experimentally. Rotating by 90° or 270° would then only require to swap x and y. I cannot help you much with the calibration values, since that would re...