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 / Need help on HW

Need help on HW

|

Microcontroller › 8051 › Need help on HW

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by Ashutosh Bhatt.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 13, 2014 at 2:34 am #2858
    Ryan LeBlanc
    Participant

    I literally have no clue how to do either of these programs, I tried rereading stuff in the book and watching some of the videos my teacher has posted on BB but it may as well be written in a different language I am in WAY over my head with this class any help would be greatly appreciated:

    Verify that you have an 8 wire connector from PortA on the application board to Port 2 on the micro Board.

    Use the following port bits on Port 3 to control the signals on the application board.

    P3.2, P3.3, P3.4, P3.5, P3.6, P3.7

    Program 1) Make the piezo sounder beep. To do this, generate a 4KHz signal on pin P0.0 and attach a
    wire from this pin to the pzo line on the applications board. Use Timer 0 only!
    Note: Timer1 is now being used for transmitting and receiving data to the PC.

    Program 2) Turn on the ultra-sonic detector and produce a beep if your hand is sensed.
    Hint: The URX line will go low if your hand is sensed. Read the write up for this area!
    Hint: You want to toggle the port bit that controls the Piezo about 200 times when your hand
    is sensed. Use a register to hold the count and DJNZ to decrement and branch back.

    February 13, 2014 at 5:57 pm #11019
    Ashutosh Bhatt
    Participant

    you can get idea from my keil interfacing programs given on

    http://www.engineersgarage.com/tutorials/keil-programs-8051

     

  • 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

  • Wierd makita battery July 14, 2025
  • More fun with ws2812 this time XC8 and CLC July 14, 2025
  • I Wanna build a robot July 13, 2025
  • using a RTC in SF basic July 13, 2025
  • Is AI making embedded software developers more productive? July 13, 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