Quantcast
Channel: Microcontrollers, Programming and IoT
Browsing all 1271 articles
Browse latest View live

Help with code.

Hi, all. Can anyone help with the following code, please. I copied this code and adapted it for use with a 14m2 in order to use it with a 3x4 keypad to switch on a relay to deativate my alarm. However,...

View Article


detecting a knock pattern

Hi everyone, I'm looking for a way to detect a knock pattern. something like: toc----toc---------------toc Getting the 'toc' shouldn't be a big problem: I'm planning on using a microphone or a piezo,...

View Article


Converting int to string - C Programming

Hi Guys, How can I convert an int to a string using C programming Hi-Tech Compiler? I am using an ADC pin on a pic to measure a voltage, but need to convert the value measured to a string before I can...

View Article

Dynamic FFT in VHDL

Hey everyone, I've been trying to find a way to implement a dynamic FFT function that can be configured to take different numbers of inputs with the number being a multiple of twelve. To this end, I am...

View Article

Rotary switch - detect which connector??

Hi all I want to attach 6 sensors to a 6 connector rotary switch. Each sensor will go to the same ADC port of a PIC16f690. I want to know which sensor is feeding input to the ADC pin. Can anyone think...

View Article


code for running 2 relays using 2 push buttons

hie , i would like to control the energizing and DE-energizing of two relays using push buttons and displaying information on an LCD .. using PIC16F877A iv attached my hex file and Proteus circuit

View Article

95020WP and 95128WT

Hi all, Im brand new to this forum and electronics in general. I have two devices - 95020WP and 95128WT. I need to start by making an entire copy of their contents before proceeding to edit or copy...

View Article

Code needed for PIC16F684 to control LED's

I am trying to put together a circuit that has 3 buttons for control. Button 1: Power on/Select output Button 2: Enable output Button 3: Power off Each output needs to oscillate the same bank of LEDs...

View Article


Reading Temp from DS18B20

Does anyone have some example code to read temperature from a DS18B20 or similiar device, in Hi Tech C?

View Article


Image may be NSFW.
Clik here to view.

help me using Serial Peripheral Interface with AVR..

i have some trouble to interface ISD1760PY (soundrecorder IC) with AVR through SPI communication.. i've do some search in google to find some literature that provide information about SPI interfacing.....

View Article

Ohm resistance controller

I'm looking for a simple ohm resistance controller that will actuate a servo or linear actuator, as in a cruise control system controller. A simple on/on which also acts as the "set" function, is all...

View Article

Micro Choice for RC Tx & Rx Circuits

Hi all, Apologies in advance for the slightly vague question but I just want to gauge whether the choice of micro for this project is going to be a problem or just the normal work-to-be-done. Long...

View Article

µC - Temperature Sensor DS18B20

Hi all, I'm really stuck trying to get my code to work and read temperature from the DS18B20. After I've parsed the temperature reading I seem to get 0b01111111 in whole degress C. I used this website...

View Article


Brown out detection for Arduino mega 2560

Hi everyone, I read in the datasheet that the arduino mega has a brown out detection. (datasheet: http://www.atmel.com/images/atmel-2...r-atmega640-1280-1281-2560-2561_datasheet.pdf) But i was...

View Article

Reverse engineering a hoverboard (with wheels) accelerometer

Hi I'm trying to transform a hoverboard into something more useful. I'm trying to understand the signal that comes out of the accelerometer board, in order to simulate the same with an arduino and...

View Article


Arduino momentary input to turn on consecutive outputs

Hi guys, I would like some help writing a code for Arduino. Here is what I want to do: When a momentary input is detected, an output (LED) is turned on and stays on. When a 2nd input pulse is detected...

View Article

final embedded system product for production

Dear, I put a lot of effort to find out what I am going to ask but had not success. Besides this forum I searched through http://www.electro-tech-online.com/ and http://www.allaboutcircuits.com/ too...

View Article


Complete noob having a hard time understanding a couple things

Hello I have recently caught the electronics bug and have been working on a couple of fun projects such as CNC's and LED lighting projects. I have mainly just been following other people's tutorials so...

View Article

spice model

dear sirs i am using simulating apps to place a component ( LM2577-ADJ ) I could not find this component in library of app to create this component i need features from datasheet of ( LM2577-adj ) one...

View Article

USB DUAL CDC Endpoints for transferring data

I have emulated two Virtual COM Ports (VCP) with only one USB Device. I can send data in one VCP that has the following Endpoint Address. #define CDC_IN_EP 0x81 /* EP1 for data IN */ #define CDC_OUT_EP...

View Article
Browsing all 1271 articles
Browse latest View live