LEDs Test
Hi I have total eight LED's and I want to turn on each LED one by one for 1 seconds only. I have connected all LED's at port D Here is connection information, black is ground and all wires are coming...
View ArticleMoving beyond Arduino, looking for a good HAL
I've been doing a bunch of microcontroller projects over the past few years, on a variety of different microcontrollers. I've primarily been using the Arduino environment to do so, but there are a...
View ArticlePIC32MK MC QEI example
Needed to build a tester for some high resolution QEI encoders. The speed and number of counts per revolution favored a hardware motor control solution for the A/B/Index signals vs a software solution....
View ArticleControlling passive buzzer
Hi, I want to turn on/off passive buzzer for 2 seconds time. Buzzer detail given here https://www.thegeekpub.com/wiki/sensor-wiki-ky-006-passive-piezo-buzzer-module/ I followed given link and wrote my...
View Articlepic 12f508 GP2 no output
i bought some new pic 12f508 chips for a project and found that i could not output on pin 2 , i have looked on various forums and tried all the answers i could find but none worked , i have included...
View ArticlePIC 18F family - CORDIC division algorithm: dividend (up to 48 bits) /...
Ego massage mode maybe but based on genuine interest. I recently became aware of the so called CORDIC division algorithm thanks to a post by member @cmartinez which brought me to this site. If I recall...
View ArticleTrying to get ARDUINO prog to work
Trying to get this Arduino prog to work, doesn't move. It controls 2 motors using an Arduino motor shield
View ArticleWhy isn't high side digital output stable?
Our Advanced Drive Assist Systems(ADAS) project is based on Renesas RH850/U2A16 microcontroller. We are using Infineon Technologies TLE75620-EST, SPI Driver for Enhanced Relay Control IC for driving...
View ArticleWhat is the purpose of Failure Mode and Effect Analysis ?
Our embedded controller is Advanced Drive Assist Systems(ADAS). It basically has Two software layers. Application software and low-level software. Our controller has many low-level functions such as...
View ArticleRemote 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 ArticleDesigning PI controller anti-windup
Hello everyone, I am having some doubts about how to insert an anti-windup on my Microcontroller PIC dsPIC33EV. I designed a PI controller to control the charging of a batterie and I think all expect...
View ArticlePIC 18f25k80 & LCD Display
Hi all, i am using pic18f25k80 to receive adc audio signal at pin 2(Adc Pin) and want to display the audio range in LCD Display(VU Meter). I dont no how to start write a code for this. my VU dc ranges...
View Articleargument of arduino microsecond delay
hi all, I have no problems when entering a constant into the argument of a delay function. but when I enter a variable I can't get any result at all. Here is an example of what I mean. digitalWrite(11,...
View Articleunderstanding state table of I2c in EFR32FG14
Hello , in page 494 of reference manual we have the table bellow. I cant understand the dynamics of the columns of the table. what causes what in here? We have the state register the IF flag register...
View ArticleMethod for checking TXBL flag
Hello,While we are sending data TXBL is zero,onle the sending is done TXBL bit goes 1. Can i check the 4th bit in this way shown bellow? Thanks. Code: while(I2C0->IF[4]!=1){}
View ArticlePIC 8 Port Settings
Hello I have a general question for Port pin initialization. We set PORT to low or high using the PORT or LAT register Sensor connected to Port B Pin 7 Led connected to Port C Pin 7 If I set PORTB = 0;...
View ArticleOld 8085 Code
While I have gained *some* experience in microprocessor code development over the years, I claim no expertise in it. I'm fairly certain I know the answer to this question, but I have been surprised in...
View ArticleSquare wave frequency meter /Interrupt not occur
I am New to Program... Interrupt not occur and also always LCD display shows "out of Range" i am using PIC16F723A C: #define _XTAL_FREQ 16000000 #define RS RC0 #define EN RC1 #define D4 RC2 #define D5...
View ArticleChoosing a microprocessor for my "exergame" project
Hi, I could use a bit of a general guidance choosing a microprocessor for my project. It's not a school project or anything, but a personal one. I already made it with arduino, now I wanna try to make...
View ArticleHigh quality audio recording with MCU
Hi everyone. I am something like a musician, but I also like to experiment with electronics a lot. I own a BOSS looper pedal, but it kinda doesn't fit my needs as well as I firstly thought. Recent days...
View Article