Do you think it is impossible?
I think not.
I actually think we CAN write Python and Java code for PICs!
It's just a matter of getting a python-programmable or java-programmable cellphone able to communicate with a PIC!
There are thousands of cellphones supporting python, and even more supporting java, just look for "pys60" and "j2me".
Connecting them to any PIC should be very easy, and I am currently studying about it: all of these phones have audio headset support, which means they can send and receive audio signals (i.e. voltage signals).
Getting them communicating with a PIC should be just a matter of enabling a PIC to "understand" if the signal is present or not on a pin; a python program on the phone will then "modulate" the sound in a proper way (i.e. you'll have to invent your protocol) to drive the PIC.
I think adding an RC filter to turn sinusoid into constant voltage, and connecting this voltage to a comparator pin in 16f628 should be all we need.
But I need some help to build this proof-of-concept project.
Where could I find a sample source to use comparators on 16f628?
I just want the PIC to light a led upon detecting an analog signal on a pin.
I think not.
I actually think we CAN write Python and Java code for PICs!
It's just a matter of getting a python-programmable or java-programmable cellphone able to communicate with a PIC!
There are thousands of cellphones supporting python, and even more supporting java, just look for "pys60" and "j2me".
Connecting them to any PIC should be very easy, and I am currently studying about it: all of these phones have audio headset support, which means they can send and receive audio signals (i.e. voltage signals).
Getting them communicating with a PIC should be just a matter of enabling a PIC to "understand" if the signal is present or not on a pin; a python program on the phone will then "modulate" the sound in a proper way (i.e. you'll have to invent your protocol) to drive the PIC.
I think adding an RC filter to turn sinusoid into constant voltage, and connecting this voltage to a comparator pin in 16f628 should be all we need.
But I need some help to build this proof-of-concept project.
Where could I find a sample source to use comparators on 16f628?
I just want the PIC to light a led upon detecting an analog signal on a pin.