Xlebp
Местами поменять в программе?
Можешь на плате зеркально перевернуть чтобы не перепрошивать
ㅤ
Если ты имеешь ввиду под работу с собственной флеш памятью,то это четвертая SPI
Xlebp
Сути дела не изменит, да и все равно джамперы
Dmitry
Местами поменять в программе?
или провода на макетке перекинуть
Dmitry
01 01 задаёт направление тока в обмотке, 00 полностью отключает обмотку от питания, 11 сжигает блок или цепи питания или если на ключах входы инверсные, то наоборот 00 сжигает — аккуратнее там, силовуху даже такую простую и слаботочную надо через БП с защитой по току запускать
Dmitry
в иделе конечно надо step/dir ставить — они все умеют уменьшать ток подаваемый на двигатель, когда он в покое (ток удержания), чтобы не грелся
Gorg
что-то не в курил: • SPI0 used by ESP32-S3’s GDMA controller and cache to access in-package or off-package flash/PSRAM • SPI1 used by the CPU to access in-package or off-package flash/PSRAM • SPI2 is a general purpose SPI controller with access to a DMA channel allocated by the GDMA controller • SPI3 is a general purpose SPI controller with access to a DMA channel allocated by the GDMA controlle
Gorg
Да, на SPI1 можно подвесить ещё и PSRAM
спасибо! у меня со времен esp32-wrover подклинивает видимо
ㅤ
есть
Тогда проблем быть не должно
ok-home
Да, на SPI1 можно подвесить ещё и PSRAM
Там немного не так. Spi0 работает с фэшем и псрам. Spi1 работает с ними же на cpu. Ну короче spi0/1 недоступны для простых смертных ))
Hidden Account
я не смог сделать
ㅤ
от жеж как оно) потому и не вкурил.
Тебе по сути с твоими задачами двух свободных спи просто за глаза
Gorg
Тебе по сути с твоими задачами двух свободных спи просто за глаза
посоветуй дисплей, тач, сд как тогда лучше разделить. сд хранит картинки музыку, надо поигрывать и рисовать и взаимодействовать с экраном. тач может быть продолжительным с возюканьем по экрану
Gorg
вот такое например: включаем музыку, на экране ползунок громкости. стилусом регулируем громкость
ㅤ
Если пины позволяют, сд карту на отдельную шину повесь, чтоб если вдруг чо, не висло всё остальное. Хотя и не должно при нормальной работе и исправной фрешке
Gorg
буду пробовать. как только лгвл подрублю
Hidden Account
Всем добрый день, как сделать веб-сервер, чтобы он использовал интернет через SIM800L? esp-idf
если кто нибудь сталкивался или знает помогите пожалуйста
Max
An Espressif ESP32 and Some Clever Coding Brings the Vintage "Computer Athlete" Back to Life Pseudonymous maker and vintage computing enthusiast "arpruss" has come up with a novel way to fulfill any exercise-related new year's resolutions you may have made: hooking up a modern exercise machine to a vintage piece of software dubbed Computer Athlete, running under emulation. "Computer Athlete was a patented system by Robert Caruso and others that connected an exercise machine to minigames running on an IBM PC compatible computer in the late '90s," arpruss explains. "The minigames are walking as a robot on some planet, running, rowing, skiing, and biking. It may not be as much fun as Wii Fit, but it is a lot fun than just going on an exercise machine." In Caruso's original, the software was linked to custom hand controllers and an optical sensor fitted to the exercise machine and communicating with the PC's serial port. With the software readily available on the Internet Archive but the hardware rather harder to find, apruss set about figuring out how to create a modern replacement — and link it to the original software running in the DOSBox emulator on a modern computer. "My emulated setup uses DOSBox for emulation and an [Espressif] ESP32-based Bluetooth controller that connects to the exercise machine, with 3D printed hand controllers, a box with a reset button and a connection to the exercise machine's own rotation sensor," arpruss explains. "Pleasantly, Computer Athlete allowed using the joystick game port, and so the ESP32 (using Arduino [firmware]) emulates a gamepad which DOSBox automatically picked up by default." The resulting recreation works similarly to the original, with only one problem: the need to introduce a way to switch between one- and two-signal rotation modes, to mimic how the original hardware worked or correct for too-fast operation. "To switch between one-signal and two-signal modes, just hold the reset button when starting up the ESP32," arpruss writes. "On startup, the device does one or two or two blinks of the LED to indicate which mode it's in. Additionally, the device blinks the LED (which normally indicates connection status) each time it sends a rotation signal, so you can check that the system is working." The project is documented in full on Instructables ; source code is available on GitHub under the permissive MIT license, while Computer Athlete is available to download from the Internet Archive . If you've a hankering for a little MS-DOS-powered exercise, some vintage software and an Espressif ESP32 will get you going. (📷: arpruss) The new hardware allows you to play all the original minigames, through the DOSBox emulator. (📷: arpruss) https://www.hackster.io/news/an-espressif-esp32-and-some-clever-coding-brings-the-vintage-computer-athlete-back-to-life-3ea07414be8a
Hidden Account
С какими проблемами ты столкнулся
1. set_data_mode не работает, и как указать ему чтобы он взяль интернет с модема?
Ivan
А 800L вообще обеспечивает полный стек? Он вроде сам соединения устанавливает и только данные отдает. Нет?
ㅤ
А 800L вообще обеспечивает полный стек? Он вроде сам соединения устанавливает и только данные отдает. Нет?
Так юзают его не как полный стек. Так то он что то умеет и на нем можно даже что писать. Дим димыч был такой
ㅤ
Вот ты стрелочник
Я тут стрелку метнул опять
Ruslan
тут @ruslanpopov на цмуксе муху ел пару лет назад
Ваще не жалею, что разобрался. Но, консалтинг щас дорог...
Hidden Account
Ваще не жалею, что разобрался. Но, консалтинг щас дорог...
Привет! Если не сложно, не могли бы Вы поделиться своим кодом или объяснить, как реализовать это? Это действительно помогло бы мне.
Alex
Друзья нужна помош в подключени вот этих зверей, Имеется сетап, ESP32-S3-Touch-LCD-4.3b в его i2c TCA9548A в его 1 канал реле XL8535 Так вот не у кого нет примера как это все подружить и счелкать реле через связку мультиплексера
Alex
Наверно все же будет суда сообщение (Из канал по делу,) Друзья нужна помош в подключени вот этих зверей, Имеется сетап, ESP32-S3-Touch-LCD-4.3b в его i2c TCA9548A в его 1 канал реле XL8535 Так вот не у кого нет примера как это все подружить и счелкать реле через связку мультиплексера
Alex
Что было выполнено и с какими проблемами столкнулся
кусок конфига i2c: id: i2c0 sda: GPIO08 scl: GPIO09 scan: true tca9548a: - address: 0x70 id: mplex0 i2c_id: i2c0 channels: - bus_id: mp0channel0 channel: 0 - bus_id: mp0channel1 channel: 1 в логах он виден [19:08:16][I][i2c.idf:100]: Found i2c device at address 0x70 а вот как дальше дернуть реле, уже сбился пробовал и через button не какого эффекта, кнопка появилась но реле не шелкает, через скрипт, была ошибка (листинг скрипта) script: - id: toggle_relay variables: relay: int # Номер реле (0–15) state: int # Состояние: 1 для включения, 0 для выключения then: - lambda: |- uint8_t address = 0x20; // I²C-адрес устройства uint8_t control_register = (relay < 8) ? 0x02 : 0x03; // Выбираем нужный регистр uint8_t mask = 1 << (relay % 8); // Маска для управления конкретным реле uint8_t current_value = 0; // Читаем текущее состояние регистра id(bus_a).read(address, control_register, &current_value, 1); if (state) { current_value |= mask; // Включаем реле } else { current_value &= ~mask; // Выключаем реле } // Записываем новое состояние регистра id(bus_a).write(address, control_register, &current_value, 1); switch: - platform: template name: "Relay 1" turn_on_action: - script.execute: id: toggle_relay variables: relay: 0 state: 1 turn_off_action: - script.execute: id: toggle_relay variables: relay: 0 state: 0 дело в том что дока в части реле кнопок скудна по i2c в основном сенсоры, вот и спрашиваю пример рабочий
Alex
Что было выполнено и с какими проблемами столкнулся
Самый рабочий (без ошибок со стороны esphome) вариант вот этот, но переключения реле не работает i2c: id: i2c0 sda: GPIO08 scl: GPIO09 scan: true tca9548a: - address: 0x70 id: mplex0 i2c_id: i2c0 channels: - bus_id: mp0channel0 channel: 0 - bus_id: mp0channel1 channel: 1 mcp23017: - id: xl9535_hub i2c_id: mp0channel1 switch: - platform: gpio name: XL9535_Pin_0 pin: mcp23xxx: xl9535_hub number: 0 mode: output: true inverted: false
ㅤ
кусок конфига i2c: id: i2c0 sda: GPIO08 scl: GPIO09 scan: true tca9548a: - address: 0x70 id: mplex0 i2c_id: i2c0 channels: - bus_id: mp0channel0 channel: 0 - bus_id: mp0channel1 channel: 1 в логах он виден [19:08:16][I][i2c.idf:100]: Found i2c device at address 0x70 а вот как дальше дернуть реле, уже сбился пробовал и через button не какого эффекта, кнопка появилась но реле не шелкает, через скрипт, была ошибка (листинг скрипта) script: - id: toggle_relay variables: relay: int # Номер реле (0–15) state: int # Состояние: 1 для включения, 0 для выключения then: - lambda: |- uint8_t address = 0x20; // I²C-адрес устройства uint8_t control_register = (relay < 8) ? 0x02 : 0x03; // Выбираем нужный регистр uint8_t mask = 1 << (relay % 8); // Маска для управления конкретным реле uint8_t current_value = 0; // Читаем текущее состояние регистра id(bus_a).read(address, control_register, &current_value, 1); if (state) { current_value |= mask; // Включаем реле } else { current_value &= ~mask; // Выключаем реле } // Записываем новое состояние регистра id(bus_a).write(address, control_register, &current_value, 1); switch: - platform: template name: "Relay 1" turn_on_action: - script.execute: id: toggle_relay variables: relay: 0 state: 1 turn_off_action: - script.execute: id: toggle_relay variables: relay: 0 state: 0 дело в том что дока в части реле кнопок скудна по i2c в основном сенсоры, вот и спрашиваю пример рабочий
Это esphome что-ли?
ㅤ
ага
И какая цель?
Alex
И какая цель?
ТОли я не понял вопроса толи лыжи не едут)
Max
Ken Van Hoeylandt's Tactility is an OS for Your Espressif ESP32, Complete with Graphical Interface Software developer Ken Van Hoeylandt is working on a tool to boost the flexibility of display-equipped development boards built around Espressif's ESP32 family of microcontrollers: a custom operating system, complete with graphical user interface and loadable apps. "It all started in December 2023, when I was considering to buy a Flipper Zero device," Van Hoeylandt explains, referring to the popular tinkerer's multitool. "Its software is very interesting and I found myself wondering whether I could port the code to another microcontroller (MCU). My porting efforts didn’t start out smoothly, but one thing led to another and 3 completely separate iterations later, I’ve got something that looks usable. The result is an application platform called Tactility." Tactility's link back to the software on the Flipper Zero, a popular gadget originally sold as a "hacker's multitool," is its ability to run applications that aren't part of the core firmware — letting you load software onto a microSD Card, insert it into an Espressif ESP32-based device running Tactility, and run each application on-demand. "There are about two dozen apps right now! That includes the various settings apps and some helpers like an alert, selection or input dialog app," Van Hoeylandt explains. "You might have guessed it, but the launcher in Tactility is just a 'special' kind of app! The Wi-Fi app is my favourite one. This was the hardest one to build, because of the complexity of Wi-Fi itself." As well as the Wi-Fi app, which lets a Tactility device scan for and connect to nearby wireless networks, Van Hoyelandt has written apps that read the state of the microcontroller's general-purpose input/output (GPIO) pins and scan the I2C bus — "both apps can help a developer to debug issues with the hardware," the developer explains. The Apple iOS-inspired graphical interface sits atop the FreeRTOS real-time operating system. "I guess it’s mostly a rebranding to call it an operating system instead of an application platform," Van Hoyelandt admits. "Considering that there's a launcher and apps, and you can develop applications with an SDK [Software Development Kit], and you can run apps from an SD Card… and the whole thing runs on FreeRTOS, I decided it is appropriate to call it an operating system." More information on Tactility is available on the official website ; Van Hoeylandt has written drivers for the LILYGO T-Deck and T-Deck Plus, M5Stack Core2 and CoreS3, and capacitive Cheap Yellow Display Board development boards. "Any ESP32 device with a touchscreen should be able to run Tactility," he notes, "because drivers can be implemented for any hardware." Tactility delivers a FreeRTOS-based operating system with graphical interface for Espressif ESP32 devices. (📷: Ken Van Hoeylandt) The software even includes a smart crash handler, encoding debug information as a QR Code. (📷: Ken Van Hoeylandt) https://www.hackster.io/news/ken-van-hoeylandt-s-tactility-is-an-os-for-your-espressif-esp32-complete-with-graphical-interface-6b2fa806a2e3
Ранис
Люди пожалуйста подскажите через какие проги шить и есть ли у кого какие проэкты готовые
Ранис
Ранис
Ранис
Не могу установить требуемые библиотеки в ардуино иде , и в скетчах белиберда из за этого
AntikillerVova 🇷🇺
Это простой esp32. Шить как и обычный. Там вроде есть кнопки бут для загрузки прошивки.
AntikillerVova 🇷🇺
У меня есть такая же платка, но там уже стоит esp32-s3. Проблем с прошивкой не было. Заработало все, дисплей, тач, сд-карта и перефирия.
AliExpress Support
можно ли на алиэкспрессе в чате спора с продавцом его "подогнать", чтоб посылка уже пришла, а то она уже 63 день едет и задержалась на пункте почтового обмена?
Здравствуйте! Пожалуйста, пришлите номер заказа, проверим, почему посылка так долго едет к вам. Номер заказа состоит из 15-16 цифр и начинается на 5 или 2.
индзэец
ужас
Ранис
В том то и дело просит библиотеки , последний раз ломал голову с audio2
Ранис
Короче говоря методом проб и ошибок и все равно нет результата
Ранис
есть вопрос сколь будет стоить поправить ардуино иде для одного компа удаленно .а то устал не одну платку не могу прошить ни проект изготовить .чисто хобби сам не чего не понимаю чисто пробую повторения
Денис
5488 9158 2914 9766
что происходит 😁
Ранис
Вируса схватили 😁
индзэец
5488 9158 2914 9766
сколько переводить?
Moon
Хм
Moon
Денис
сколько переводить?
а у тебя есть что переводить
Денис
действительно пустой, а может панельку просто прижали к низу? а может надо просто переподключить usb? данеможеттакогобыть..
Moon
Я не настолько тупой
Евгений
сколько переводить?
Это номер заказа :)))
Константин ТехноМиг
Вы проверили, получила ли плата ип адресс от роутера?
Денис
Это номер заказа :)))
почему не номер карты😁
индзэец
а у тебя есть что переводить
два рубля потом закину
индзэец
скидывай
Moon
Вчера, когда код работал
Moon
Сегодня хрень какая то