Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - LDmicro.GitHub news v5.4.0.1

(you are viewing a thread; or go back to list of threads)

LDmicro.GitHub news v5.4.0.1 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/5.4.0.1

== Release 5.4.0.1 String type support

* Added
"Atmel AVR ATmega32U4 44-Pin packages",
"Atmel AVR ATmega32 44-Pin packages",
"Atmel AVR ATmega328 32-Pin packages",
"Atmel AVR ATtiny85 8-Pin packages",
"Atmel AVR ATtiny85 20-Pin packages",
"Microchip PIC16F1512 28-Pin SPDIP, SOIC, SSOP",
"Microchip PIC16F1516 28-Pin SPDIP, SOIC, SSOP",
"Microchip PIC16F1527 64-Pin packages",
"Microchip PIC16F1824 14-Pin PDIP, SOIC, TSSOP",
"Microchip PIC16F1827 18-Pin PDIP, SOIC",
"Microchip PIC10F202 6-SOT",
"Microchip PIC16F887 44-TQFP"

* Added LIBRARIES_FOR\Pic16\UartLib.*
LIBRARIES_FOR\AVR\UartLib.*

* Added "9-SEGMENT FONT converter"
"14-SEGMENT FONT converter"
"16-SEGMENT FONT converter"

* Added "BUS tracer" support

* Added STRING type support in generated C code
Tested ATmega2560,

* Added Blue color scheme by Jose GILLES

* Added by Jose GILLES
"Microchip PIC18F4520 40-PDIP"
Sat Nov 30 2019, 09:19:48
(no subject) (by Ihor Nehrutsa)
Sat Nov 30 2019, 09:24:19
(no subject) (by Ihor Nehrutsa)
Please report bugs.
Sat Nov 30 2019, 09:26:24
Felicitaciones (by Paulino)
Congratulations to all who make this Software work and to thank everyone who makes it more and more powerful here I am for what I can help all the boss who wants to start programming at Escalera.

Félicitations à tous ceux qui font fonctionner ce logiciel et à remercier tous ceux qui le rendent de plus en plus puissant ici pour ce que je peux aider tout le patron qui veut commencer à programmer chez Escalera.

Поздравляю всех, кто делает это Программное обеспечение работающим, и благодарю всех, кто делает его все более и более мощным здесь, я за то, что могу помочь всем боссу, который хочет начать программировать в Escalera.

Congratulazioni a tutti coloro che fanno funzionare questo software e ringrazio tutti quelli che lo rendono sempre più potente eccomi per quello che posso aiutare tutti i capi che vogliono iniziare a programmare su Escalera.

Felicidades a todos los que hacen que este Software funcione y dar las gracias a todos a los que hacen que cada vez sea mas potente aquí estoy para lo que pueda ayudar a toda la jeten que quiera a prender a programar en Escalera.
Sat Nov 30 2019, 09:47:37
(no subject) (by Alex)
thanks a lot Ihor !!! :)
Sat Nov 30 2019, 09:52:19
(no subject) (by Ziggy)
Respect
Sat Nov 30 2019, 18:50:16
(no subject) (by Alex)
Hello i have tested servo pwm ladder program posted in wiki:

https://github.com/LDmicro/LDmicro/wiki/Servo-PWM

i have changed the ladder from Atmega2560 to Atmega328, i tested it on proteus, buttons worked ok, but POTENTIOMETER doesn´t do anything, i just changed inputs and outputs, also i noticed that in ladder there is an ADC input called "Aduty" and another one called "Aduty_" this last one says "pin not assigned" and if y changed all "Aduty_" with an "a" it doesn´t work anymore with buttons, why is that "_" for in ldmicro? image attach, see please:


https://www.youtube.com/watch?v=x9vV10Tl7IU
Sat Nov 30 2019, 19:50:50, download attachment aduty_ (no pin selected).jpg
(no subject) (by Alex)
ladder attach fo servo pwm for arduino uno
Sat Nov 30 2019, 19:57:48, download attachment servo_pwm_arduino_uno.ld
(no subject) (by MGP)
Ihor, thanks for the new version, but especially for the addition of high speed pic's 16F18xx.

The turning point in ldmicro for me was the introduction of # addressing, a great instruction.

I am a LDmicro black box user and regret a little bit the migration to "compile to C", but I also understand those users.

I hoped in this new version that the "pulse generators" would work but that will be for another time I think ;)

But thanks again for your great effort, also to José
Sun Dec 1 2019, 03:02:54
(no subject) (by Ihor Nehrutsa)
to Alex (Servo PWM)

I renamed "Aduty_" to "duty_prev". ("Aduty_" is the bad ( unchancy ) name. "Aduty_" is viewed as an analog input, but it is a general variable.)

Please publish or send the Arduino Uno Proteus project to my mail.
Sun Dec 1 2019, 05:25:01, download attachment servo_pwm_arduino_uno.ld
(no subject) (by Alex)
thansk for your reply Ihor, here is the proteus file
Sun Dec 1 2019, 10:31:46, download attachment servo.pwm_arduino uno_proteus.pdsprj
(no subject) (by Alex)
Hello i have tested it with my arduino uno, it works ok, but some times after servo reaches its position after pressing button, it move a little for another direction, sometimes it doesn´t, in simulation this doesn´t happen so i guess it is due to the cheapest servo i could find here where i live, wacth video please for more details:

https://youtu.be/HDBt3Chq7_4
Sun Dec 1 2019, 11:50:24
(no subject) (by MGP)
Not all servo's can handle a PWM of 61Hz, that is >20% deviation.
Sun Dec 1 2019, 12:28:18
(no subject) (by Alex)
Thanks for your reply MGP, you were right, i tested again but sg90 little blue servo instead, no deviation
Sun Dec 1 2019, 13:59:10
(no subject) (by Ihor Nehrutsa)
to Alex

The ADC value is stable when you don't touch the resistor in Proteus, but in the real circuit, the measured ADC value changes by a few bits near the real value. (ADC = real value +/-x deviation bits )
First, You press the button and set new PWM duty value, and then ADC value has changed a little, and a new value for the PWM mode is set.
You should modify the ld file.
Sun Dec 1 2019, 14:25:36
(no subject) (by Ihor Nehrutsa)
to Alex
You forgot to connect the AREF pin to power in your Proteus project.
Sun Dec 1 2019, 14:44:38
(no subject) (by Alex)
thanks for your reply Ihor, you were right, Aref was missing, i added it to my arduino board, now it works, but when i use potentiometer..., buttons can´t work correctly until i disconnect Aref (watch video please)


https://www.youtube.com/watch?v=nqOr3vrNNgs
Sun Dec 1 2019, 19:57:10
(no subject) (by Alex)
i think all of that can be avoid using quadrature enconder instruction
Sun Dec 1 2019, 19:59:42
bugs ao inserir mais instrução no Sketch (by Gilmar Roberto)
Dear Sirs, You are making improvements to LDmicro. Congratulations for the excellent work. When I edit my projects in LDmicro and compile for Arduino Sketch it works very well, except for version 5401 that a compilation error occurs. But the problem occurs every time when I add an instruction, using for example the HCrs04 ultrasonic sensor. When compiling with this addition in the converted and tested code in Proteus, the operation gets bugged. I would like help correcting this.
Mon Dec 2 2019, 08:48:02, download attachment ComportaV328.ino
bugs ao inserir mais instrução no Sketch (by Gilmar Roberto)
Segue os outro arquivos para os que podem me ajudar a corrigir o problemas com o bug, quando um outro arquivo é adicionado no Sketch.
Mon Dec 2 2019, 08:51:32, download attachment ComportaV5_328.cpp
bugs ao inserir mais instrução no Sketch (by Gilmar Roberto)
Segue os outro arquivos para os que podem me ajudar a corrigir o problemas com o bug, quando um outro arquivo é adicionado no Sketch.
Mon Dec 2 2019, 08:52:19, download attachment ComportaV5_328.h
(no subject) (by Ihor Nehrutsa)
to Gilmar Roberto

Please publish or send the LD file to my mail.
Mon Dec 2 2019, 16:37:11
(no subject) (by Paulino)
Hi Ihor Nehrutsa, I'm testing the pic16f887-44-tqfp.
The problem I find is that the pin of the TX and RX are not the pins that mark in LDMicro, the pic 16f877-44-tqfp the tx is pin 1 and the rX is pin 40.
The pins that come out are those of the PIC16F887 40 Pins UARTtx It is pin 25 and Rx pin 26.
can you tell me if it is correct, [email protected]

Hola Ihor Nehrutsa, estoy probando el pic16f887-44-tqfp.
El problema que me encuentro es que el patilla del TX y RX no son los pines que marca en LDMicro, la pic 16f877-44-tqfp el tx es pin 1 y el rX es el pin 40.
Los patillas que salen son los de la PIC16F887 40 Pines UARTtx Es el pin 25 y Rx pin 26.
puedes decirme si es correcto, [email protected]
Tue Dec 3 2019, 06:14:07, download attachment TX-RX pic16f887Q.ld
(no subject) (by johnnyd_is)
thank you to all for making this possible
Tue Dec 3 2019, 19:34:45
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):