nxtprograms.com

Fun Projects for your LEGO® MINDSTORMS® NXT!

Home     Projects     Help     Contacts

How do I view the program files and get them to my robot?

Program Downloads

There are two kinds of program download links you will find on this site.  If the program download looks like the following:

Sg3524 Proteus Library Download ~repack~ ✔ 〈ORIGINAL〉

In this article, we will cover:

Simulating your circuit in Labcenter Electronics Proteus before building physical hardware saves time and prevents component damage. However, stock Proteus installations often lack the specific SG3524 simulation model.

Connect Channel A of the Proteus to Pin 11 (Output A) and Channel B to Pin 14 (Output B). Running the Simulation and Analyzing Results

Proteus is looking in the wrong folder or the index wasn't updated. Fix: sg3524 proteus library download

Search for "Proteus-Library-Collection" to find community-maintained .LIB and .IDX files. Labcenter Electronics (Official):

Platforms like All About Circuits are common places where users share custom models for the SG3524 and similar PWM controllers like the SG3525.

Determines the switching frequency via an external resistor ( RTcap R sub cap T ) and capacitor ( CTcap C sub cap T In this article, we will cover: Simulating your

) to ground. These components set the internal oscillator frequency using the formula:

which, while focusing on the SG3525, often include similar power controller library files compatible with the 3524 series. 2. How to Install the Library Once you have downloaded the files, follow these steps: Locate the Proteus Library Folder: Proteus 8.x , it is usually found at:

: Contains the electrical data, properties, and simulation models. Running the Simulation and Analyzing Results Proteus is

Contains the indexing data that allows the Proteus component search engine to index and display the chip. Step-by-Step Installation Guide for Proteus

The is a versatile regulating pulse-width modulator (PWM) IC used extensively in power electronics for applications like DC-to-DC converters , inverters , and switching regulators . Because it is a specialized component, it is sometimes missing from the default Proteus Design Suite library. Finding and Downloading the SG3524 Library

Required Software

The downloadable programs for the projects (.rbt files) are written using the NXT-G programming system, which requires the LEGO MINDSTORMS NXT software to be installed in order to view them, edit them, or download them to the NXT brick.  The program files cannot be used with RoboLab or any of the other NXT programming systems, not can they be viewed in standard text/graphics programs such as Microsoft Word or Adobe Reader.

Note: The NXT 2.0 projects require the NXT 2.0 version of the software, which comes with the 8547 set.  If you are using the LEGO Education software, the LEGO Education NXT-G 2.1 software is required to use any programs that use the color sensor or the Pack-and-Go (.rbtx) format, otherwise the LEGO Education NXT-G 2.0 software will work with most 2.0 programs.  The NXT 1.0 projects will load and run in any version of the NXT software.

If you have the LEGO MINDSTORMS NXT software installed, then a program file (.rbt) will automatically load into the NXT-G programming system when you open the file.

sg3524 proteus library download sg3524 proteus library download
If you do not have the LEGO MINDSTORMS NXT software installed, you will get a message something like this
(this example alert is from Microsoft Windows XP).
You need to install the LEGO MINDSTORMS NXT software.
If you do have the LEGO MINDSTORMS NXT software installed, you will get a message something like this
(this example alert is from Microsoft Windows Vista).
Press the Open button to load the program into the NXT-G programming system.
   

Downloading Programs to the NXT

After the program file loads into the NXT-G programming system, you download it to the robot by connecting the USB cable to the NXT brick and pressing the Download button on the controller in the lower right corner of the NXT-G window.

 

sg3524 proteus library download

Errors Trying to Load or Compile a Downloaded Program

All of the program (.rbt) files on nxtprograms.com should load, compile and upload to your NXT through the standard NXT software without any additional software, if you have a suitable version of the NXT software installed, as explained in the Required Software section above. 

If you are getting "Error 5002" or "The program is broken. It may be missing required files", you are most likely trying to load an NXT 2.0 program into the NXT 1.X or other older version of the software.

If you have the correct NXT software installed but you still get an error trying to load or compile a downloaded program such as "Invalid program file", or "Internal Compiler Error", it is possible that the file was not downloaded completely by your browser or was corrupted.  The .rbt files are large and may fail to download completely in some cases.  If this happens, try downloading the program again.

Saving Changes to a Program

If you open a program file directly from the web site without saving it to your computer first, and you want to make changes and save them, you will need to save the file to a different location using the File -> Save As menu command.  If you want to save the program to the default location for NXT program files, this location will be something like the following:

Windows: (Your Documents Folder)/LEGO Creations/MINDSTORMS Projects/Profiles/Default
Macintosh:
(User)/Documents/LEGO Creations/MINDSTORMS Projects/Profiles/Default

NXT 2.0 vs. NXT 1.X and Retail vs. Education Versions of the NXT Software

The retail versions of the NXT kits (The original 8527 and the NXT 2.0 8547) come with the NXT software CD.  If you lost your CD, you can contact LEGO Technical Support to get a replacement.  The NXT 2.0 software can read and use all programs written for NXT 1.X, so if you have the NXT 2.0, you will also be able to load the programs from the NXT 1.X projects and possibly adapt them a similar robot of your own design.  The NXT 1.X software cannot in general use programs written for NXT 2.0.  You will usually be able to load them and examine them, but some blocks may not display properly.  Some very simple NXT 2.0 programs can be downloaded to a 1.X NXT, but in general you will not be able to use them.

The NXT software for the Education version of the NXT (9797) is sold separately here at LEGO Education and contains different help material and building instructions from the retail version of the software, although either version of the software can be used to write programs for either NXT kit.   For the NXT 2.0 projects on this site, the LEGO Education NXT-G 2.1 software is required to use any programs that use the color sensor or the Pack-and-Go (.rbtx) format, otherwise the LEGO Education NXT-G 2.0 software will work with most 2.0 programs.

Home     Projects     Help     Contacts

Copyright © 2007-2011 by Dave Parker.  All rights reserved. 
All project designs, images, and programs are protected by copyright.  Please see the usage policy.