Thursday, April 29, 2010

Thursday, April 15, 2010

Mobile Embedded Apps

Introductions:

Mobile embedded application would be a helpful tools to widen our hobby applications and some commercial oppurtunity to venture with.If we will notice mobile phones 's cost depreciate alot some has a bargaining promo " buy one take one" just to sold out thier items. And the trend of trading to consumers are quite interesting, well, on techno guys, hobbyists and experimenter mobile phones could be a good options to use and develop.Why so? it is becuase technically you coud have an MCU evaluation board with display and RF transciever in just one cell phone equivalent.But personally, I have some intentions why it gets me interest to include on my hobby activities: 1)lower cost, 2)Portability and flexibilty of a system ,3) killer apps 4) free online docs and supports and 5) there are a lot of competitions that would challenge then take note with a bigger price.

So let me discuss again the HowTos how could I help share your this another techno hobby.I am excited very much.



REQUIREMENTS:
Hardwares:
PC(PII above)
Bluetooth Kit(locally available)
MCU(any microcontroller)
Mobile Phones(w/ bluetooth features)

Softwares:
J2ME
Java/C++

OBJECTIVES:
1) To demontrate the use of j2mw emulator
2) To load demo apps to mobile phones via bluetooth
3) Coding a simple applications
4) Controlling bluetooth kit using CP

HOWTOS:


REMARKS:

CONLCUSIONS:

Wednesday, April 7, 2010

Windows SDCC Compiler ( E^3 GUI )

Due to public demand for a free embedded compiler particularly in C programming language, I am encouraged to build SDCC in Windows platform and support its GUI.

Stock Stuffs' shelf

Here are a bunches of gadgets and MCU EVB that I usually used in my techno hobby .


Microchip Development Kit

DEVB4.3 (PIC32 EVALUATION BOARD)



Microchip PICDEM 2




8 Bit MCU-FUJITSU

micro Ethernet Server (PIC16F877a & Enc28j60)

Use PIC16F877a as a micro Ethernet Server
Interface PIC16F877a to Enc28j60
Implementing various protocols:
IP
TCP
UDP
Telnet
ICMP
ARP
NTP
Minimizincg uChip TCP/IP Stack

nano Ethernet(PIC16F84 & Enc28j60)

Using PIC16F84 to host an ethernet service.

Problems:
SPI routine for PIC16F84
Minimizing Enc28j60 IP Stack
Interfacing PIC16F84 to Enc28j60

Given:
1)No built in SPI functions
2) Limitted ROM,SRAM,EEPROM
3)Limitted Ports

HowTos'
Source Coding:
1) Write/Read SPI I/O routine
2) Write /Read Op Register
3) Write/Read Buffer
4) Write/Select Bank Register
5) Initialize SPI
6) Initialize Register
7) Check link
8) Arp Request
9) Poll Paccket Recieved
10) Execute Flow

Hardware Design Implementations:
Tri State port A
Tri State Port B

Techno Algorithms:
Begin
Check the link
Brodcast Mac Address range
Arp Request
Check the polled packet
Output the recieve d packet
End.

Schematics:
Photos:
Complete Prototype


Remarks:

Conclusions:


Thanks

E^3