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

MCP4822 (DAC) not working with Timer of dsPIC33F

Hello everyone, I have two DACs (MCP4822) as slaves and dsPIC33F as master. I'm using interrupt Timer3 for writing to the DACs. The problem is that when I write on the DACs without using Timer, I get...

View Article


Difference between reset and power cycle

Lets pick arduino for instance. What is the difference in the system behavior when I hit the rest button and when I power cycle (unplug and plug the power USB)

View Article


Arduino Shields?

I am going to buy an Arduino and CNC shield kit when I purchase my CNC machine. http://www.ebay.com/itm/CNC-V3-Shie...hash=item4ae9f5cf60:m:meEBpMpDQMrHN8xWdGJWAbA I would also like to add an Ethernet...

View Article

Arduino ADC, Wheatstone bridge and amp

Hello, I have the following circuit, it works with simulator and manged to breadboard it and it works as well on the bread board, note that R6 is Pt100 RTD when prototyping on breadboard, the values of...

View Article

EEPROM vs Programme memory?!

Hi All, I'm looking for some advice on memory, I have a application that needs to store ~ 1500 bytes of data every day. I have a board I designed and made at the moment with a 16f1827 and a i2c eeprom....

View Article


[LCD] 4 Bit Mode not showing anything on the LCD

I'm trying to implement a function that displays the letter `c` on the LCD using 4-bit mode. But when I run the code on Proteus I get a blank lcd. I tried the code with 8 bit mode (without the bits...

View Article

Arduino to Unity 3D Communication

I'm working on some interaction between Unity 3D and Arduino. I'm wondering what might be the best way to tackle something like this: Lets say I want to have various sensors like an LDR send data into...

View Article

Motor DC 12 Volts problem when controlling using PWM from Arduino

Sir, i want to ask sir. I want to control motor DC 12 volt by using PWM from arduino. The circuit i'm using is as you can see below : View attachment 97519 And motor DC i'm using with is : View...

View Article


Do i need to program a new MCU before solder it to the pcb?

Hello. Recently,i install a new seven segments display instead of failed one in an air conditioner display pcb and i wondered if i can change,also,the MCU in the same manner(if it was failed)as the 7...

View Article


Hc05 dissconnects when phone locks

So i'm doing this home automation project Using mobile phone and decided to use a bluetooth module hc05 for wireless communication along with an arduino. For prototyping i made a simple circuit on...

View Article

Problem with IAR- The project 'name' contains the unknown tool '...'.

Every time I try to open a project at the IAR Embedded Workbench the following messages appear: The project 'name' contains the unknown tool 'IJET_ID'. The project 'name' contains the unknown tool...

View Article

ULN2003a with Arduino for a step by step motor

Hello! I'm trying to control a step by step motor with my arduino Uno. I added a ULN2003a between them to have more current in my motor. I wanted to test the ULN2003a a bit before I use it on my motor....

View Article

problem when programming avr through genius g540 universal programmer

hellow friends, I have genius g540 universal programmer,when i program avr atmega32 through this programmer it is not programmed shows error in " verify" some times it does all steps correctly but when...

View Article


Defective EPROMs 2764

Ive found several TI kinds with bit errors often just one single bit. They re about 30 years old and have been sold to me erased a mixed lot with different brands. Now im trying to see if the bit...

View Article

how to install a simulation model into proteus ISIS

1) can i import processors IDE, BSDL Model or IBIS Model to proteus ISIS to simulate them? will it work? 2) is there any supplier giving proteus spice model to direct import to proteus library? if yes,...

View Article


Image may be NSFW.
Clik here to view.

Protecting a cut out relay

Hi Guys, I need to protect a solid state relay that I'm using as a cut out relay. The relay is activated by an Arduino and passes charging current to a battery bank. I just cooked a relay as I wasn't...

View Article

ICD bits -- ADC and 16F886 E/SP.

I ran into a road block. How do you set the bits in ICSPDAT and ICSPCLK. I have the ICD enabled in config. What will happen if I set them as Inputs in TRISB And about the comparator..... Code (Text):...

View Article


Filter signal to optocoupler

Hello! I'm using Raspberry Pi 2 in a production environment. I'm also using GPIO on the Pi. There are some problems with inputs and noise. Input signals are 24 V DC and they are driving the optocoupler...

View Article

Atmega 328 EEPROM ISSUE

Hi All, I stored a byte value to the atmega 328 eeprom, But when a change in the Supply occurs ( a triggering voltage), the value at the eeprom gets erased... What may be the issue, I enabled the...

View Article

ADC to PWM program glitch

Attached is the code. I am inputting two ADC channels to a pwm in order to have a variable frequency and duty cycle. The program works except there are these occasional stops for a brief moment. On...

View Article
Browsing all 4923 articles
Browse latest View live