« first day (2 days earlier)      last day (28 days later) » 

1:14 AM
Quick replies: (1) My ILI9xxx TFT LCD out of date: Rpi3B/Rpi4B ILI9341 / XPT2046 SPI 2.8" Touch TFT LCD Connection / Driver Problem - 2019may13, Viewed 8k times
https://raspberrypi.stackexchange.com/questions/98549/rpi3b-rpi4b-ili9341-xpt2046-spi-2-8-touch-tft-lcd-connection-driver-problem
(2) l298N is good for newbies to learn
Last msg too old to edit, this is an update: (2) l298N is good for newbies to learn DC Motor Drivers. You can search Rpi SE many of my post on this subject. (3) You can also consider using L298N as the external H-bridge for tmc2160. (4) If you use MicroPython to prototype your projects, I can mirror your experiments in my Rpi Pico MicroPython Thonny
(5) If you ask about ESP32 in this EESE forum, perhaps more users might come to help.
(6) I have 2 esp32 board in hand: (a) D1 LOLIN32 V1.0.0 ESP32 wifi and BT CP2104 - TaoBao
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8dHQN8A5&id=566413924315&_u=b3thdsb40a7

(b) ESP32 WIFI+BT 2 in 1 for IoT app - TaoBao
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8dHQN8A5&id=562577471758&_u=b3thdsb39a4
I use to play with esp8266-12, using LUA, but find it hard to use event driven programming. Now I am using Rpi Pico MicroPython. I know esp32 can also do MicroPython, so can do MicroPython programming with Pico on my side, and MicroProgramming ESP32 on your side, sort of pairing programming/development on your side.
The TaoBao shop selling me esp32 stuff 2 years ago has many up of date goodies. Perhaps I would buy some new ones to update my knowledge and skills: shop468430569.world.taobao.com/…
Is your esp32 in that shops's list of products? Perhaps I can buy that to join your esp32 projects.
I don't understand what do you mean by "set points of the tension". Is your project a College/Uni EE final year individual/group project, or just a hobbyist project, like mine?
I have been watching Cornell U Rpi Projects, to learn what those college guys are doing: skovira.ece.cornell.edu/ece5725-spring-2021-projects. Is your project like them?
And this Cornell U's Robot Car project is what I am interested about: Robot Navigation ECE 5725 A Project By George and Nei-Chun
https://courses.ece.cornell.edu/ece5990/ECE5725_Spring2021_Projects/May_19/Robotic%20Navigation/RobotNavigation/index.html
 
 
6 hours later…
7:56 AM
Now I am testing tmc2160 another time, using NEMA17 motor (NEMA23 is too heavy, too awkard to handle!). I am using the scope to take a close look of the signal waveforms: PWM (5kHz, 50% duty cycle), motor encoder signal (speed), and motor coil current (total PSU current, using Rsense, current sensing resistor 0.5 Ohm)
The still pics below.
 
8:20 AM
@kyrpav You LCD with a 40 pin connector is hard for newbies to handle. You might have read my answer to a similar question of ILI9xxx. It took me perhaps 48 hours to understand the details, and how to use the driver. If your vendor gives you the driver for ESP8266/ESP32, then it might be easy, if there are no SPI conflicts.
As mentioned in this post on ILI9341, you might like to search for the driver for esp32, but the chances of finding one is slim: raspberrypi.stackexchange.com/questions/98549/…
 
 
4 hours later…
11:55 AM
Now I am reading a esp32 board review, before I make up my mind which esp32 board to order from TaoBao.
ESP32 Development Boards Review and Comparison - Sara Santos, MakerAdvisor, 2021may31
https://makeradvisor.com/esp32-development-boards-review-comparison/
 
12:23 PM
I found the following EPS32 board (ESP32 CH9102X WIFI BT) most newbie friendly. So I will place my order now.
(1) New Version ESP32 CH9102X WIFI BleuTooth Dev Board - ¥21
https://item.taobao.com/item.htm?spm=a312a.7700824.w4002-23848665094.10.23c44678Il3bgL&id=667431483266
I also found the tmc2225 module also good. So I will also place an order.
(2) TMC2225 42 stepper motor driver module - BigTreeTech ¥16
https://item.taobao.com/item.htm?spm=a1z0d.6639537.1997196601.65.3d597484iaC88W&id=618776304623

(3) tmc2225 (2A, 36V, uart interface, internal current sense resistor, 256 microsteps) Datasheet - Trinamic
https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2225_Datasheet_Rev1.11.pdf
 
1:12 PM
Now I am looking the tms2160 test results: pwm vs motor speed vs motor coil current. Now I think that the current hardware setup can be used to test DC motors (say, testing two DC motors, each with one coil, vs testing two coils of one stepper motor.
I am not taking any measurements (frequency, speed, current) now, because the scope displays only give a rough picture of the magnitudes of this manual testing. It is only when I use software setting (individual/separate step pulses vs continuous PWM waveform, using interrupt input functions to measure speed encoder events, (current mirror + ADC to measure motor current values).
Also the current current sense resistor of 0.5 Ohm is ugly looking and imprecise. I will wait for the tmc2225 with internal current sense resistance to more accurately measure the coil current. And if I use chopping mode operation, it is not useful to measure the realtime current using repeatedly ADC measurements and taking average etc.
 
 
5 hours later…
6:22 PM
i am not into micropython. my projects are personal.
not school or university. my university time passed years ago.
i can propose the devkitc
for the esp
 
6:38 PM
either way my decision is to buy the tmc 2225 and 2160 and play also with them but i will probably finish the program with the tb6560 until that time.
I will also check your link for the ili and i will have to read the datasheet and implement a driver i suppose
except if i buy a itead screen and your their programs
i will also try to dig more into lvgl
 

« first day (2 days earlier)      last day (28 days later) »