ARTe, just me!
Blog, Projects & mix stuff
Electronic, MCU, PC programming, patches, everything
LPC21xx is here and Wolfenstein:ET
Hi
I just got my LPC21xx mcu, so i’m doing what will become my devboard.
And i also did a patch for a wolfenstein: enemy territory mod (ETPub) because my clan server was getting attacked by a damn script kiddie using a exploit. Well, as the etpub people didn’t take any action patching the code, i got the sources and fix it in a morning.
I’ll be posting the patch later, not really electronics related but who cares
I’ll be posting my LPC devboard next week
MCU Power Supply
I’m trying to finish some rough edges of my MCU power supply so i can post it all the code, the schematic and the pcb. I did as a way to learn the AVR MCU.
When i finish, i will post it.. could be this weekend, but i’m not sure, time hasn’t been my biggest friend lately.
Ah.. i still waiting for my LPC21xx, so i start working (and testing some of my already made code) on it.
DDS
I’m trying to build a DDS signal generator, what is left to decide is between using dspic or a LPC21xx. I think i will be using a LPC21xx because i haven’t use it in a real project yet so, this could be a good oportunity to do it… now, i have to wait till they send me the one i bought.
next week i’m hoping i’ll post the wireless train control for model railway.
MCUMenuObj 0.2
MCUObjMenu
MCUObjMenu supplies a simple form to create hierarchies menu for microcontrollers.
All the menu structure (all the static data) is saved on the FLASH and used from there, using only RAM
memory for variable data.
Features:
- Most important widgets already made
- All static data is stored in FLASH
- Low RAM use
- Menu can be easy designed
- Infinity submenu
Available widgets
- Setting point (number)
- Text input(character, numbers or both)
- Text output
- Hypertext (to call a function or go to a submenu)
Download MCUMenuObj 0.2
(Contains the library, pic example and atmel example with proteus vms file for each to test it)
Another MCUMenuObj video capture
Somebody send me a proteus vms file to test both MCU on Proteus VSM (demo)
here is a really bad desktop capture
does not agree
I was working on a pic project using the c18 compiler, and the compiler told me this
D:\Projects Actuales\UslProj\lsb \Trunk\pic\menu\menu_text.h:13:Error [1034] previous definition of macro ‘STR_voidfnt’ does not agree
i don’t like macros that doesn’t agree with each other only because they share a common name… it’s like I won’t agree with anybody called Ramiro also just because we share a common name :). I found it really funny
LCD-Driver 0.7
An update to the LCD-Driver with some new stuff
- New function (flash string, better put number function)
- Added soft blinking.
Download LCD-Driver-0.7 (source code, avr example & proteus file for simulation)
MCUMenuObj library for microcontroller
Its an easy-to-use hierarchical menu interface for microcontrollers.
All the static data reside on the flash.
We have different type of objects.
- text
-hypertext
- input objects (for things like name, adresses, telephones)
- spinbox (for things like setpoints, etc)
I will be uploading all the source code, an example & a small tutorial.
Its going to support WINAVR & Microchip C18. But in the moment, i’ll post the atmel working version…
avr-gcc ram & rom struct
Lately i have been fighting with the way the avr handles the rom data and ram data while i’m trying to port my object menu library.
what i hate most is been unable to add a static rom struct on another static rom struct.. (an struct inside of another one) because gcc doesn’t allow me to do it.
i fix it by adding the pointer to the struct, and not the struct itself.. works ok
once i finish i will post some code
SIProg ISP ATmel Serial Programmer
This is my small, powerless version of the SIProg., i added a reset button on it
In the schematics you will find how to connect the DB9 female connector(serial port) to the flat cable (IDC)
Features
- Small (35mmx30mm)
- Powerless
- ICSP
- Reset button
- AVRDude, PonyProg support
- Standard 10-pin ISP AVRISP output connector
Schematic, PCB all layers, PCB bottom layer
Download
Sorry for my bad english