An Overview Of ARM
ARM (Advanced RISC Machine) microcontroller is a low power device that power most of mobile electronic device today. Many portable devices such as an electronic test equipment, home appliance and many other industrial control system have an ARM embedded inside.
Comparing to 8/16-bit microcontroller, the price of ARM chips cost nearly the same, but it superb in performance. The cost per unit may drop lower than the 8-bit one in a bulk purchase.
ARM holding has been release many versions of ARM-based microcontroller, a well known device for electronic designs and hobbyists are Cortex-M3 and M4. These devices was widely available from ST.
Generally, a microcontroller programming require an ISP (In System Programming) to upload and debug the target device. It requires an external ISP adapter. The adapter may cost differently in price depending on the vendor of selected device. However, most of microcontroller from NXP shipped with a bootloader inside the chip. It allow the users to upload the firmware to the target chip without any extra external ISP adapter. The bootloader itself require only one UART Tx/Rx pair with a PC software to control the flow.
 |
A finished PCB assembling with fully tested on top side
|
The NXP LPC1114 ARM Cortex-M0
LPC1114 is a 32-bit ARM Cortex-M0 microcontroller from NXP. It's one of its family LPC111X series. These devices are low power with simple instruction to program.
The system performance could clock up to 50 MHz, with nested interrupt vector. Its timer could create a timer tick enable the implementation of multitasking.
 |
A few of LPC1114DB48/302 I bought from futurlec. It costs near 1$ each exclude shipping. |
For LPC1114DB48/302 as listed here, the program memory is 32 kB with 8 kB of SRAM.
I don't list the full specifications here as per in its datasheet. The device I showed above is a 48-pin SMD device. One thing to remember is it's ISP able with its bootloader inside via UART communication.
Other remaining features will be posted in the next related topics.
Designing And Building An LPC1114 Experimental Board
System Programming And Simulation In Software
With the ease of device library and simulation model came with Proteus VSM, I have made a start up programming for this device using KEIL for ARM. At that time, I am aware of burning a few chips a bought. Hence, I simulate the program and circuit in Proteus software.
 |
A simple program simulation to read a digital GPIO input output This is a sample program I learned from Digi-Key tutorials. I tried to program and made my own experiments. |
Making An SMD Socket Adapter
After a few test, I decide to make my own SMD chip adapter pinned on a breadboard. It this aids I can upload the program and built a test circuit on a breadboard.
 |
LPC1114DB48/302 SMD Socket Adapter, designed to fit the breadboard prototyping. |
 |
A PCB Design View |
 |
Copper Soldering Side For SMD |
The SMD adapter for this device had solder and tested on board without error, but I didn't take any photo from that workshop. I have make a program upload using flash magic and did a prototyping for a sample program list above on a breadboard.
This SMD socket adapter could be download here.
Putting Them All Together
I have design a experimental board for my personal use. It has a lot of system connection on-board.
- A regulated +3.3 V DC supply - due to +3.3 V working voltage limit for this device
- A USB-Serial converter block powered by CH340G used for ISP programming, and for bus powering.
- Two digital input switches to test the digital input pin
- An LED to test a digital output pin
- A hard reset circuit block
- Two analog input - A 10 kOhm Pot and an LM35 analog temperature sensor
- Two I2C device - A ds1307 RTC and a 24C16 EEPROM.
- An SPI header output for driving a Nokia 5110 GLCD.
- One 1-wire header to read an external 1-wire device.
- The MCU socket for LPC1114DB48/302 clocks with a 8 MHz crystal
The full schematic and PCB design made with Proteus. Most of the on-board peripheral have tested while other are not yet finished. However, this board is fully work.
 |
Schematic for experimental board |
 |
PCB View |
 |
A 3D View Of This Board |
 |
Copper Side |
 |
Top Silk |
I made this board with my in-house facilities. The copper pattern is made by UV dry film method with a silk screened UV solder mask ink.
 |
Copper Side With Solder Mask |
The components side printed with component legends with a silk screened UV white solder mask ink.
 |
Components side with legends printing |
This board is an FR-4 material. I bought a sheet of an A4 size for only 2 $ from a local electronic components store.
 |
A finished PCB assembling with fully tested on top side
|
 |
Soldering side with a corrected mistake
|
On the copper soldering side, there is a minor mistake related to CH340G supply pins. I corrected it to work correctly. In the schematic shown above, I did correct the circuit connection and there's no mistake again.
Click here if you wish to download the complete archive.
No comments:
Post a Comment