Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Reading data from Atmega microcontroller

  1. #1
    Junior Member
    Join Date
    Jul 2017
    Thanked 0 Times in 0 Posts

    Default Reading data from Atmega microcontroller

    Hi everyone, I am very new to Java. My company is using Visual Basic data logging desktop application to send and receive data from Atmega8, and the atmega8 is connected to gas sensor. The data includes ambient temperature and converted raw output from the sensor. I only have the hex file for atmega8, and I dont know the data format. Could anyone tell me how to get data from atmega8 by Java via RS232, and how the data package look like when it is sent from atmega8?
    Thank you.

  2. #2
    Join Date
    Dec 2013
    Thanked 4 Times in 2 Posts

    Default Re: Reading data from Atmega microcontroller

    That is truely another topic. Using Visual Basic and Java is different topics. What purpose would it serve to retrieve such data from Java? The logical sense behind this problem is not clear.

  3. #3
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Thanked 206 Times in 182 Posts

    Default Re: Reading data from Atmega microcontroller

    If the user is familiar with Java then it makes sense to be able to want to read the file that the other software produces. That the other software is written in VisualBasic is irrelevant, what *does* matter is the format of the file that it produces. The place to start, therefore, is the documentation for that software.

    But all of this is beside the point. The question was asked 6 months ago by someone who was never seen since. Closing the thread.

Similar Threads

  1. Reading Data in JTable
    By frozen java in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 18th, 2013, 08:43 PM
  2. Reading the data from DataInputStream . help :(
    By cuihanluan in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 7th, 2012, 07:54 AM
  3. Java jar programme with a microcontroller
    By bczm8703 in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: September 11th, 2011, 08:01 AM
  4. Help reading in data
    By toolman87 in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: August 30th, 2011, 06:41 PM
  5. Reading Chunks of Data
    By icu222much in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: March 22nd, 2010, 08:39 PM