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 / Make a half duplex IR data modem – using obstruction sensors

Make a half duplex IR data modem – using obstruction sensors

|

Microcontroller › AVR › Make a half duplex IR data modem – using obstruction sensors

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 1 month ago by Harsh Sharma.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 4, 2013 at 5:52 am #2227
    Harsh Sharma
    Participant

    I need to make this project . Kindly help and tell me how to proceed.

    April 5, 2013 at 11:44 am #9432
    AJISH ALFRED
    Participant

    Hi Harsha,

    Kindly share maximum details about your project including circuit diagram and working details.

    April 8, 2013 at 8:30 am #9441
    Harsh Sharma
    Participant

    I am planning to make modem prototype using 2 obstacle sensors. One I will be using as receiver and other one as transmitter

     PORTA- ADC

     

      Transmitter code-

    DDRA|=0xff;

    while(1)

    {

    sbi(PORTA,0);

    _delay_ms(1000);

    cdbi(PORTA,0);

    _delay_ms(1000);

    }

     

    RECEIVER

    int  main(void)
        {
            int c=0;
            uart_init(UART_BAUD_SELECT(9600,F_CPU));
            sei();
            uart_puts(“initialized”);
            DDRA|=0x00;
            while(1)
            {
                c=bit_is_clear(PINA,0);
                if(c==1)
                    {
                        uart_putc(‘A’);
                        uart_puts(“hello”);
                    }    
                else
                    {
                        uart_putc(‘B’);
                    }
            }
        
        }

     

     

    Is it right?

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

RSS Recent Posts

  • LED circuit for 1/6 scale diorama May 15, 2025
  • stud mount Schottky diodes May 14, 2025
  • using a RTC in SF basic May 14, 2025
  • Hi Guys May 14, 2025
  • Can I use this charger in every country? May 14, 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