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 / Replies / Hi thereIf your main focus is

Hi thereIf your main focus is

|

Microcontroller › 8051 › Seed setting for Rand() function using DS1307RTC › Hi thereIf your main focus is

December 29, 2016 at 5:37 am #14302
GANEEV SINGH
Participant

Hi there

If your main focus is on randomizing stuff then you can use any ADC pin, instead of a RTC, for the same task. What I mean is read values from any ADC pin and then process it to give you the seed for rand( ). You need not to connect that ADC pin with anything alse, not even GND; well this will be the reason why you would get randon analog values. Try it out. 

RSS Recent Posts

  • Project boxes March 13, 2026
  • Arduino standalone minimal March 13, 2026
  • Very Curious Issue With DS3231 RTC Clock March 13, 2026
  • Phone to op amp circuit? March 13, 2026
  • energising a solenoid March 12, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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