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

max35101 SPI Communication Issue.

i have tried Communicating max35101 with stm32, but didn't revceive any data from IC and The MAX35101 SPI peripheral operates in SPI mode 1, which means that the SCLK circuit idles in a low state and...

View Article


Image may be NSFW.
Clik here to view.

PWM with Micro not as Expected

So I’ve been working with the PSoC 5LP lately, and one thing I don’t understand is why the PWM doesn’t reach full 0% to 100% Duty Cycle even if I set a Compare Value of 0 or 100. (period of 100) I have...

View Article


Template Code for dsPIC33EV 5V CAN-LIN Starter Kit

Hello everyone, So I just started working for the first time with the dsPIC33EV 5V CAN-LIN Starter Kit(dsPIC33EV256GM106) and I was trying to write a simple code where I could switch on and off the...

View Article

Add a resistor for LED?

Hi, I have an arduino micro and an Uno. do I need to add a resistor to my LEDs going to the boards it or is it already imbedded? The board’s nomenclature was somewhat confusing to me. thanks

View Article

Couldn’t find board on selected port

Hi. now onto my second problem. tried uploading my program onto my arduino micro and it says that it can’t find the board on the selected port. The port option on the tool bar is grayed out. Ideas...

View Article


Invalid OSCCAL Value detected PICKIT3 PIC10F200

I have been trying to load code into my PIC10F200. I however keep getting the above error. I am not sure what causes it or how to fix it. I have attached a screen shot of the problem. I change the...

View Article

Motor Control

Hi, I've recently been tinkering with my first Arduino and would like to try and apply some of the things I've learned to modify a DC motor control unit and would like to ask the community for some...

View Article

Bootloader for PIC18F6622

Hello. I am trying to program PIC18F6622 using UART. My computer cannot detect the PIC18F6622. I think it requires the bootloader. Where can I get the bootloader for PIC18F6622? Thank you.

View Article


Can someone help me with this program

I am trying to display 1 through 9 while rotating on win8051 what am i missing here: Code: ; Initialize number to display MOV R1, #0 ; Main Loop LOOP: ; Display R1 on the 7-Segment CALL GETDIGIT CALL...

View Article


PICFlasher_BE

Hello. Is there a difference between this PICFlasher_BE and other type of PICFlasher? Thank you.

View Article

Touch screen and driver for a far fetched project

For the sake of education, I want to make a dev.board using a Cortex M4, that somehow is supposed to be a tool in my work, when fault finding on ship electrical systems. I know you can buy a ready made...

View Article

Image may be NSFW.
Clik here to view.

4 digit up counter using seven segment display

Hi, I have PIC18F45K80. I am using MPLABX 5.40 and XC8 2.30. I want to make 4 digit up counter using seven segment display Here is my plan to make counter (0-9999) any help would be appreciated

View Article

Anyone here using C to compose 'object-based' Microcontroller programmes?

It's related to but much simpler than 'object-oriented' programme composition. I attempt it (for a mid-range PIC application) by having each .c source file in my project hold only the variable(s) and...

View Article


AD9850 Generate Random Fixed Frequencies Controlled By MEGA328P-AU

Hey I've made a circuit with AD9850 Controlled by ATMega328P-AU with serial interface. Here is the Schematic Link. Schematic I've Tested Prog with AD9850 Module (HC-SR08_Module) and code is working....

View Article

Suggestions on equipment to build a hand watch

Hi I'm looking to build my own hand watch. I posted here because I want to know suggestions on equipments I can swap to build a better and more efficient watch. The idea I have by now after research is...

View Article


I2C LCD on PIC18F47K42

No problem huh? I've done I2C before, I'll adapt some of my previous code? WRONG! PIC18F47K42 does not do I2C even vaguely like the earlier PICs. OK, no problem. MCC covers this chip so I'll use that....

View Article

New in Microcontrollers, need help with bootloader.

Good Afternoon guys. I am Pablo and I have just started my PCB design journey and I think I need some help. I am trying to design my own Arduino using an ATSMAD12G18 microcontroller, but I do not know...

View Article


Minimal token-passing network via RS485?

I've set up an RS485 network with 4 nodes + my computer, which communicates via a USB-to-RS485 unit. The nodes are PIC16F345 processors, each with a MAX485 transceiver chip. It all works well in...

View Article

WDT brain breaker

Hi, A real WDT brain breaker I want to use the WDT with a Pic 18f8722. No problem however, I want an extra function! Each function will carry an unique number like Function_Number. When the WDT runs...

View Article

Calculating 1 cycle RMS for 50/60Hz signals

I found this paper to be useful. It says: Due the characteristics of AC energy, voltage and current waveforms mean are zero; however, during abnormal operation fluctuations may occur or oftentimes the...

View Article
Browsing all 4922 articles
Browse latest View live