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

Raspberry Pi RS-485 Interface

I am considering using the Raspberry Pi to control a machine I am designing. The machine has a half-duplex RS-485 network, running 115,200 baud, with multiple drops. I have been reading a bit on the...

View Article


Stop watch

How would I make a code for a stop watch using the 89c52 or does anyone have any examples of one?

View Article


PIC16F877A Timer Interrupt

I am using PIC16F877A and Compiler MPLABX XC8 I want to turn on LED on timer interrupt When a switch is pressed Counter goes from 0 to 22000 and when It reaches 22000 turns LED on When switch would be...

View Article

SECS-II host using a PIC18F57K42

One of my current uC projects is to make a portable SECS (Semiconductor Equipment Communication Standard) host for RS-232 serial (there is also a Ethernet standard) interface troubleshooting of...

View Article

fpga spartan 6 io ports are no longer working correctly

HELLO there, i have spartan 6 of the familyxlc9 but i am facing a severe problem with it . first i can burn successfully with jtag on it .its power is okay but the problem is whatever code i am burning...

View Article


I2C works with Uno, not with FeatherM0

Hi I have a number of I2C slaves, half are in one unit and half in another each of which connect to an Adafruit Feather M0 by a 5m screened cable (so two cables - I know that's rather long for I2C!)...

View Article

Getting a NACK from slave device communication through IIC

Hi all, I am trying to communicate with Kionix 124-1051 in my nRF52832 board using IIC. The slave is not responding after sending the slave address. I have checked all the possible conditions to make...

View Article

Stop watch

What should I add to this code to make the stop watch display on a 7 segment display

View Article


Advise needed from any ARM Cortex-M programmers out there

Hi all I've decided to make the step up from using PIC to ARM Cortex-M but having trouble finding an equivalent to the PICKIT to program it. After googling the net I have been given loads of options...

View Article


Read FUSE bit and modify without effect any damage to program space

Dear All Have a nice day I need read the fuse bits of PIC18F2550 and modify it and to be re programmed without any damaged to the program space Please advice about programmer and software Thanks in...

View Article

UART SPI I2C PIC16F876A MPLAB XC8 working library

This is my first post here, and I am eager to jump in. Unfortunately, my first post isn't to help, but to gain assistance. Therefore, I owe one to the universe. I'm working with a pretty old chip right...

View Article

Trouble Physically triggering an external interupt (ASSEMBLY language)

Hi everyone. I'm struggling a bit to set up a basic external interrupt that makes LEDs flash a set numbe of times each time that it is triggered. In the simulations in MPLABX it works when i make a...

View Article

How to disable port 2 interrupt when port 1 interrupt is active

Hey, i would like to make an IR communication system which has a transmitter-receiver on both sides. When i try to send my signal , receiver on the opposite can't capture my signal sometimes because my...

View Article


FTDI USB host used just to send data through usb.

I have found online a usb host that allows for FTDI drivers: http://www.hobbytronics.co.uk/usb-host-board-v2 Quoting the description it says: "You can write your own software for the USB Host Board or...

View Article

Starting Arduino, but no micro-controller programming skills

I’m an experienced electronics hobbyist but have never learnt PICS/Micro controller/Arduino/etc. I’d like to remedy that and get stuck into Arduino. But even after a fair amount of research I’m still...

View Article


New Oshonsoft system

Hi, I've just received a newsletter from Oshonsoft, which is changing it's system and now appears to have INCLUDES. It looks to me like it's using another language other than BASIC, which I don't mind...

View Article

Programming an Instrument Cluster

Good evening. On a new adventure. I would like to learn how to remove the information from an instrument cluster, decipher it and the transfer it onto another instrument cluster. So miles, tire size...

View Article


Regarding push pull solenoid with a raspberry pi3

hello guys, I have made a circuit of connecting a 5V push pull solenoid with a Rapberry PI but its not working. I have attached a circuit diagram where i have used an N channel mosfet of 60V 30A and...

View Article

How to stop a program blocking by HSERIN

Hi, I'm using HSERIN an a program, which is fine when there is DATA, but if there is no DATA, then HSERIN waits till there is, so blocking the program flow. How do I stop this please? Camerart.

View Article

Stopwatch using 89c52

How would I make a code for a stop watch using the 89c52 or does anyone have any examples of one? Mod edit: More descriptive title - JohnInTX

View Article
Browsing all 4923 articles
Browse latest View live