background preloader

Circuits for Fun

Circuits for Fun
Related:  Computer Techpic

ManyLabs MCP4921 12 bit DAC interfacing with PIC16F877 microcontroller via SPI Connectivity | NBCAFE In any real time project, MCP4921 12 bit DAC interfacing with PIC16F877 microcontroller via SPI Connectivity is very essential. Because in real world most of the input sensors and output devices are analog. So if we want to work with those we need to know the basic interfacing of those sensors and output devices with microcontroller. Here I give you tutorial project on “MCP4921 12 bit DAC interfacing with PIC16F877 microcontroller via SPI Connectivity”. Project description: In this tutorial project we will see how we generate triangular Wave using MCP4921 12 bit DAC. From above picture it is clear that bit 12-15 is used for control word and bit 0 to bit 11 are used for send 12 bit data. Now question is how we maintain that format to send every 12 bit data along with 4 bit control word at MSB? Let take an example if we want to write data via DCAA with output gain 1X and power down control bit. So for that our control word will be Bit 15 = 0 (write to DACA ) Bit 14 = 0 (Un buffered)

python - real-time plotting in while loop with matplotlib LibraryBox 2.0 by Jason Griffey Share this project Done Share Tweet Embed Tweet Share Email LibraryBox 2.0 by Jason Griffey Play Share files with anyone, anywhere...off the Internet, even off the power grid...with LibraryBox. Chattanooga, TNTechnology Share this project backers pledged of $3,000 goal seconds to go Funded! This project was successfully funded . Share files with anyone, anywhere...off the Internet, even off the power grid...with LibraryBox. Jason Griffey Project by First created | 45 backed librarybox.us See full bioContact me About this project LibraryBox is an anonymous fileserver based on cheap hardware that runs on little power and serves files to any wifi-enabled device with a browser. LibraryBox is currently in use around the world by libraries, teachers, museums and more, in more than 7 countries on 5 continents. For another look at LibraryBox, here's the introductory video from the website, which has an example of use: For a more thorough discussion of Project Goals, check out Update 6! SUCCESS! Uses for LibraryBox

PIC18F4520: Serial Digital-to-Analog Conversion - Northwestern Mechatronics Wiki Since PIC microcontrollers do not offer analog outputs, a Digital-to-Analog converter (DAC) must be used to output an analog signal. An eight bit digital number can be converted to analog by using eight of the output pins from the PIC MCU to a separate DAC chip, however if more than one conversion is neccessary, this will quickly use up many of the available output pins from the PIC microcontroller, and require extensive wiring. Luckily, there is an easier and more effective way of doing this using I2C communication. Between the start and stop conditions are different bytes of information. C Programming The basic building blocks of programming for I2C communication are shown below. Using these three functions, one can program whatever information is required to the slave device. Example of I2C Communication This example shows how to use I2C to communicate with a DAC. Sample Code Program to output analog voltage via an external DAC First include header file with definitions for specific PIC.

Appliquer un traitement à tous les fichiers d’un dossier en Python Opération courante en informatique et on a tous eu besoin de chercher comment faire une fois. Soit l’arborescence : test ├── dossier │ ├── fichier.py │ ├── fichier.txt │ └── pas_un_dossier.txt ├── Dossier │ ├── dOssier │ │ └── faichier │ └── fichiiiiiiiiier ├── .fichier ├── fichier ├── fIchier └── Fichier Lister le contenu d’un dossier On récupère les noms des dossiers et les fichiers, y compris cachés, mais pas les dossiers spéciaux types .. et .. Le type des noms retournés est str que ce soit en Python 2 ou 3. Si vous voulez récupérer uniquement les dossiers ou les fichiers, il va falloir filtrer : Pareil si on veut filtrer par extensions : Néanmoins, Python vient avec le module glob qui permet de demander le listing du contenu d’un dossier en appliquant des filtres Unix : Même problème Python 2/3 : le type est str dans les 2 cas. Parcours récursif La fonction os.walk permet de lister récursivement tous les fichiers et les dossiers à partir d’un point dans l’arborescence.

DDNS – Free Dynamic DNS Providers | DNS Lookup We maintain the #1 list of Dynamic DNS (DDNS) providers online. Dynamic DNS is a method that allows you to notify a Domain Name Server (DNS) to change in your active DNS configuration on a device such as a router or computer of its configured hostname and address. It is most useful when your computer or network obtains a new IP address lease and you would like to dynamically associate a hostname with that address, without having to manually enter the change every time. Since there are situations where an IP address can change, it helps to have a way of automatically updating hostnames that point to the new address every time. We are proud to be considered the top resource online for information on dynamic dns providers. If you like this list, please link to it will help others find this free list more easily! Can there be only one such feed? Of course not. DNS? DNS, the Domain Name Service, is responsible for helping the Internet to function as it does today. Dotted Quads? Great.

Embedded Systems/PIC Microcontroller Manufactured by Microchip, the PIC ("Programmable Intelligent Computer" or "Peripheral Interface Controller" ) microcontroller is popular among engineers and hobbyists alike. PIC microcontrollers come in a variety of "flavors", each with different components and capabilities. Many types of electronic projects can be constructed easily with the PIC family of microprocessors, among them clocks, very simple video games, robots, servo controllers, and many more. The PIC is a very general purpose microcontroller that can come with many different options, for very reasonable prices. Other microprocessors in this family include the Parallax SX, the Holtek HT48FxxE Series, and some "PIC-on-a-FPGA" implementations. History[edit] General Instruments produced a chip called the PIC1650, described as a Programmable Intelligent Computer. Which PIC to Use[edit] How do you find a PIC that is right for you out of nearly 2000 different models of PIC microcontrollers? Recommended "first PIC"[edit] PIC 16x[edit]

Jython Scripting - Fiji The Jython interpreter plugin The interpreter provides a screen and a prompt. Type any jython code on the prompt to interact with ImageJ. Launch it from plugins - Scripting - Jython Interpreter. See Scripting Help for all keybindings, and also Scripting comparisons. Within the interpreter, all ImageJ, java.lang.* and TrakEM2 classes are automatically imported. Language basics Any text after a # is commented out. Importing classes To reference Java classes from Jython you will need to import them. You can specify imports in Jython as follows: Where java.io.File is the class to be imported. Workflow for creating Jython scripts To create a script for the GUI, the recommended setup is the following: Edit and save a file in your favorite text editor. The next time Fiji is run, it will setup all your scripts in the Plugins menu. If all you need is a script to run in headless mode, simply do: fiji --headless filepath.py Some limitations of jython For instance, Instead, to create a NaN in jython, use:

BlackSquare Enigma - Patented USB Encryption Device BlackSquare Enigma is a patented, USB hardware data encryption device. If you have data you need to protect, you should own an Enigma! Using BlackSquare Enigma, no one can decrypt your confidential data - EVER! Every so often, a truly compelling and innovative product comes along that disrupts traditional technology in a positive way. BlackSquare Technologies Enigma is one of these products. BlackSquare Enigma has the look and feel of a thumb drive, but it's NOT a thumb drive! Enigma is a USB hardware encryption & decryption device. Enigma is the first and only patented, real-time USB hardware encryption and decryption device available to the consumer. Cyber attacks have become more prevalent, sophisticated and costly. BlackSquare Enigma is a simple, safe and secure way to protect your data from these potentially damaging threats. If you know how to find and select files on your computer, you already know how to use BlackSquare Enigma. You will be asked to initialize your Enigma.

MCUs Microchip provides solutions for the entire performance range of 8-bit, 16-bit, and 32-bit microcontrollers, with a powerful architecture, flexible memory technologies, comprehensive easy-to-use development tools, complete technical documentation and post design in-support through a global sales and distribution network. Easy Migration - Scale Your Designs Up or Down Performance to meet your application needs ranging from lowest power up to 100 DMIPS Complete portfolio from 384B to 512KB of program memory as your code requirements grow Upward compatible architectures to preserve investment in code development Pin compatibility in multiple packages facilitates drop-in replacement from 6 to 144 pins Low-Risk Product Development and Faster Time to Market Lower Total System Cost with Integrated Peripherals

Related: