Quantcast
Channel: Microcontrollers
Browsing all 4921 articles
Browse latest View live
↧

BadUsb, TF Memory Leonardo, how to get it working?

Hello, I have bought one of these things from AliExpress: https://www.aliexpress.com/item/EYE...32813108672.html?spm=a2g0s.9042311.0.0.uCmlkT Now, I upload the sketch with Arduino IDE, but the sketch...

View Article


water filler code using pic16877a

Hi! pls I want to do an automatic water filler code The setup is going to be: Motorized ball valve connected to the kitchen tap Water flow sensor (YF-S201) measuring the amount of water from the ball...

View Article


Interface 2x16 serial LCD to PIC16F767 via SPI

Hello there I have PIC16F767 and one 2x16 LCD and I want to lat PIC write any thing to the LCD but in vain, and help in sample code for MPLAB XC8? View attachment 137461 View attachment 137462

View Article

ESP8266 SPI - LCD1602 and the PFC8574 Backpack

https://www.nxp.com/docs/en/data-sheet/PCF8574_PCF8574A.pdf https://images-na.ssl-images-amazon.com/images/I/51fDBZV-ebL._SY355_.jpg Hi Everyone, I don't know how well acquainted you are with the...

View Article

water filler code using pic16f877a

Hi! pls I want to do an automatic water filler code The setup is going to be: Motorized ball valve connected to the kitchen tap Water flow sensor (YF-S201) measuring the amount of water from the ball...

View Article


Do I need interrupts in this program?

Hi, I'm programming an ATMEGA16 Microcontroller. This what I am trying to do: I need to output a 50Hz PWM Signal to control a servo. I want to vary the pulse width from 800uS to 2200 uS by using push...

View Article

unable to toggle a led on port pin using interrupt, went through code & can't...

trying to use interrupt on port pin to toggle a led & when i run the code the led stays on , i increase the counter to 50 & the led stays off i can't seem to figure out whats wrong in the code...

View Article

PWM for crude DAC from the PIC18F47J53

I am trying to create a crude DAC by using PWM on the PIC18F47J53. The datasheet says the following: The PWM duty cycle is specified by writing to the CCPR4L register and to the CCP4CON<5:4>...

View Article


Does while(1) affect interrupts?

My question is: Doesn't the program get stuck at while (1)? How is the flow of this program? I mean, can the program execute what is inside while (1) loop and execute interrupts and then go back to...

View Article


communication protocols in embedded systems

Protocols in embedded systems is used to transmit/ Receive data from one device to another device. I2C, UART, CAN, SPI These are common protocols used in embedded systems. I need help to understand...

View Article

DIN en 60751 standard

Hey everyone, I have a question concerning the DIN en 60751 standard. For a PT100, in the standard there is R0 = 100 ohm But I can't find anything concerning T0 ' reference temperature', what is it...

View Article

Designing a simple alarm circuit using microcontroller

I am designing a simple alarm circuit using PIC12F629 and I need advise from this forum of experts on how I could accomplish and fine tune the circuits. The alarm input set the GP0 High and flashes an...

View Article

Problems whilst using MPLAB's MCC to configure and use I2C and ADC

I am trying to communicate to BQ24259 through I2C using PIC16LF1554. The 7th register of the device has a bit which can be used to turn off the battery. I used Mplab's MCC to configure the I2C...

View Article


MSP432 Image Processing?

Hello, I am currently working on a project which will involve the use of a camera module to be interfaced with the MSP432 microcontroller. My only concern is which camera would be ideal to use with TI...

View Article

UART serial printing on terminal?

Hello people, I have a very stupid question. I am working on this AVR/ATMEL project. I am trying to print a string on the terminal. Is this possible without having to debug/run the target board?

View Article


Pickit3 Debugger Express Need Help Getting Started

Hello, I am brand new to the microchip world and may have bitten off more than I can chew. I recently (about 6 months ago) bought a 44 pin pickit3 demo board with the pic18f45k20 chip. I have...

View Article

Interfacing with a PS/2 mouse with Arduino to get x and y coordinates

Hello Everyone, I am currently working on a project where I need to be able to use an Optical Mouse to determine the location of my robot. To do this I am using an Arduino Uno, and a PS/2 mouse from...

View Article


Arduino UNO simulation using proteus - analog sampling 1Hz sine signal

Dear all, I need some help to understand more about how ADC works in arduino. I'm doing simulation of arduino uno using proteus for analog signal sampling. I put signal sine waveform 1Hz with amplitude...

View Article

Using USB to TTL DTR to power on reset an STC 8051

Hi, I am using an STC 89C51 microcontroller connected to my computer using an USB to TTL adapter, as per their datasheet. I am using stcgal to program this microcontroller. However to program it I need...

View Article

Difference Gen4 HMI and Beaglebone displays

Hello everyone, Iam new to the 4D systems displays and i was wondering what the difference is between the Gen4 HMI displays and the Beaglebone displays? Is the beaglebone display only meant for the...

View Article
Browsing all 4921 articles
Browse latest View live