restfb
RestFB is a simple and flexible Facebook Graph API client written in Java.
It is open source software released under the terms of the MIT License.

Features

restfb has been designed with several objectives in mind. The most important of these are defined as follows.

Zero runtime dependencies

You don't need to include additional libraries in your project. There are no dependency conflicts. In addition, RestFB is highly portable and can be used in both Android projects and normal Java applications.

Maximal extensibility

Although we provide a standard implementation for our core components, each component can be replaced with a custom implementation. This allows RestFB to be easily integrated into any kind of project. Even Android projects are supported.

Minimal public API

TThe RestFB API is really minimal and you only need to use one method to get information from Facebook and one to publish new items to Facebook. We provide default implementations for all the core components, so you can drop the jar into your project and be ready to go.

Simple metadata-driven configuration

Our Facebook types are simple POJOs with special annotations. This configuration is designed for ease of use and can be used to define custom types very easily.

Download

RestFB can be downloaded from Github or used as a Maven dependency. There is also a sample project on Github.

Download from Github

Newest Version of the library is available from RestFB's home on Github.
View the changelog here.

Download from Maven

RestFB is a single JAR - just drop it into your application and you're ready to go. Download it from Maven Central:
maven central restfb version

Restfb example

You can find a sample project on Github. This project can help you get up and running quickly.

Lm2596 Proteus Library _verified_ Here

The LM2596 is a popular buck converter used for step-down voltage regulation, capable of driving up to a 3-A load. While Proteus does not always include a simulation-ready model for the LM2596 in its default library, you can manually add external library files or use alternative parts like the LM2576. 1. Downloading the LM2596 Library

To add the LM2596 to your Proteus environment, you must first obtain the necessary library files (

SnapMagic (SnapEDA): Provides downloadable symbols and footprints for the LM2596S-ADJ/HAPB compatible with Proteus.

The Engineering Projects: Often hosts specific Proteus libraries for modules that aren't available in the standard database, though the specific LM2596 download depends on current community contributions. 2. Manual Installation Steps

Once you have the library files, follow these steps to integrate them: LM2596S-ADJ/HAPB - SnapMagic

This article provides a guide on how to integrate and use the LM2596 voltage regulator within the Proteus Design Suite for circuit simulation and PCB design. Overview of the LM2596 Regulator

The LM2596 is a popular monolithic integrated circuit that provides all the active functions for a step-down (buck) switching regulator . It is capable of driving a

load with excellent line and load regulation. The device is available in fixed output voltages of adjustable output version Why Use a Proteus Library for LM2596?

While Proteus includes many basic components, specialized modules like the pre-assembled LM2596 Buck Converter boards are often missing from the default library. Adding a custom library allows you to: Simulate real-world modules

: Instead of building the entire regulator circuit from discrete components, you can use a single block representing the commercial module. Accurate PCB Footprints lm2596 proteus library

: Custom libraries often include the correct physical dimensions for the module's headers, ensuring your PCB design fits the hardware How to Install the LM2596 Library in Proteus To add a new library file (typically ending in ), follow these steps: Download the Library

: Obtain the LM2596 library files from a reputable source like The Engineering Projects Locate the Library Folder : Right-click your Proteus shortcut and select Open file location . Navigate back one level to find the Copy Files : Paste the downloaded files into this folder. Restart Proteus : If the software was open, restart it to refresh the component database Simulating the Circuit

Once installed, you can find the component by searching for "LM2596" in the "Pick Devices" window. Input (IN+ / IN-) : Connect your DC power source (up to Output (OUT+ / OUT-) : Connect your load or a DC Voltmeter to verify the stepped-down voltage. Adjustment

: For adjustable versions, the simulation may allow you to vary the output voltage via a potentiometer in the properties menu. Key Specifications Input Voltage Range Output Current Switching Frequency 150 k cap H z Efficiency for a specific output voltage like

Integrating and Using the LM2596 Proteus Library: A Complete Guide

The LM2596 is one of the most popular step-down (buck) voltage regulators used in DIY electronics and industrial prototyping. However, if you've ever tried to simulate a power circuit in Proteus, you likely noticed that the LM2596 is often missing from the default component library.

To bridge this gap, you need to install a custom LM2596 Proteus Library. This article will walk you through finding, installing, and simulating this essential regulator. Why Use the LM2596 in Proteus?

The LM2596 is a monolithic integrated circuit that provides all the active functions for a step-down switching regulator. In Proteus, simulating this component allows you to:

Verify Voltage Regulation: Ensure your circuit drops 12V or 24V to a stable 5V or 3.3V without hardware risks. The LM2596 is a popular buck converter used

Analyze Efficiency: Observe how the switching frequency affects output ripple.

PCB Design: Use the library to get the correct footprint (usually TO-220 or TO-263) for your layout. How to Download and Install the LM2596 Proteus Library

Since Proteus doesn't include every real-world IC, third-party developers create .LIB and .IDX files for them. Step 1: Download the Library Files

Search for "LM2596 Proteus Library zip" on reputable engineering sites like The Engineering Projects or GitHub. You are looking for two specific files: LM2596Library.LIB LM2596Library.IDX Step 2: Locate the Proteus Library Folder Depending on your version, the path is usually:

Proteus 8 or higher: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY

Note: "ProgramData" is often a hidden folder. You may need to enable "Show Hidden Files" in Windows Explorer. Step 3: Copy and Paste

Paste both the .LIB and .IDX files into the folder mentioned above. Restart Proteus to refresh the database. Simulating the LM2596 in Proteus Once installed, follow these steps to build your circuit:

Pick the Component: Click the 'P' button in the Devices list and type "LM2596." Basic Circuit Setup:

Input (Pin 1): Connect to your DC source (e.g., a 12V battery). Where to Download a Reliable LM2596 Proteus Library

Output (Pin 2): Connect to an Inductor (usually 33µH to 100µH) and a Schottky diode (1N5822). Ground (Pin 3 & 5): Connect to common ground.

Feedback (Pin 4): For the adjustable version, connect this to a voltage divider. For the fixed version (5V), connect it directly to the output.

Run the Simulation: Use the DC Voltmeter instrument in Proteus to monitor the output. If you are using the ADJ (Adjustable) model, you can tweak the resistor values in real-time to see the voltage change. Tips for a Successful Simulation

Check the Model Type: Ensure your library includes a Simulation Model. Some libraries only provide the PCB Footprint. If the component doesn't have a "Simulation Model" attached, it will throw an error when you hit Play.

Diode Choice: Always use a Schottky diode in your simulation to mimic real-world efficiency; standard 1N4007 diodes are too slow for switching regulators.

Capacitance: Don’t forget to add input and output capacitors (e.g., 470µF and 1000µF) to stabilize the virtual signal. Conclusion

Adding the LM2596 Proteus library to your toolkit is a game-changer for power supply design. It saves time, prevents "magic smoke" in real life, and ensures your PCB layout is accurate from the start.


Where to Download a Reliable LM2596 Proteus Library

⚠️ Warning: Many websites offer fake or corrupted Proteus libraries. Avoid executable files (.exe) claiming to “auto-install.” Always download .IDX, .LIB, or .HEX files.

9. Alternative Models & Equivalents

Q2: Can I simulate the adjustable LM2596-ADJ?

A: Yes, if the library explicitly says “ADJ.” Otherwise, you can add external resistors to the FB pin of a fixed version—this will not work correctly because the internal divider is fixed.

The restfb Team

Mark Allen picture

Mark Allen

Founder

Norbert Bartels picture

Norbert Bartels

Maintainer and Lead Developer

many contributors picture

many contributors

restfb source code is placed on Github and the library itself evolves with the help of many great people. A lot of Github users contribute to restfb. We get many hints and questions, and of course many pull and feature requests. And we'd like to say thank you to everyone who has helped along the way!

Sponsors

The development of restfb is sponsored by these great companies and individuals. If you also like to sponsor us, please check the sponsor button on our RestFB Github page or send us a short note .

Licensing

restfb is open source software released under the terms of the MIT License:

Copyright (c) 2010-2025 Mark Allen, Norbert Bartels.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.