Arduino project checking all the time the temperature without blocking a stepper motor that is move.

  • Статус: Closed
  • Награды: €15
  • Полученные заявки: 6
  • Победитель: abdulrazakZakieh

Краткое описание конкурса

The project is made with an Arduino Mega that with a loop is moving 2 steppers motors (one at the time, not together).
The same time must have a loop, a timer ( I really don't know ) that will:
- check 2 temperature sensors and will open and close 2 relays.
- send the temperature of the sensors to a nextion touchscreen
- send the milimeter that one of the motor move to a nextion touchscreen.

I must say that all the code is ready and working. Just I need the trick or the timer to put the checking code when the motor moves.
Now the check for the temperature is only when the motor stops.

So I need only the code for the extra loop that will not blocking the motor.

Рекомендуемые навыки

Отзыв работодателя

“A professional that will hire in the future. He solve my problem!!!”

Изображение профиля sakismor, Greece.

Лучшие заявки этого конкурса

Показать больше конкурсных работ

Панель общих вопросов

  • Sarath129
    Sarath129
    • 2 месяцев назад

    Hi I have do similar parallel processing projects.Lets chat

    • 2 месяцев назад
  • gjsanthosh360
    gjsanthosh360
    • 2 месяцев назад

    Hi Contest Holder, In my entry #8 , I replaced delay function with millis and a condition.I think, surely It will solve your problem.

    • 2 месяцев назад
  • abdulrazakZakieh
    abdulrazakZakieh
    • 2 месяцев назад

    Dear contest holder,
    Please check my entry #6 .
    I have the right solution for your problem by scheduling tasks to work at the same time using time slicing and priorities. I have modified the code and it is ready to be compiled and tested. However, I could not compile it because missing Nextion library. Would you please chat me to send you the code so you can try it and give the prize to me if it worked as you want

    • 2 месяцев назад
  • khaledslah
    khaledslah
    • 2 месяцев назад

    Hello, can we chat ?

    • 2 месяцев назад
  • satheesh240
    satheesh240
    • 2 месяцев назад

    Could you please send me the code so that I can suggest you apt solution.
    You can upload the source code to google drive and share me the link.

    • 2 месяцев назад
    1. sakismor
      Организатор конкурса
      • 2 месяцев назад

      you can check the code from the attached file

      • 2 месяцев назад
    2. sakismor
      Организатор конкурса
      • 2 месяцев назад

      Have you check the code?

      • 2 месяцев назад
  • hemedmechanical
    hemedmechanical
    • 2 месяцев назад

    i don't know how to send you the file

    • 2 месяцев назад
  • hemedmechanical
    hemedmechanical
    • 2 месяцев назад

    i can use millis() to run things in parallel ( multi tasking) , send me the source code, and you haven't old us what temperatures sensor you are using

    • 2 месяцев назад
    1. sakismor
      Организатор конкурса
      • 2 месяцев назад

      Don't worry for that. Is not the full code. Just in the onedirection() try to loop the code that is in timer section

      • 2 месяцев назад
    2. sakismor
      Организатор конкурса
      • 2 месяцев назад

      Is not easier to chat?

      • 2 месяцев назад
  • Jkea
    Jkea
    • 2 месяцев назад

    Good morning, I can help you with what you need but I will need access to the source code to understand what you have so far. I have experience with Nextion interrupts and screen control so I can think of some options for what you need. I'll stay tuned to your comments. Greetings.

    • 2 месяцев назад
    1. sakismor
      Организатор конкурса
      • 2 месяцев назад

      Jonathan good morning, I can send you the source code.

      • 2 месяцев назад
    2. sakismor
      Организатор конкурса
      • 2 месяцев назад

      How to send the code?

      • 2 месяцев назад

Показать больше комментариев

С чего начать в организации конкурсов

  • Опубликуйте свой конкурс

    Опубликуйте ваш конкурс Быстро и легко

  • Получайте тонны заявок

    Получайте тонны заявок Со всего мира

  • Присудите приз лучшей заявке

    Присудите приз лучшей заявке Загрузите файлы - это легко!

Опубликуйте конкурс или присоединяйтесь к нам уже сегодня!