Circuits FAQ

This is the Archive of Electronics & Technologies related Question & Answers. Ask Questions at EE BBS FAQ. To get a project designed by delabs visit Design Service.

Search This Blog

Tuesday, July 07, 2020

Microcontroller and SBC in Real World

details required for... Atmels 89C52 Microcontroller A/D D/A converter Keypad LCD display(Or LED Display) 5V Regulated power supply. Temperature & Humidity controller using PID control algorithm implemented using Atmel's 89C52 microcontroller for a AHU unit ( Analog Input from the sensor(4 wire) 0-10v dc & Output from Microcontroller is 4-20mA to the Actuator through a DAC converter).

The Temperature & Humidity to be controlled are 24±1 degree Celsius and 55%±2% Rh respectively. provide me with good LINKS.

mail from SA

Get a sensor that gives a 0-10V or 4-20mA proportional to RH% and Temp deg C. what you need to do now is to select a A/D and a D/A for a real world interface

you can visit these links.......

DigiThermo Wichit Sirichote

DigiThermo 0-100.0 °C Wichit Sirichote

Build your own a laboratory instrument for measuring time and temperature. The DigiThermo demonstrates the use of 'C' language, a dual-slope converter, LCD interfacing, and digital filtering as well..

The Assembly language program for this may be the complex, due to PID. and my uC pages micro-delabs also in my other pages you can find theory on PID etc, in them i have MCS51 code for 2 setpoint process controller.

delabs

Other uC projects sites links

Temperature and Humidity Meter -  This project is a combined temperature and humidity meter. It is an improvement on my PIC-based humidity meter and my PIC and AVR thermometers. I use an ATmega164, which as lots of I/O and memory.
    Temperature and humidity measurements with the AVR web-server- The tuxgraphics Ethernet board has a lot of general purpose IO pins where external hardware such as sensors can easily be attached. In this example we use the sensirion sht11 sensor to measure temperature, humidity and calculate the dew point.

    Working with SMD and SMT PCB

    One thing tho, i would like to request you to send me some procedures on how to work with surface mount devices (SMD's). I cant get the IC as DIP so i have no choice but improvise an SMD. What is your most professional advice on this? Is it possible you could help me with any procedures for using an SMD on a PCB circuit?.

    mail from CM

    Study These Links.........

    fpga4fun.com - SMD Surface Mount Device and SMT Surface Mount Technology

    you may need a big tabletop magnifier with light and a fine tip soldering iron to get started. It may be difficult and needs a lot of practice, but many people are able to do it.

    Surface-mount technology - Wiki

    Surface-mount technology - Wiki

    An SMT component is usually smaller than its through-hole counterpart because it has either smaller leads or no leads at all. It may have short pins or leads of various styles, flat contacts, a matrix of solder balls (BGAs), or terminations on the body of the component.

    Introduction to Surface Mount Technology and Surface Mount Devices

    By Dean F. Poeth, II, Ph.D., P.E., C.Mfg.E.
    For the Small Manufacturer and Hobbyist: Prototype Manufacturing, Rework, and Repair Techniques

    SMDs have improved performance over through-hole components due to their smaller size, shorter internal leads, and smaller board layouts. These factors reduce the circuit’s parasitic inductance and capacitance. SMDs can also be more cost effective than traditional through-hole components due to the smaller board size, fewer board layers, and fewer holes.

    Hints and Tips for using Surface Mount Technology (SMT) 

    What is Surface Mount Technology? Put Simply - It is a type of electronic component
    package. Most electronic components can be divided into two categories - through hole (TH)
    and surface mount (SM). Through-hole components have been used for many years and are
    designed to be loaded on one side of a printed circuit board (PCB) and soldered on the other.
    SM components are designed to be loaded and soldered on the same side of the PCB.

    Luke Enriquez. Rev 1.3. August 2001.
    VK3EM PO Box 98, Kerrimuir, Vic. 3129. Australia

    delabs

    Datasheets and IC Application Notes

    where can I find on IC data and their application?  mail from EA

    Answer by delabs

    Vintage DataBooks are a valuable source of Electronic Product Design Ideas. Study the Applications.

    Folkscanomy Electronics: Books on Electronics, Circuits and Processors 

    You will also find Radio Electronics and many other Datasheets. Even of firms that do not exist now.
    Datasheets and IC Application Notes

    One of the books here is The " Intersil Hot Ideas" - This was my Mentor Book These helped me build Intelligent Instruments in the 80s. Intersil( GE) was in advanced CMOS before anybody else. They made the smartest chips when the Microprocessors were being examined Skeptically by engineers. (At that time Microprocessors needed many support chips and consumed huge power only later CMOS uC came)

    See also delabs Resources i have created as a reference for such doubts (2007)

    Friday, June 12, 2020

    Mains Voltage Stabilizer Step up Circuit

    i kinda found myself in a place where the voltage is so low (80v-110vAC) and i need to boost it up to 220v so what can i do? i have a burnt stabilizer (that is the electronics part) so i need the electronics circuit to replace the burnt one can Anybody help?

    post by FP



    here is a circuit i made for you, i am not sure it will work, i hope it will help you learn. part of these ideas are over 20 years old. Stabilizer Circuit

    Stabilizer Step up 230V AC 500VA

    This circuit is a design i did, not tested by me as yet. It can Stabilize Mains voltage to around +/- 10% . It can be used for both 110V AC or 220V AC inputs with modifications. The Output is 220V AC. There is an overload, under voltage and over voltage trip circuit. With some tweaks and modifications it might work.

    Solid-State Stabilizer Step up 110V AC


    This circuit is a design concept, not tested by me and i did it just to explain some ideas. The circuit uses opto-coupler MOC3041 of Motorola and the Triac BTA-16-600 of ST as a solid state switch or relay. It also uses the LM324 quad opamp from National Semiconductor which is low power and single supply. As the MOC3041 switches the Triac at zero crossover there is no inter-winding short of transformer on crossover hopefully, the control circuit is designed in such a way that more than one triac will not be turned on at a time, i would like you to give feedback.

    One more circuit, this is a bit complicated and it is not tested, it may not work that easy, just refer it to make your own design, it is just a bit of theory and my experience, i may be wrong at a few places.

    Electric Circuits

    delabs

    Tuesday, June 09, 2020

    Lamp Dimmer DC with L296

    I need a simple circuit to drive a 12v DC (4amp) light. But, it needs to dim to 25% over a specified amount of time. Basically it needs to hold at 25% (4v) for a few seconds then fade and increase to 100%(12v) , hold for a second then fade back to 25%.

    Here are the electrical specs: - Input 12vDC @ 5amps - Output from 4vDC to 12vDC (amp draw may be as little as 1 amp or as much as 4.5) - Only 1 potentiometer is used to vary the rate at which the voltage changes from 4-12 - It must increase and decrease voltage in a very smooth way, so that it fades the light to 100% and then back down to 25%

    mail from JR



    I have a circuit in my website that may serve your purpose, visit Power Supplies Section.

    There may be some documentation errors in my circuits. If you are used to building and troubleshooting circuits then it is ok.

    Switching Battery Charger with L296

    Switching Battery Charger with L296

    L296 is a switch mode power controller here. In this NTE327 or 2N5038 is used to boost the current output. This transistor is both high current and fast switching. U1A, LM358 measures the load current by reading the voltage across shunt R6 and compared to a current limit setting at R14 using U1B to give a load current control. R7-R8 give a voltage feedback for voltage limit.

    delabs

    Tuesday, June 02, 2020

    RS485 Modbus - Wireless Interface

    I am working on alarm systems and would like assistance in designing wireless link for the unit, ie sensors to control panel, control panel to monitoring station.

    I noticed most of the circuits available on your sites are FM 88 - 108 MHz, which would definitely cause interference. Can you please assist me with this final part of my system.

    mail from RT

    i would like to know........... The wireless link distance of Transmitter and receiver. The frequency range you want like FM 'n' MHz Are you aware of the regulations of wireless transmission.

    What band is allowed in your country and what distance. what type of data needs to be transmitted. If this is for process control, RF should be avoided if possible. You should use 4-20mA current loops, RS485 or IR optics.

    delabs


    You can study these pages ...........

    Bridging the gap between Modbus/TCP and Foundation Fieldbus

    Foundation Fieldbus

    Foundation Fieldbus is a power-ful process automation system which offers numerous advan-tages over conventional techno-logies in terms of production quality and serviceability. But migrating to Foundation Fieldbus often entails changing the entire existing control technology - all the way to the managment level.

    Modbus Communication Protocol Suite

    "The OMWT-XREC-MOD Wireless Transceiver uses an embedded 100-milliwatt frequency hopping wireless modem that provides communication between a local RS-485 network and a remote network of RS-485 connected devices. The OMWT-XREC- MOD will automatically sense the direction of data flow and switch the RS-485 and radio devices accordingly."

    with a RS485 and Modbus Network you can do it.

    delabs

    Thursday, April 09, 2020

    Electronics Work Bench

    How can I get a software for an electronics work bench for my pc.

    mail from EA

    I did not understand about the 'electronics work bench' pc based instrument. Try simulation based virtual lab software.

    delabs

    TINA is a powerful yet affordable circuit simulator for analog spice circuit simulation, digital and mixed circuit simulation


    this may be what you want....i am not sure.....have a look. "Tina Pro - The Complete Electronics Lab Edison - Multimedia Lab for Exploring Electronics" ...   also CircuitMaker which you may know.

    CircuitMaker Student Edition

    Ssimulation program.... helpful for learning about circuits, testing designs or analyses, and even just drawing schematics for reports.

    delabs

    Monday, April 06, 2020

    Cypress PSoC Mixed-Signal Array CY8C27x43

    I am building the same using a PSoC( Programmable System on Chip). I will give a tiny snapshot from their site FYI. PSoC Mixed-Signal Array.

    I had corresponded with you some time back when you had guided me to making a temperature controller .It was a very nice experience doing the same.

    A true system-on-a-chip, PSoC devices are configurable mixed-signal arrays that integrate the microcontroller and related peripheral circuits typically found in an embedded design.

    mail from TF

    Programmable System-on-Chip - PSoC - CY8C27x43

    The PSoC family consists of many Mixed-Signal Array with On-Chip Controller devices. These devices are designed to replace multiple traditional MCU-based system components with one, low cost single-chip programmable device. PSoC devices include configurable blocks of analog and digital logic, as well as programmable interconnects.

    PSoC EvalPods

    PSoC EvalPods are pods that connect to the ICE In-Circuit Emulator (CY3215-DK kit) to allow debugging capability.

    CY3210 - CY8C27x43 PSoC(R) Evaluation Pod (EvalPod)

    They can also function as a standalone device without debugging capability. The EvalPod has a 28-pin DIP footprint on the bottom for easy connection to development kits or other hardware.