Recent

Author Topic: Questions on how to create a supervisory for arduino  (Read 985 times)

viniciusantonio

  • Newbie
  • Posts: 3
Questions on how to create a supervisory for arduino
« on: November 21, 2020, 06:26:40 am »
Dear,
I am looking to develop a supervisory for arduino with Lazarus. Does anyone know where there is some material where I can read? Do I have an application on Lazarus where I can communicate with the Arduino or do I have to download some other program?

thankful

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: Questions on how to create a supervisory for arduino
« Reply #1 on: November 21, 2020, 05:42:05 pm »
You can find information about communicating with an Arduino on the Wiki.

viniciusantonio

  • Newbie
  • Posts: 3
Re: Questions on how to create a supervisory for arduino
« Reply #2 on: December 03, 2020, 01:46:30 am »
Thank you. From what I notice, I don't find much material for creating supervisors with embedded systems using Lazarus.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: Questions on how to create a supervisory for arduino
« Reply #3 on: December 03, 2020, 09:12:40 am »
What exactly do you mean with "supervisor"?

MarkMLl

  • Hero Member
  • *****
  • Posts: 6646
Re: Questions on how to create a supervisory for arduino
« Reply #4 on: December 03, 2020, 10:47:48 am »
I am looking to develop a supervisory for arduino with Lazarus. Does anyone know where there is some material where I can read? Do I have an application on Lazarus where I can communicate with the Arduino or do I have to download some other program?

You can use Lazarus + FPC to write a program that can use a serial port to communicate with a "sketch" that is running on an Arduino.

Note that you will either have to write two programs, i.e. one each end of the serial link, or will have to have something running on the Arduino with a well-defined protocol which you understand how to use.

Your use of the word "supervisor" is a very poor choice. Do you mean "a program running on a PC to supervise an Arduino"? Or do you mean "a program running on an Arduino supervising sensors"? Or do you mean "a supervisory program- i.e. an operating system- running on an Arduino"?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

viniciusantonio

  • Newbie
  • Posts: 3
Re: Questions on how to create a supervisory for arduino
« Reply #5 on: December 03, 2020, 11:12:36 pm »
Supervisor would be an expression used.  At first I want to create a button on the lazarus that, when clicked, lights a led on the arduino and a feature that indicates that the led was actually accessed.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6646
Re: Questions on how to create a supervisory for arduino
« Reply #6 on: December 03, 2020, 11:22:47 pm »
Supervisor would be an expression used.

Feel free to use it. If we don't understand what you're asking nobody'll try to answer.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018