EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Can microcontroller send a floating number serially(throug UART)? i want to transfer a floating or double type value to my cont

Can microcontroller send a floating number serially(throug UART)? i want to transfer a floating or double type value to my cont

|

Microcontroller › AVR › Can microcontroller send a floating number serially(throug UART)? i want to transfer a floating or double type value to my cont

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 2 months ago by umar farrok.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 28, 2013 at 4:10 am #2207
    zaib Akhter
    Participant

    what actually i am trying to do is, send data from SIMULINK (MATLAB) and perform certain calculations in my ATMEGA16 AVR Microcontroller.

    i am only been able to send character from microclontroller, while i want to send a floating number

    HELP ME WITH SOME EXAMPLE CODE FOR ATMEGA16 USART

    March 28, 2013 at 6:08 am #9379
    umar farrok
    Participant

    in serial  communication only u can send a byte at a time so its not possible to send a datat type other than char instead u can use ascii values for particular values display  for ex value 0 ascii is 0x30 like wise u can separate the values and try it for float values to display

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Photo interrupter Connections June 17, 2025
  • Is AI making embedded software developers more productive? June 17, 2025
  • Can I make two inputs from one?? June 17, 2025
  • Why can't I breadboard this oscillator? June 17, 2025
  • Cataract Lens Options? June 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise