My LED's are not Blinking
.I got my first microcontroller programmer for 8051. I am trying to blink eight LED's. I wrote program to blink all LED's My program Code (Text): #include <REG51.h> Â sbit LED_Port = P2;...
View ArticleHow to interface DIP switch with AT89C51
Hi everyone I have DIP switch and I want to interface as input to AT89C51. I don't understand how to connect it with AT89c51 I don't want to damage AT89C51. Which pins goes to 5v supply and Which pins...
View Article7 Segment with transistors array
Hello Everyone, i'm newbie in electronics. I'm using below schematic to drive 3 digit common cathode 7 segment. udn2891 chip is expensive. so i'm using transistors array. I want to know will the below...
View ArticleHow to perfom DC motor parameters identification without MATLAB?
I always see that MATLAB is used to perfom DC motor parameters identification. Is there another way of doing this? I mean, for example, using microcontrollers I can start the motor for a period of...
View ArticleInterfacing switch with AT89S52
I have connected switch and LED to AT89S52. I want to turn ON LED when switch is ON and turn of LED when switch is OFF. I have written code in Keil for interfacing switch but the problem is when switch...
View ArticleSolar Panel Boost Converter Design
We design a solar panel boost converter.Input voltage is from solar panel and at the output there are 5 leds.As a switch we use a nmos transistor but ı need a ardunio code to control the switch.Since...
View ArticleRegarding sampling time in ADC of STM32
Hi, I have a confusion about sampling time and conversion time. In STM32F407, the conversion time for 12 bit resolution of ADC is 12 clock cycles. But there is an option to set the sampling rate at 3...
View ArticleError compiling for board Arduino/Genuino Uno.
Hi, please any one help me to resolve my problum Iam having 3 Arduino boards non is working and giving the following ERROR Cannot create temporary file in C:\Users\mkbutan\AppData\Local\Temp\:...
View Article8051 microcontroller
I'm having some difficulties with this particular "exercise"... If anyone can solver/explain it, it would be great! Thank you for your time and have a nice day.
View ArticleHow to reconstruct input signal by using DAC?
I am working on a project in which - I have to continuously monitor the the ADC input on a microcontroller and check if the value crosses a certain threshold. If the value crosses the threshold, start...
View ArticlePush button interfacing with AT89S52
. I am connecting push button to the first bit of PORT 0 (P0.0). The LED is connected to the first bit of PORT 2 (P2.0). I am trying to get an LED to light on when i press a push button. I am using...
View ArticleArduino Sketch tests a 3D Printer TL-TOUCH auto leveling sensor
This Arduino Sketch tests a 3D Printer TL-TOUCH auto leveling sensor for 3D Printers. Like the one in these links. https://drive.google.com/file/d/0B_lX6Bwizwk0RzFhTTF2dHhSems/view?usp=sharing BLtouch...
View Articlehow to detect the zero crossing for an AC input signal
I want to determine time at every zero crossing for 5V AC input signal using the PIC micro-controller.in my search i found that I have to use interrupts to detect when the sine wave crosses zero. when...
View ArticleArduino nano with DWM1000 issue using official decawave driver API
Hello all, I have two arduino nano's, each attached to a dwm1000. This is on a custom breakout board and a breadboard. There is an arduino dwm1000 library here that I use to test with the boards. The...
View ArticleWhen a TV writes to its EEPROM?
There is microcontroller inside a TV. It has its intenal built-in EEPROM which has around 100,000 write cycles. Maybe because of this less write cycles they use external EEPROM chip like 24C08 which...
View Article18LF2520 as PWM TIMER or LOOP? (Oshonsoft BASIC)
Hi, Here's a program where I've joined a TIMER program which works and a SERIAL IN program that also works, but together they don't. If the line with ################### is in the program, then the...
View ArticleSerial communication between PC to a Microcontroller
I have AT89C51 controller and i m trying to establish communication between controller and my Laptop via serial cable. I am using At89c51. I have hyperterminal tool. I don't think there is anything...
View ArticleExternal Power Supply for STM32L4
Hello, Attached you can find an extract from the user manual of the STM32L4 MCU. It says: "In case VIN, +5 V or +3V3 is used to power the STM32 Nucleo-32 board, this power source must comply with the...
View Article