element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum I lost the computer I programmed my Uno with. I would like to download the scheme to a new computer but I find no way to do that. Help!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 392 subscribers
  • Views 315 views
  • Users 0 members are here
Related

I lost the computer I programmed my Uno with. I would like to download the scheme to a new computer but I find no way to do that. Help!

Former Member
Former Member over 10 years ago

I programmed my Uno with a Jeopardy ring-in program. It works, but I want to improve it with timers and software resets. The original computer crashed before I got t backed up. I want to dwnload from the uno to the new computer, but I find no way to do that.

Thank you in advance

Frank

  • Sign in to reply
  • Cancel
  • mcb1
    0 mcb1 over 10 years ago

    Sorry Frank

     

    My suggestion is to try to recover the sketch that might be in the temp directories.

     

    The sketch is compiled and then uploaded using the boot loader into the UNO.

    Even if you could recover it as a hex file, it won't give you the code back.

     

    Lesson here is backup regularily.

    I tend save before uploading and to prefix the file name with date_time for my projects as I develop them.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to mcb1

    Thanks Mark. I took the HD from the old Laptop and copied into this one. It worked. I am planning to add a 10 second timer and some way of resetting. I am writing a Jeopardy log-in simulator for our radio club. I am having little luck finding what I need. I programmed in Basic years ago but nothing since.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 10 years ago in reply to Former Member

    Good news

     

    re Timer

    I'd have a look at Millis().

    I would store the start time    startTime = Millis() , then come back and see If (Millis() - stored Millis >= 600000)      ((always subtract to ensure rollover works correctly)

    You can always set a flag when your timing TimerRunning = true, and cancel it by changing it to false.

     

    I often draw these out, and don't worry about the code, just the flow

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to mcb1

    int button1 = 0;

    int button2 = 0;

    int button3 = 0;

    int button4 = 0;

    int chuck = 1;

    void setup() {

      // put your setup code here, to run once:

    pinMode(13, OUTPUT);

    pinMode(5, OUTPUT);

    pinMode(6, OUTPUT);

    pinMode(7, OUTPUT);

    pinMode(8, OUTPUT);

    pinMode(9, INPUT);

    pinMode(10, INPUT);

    pinMode(11, INPUT);

    pinMode(12, INPUT);}

     

     

    void loop() {

      // put your main code here, to run repeatedly:

      digitalWrite(9, HIGH);

      digitalWrite(10, HIGH);

      digitalWrite(11, HIGH);

      digitalWrite(12, HIGH);

     

      digitalWrite(5, HIGH);

      delay (200);

      digitalWrite(5, LOW);

      delay (200);

      digitalWrite(6, HIGH);

      delay (200);

      digitalWrite(6, LOW);

      delay (200);

      digitalWrite(7, HIGH);

      delay (200);

      digitalWrite(7, LOW);

      delay (200);

      digitalWrite(8, HIGH);

      delay (200);

      digitalWrite(8, LOW);

      delay (200);

     

      while (chuck = 1){

       button1 = digitalRead(9);

       button2 = digitalRead(10);

       button3 = digitalRead(11);

       button4 = digitalRead(12);

       if(button1 == LOW){

       digitalWrite(5, HIGH);

       while(1) {

    }

    }//set theLED on

    if(button2 == LOW){

       digitalWrite(6, HIGH);

       while(1) {

    }

    }//set theLED on

    if(button3 == LOW){

       digitalWrite(7, HIGH);

       while(1) {

    }

    }//set the LED on

    if(button4 == LOW){

      digitalWrite(8, HIGH);

      while(1) {

    }

    }//set the LED on

    }

    }

     

    This is the code that works. I would like to include a ten second timer when any button is pressed that would turn off the indicator light and reset to give the other contestants a chance to answer. I do this now manually, but at times I forget to reset. Again, thanks for your help. Now my 72 year old sieve I call my brain must just remember how to program.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube