background preloader

Cooking Hacks - Electronics for Arduino, Raspberry Pi and 3D Printers

Cooking Hacks - Electronics for Arduino, Raspberry Pi and 3D Printers
Related:  Electronics 5

Installing and Building an Arduino Sketch for the $5 ESP8266 Microcontroller Installation of the custom build of the Arduino IDE really couldn’t be simpler. I’m on a Mac, and at that point it comes down to downloading the pre-built binary release from GitHub. The custom binary will live quite happily alongside your existing stock Arduino development environment — in fact, as well as the ESP8266 build, I think I’ve got six or seven other versions of the environment installed at the moment, with version numbers ranging from 1.0.x up to to latest 1.6.x build. Which is exactly what Sandeep Mistry has now done with the ESP8266. Installation is almost as simple as before — download it and move the esp8266com folder included in the release inside the hardware folder of your Arduino sketchbook directory. Wiring up the ESP8266 Module The pin out for the header block of the ESP-01 module As I mentioned before, probably the most common breakout board you’ll come across for the ESP8266 is the ESP-01. The ESP-01 wired up to an FTDI adaptor. Uploading the Sketch If you succeed?

Calcul Résistance Comment se servir du tableau ? Pour obtenir la valeur de la résistance souhaitée il suffit de remplir cases par vos propres valeurs et les cases résistances et puissances se rempliront toutes seules ! Si vous avez des valeurs avec des virgules, remplacez les par des points ( . ) exemple si vous voulez rentrer 3,6V rentrez 3.6V. Tension aux bornes du montage Cette tension est la tension qui alimente tout votre montage c'est-à-dire une pile, un générateur, une alimentation de PC etc ... Cette valeur n'a rien à voir avec les valeurs que vous allez éventuellement trouver sur le site ! Tension de fonctionnement de la led Cette valeur se trouve dans le site : quand vous regardez un produit vous n'avez qu'à cliquer sur détail produit pour obtenir toutes les informations nécessaires au calcul de la résistance idéale Intensité de fonctionnement de la LED Résistance réelle Cette valeur vous donne donc la valeur de la résistance idéale à votre montage. Puissance

ESP8266 | Tiny gadgets For a while now, I’ve been playing with the super-cheap esp8266 WiFi module. It’s been a bit of an uphill struggle, mostly because of the poor documentation (actually, that’s not fair – the documentation may well be excellent, but my understanding of Chinese isn’t) and the lack of easy programming tools. Until now, there have been essentially three ways of using the module: Serial for breakfast The initial method was to control the module via a serial link. C for elevenses Pretty soon after it became available, smarter people than me figured out that the module is powered by a general-purpose microprocessor (and a pretty powerful one at that). Of course, there’s a catch. lua for lunch More recently, there has been nodemcu. Arduino for dinner What everyone has been secretly waiting for, of course, is the ability to program the esp8266 like an arduino.

PCB Dear Customers, We are sorry to inform you that the PCB prototype service is temporary suspended due to the lack of free capacity. As you know we had long vacation in August and people was keep sending PCB prototypes even while we were on vacation, this created so huge backlog that we couldn't repond to all PCB jobs for more than a week after we resumed work. On top of this our lines usually are loaded close to 100% with the production of our own development boards and having such additional big load start to mess with our production schedules and delay our development boards production and shipments which is unacceptable. We are sorry for this situation and we expect this to improve in the next months, so we can re-enable this service at fist possibility, but effectively from September 17th the PCB prototype service is suspended. We do offer people to put many boards on same panel, and we did offer panelization service free of charge. 1. 2. Why?

Writing Automated Acceptance Tests with Spec Flow Introduction to Acceptance Testing, Gherkin and Spec Flow Acceptance or functional testing is a type of testing where a system is tested to see if the required specifications are met. These tests are a type of black-box testing where the internal implementation is irrelevant. The acceptance tests only check to see if the system abides by the specification. Look at the specification below for a login feature for a website: Feature: Login In order to access my account As a user of the website I want to log into the website Scenario: Logging in with valid credentials Given I am at the login page When I fill in the following form | field | value | | Username | xtrumanx | | Password | P@55w0Rd | And I click the login button Then I should be at the home page Pretty readable, isn't it? Gherkin is a line-oriented language with each line in the scenario called a step. [Binding]class LoginStepDefinitions{ [Given("I am at the login page")] public void GivenIAmAtTheLoginPage() { // TODO }} Prerequisites

TP4056 LiPo Battery Charger For RC Toys Lithium Polymer (LiPo) battery is a type of rechargeable battery that provides high energy storage to weight ratios in an eternal variety of shapes and sizes. LiPo batteries has taken the electric RC gizmos world by storm,especially for Radio-Controlled (RC) toys like electric helicopters, airplanes and boats. Unlike conventional NiCad (or NiMH) cells that have a voltage of 1.2 volts per cell, LiPo battery cells are rated at 3.7 volts per cell. The benefit here is fewer cells can be used to make up a rich battery bank. In practice, RC LiPo battery packs should have at least two or more LiPo cells hooked up in series to provide higher voltages. For larger RC models this number may be as high as 6 cells! 3.7 Volt LiPo battery /1 cell x 3.7 volts (1S) Charging LiPo cells/batteries is not an easy task. Fortunately, single-chip solutions are now widely available for Li-Po battery charging. Furthermore, the TP4056 can work within USB and wall adapter. Lab Note:

February 2009 ~ Data logger based on PIC 16F877, 18F452 and 18F4550 Tutorial: Microchip PIC16F877 Microcontroller Table of Contents 1. 1.1 What is a Microcontroller? 1.2 Why are Microcontrollers used? 2 Getting started 2.1 Parts list and vendors 2.2 Connecting the equipment 3 PIC16fF877 Microcontroller 3.1 Flash PIC development board 3.2 CCS PIC-C compiler 3.3 In Circuit Debugger/Programmer (ICD-S) 3.4 Embedded C Programming and the Microchip PIC 4 Experiments on PIC16F877 4.2 Dip Switch 4.3 ADC Temperature Measurement 4.4 Open Loop and Closed Loop Temperature Control 5 Where do we go from here? Welcome to the start of the PIC Tutorial. Introducing PIC What is PIC? The PIC is a small computer. The PIC 16x8x Family. What Dose the F,C,CR & LF in the PIC device number mean. Special Features of the PIC 16f84 Design of the PIC16x8x. Memory Arrangement. Special Function Registers (FSR) Introduction A microcontroller is a compact standalone computer, optimized for control applications. Microcontrollers are used due to following reasons in control systems: 1.

Review of Charger TP4056 UK Charger module with TP4056 controller Click for larger picture This charger is a very small module for DIY people, it uses the TP4056 controller and standard configuration is with 1A charge current. I got it in an envelope with 5 circuits on 2 boards and nothing else. A close study showed that there was a small difference between the size of the boards. The board needs a 5 volt power supply, this can either be from a mini usb connector or soldered directly to the board. The charge led will be on when charging and it will be flashing when no battery is connected. The backside of the board has some internal connections and the connections points are also accessible here. The board is small, the battery is a AAA battery. With the mounted resistor the charger can handle larger batteries, but changing the resistor makes it to possible to charge smaller batteries. Measurements Below 2.85 volt the charger will charge with about 80mA in 1A configuration (blue led is on). Modified resistor Conclusion

Hacking | Mobilinkd | Highly mobile packet radio The Mobilinkd TNC1 started its life, as with many things these days, as an Arduino project. It quickly took on a life of its own, first gaining Bluetooth capabilities when I discovered the latent abilities of APRSdroid. And then gaining a battery and recharging circuitry before finally ending up as a product that could be mass-produced. But underneath it all is still the Arduino project that it started out as. The TNC doesn’t use Bluetooth, so you cannot use it with APRSdroid, but you can use other packet and APRS software on your computer over the Arduino’s USB serial port. Here are the things you will need for this project: The resistors, capacitors and transistor cost just a few cents in total if you have them lying around. You can skip the 4-pole connector and wire a cable directly into the board if you want to save yourself a few bucks. Take a look at the breadboard. Arduino Plug the Arduino Nano into one end of the board. 3.5mm Connector Just note the following: PTT Circuitry Audio Input

Électronique en amateur How to Build a Thermocouple Amplifier A Thermocouple is a terrific way to measure temperature. The effects of temperature change on dissimilar metals produces a measurable voltage. But to make that measurement you need an amplifier circuit designed for the thermocouple being used. While researching “Zero Drift Amplifiers” as a follow-up to my video on Instrumentation Amplifiers I noticed the little schematic the front page of the LTC1049 datasheet which is shown here. In the video I don’t really talk much about the thermocouples themselves other than the type I see most of the time which is type K. Different thermocouples sensors have a different temperature coefficients meaning that they will generate different amounts of voltage for the same change in temperature, usually specified in volts per degree of Celsius (v/◦C). For this quick demo I went one step further and used a chipset from Linear Technology called the LTK001 (PDF) which is comprised of an LT1025 CTC and a matched amplifier known separately as the LTKA0x.