File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Java for a chip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java for a chip" Watch "Java for a chip" New topic
Author

Java for a chip

Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Hi,


I want to use Java for a IC chip that will control input volume signal. How to go about it?

Thanx in Advance,

ADIL


Help gets you when you need it!
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Java 2 Platform, Micro Edition - J2ME


My blood is tested +ve for Java.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

If you are looking at using java to communicate with another IC through serial or parallel ports i recommend you read this

http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf


If you are looking at running java on the IC, i dont think thats possible. IC programming is usually done through assembly or micro c.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Originally posted by John Meyers:

If you are looking at running java on the IC, i dont think thats possible.


There's a number of microprocessors that can run Java bytecode. Have a look here for some links.
[ May 22, 2006: Message edited by: Joe Ess ]

[How To Ask Questions On JavaRanch]
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Wow thanks ! I didnt know that was possible. I tried to google it before posting but that didnt throw any useful results. Will look into it.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
A number of years ago, Sun created quite a stir at a Java One convention by passing out Java enabled rings. The iButton chip in a stainless steel can executed an early version of J2ME. I still have some of those chips around here somewhere.
Bill
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Thats neat too ! So why didnt the i button catch on ? This is the first time i am hearing about it.
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
hi,


yes guys, I want to have a Java programmed chip. This chip will be used in appliances and will be able to control volume signal. This will be a chip that will do the work automatically.

I have read the link but and find the ICs cool. It is a IButton-Sensor type of thing that I want to programme - a sensor for volume. Could someone give me the direction. What and how to code for it? OR you can join me and be my partner in success! We will share the profits, okay!

I want to progress in this endeavour! sob sob!


Thank you for dropping by William Brogden (and others too)!

Maki Jav
[ May 22, 2006: Message edited by: Maki Jav ]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Originally posted by John Meyers:
So why didnt the i button catch on ?


There's some applications of the ibutton on the website William linked. The compelling use for the ibutton when it was released was personalization. You could carry around your preference data with you (the example at Java One was for your particular mix of coffee). I guess it's just cheaper to treat everyone the same.
With the rise of cheap usb flash drives and RFID, I think the ibutton may be extinct.
Maki, I think using a java chip for volume control would be overkill. Java makes sense for application programming, not regulating IO. Java chips don't have the same market penetration that other IC's do (PIC, for instance) and are more complex so they will be more expensive (and require more power, generate more heat and so on). Any appliance you could name would probably already have a microcontroller on it. Why the extra chip? How would you integrate it with existing hardware?
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Yes you are right Joe Ess. Java not be suitable for some fields, but then what you have siad could be suppositions. why not try to do it practically?

If the whole thing that we create is not so good(have problems the like you mentioned), we can always get hold of some C programmer and convert our code. But it will be a fine practise for us to work on this, what you say?

Right now I have no idea where to begin. By the end of it, we will be more knowledgeable.

I have an idea for a specific industry where volume control has been over looked in reference to requirement. I will create this chip with the help of you guys and pass it to some big name in that industry. It will be upto the company to do the rest. So we share the fruits! I do not want to open the idea to everyone as yet...

Thanx in Advance,

Maki Jav
[ May 23, 2006: Message edited by: Maki Jav ]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Originally posted by Maki Jav:

I have an idea for a specific industry where volume control has been over looked in reference to requirement.


I hope it's microwaves. My microwave can wake the dead.
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Well No

There is another field of appliances. Yes you might have been annoyed by that applaince too!

So you said that all we are going to do is read input signal and alter it and put it on its way on the output stream? But what signal to manipulate? How will we read it?

Thanx in advance,

Maki Jav
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Will anybody here guide me, plz!

Thanx in Advance,

Maki Jav
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
This Dallas Semiconductor site is loaded with information and products for this sort of thing.
Bill
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Well, William Brogden, my favourite guy!... thank you for the link. I will get back when I need more...


Thanx,

Maki Jav
[ May 28, 2006: Message edited by: Maki Jav ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java for a chip