Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
LDmicro and Arduino
LDmicro provide two ways for Arduino boards users:
1. User develop ladder logic diagramm (LD file),
LDmicro "Compile" LD to HEX file,
external programmer burn HEX file to the Arduino board.
See HOW TO: Using LDmicro and Arduino board without an Arduino software
2. User develop ladder logic diagramm (LD file),
LDmicro generate Arduino Sketch( INO,CPP,H files),
Arduino IDE "Verifi/Compile" Sketch( INO,CPP,H files) to Sketch.INO.HEX file,
Arduino IDE "Upload" Sketch.INO.HEX file to the Arduino board using bootloader,
OR Arduino IDE "Upload Using Programrer" Sketch.INO.HEX file to the Arduino board using an external programmer.
See HOW TO: Integrate LDmicro and Arduino software
1. 1. LDmicro can generate a HEX file directly for many Arduino boards.
You should select proper processor in LDmicro. See Compare Arduino board specs
For "Arduino UNO" board you should select "Atmel AVR ATmega328 28-PDIP" in LDmicro.
1. 2. Burning HEX to the Arduino board with an external programmer. Like:
1.2.1. Console utility AVRDUDE - AVR Downloader/UploaDEr
Parallel Port Programmer
1.2.2. You can see a lot of external programmers in AVR Studio
menu Tools->Program AVR->Connect...
1.2.x. Please propose your AVR burn programmer.
2. 1. LDmicro can generate Arduino Sketch( INO,CPP,H files).
The generated Arduino Sketch will be the same for all Arduino boards.
You must provide an I/O pin mapping for your Arduino board in generated ladder.h,
then "Upload" thru bootloader.
2. 2. Also you can use external programmer from the paragraph 1. 2.
via Arduino IDE menu Sketch->Upload Using Programrer.
2. 3. Debug Arduino with Proteus
IMHO, First way more simple, second way more complicated, but more flexible and universal.
The choice is yours.
Any questions to LDmicro.GitHub@gmail.com