Quantcast
Channel: Microcontrollers
Viewing all 4922 articles
Browse latest View live

How to use avr programmer i dont get software..

$
0
0
Hello,
I want to know how to use this programmer i have no idea i buy it today which software is used for it and how to start from beginning??

Arduino_high impedance source with analog input

$
0
0
I was testing arduino analog input accuracy for that i used a voltage devider with R1=18k and R2=3k ,the result was good (1bit error)
but when changed the resistor value to R1=R2=460k i get a big fluctuation around (10 bit).
I searched about that and i found that high impedance will make the internal capacitor(14pF) take more time to charge.
SO what is the solution with high impedance i realy need solution cause my preject circuit have output impednace > 100K.


High impedance:...

Arduino_high impedance source with analog input

Blue Tooth LE vs Bluetooth 4.0

$
0
0
I have seen all the post on this that explains the difference. What I am ask is can a cell phone with 4.0 Bluetooth spec talk with Bluetooth LE DIY board. I am new to this technologies and would like some clarification.

8051 : i want to use the timer

$
0
0
hey there
i have 8051 microcontroller (ds5000) wich i programed my application inside external sram
i want to let it clear the content of the sram after x seconds after powering the microcontroller up
can i do it without modifying the hex i programmed inside sram ?

Can you program a micro pic16f877 using Pickit 3 and mikroc ?

$
0
0
I cannot detect the programmer (Pickit 3) on the mikroc prog suite. A screenshot shows that the programmer is not detected. Help?
View attachment 124670

Picaxe - Hardware not found error

$
0
0
Dear all,
I am in the process of building my first project using microcontrollers. I bought Picaxe chips as I thought they would be a great start since they use simple Basic commands unlike Arduino which uses C+. So, to make long story short. I have read the manuals on Picaxe's website and soldered the board following the circuit depicted in the manual.

Then I downloaded the latest Picaxe editor 6 software from the official website and installed it on my computer. I wrote a simple program...

Picaxe - Hardware not found error

Microcontroller 8051 basics

$
0
0
I was reading online homeworks and now I found a question saying What is the active register bank after execution the instruction MOV PSW, #50H
the answer is RS1=1, and RS0=0 so it is Register Bank 2 . first what is RS1 and what is RS0 and why are they set to zero and one and how can you know that the answer is register bank ?
I also have another question I also saw that the P bit in psw after executing this instruction mov a,#03h A=0000 0011B so P=0 first it was difficult to know what is p...

Microcontroller 8051 basics

Connect 2 or More LCD to same MCU

$
0
0
Hi.
Have this lineup, is that possible ?
Even with more LCD, if it's done same way.


RGDS
FroceMaster

pickit 2 not detecting pic16f877a?

$
0
0
Hello,
How to run pickit 2 not working it is not detecting pic16f877a??

Determine opcode of instruction 8051

$
0
0
Hi
I was solving some homeworks and I need help to find the op code of this instructions I know it might not seem complicated for you and how can you need help to solve this but i am a beginner I literally dont know
first exmaple ADD A, R3 Opcode = 00101rrr = 00101011B=2BH (1-byte instruction) I foudn the same result ut I looked up a table . but why is this instruction a 1 byte instruction
(2) MOV P2, A Opcode=11110101 aaaaaaaa = F5H, A0H How did they find this...

Determine opcode of instruction 8051

Microcontroller simple program including loop

$
0
0
Hi
The problem is that I want to write a program using processor 8051 (which is my first one ) but it doesnt work the point is to store #68h in the adress 40h and to increase to 89h with a loop . I dont want the solution since I already have it . Just asking what did I do wrong . Maybe I will post also the solution if you dont understand the point of my program :
SOLUTION:
Code (ASM):
  1.  
  2. MOV A, #68H ;A=68H
  3. MOV R0, #40H ; R0 is a pointer starting from 40H
  4. MOV R2, #73 ; 89H-40H=49H = 73 decimal...
Microcontroller simple program including loop

MPLABX compile and build error.

$
0
0
Thank you for viewing my post.

I have downloaded the MDD library to use with sending data from a PIC18F26K22 to a SD card. I am using the XC8 compiler. When I load the demo program from the library into MPLABX V 3.45 I get the following error:

Error (141) can't open include file "FSIO.H" no such file or directory.

I have loaded the FSIO.H file into my project into the Header file and when I click on it, it will load the file so I know the file is there. The only include file listed in...

MPLABX compile and build error.

Hello how to start arduino uno board?

$
0
0
Hello,
How to start this board i have buy it is there any need of the power supply adaptor??
how to blink led from it for testing??

Arduino Mega Component for Circuit Wizard

$
0
0
Hello,

I am using Circuit Wizard Pro for my circuit designs. Unfortunately it does not support the Arduino series in its library for circuit and PCB creation. Therefore I'd have to manually create the arduino as a new component.

Does anyone else use Circuit Wizard? If so does anyone have the Arduino Mega component files to suit (either circuit wizard or PCB wizard)?

Thanks,

8051 Can you explain to me this program

$
0
0
Hi
Can somebody please explain to me this program line by line I tried googling for the instruction didnt understand the program as a whole


MOVC A, @A+DPTR ; what is this instruction doing
MOV DPTR, #MYDATA what do we need to do this
MOV R2, #5 ; same question
Code (ASM):
  1.   cseg at 0
  2.     jmp 100
  3.   cseg at 100
  4. /* 5. Assuming that ROM space starting at 248H contains “Shiue”, write a program to
  5. transfer the bytes into RAM locations starting at 37H using indexed address mode (6
  6. points)*/...
8051 Can you explain to me this program

Digital tachometer using PIC18f code

Sinking 12V through a Reed switch into a discrete input module (NI 9425)

$
0
0
We have successfully had a system fielded for about a year now, and one of its several functions is to measure product flow through its channels. Given the application, chemical compatibility, cost, size and overall flexibility, I chose a Reed switch actuated flow meter and am sinking it into a National Instruments 9425 discrete input module, which is basically an I/O module for a PAC system called a cRIO 9068. I am using period-based calculations on the FPGA to derive a tick count and go...

Sinking 12V through a Reed switch into a discrete input module (NI 9425)

Anti-Alising Filter for PIC ADC

$
0
0
Hi, i'm i've build an circuit, ilustrated in the bellow figure, which its purpose is to sample an Sine Wave of 1kHz sourced by an InAmp (AD8226) with an ADC from a uC (Pic18f26j13) with maximum Fsampling= 40 kHz . This adc has 12 bit and its voltage reference is 3V.
When i designed the following circuit i added an passive anti-aliasing filter but i was reckless and i didn't know very well what i was doing. So i projected with some values that i realize now that were totally wrong and this...

Anti-Alising Filter for PIC ADC

Need direction or advice on using 4G cellular modules

$
0
0
I am looking for a 4G cellular module that I can connect power, an antenna, and operate 2 I/O's by writing an AT command script. Low performance, low cost. Any thoughts where to start?

Program a reversing light up LED

$
0
0
  1. A running light going 1 direction using three LEDs.
  2. Every single LED will be light up after 1ms.
  3. When SW1 is pressed, the running light will reverse direction.
I was struggle at this question, which it is program Using PIC16F877A by Mplab. Can anyone at there help me .
Viewing all 4922 articles
Browse latest View live