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

How do i program an STM32 MCU ?

hi everyone, i want to start making projects based on the STM32 MCUs, but i don't know where to start, i'am pretty good using PICs and AVRs, but now i want to use ARMs, so can anyone tell me what...

View Article


xc16 Battling the optimiser

Hi. I'm using MPLAB X IDE v3.2 and I've just realised I can turn the xc16 optimisation level up to 1 free-of-charge. However now my code doesn't work. I have a simple while loop as an example Code...

View Article


Defect detection in deep learning

Is there any deep learning models present in dlib or NVIDIA DIGITS to detect defects present on the edge of a rectangular metallic block ?

View Article

SPI to UART converter

Goal: convert SPI pins to be used as UART. Ouestion1: In my understanding, the chip select and SCLK pin is the only diff between SPI and UART. So if I don't use CS and SCLK, can I use MOSI and MISO as...

View Article

Microcontroller any default program will be there?

My home theater encountered a fault.Due to high voltage, the microcontroller got melt.I can't get the same microcontroller brand but I bought a different brand and the model is the same.Should I have...

View Article


Si3215 problem with Atxmega32

Hi I connected a Si3215 to a AtXmega32 directly without any buffer like as 74LV244. At start of program I read register 0 , 1 , 2 and ... but there is a problem with read of every register by SPI (SPI...

View Article

pickit2 is not working

i was trying to program my pickit2 with pic16f877a by using mplab and hitechC compiler. But when i tried to write the code to my pic, mplab showed this PKWarn0003: Unexpected device ID: Please verify...

View Article

Arduino Header Pin Looseness Silver Epoxy?

Has anyone tinkered with conductive silver epoxy with headers on an Arduino Mega board? These from JST in the female headers seem to fit fairly snug:...

View Article


How to use the real time clock module and how to display the time in the LCD?

Hi all, I would like to create a digital clock project and I plan to use the real time clock module and display it in a small LCD. The project is pretty straight forward. If you have some suggestion on...

View Article


Need to load .asm file into PIC18F4420

Trying to finish an Elektor Nixie tube clock kit for a gift to my son. I'm very familiar with Arduino, C++ and the arduino IDE and not at all familiar with PIC. I have MPLAB X 4.01, PICKIT3, and the...

View Article

[HELP] LCD 20*4 shows wierd characters when relay state changes (Arduino)

Hi everybody hope the post is in the right place, sorry if it's wrong. I made a DIY project to water my garden automatically from this post: (the garden is 90 Km away from my house)....

View Article

C I am not but I'm learning trying to figure a menu out and the best way to go.

I was thinking I have 4 button test box for input and going to use the LCD for outputing menu would select case be the best way what get's me about C is the using printf Code (Text): nt a = 1; int b =...

View Article

HC-05 using PIC16F877A

Hi guys, i am currently doing a project to let microcontroller communicate. The microcontroller used must be PIC16F877A or PIC16887 only. I want to configure one of my HC05 as master and another one as...

View Article


Sparkfun FTDI breakout board won't connect to computer

Hello everyone, As the title says, I'm having some trouble with the connection. I already went through the basic tutorial on Sparkfuns website, and when that didn't work, I also went through the in...

View Article

Piccolo F28069 USB Bulk Device Work FIFO size 64 but NOT WORK FIFO size 1024...

I have been testing F2806x USB Bulk Device Example project 'usb_dev_bulk' from TI controlSUITE. In the USB2.0 Specification there is noted that maximum allowed data packet size is 64 bytes where data...

View Article


LED Blink on high input with custom board not working

Hello, I made a custom board on which I am trying to get an LED to blink with atmel's ASF using a SAMS70J21 cortex m7 microcontroller. To no avail unfortunately. I tried stepping through while...

View Article

Problem with Autotuning of PID micro controller (TEC brand)

Hello, I’m using resistor based heating and peltier element for cooling on my prototype which could able to generate a thermal gradient of about 76degC. I’m facing an issue with autotuning of resistor...

View Article


DIFFERENCE BETWEEN UPS AND PSU

View Article

Image may be NSFW.
Clik here to view.

PIC16f690 2x16 LCD not working.

Hi, I have a 2x16 LCD and a PIC16f690. I just cant make them work together. Is that possible, that this PIC is not able to do this? I connect the pins like in the image but i used the internal...

View Article

Interface HP LJ 4500 front panel LCD to PIC16F767

Hello every one I have this LCD from old HP LJ Printer, and the pin-out data of the LCD that I found is kinda complicated for me to understand, I began my PIC journey with PIC16F767, and I'm dying to...

View Article
Browsing all 4923 articles
Browse latest View live