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 - Stopwatch over UART

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

Stopwatch over UART (by Ihor Nehrutsa)
Sun Aug 7 2016, 15:23:50, download attachment SWATCH1.ZIP
no nun (by susu)
mcu 328 32pin no chip heple thank
Sun Aug 7 2016, 23:16:17
(no subject) (by Ihor Nehrutsa)
This message does not prevent you select another chip.
Mon Aug 8 2016, 02:39:25
(no subject) (by MGP)
Excellent example but this is a good reason why we should use a 7segment display.

6 digits with Ldmicro is almost unreadable, or you should use buffers / latches, which makes the use of a controller much less attractive.

I once made a program for serial(uart) HPDL2614 display, unfortunately, that they are so small.

I think there are many of us are searching for an instruction(s) that can display text or numbers in a good and inexpensive way.

7segment display are a good example, LCD's and SPI peripherals also.

But I am happy with what you've already done, much more transparency in the program, bugs out, detailed instructions, etc ....
Mon Aug 8 2016, 03:43:32
(no subject) (by MGP)
Duh... I'm getting old, attached the HPDL2614 picture.
Mon Aug 8 2016, 03:46:31, download attachment P1010863.JPG
thank (by susu)
you can tell me and everyone 32pin version 328 chip is not. Arduino pro mini thank you
Mon Aug 8 2016, 13:33:46
(no subject) (by Ihor Nehrutsa)
to susu:
I'm not sure that I correctly and fully understood you.

You can use the official version of LDmicro from
http://www.cq.cx/ladder.pl
and select any microcontroller that shown on the attached image.
Mon Aug 8 2016, 15:54:19, download attachment MCUv23.JPG
(no subject) (by Ihor Nehrutsa)
to susu:

You can use the unofficial version of LDmicro from
https://github.com/LDmicro/LDmicro/releases
and select any microcontroller that shown on the attached image.

Almost all of these MCUs was tested by different people with different Ladder Diagrams LD.
Mon Aug 8 2016, 16:02:05, download attachment MCUv354.JPG
(no subject) (by Ihor Nehrutsa)
You can also sponsor support the new MCU.

The addition to the list of processors AVR with a change in package type (eg ATmega8 PDIP -> ATmega8 TQFP) or (ATmega328 PDIP -> ATmega328 32-Pin packages) I set price at $10 (0.5 hour).
The addition to the list of processors new MCU will cost $20 (1 hour).
DONE - means was tested,
TODO - means not tested.
The possible MCU you can see on the attached image.

Please contact [email protected]

Development of LDmicro continues under the GPL v3.
Mon Aug 8 2016, 16:26:50, download attachment MCUv354_new.JPG
(no subject) (by Ihor Nehrutsa)
to susu:
Also you can read top of threads
http://www.cq.cx/ladder-forum.pl?action=viewthread&parent=4832
http://cq.cx/ladder-forum.pl?action=viewthread&parent=4947

and change log from Release 3.0.0 to 3.5.4
Mon Aug 8 2016, 16:33:48, download attachment CHANGES.txt
(no subject) (by Ihor Nehrutsa)
Mon Aug 8 2016, 17:07:41
thank you (by susu)
I'm poor students do not have money to pay for ban.neu you help thank you very much
Mon Aug 8 2016, 20:40:44
(no subject) (by july)
No run UART for pic 16f877A help thank you
Wed Aug 10 2016, 12:15:45
(no subject) (by july)
no run down counter pic 16f877a help thank
Wed Aug 10 2016, 13:07:38
help (by july)
Simulation ok put into practice not running
Wed Aug 10 2016, 13:53:37, download attachment pic 887 and 877a no run.ld
(no subject) (by Ihor Nehrutsa)
to july

I changed pins connections in swatch1.ld

SWATCH1\PROTEUS directory in zip file contain Proteus_v7.1 project with PIC16F877A.

It work as expected.
Wed Aug 10 2016, 14:47:11, download attachment SWATCH1.ZIP
(no subject) (by Ihor Nehrutsa)
to july

PORTA has no Pull-up resistors in inputs.
If you don't use external resistors then X1, X2, X3 buttons not work.
Wed Aug 10 2016, 15:41:30, download attachment Pull-up PIC16F87x.JPG
(no subject) (by Ihor Nehrutsa)
to july

You can select PORTB with internal inputs Pull-up resistors.
Wed Aug 10 2016, 15:43:15, download attachment pic887and877anorun_2.ld
sory Ihor Nehrutsa (by july)
I can not run down counter. I can help you.thank
Wed Aug 10 2016, 22:15:31, download attachment test 877a down couter no run for protuse.rar
(no subject) (by Ihor Nehrutsa)
There is bug with 'Formatted string over UART' with negative numbers. I need a time.

CTR reversive counter is worked right.
Thu Aug 11 2016, 00:14:50, download attachment str-.pl
(no subject) (by Ihor Nehrutsa)
Fragment of manual.txt
...
> FORMATTED STRING OVER UART var
-{"Pressure: \3\r\n"}-
...
If the variable might be negative, then use `\-3d' (or `\-4d' etc.) instead. That will cause LDmicro to print a leading space for positive numbers, and a leading minus sign for negative numbers.
...
Thu Aug 11 2016, 00:22:49
(no subject) (by Ihor Nehrutsa)
by july

1) You are right. CTD down counter in releases from v3.5.2 to v3.5.4 has critical decrement error.
It will be fixed in near time.

2)There is NO bug with 'Formatted string over UART'

3)If the variable might be negative, then use `\-3d' (or `\-4d' etc.) in 'Formatted string over UART'.

__ || _____ R1 ___________________ C1 _________________ ||
0007||-------] [---------------{"value: \-3\r\n"}--------||
Thu Aug 11 2016, 01:56:06
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):