Home

Main Menu

futz f&ts v.i. To tinker experimentally; to change something just to see what it does.
Servo Slowdown with Junebug 18F1320

thumbWhile debugging the code for the 12F683 servo slowdown project I had the need for a debugger to find a weird problem. But you can't debug a 12F683 unless you spend $35+ for Microchip's debuggable 14-pin version of the chip. So I ported the code to the 18F1320 on the Junebug.

Read more...
 
Servo Play With The PIC 12F683

thumbA guy emailed me wanting to know how to write C code to do a servo slowdown device like this PICAXE one by Kevin Goom. So I started small and worked up to a full port of the PICAXE code in C. The only thing I left out is the indicator LED, but that's simple enough to add later.

 

I started out by just using the 12F683 to control a servo on GP4.

 

Read more...
 
LPC-P2148 Board

thumbIt's been a while since I updated anything here. I left PICs temporarily and played with TI MSP430's for a while. Now I'm tinkering with ARM7's. I ordered an Olimex LPC-P2148 board from Optimal Microsystems to learn with. Nice board.

I bought an Olimex ARM-USB-TINY, also from Optimal Microsystems, for programming and debugging.

Read more...
 
SIRC with the LPC-P2148

thumbTo decode Sony SIRC codes output by my Harmony 880 remote control, I connected a Panasonic PNA4602M infrared sensor to P0.4 (CAP0.1). It's a 38kHz type sensor, so it works great with standard remote controls. Rather than work blind, I connected a 16x2 character LCD in 4-bit mode with busy flag checking to display the codes.

 

It's a fairly simple project, but very useful for all kinds of things.

Read more...
 
LPC2000 with Eclipse/yagarto/OpenOCD

thumbMy 30-day Crossworks for ARM demo expired. I decided that I would try to get Eclipse/yagarto/OpenOCD working. I figured if it was useable then I'd save $150 and use it. If not I can always send Rowley their $150 and use Crossworks for ARM, which is VERY nice BTW.

 

NOTE: Everything in this article is based on my present setup: Olimex LPC-P2148 board. Olimex ARM-USB-TINY JTAG programmer/debugger. Windows XP.

None of the following info is guaranteed to be correct, or even the proper way to do things, but it's working for me at present. I'll improve on it as I go.

Read more...
 
«StartPrev123456NextEnd»

Page 1 of 6