Тёмный

How to view 8CH ADC plus 4CH PWM using STM32CubeMonitor - STM32 Tutorial #7 

Tech Sponsor
Подписаться 1,1 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@domoledlight
@domoledlight 6 месяцев назад
whoua 😃😃😃😃😃 I am really impressed by your work I have just finish designed a stm32h750 board for future project that involve big data your video sound really promessing
@TechSponsorTV
@TechSponsorTV 5 месяцев назад
Great 👍
@L2.Lagrange
@L2.Lagrange 6 месяцев назад
Very interesting. I'm definitely going to have to look into this
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
Good! I usually using CPP program with Sciter.JS GUI to show the data, compile it using CodeBlocks and use custom simple serial port protocol to transfer waveforms to the PC. Thinking about trying Web Serial API. CubeMonitor is fast but a bit clunky, especially on large data. I also surprised that CubeMonitor did not crash even once on my system.
@L2.Lagrange
@L2.Lagrange 6 месяцев назад
@@TechSponsorTV Yeah I also really like the concept of displaying input data like that graphically. While i'm mostly messing around with STM32 cube IDE atm and STM32 microcontrollers, it appears to be very easy to implement a small HTML server on a raspberry pi pico. It would be interesting to set up measurement data like this which could be accessed anywhere
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
One approach is to serve data through http server. Data can be fetched using JavaScript from virtual file on IP address. There are some examples which create index.html dynamically and send it through w5500 or esp8266 to web browser. The same way we can make any other data available to the browser and refresh it or fetch using more recent json approaches. It can even work on mobile browser. EDIT: forgot to add that data then can be displayed using HTML5 canvas
@hannanayub5360
@hannanayub5360 6 месяцев назад
Hello, I tried running the code for 3 ADC Channels connected to 3 Photo Interrupters (High Voltage when something passes through and low Voltage when nothing obstructs its path) and used debugger to view the value of the array elements but under live expression the values do not change and remain 0.
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
A first step to troubleshoot it is to take a small wire and connect ADC input to GND or 3.3v and see if it changes. If ADC value is not changing, then second step is to check if ADC interrupts are called, e.g., by toggling GPIO led in interrupt. If ADC interrupts are not called, you can try to start small: use simplest ADC polling readout function which does not require interrupts and see if it reads ~0 for GND and ~4095 when 3.3v connected to ADC input pin. Idea is to start from simplest working code and move towards more complex design.
@hannanayub5360
@hannanayub5360 6 месяцев назад
@@TechSponsorTV I will try using polling readout to see if it works for multichannel. I have no problem using single adc channel but whenever i switch to multiple channels I have issues. Do u mind if I can mail you?
@yeso8205
@yeso8205 Год назад
Thanks! would you share the monitor module json files?
@TechSponsorTV
@TechSponsorTV Год назад
Links updated, pls check description
@yeso8205
@yeso8205 Год назад
@@TechSponsorTV THANKS. HAPPY GETTING RICH!
@lslabs2005
@lslabs2005 7 месяцев назад
please post Fonts
@TechSponsorTV
@TechSponsorTV 7 месяцев назад
What fonts? I may have used Bitstream Vera Sans Mono..
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 6 месяцев назад
Can you please check your inbox
@TechSponsorTV
@TechSponsorTV 5 месяцев назад
I have received your message, hope you found someone to help with your project
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 5 месяцев назад
@@TechSponsorTV not yet
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 5 месяцев назад
it would be really helpful if you support
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 6 месяцев назад
Hello! I need your help in doing my project regarding a three-phase inverter using an STM32 controller. Can you please your email will talk about all the details?
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
I haven't received any emails, please reply here and let me know if you sent anything so I can check - maybe there are some mail delivery problem on my side
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 6 месяцев назад
@@TechSponsorTV If you still didn't receive my email please let me know
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 6 месяцев назад
@@TechSponsorTV Just now i have sent an email
@maddipatisunilchowdary4411
@maddipatisunilchowdary4411 6 месяцев назад
Can you please reply to my email
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
Hey, sorry with the late reply! Unfortunately, I can't help you now. I am swamped with my business and competition. Hope you can find someone on upwork maybe or something like that
@sergbo3114
@sergbo3114 7 месяцев назад
Nice! but dont use magic numbers in code. Code like nState==0 better replace to #define MY_STATE_TRIGGER 0 if(nState==MY_STATE_TRIGGER)....
@TechSponsorTV
@TechSponsorTV 6 месяцев назад
Thanks, will do
Далее
🎙А НЕ СПЕТЬ ли мне ПЕСНЮ?🕺🏼
3:06:10
38 Прямой доступ к памяти (DMA)
50:32
Monster magnet meets microwave magnetron...
17:44
Просмотров 47 тыс.
WHY IS THE STACK SO FAST?
13:46
Просмотров 165 тыс.
Redis за 20 минут
23:22
Просмотров 150 тыс.
STM32 PWM basics
18:31
Просмотров 21 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 811 тыс.