* * *

Author Topic: Arduino  (Read 4253 times)

herux

  • Jr. Member
  • **
  • Posts: 99

jb007

  • Jr. Member
  • **
  • Posts: 91
Re: Arduino
« Reply #16 on: August 08, 2016, 10:07:27 pm »
After a break, got some significant progress!

Value of 3 ScrollBars is sended by RS232 to my Arduino.
At 3 LedBars, the values are displayed as (0-255) values.
( gonna be in 0 to 8 led's later as is it showing an audio-level-indicater )

In Lazarus the refresh rate is 10/sec. Only the value of the last changed Scrollbar is sended to Arduino. At my Lazarus INIT al of the 3 wil be sended!
to DIY or not to DIY

jb007

  • Jr. Member
  • **
  • Posts: 91
Re: Arduino
« Reply #17 on: August 08, 2016, 10:07:57 pm »
I'm using

1 byte as LedbarNumber and

3 bytes as LedBarValue.

The string 'el' (end-line) is added as delimiter.

I'm very happy I got this far programming RS232.

Next step is to controll my robotArm by PC-RS232-Arduino!


Fortunately I got the major part for controlling my robotArm allready
coded in TurbuPascal7.0 and the control is done by ISA/ 82c55a.

The whole ForWard/BackWard-Kinematics, stepperControl and overal mathematics for Interpolation/Integral/Differential for creating a path in 3d.

http://europakade.nl/motion-control-an-robots/robot-arm

https://www.youtube.com/playlist?list=PL7iWs5bvJdxs91kCZUV9P6KuG4mvriLgJ
to DIY or not to DIY

jb007

  • Jr. Member
  • **
  • Posts: 91
Re: Arduino
« Reply #18 on: August 25, 2017, 07:14:42 pm »
Hi,

allready some time ago but I wanted this tho share with you:


For programming my Arduino's, I'm using mikroPascal for AVR.

On my pc: got Lazarus running very smooth!

On my raspberry PI's: got Lazarus running and did some first tests.

Kind regards.



to DIY or not to DIY

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus