Hobby Projects - Insulation tester, LED Circuits, Meters.

Monday, August 21, 2017

KTechLab - Open Source IDE

KTechLab project. KTechLab is a an IDE for microcontrollers and electronics. It supports circuit simulation, program development for microcontrollers and simulating the programmed microcontroller together with its application circuit. Ktechlab was developed by David Saxton.

KTechLab - Open Source IDE

KTechLab - Open Source IDE

Integrated Design Environment (IDE) for electronic and PIC microcontroller circuit design and simulation. Featuring an extensive circuit designer with autorouting and simulation of many common electronic components and logic elements, KTechLab is the idea tool for educational or hobbyist use. You can simulate analog circuits and logical circuits using KTechLab.

You can write programs using Assembly, C (SDCC), or Flow Code - program the microcontroller(PIC) using flowchart. Another option is Microbe a programming language like BASIC.

KTechLab supports a wide range of Open Source PIC programmers, enabling finalised PIC programs to be quickly and easily transfered to a real PIC microcontroller.

Wednesday, August 16, 2017

Toy SMPS or an Overkill White LED Driver

Jonathan Westhues site of Intriguing Projects include A Test Instrument for HF/LF RFID and a compiler that starts with a ladder diagram and generates native PIC16 or AVR code.

Toy SMPS or an Overkill White LED Driver

Toy SMPS or an Overkill White LED Driver

I sense the load current and control the duty cycle. The PWM pin on the AVR drives the gate of the FET through a couple of BJTs. Note the absence of any input capacitance; Vin looks terrible but it works. The micro power supply section is isolated with an RC.

delabs Notes

This is a nice way to start, learn uC and Power electronics in one go. It does not matter if it an expensive solution for LED Lighting. It certainly is an excellent Educational Project.
It may also be useful to use Intelligent Systems (uC and Firmware) to monitor and manage LED Arrays and control their brightness and color. Large Arrays can be Interfaced to PC by XBee for Home/Office or Factory Lighting Automation and Energy Consumption Optimization.

Microcontroller Interfacing

uC Real World Interface

uC I/O is Keyboard and LCD when you Build a calculator or a Text/Morse Communicator. When you control a motor it is Drive/Speed and Direction for Motor and Tacho or Opto Counters for Feedback. In both cases you have Input and Output which is Logic or Analog which has to reach the CPU.

Tuesday, August 08, 2017

Amateurfunkbasteln - Amateur Radio Crafts and Electronics

Amateur radio is a technical hobby. The attraction? To cover long distances with a low power radio to talk with other people, learn about their countries and cultures.

Amateurfunkbasteln - Amateur Radio Crafts and Electronics

But amateur radio also means tinker devices themselves, solder, apply electronics and learn something. In this sense, it can be a preparation for a technical career or even an engineering degree.

Use Google Translate, the pages are in German.

A Data Logger that records Slowly varying parameters, such as the temperature or decreasing the voltage of a battery. This copy records up to four measurements on parallel and saves it on a EEPROM.

Four Channel Data Logger - Amateurfunkbasteln

Four Channel Data Logger

It measures self-sufficient - without a PC - analog voltages (0-5V), it digitizes and stores the numerical value obtained in a separate memory. Later, after the measuring and recording phase, passes the data logger its information to the PC.