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

Image may be NSFW.
Clik here to view.

STM32f303k8t6 Nucleo board with DS18S20 Temp sensor.

Dear all, I want to read the temperature by DS18S30 one wire sensor. I have made proper circuit connection with 4.7K Ohm pull up. My programming IDE is Keil Micro vision 5 and development board is...

View Article


One wire library for STM32f3

Dear all, i am using ds19s20 one wire temperature sensor with STM32f303. But there is no dedicated library for the same. Can anyone tell me how can i start. Regards litun

View Article


I2C protocol Programming

I am looking basic idea to implement i2c Protocol in C programing. I am trying to make dummy code so it would help me to write original program Consider: Master Transmit/Slave Receive My program...

View Article

Problem with powering STM32L432KC Nucleo from external source

If I power it through the USB cable, everything works fine, but if I power it through the 5V pin, with a 5V supply, the behavior of the controller is not normal. Someone suggested me (and what I see...

View Article

8x2 LCD display I2C MCP23017 connections and code help.

I am trying to use an LCD display with my MCP23017 IC and Arduino UNO Rev 3 board but I can't find anything about the appropriete connections. The A0 , A1 and A2 pins of the MCP23017 are all connected...

View Article


How to debug multi-threading problems

Hi everyone. we had performed a project with discovery f746 board that within it there just was a GUI task to run emwin functions. Another functions(such as reading and writing in sd card by fatfs ,...

View Article

my ds1307 module drift too much ...?!

hi, i am trying to use the following DS1307 module with arduino.. View attachment 158332 i am using spark fun arduino library and i test the demo code in library.i set the rtc to pc clock with 1 sec...

View Article

Measuring Voltage between Neutral and Ground, Earth

Hello All, I am trying to design a controller which can measures voltage difference between Neutral and Ground. Very low information I found on Google and on AAC regarding this topic. Here is my...

View Article


How to expand output of pot

Hi All, I am trying to build an Arduino based R/C transmitter for model aircraft. Got everything working, but have a small problem with the control pots on the sticks. They are 5k pots, but only a...

View Article


how to toggle the pwm output OCnA OCnB respectively

i'm working on atmega328p project. i use fast pwm at the 16 bit timer. so i want to output 2 pwm at OCnA and OCnB. both of them have a same top value and same OCRnA and OCRnB. does anyone how i can...

View Article

Zynq-7000 SoC FPGA board with ADC .

I am currently using XLINX Zynq-7000 SoC FPGA and want to use this adc :ADC0808-N http://www.ti.com/lit/ds/symlink/adc0808-n.pdf the problem is that i need to connect the pins of the adc to the fpga...

View Article

PIC18F458 (main and ISR flowchart)

Can someone help me to come out with a main program and ISR flowchart of this circuit below (pic18f458), it is about a car system, with start engine, stop engine, lock door, unlock door and alarm...

View Article

cant really understand what does this circuit does

hello I am learning fpga and In my book there is this block diagram : and the wave form also . from what I undestand this find out when din gets '1' and then dout shows pulse of 1 cycle . is it true ?

View Article


send CTRL+Z from UART

Hello All, I am using Quectel's BG96 module to send data to some cloud services using MQTT Protocol. 'Quectel_BG96_MQTT_Application_Note_V1.0' is documented well and I am following the same. According...

View Article

Image may be NSFW.
Clik here to view.

Call for help on Indexing keypad entry.

Hi everybody , I'm trying out to program a pic 16f866. I want to display the two digit numbers, that entered by the user via keypad, to display on a 7-segment, the two digits will display one digit...

View Article


PLC's becoming Smarter - IDEC

PLC's are no longer just a logic representation of Ladder Logic, they have been evolving and the latest Idec looks interesting. BACnet/IP now available MicroSmart FC6A Plus CPU exceeds the competition...

View Article

Arduino Project wifi module esp-14 configuration

hi, i want ti configure an wifi module esp-14 with arduino using AT commands but it doesn't work i don't know where is the problem.To the arduino serial monitor it is written that the wifi shield is...

View Article


using C++ on a 8 bits MCU

Hi guys What's your thought on using C++ on a 8 bits MCU, I see more and more reasons to use C++ because you can write an object. With the advancement (my assumption) of modem compiler, is it a good...

View Article

Raspberry Pi and PWM

Hello, I've heard that PWM from raspberry is not so "good". I really don't know if it's true or not. Is the Pi good for controlling the speed of a small DC motor? I would like to control the speed a...

View Article

Cortex M0, STM32, how to store samples every time they change in ADC and...

Development kit:- STM32F0 discovery debugger : St linkv2. IDE: keil Sensor:http://www.pcb.com/products.aspx?m=601a02 I would like to transfer the data coming to ADC to DMA and average the data...

View Article
Browsing all 4921 articles
Browse latest View live