Editing BitWacker PIC and Other Microcontroller to Java Communications

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
 
*Status: some applications running, others in various states including ready for testing.  Downloads available.
 
*Status: some applications running, others in various states including ready for testing.  Downloads available.
 
*Technology: Java -- should run on many platforms, Windows 98 through Vista, Mac, Linux.
 
*Technology: Java -- should run on many platforms, Windows 98 through Vista, Mac, Linux.
*Author: [[russ_hensel]] ( where you can find an email address to reach me )
+
*Author: russ_hensel ( where you can find an email address to reach me )
 
*License: not fully determined, but open source and object code.
 
*License: not fully determined, but open source and object code.
  
Line 61: Line 61:
 
For low speed logging, up to say 1 measurement per second.  Nice graphical output ( using PtPlot )
 
For low speed logging, up to say 1 measurement per second.  Nice graphical output ( using PtPlot )
  
=== Fourth Application: Low Speed Logic Analyzer ===
+
=== Fourth Application: Low Speed Logic Analizer ===
  
 
For low speed logic ( want to track my various heating zones ), say down to 1 measurement per hour.  Nice graphical output ( using PtPlot )  Really an adaptation of the Graphical Data Logger but with provisions to prevent the various graphs from overlapping thus obsucring the graphs.
 
For low speed logic ( want to track my various heating zones ), say down to 1 measurement per hour.  Nice graphical output ( using PtPlot )  Really an adaptation of the Graphical Data Logger but with provisions to prevent the various graphs from overlapping thus obsucring the graphs.
  
=== Fifth Application: [[Smart Battery Charger with Graphical Data Logger]] ===
+
=== Fifth Application: Smart Battery Charger with Graphical Data Logger ===
  
Basically a peak detecting charger for NiCad and Nickle metal hydride batteries.  After fast charge drops back to trickle charging.  Charging logic is all on the PC, so can be very smart with a nice GUI.  Will require an add-on board with a microcontroller ( BitWacker would be fine ) and a few op amps and transistors.  I have an old version of this which I am using as a starting place for the project.
+
Basically a peak detecting charger for NiCad and Nickle metal hydride batteries.  After fast charge drops back to trickle charging.  Charging logic is all on the PC, so can be very smart with a nice GUI.  Will require an add-on board.  I have an old version of this based on different hardware which may be used as a starting place for the project.
  
=== Your Application: Whatever you want ===
 
 
Use the source code of the above applications to build your own to control whatever you want.  [[Making Your Own Microcontroller Serial Communications Application]]
 
  
 
== More Information: ==
 
== More Information: ==
Line 142: Line 139:
 
|-valign="top"
 
|-valign="top"
 
|Log4j
 
|Log4j
|need to look up the url ([https://en.wikipedia.org/wiki/Log4j Apache Log4j] ?)
+
|need to look up the url
 
<!--------------------------------
 
<!--------------------------------
 
|-valign="top"
 
|-valign="top"
Line 163: Line 160:
 
== Installation Directions For all the Applications ( This is a first cut, more details will follow ) ==
 
== Installation Directions For all the Applications ( This is a first cut, more details will follow ) ==
  
* Configure [https://en.wikipedia.org/wiki/Java_Development_Kit Java JDK] or Java Runtime Environment as it suits you.  I am using version 1_4 to stay compatible with older machines.  You can find it round about [http://www.oracle.com/technetwork/java/javase/downloads/ NetBeans with JDK].  /* Was: [http://java.sun.com/j2se/1.4.2/download.html Download Java 2 Platform, Standard Edition, v 1.4.2 (J2SE)] */
+
* Configure Java JDK or Java Runtime Environment as it suits you.  I am using version 1_4 to stay compatible with older machines.  You can find it round about [http://java.sun.com/j2se/1.4.2/download.html Download Java 2 Platform, Standard Edition, v 1.4.2 (J2SE)]
  
 
* Download and install the JavaComm API for your platform. Sun no longer supports this for windows; ( I will change to some other support soon ) I found it at [ http://wind.lcs.mit.edu/download/ Software Download and Install] Install can be a problem because a bad installation often fails without any messages.  Here are installation directions: [http://www.xpl4java.org/xPL4Java/javacomm.html Javacomm -- Serial and Parallel port access for Java and xPL]
 
* Download and install the JavaComm API for your platform. Sun no longer supports this for windows; ( I will change to some other support soon ) I found it at [ http://wind.lcs.mit.edu/download/ Software Download and Install] Install can be a problem because a bad installation often fails without any messages.  Here are installation directions: [http://www.xpl4java.org/xPL4Java/javacomm.html Javacomm -- Serial and Parallel port access for Java and xPL]
Line 203: Line 200:
  
 
I still use some deprecated techniques.  Not a high priority to fix, and I still want to run with old versions of Java.
 
I still use some deprecated techniques.  Not a high priority to fix, and I still want to run with old versions of Java.
 
Normally exceptions that can be expected should be managed by the application, eating them sometimes ( bad user input ) logging them other times ( hardware problems ).  Normally the console should not show exceptions thrown all the back to main.
 
  
 
== Example Property File ==  
 
== Example Property File ==  
Line 316: Line 311:
  
 
End Example Property File
 
End Example Property File
 
[[category:Microcontroller]][[category:PIC]]
 

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)