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

What's difference between RS232 and UART in context of programming ?

Hi, RS232 and UART both are serial protocol, UART and RS-232 are not the same but I do not understand how RS232 is different then RS232. UART is responsible for sending and receiving a sequence of...

View Article


2-Wire Serial Temperature Sensor

Hi guys I am trying to get details of sensor from datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/21490D.pdf. I do not understand table 3.1 on the page 6 of datasheet I do not understand what...

View Article


A new way of looking at Embedded Systems

Hi guys! My name is Manu, I'm a new member of the forum, but happy to be here! Hope I'll be be helpful! My friends (Nicolas Rabault and Simon Baudry) and I are working in Robotics/Electronics for a a...

View Article

16x02 LCD + I2C module problem

Hi all I was trying to make my 16x02 LCD+I2C module work. I failed. This is my LCD... 16x02 LCD + I2C module problem

View Article

STM32 for multiple pressure sensors reading

Hi, I am using STM32L5, that has one ADC module, and I want to read simultaneously 20 pressure sensors so that I can create a real-time pressure map. How should I implement in the optimum way the...

View Article


ADC on a pic 18f

Hello i have been trying to lean how to do ADC on PIC i have which is 18F2550, after watching many tutorials & reading the data sheet i came up with this C source code. i have been on & off pic...

View Article

ST Micro in C Code

I am trying to program a ST Micro in C, basically to control 3 motors. Is there any snippet of ready-made code I can use or if not, if anyone has done this, kindly suggest. Thanks

View Article

STM 8-bit MCU, which protocol to use ?

Right now I have a STM8S003F3/K3 "8-bit micro-controllers offer 8 Kbytes of Flash program memory, plus integrated true data EEPROM", seems to be ok, I damaged the PCB before....

View Article


wanted to map adc into 0-255 range.But code not working

Hello guys i wanted to map adc value (0-1023) to 0-255 range. But the code did not working on proteus 8.6.I have created a map function for this.Here is my code.But can not guess where is my fault?...

View Article


Is it possible to extract the program from an NEC D27128D?

I was wondering what would be required, or if its possible, to extract an existing program from an EPROM NEC D27128D? I use Microchip PICs and a PicStart Plus, but I doubt its compatible. I also...

View Article

Idea to keep PIC18F working for 1 or 2 seconds after system OFF

Hello, I am trying to develop a system with CAN communication using a PIC18F25K80. The PIC is working good with CAN, however I have a problem... When I turn OFF the system power I would like to keep...

View Article

Image may be NSFW.
Clik here to view.

Emulating a Tri-state Buffer

I am having difficulty getting an NXP LPC2134 into bootload mode for ISP using simple mechanical switching. An alternative is to let the RS232 programmer control DTS/RTS to get into that state. NXP...

View Article

Servo pulses from Arduino

My first serious Arduino UNO project was a fairly simple one. it sends a sequence of presses by a servo arm to the button of a camera; switching its power on, selecting mode, starting and stopping the...

View Article


recommend documents to learn RS 485 protocol?

Hi, I am sure that the 485 protocol would have been used by the many people. There are so many resource available on internet I am looking for good documents. Which document will you recommend to learn...

View Article

Remote control by location (PIC in Oshonsoft)

I'm making a couple of PCBs BASE/TRANSMITTER and REMOTE/MODEL RECEIVER using surface mount components, and PICs, for use as remote control by location (3D). Remote control by location, is when a...

View Article


PIC16F887 Programming Dilemma

Hello everyone, this is my first post here and I apologize if my thread is confusing in any way. I am a beginner when it comes to PIC programming and i encountered a strange problem while trying to...

View Article

time-critical task

A time-critical task is defined as one where the task must be performed within specified time . This https://embedded.cs.uni-saarland.de/lectures/acaces17/Introduction.pdf information doesn't make more...

View Article


Measuring wide range of currents with ADC

I'm designing an amplifier to read currents using a CT from 10 mA to 30A with a STM32 with no FPU. I have the following data: CT turns ratio = 1000:1 Burden resistor = 10 ohms ADC reference = 3.3 V DC...

View Article

Image may be NSFW.
Clik here to view.

Will Microcontroller get damage with excess voltage or excess current ?

Hi Guys, In attached schematic, if Vout is connected to MCU i.e STM8S (https://www.mouser.in/datasheet/2/389/dm00024550-1797235.pdf) MCU operating voltage is 5V. I want to do the circuit analysis with...

View Article

Why was an interrupt invented?

I have wired question, Why was an interrupt invented? What was the problem with sequential program.

View Article
Browsing all 4923 articles
Browse latest View live