Issue calculating timer value for PIC18F27J13
I am having a strange issue with calculating the timer value of a PIC18F27J13. This chip has the capability of setting the timer with one 16 bit write. Which I have enabled. T3CONbits.RD16 = 1; //...
View ArticleMachine vision systems
I have a background in electronics and I am comfortable with a programming language. I want to make and sell my own product on the market. there is a lot demand for Vision system in my country I am...
View ArticleWhat are software and hardware requirements for a embedded system mounted on...
What are software and hardware requirements for a embedded system mounted on a rifle scope? I need to specify detailed image processing and graphics overlay requirements for state of the art rifle...
View ArticleSound frequency/pitch problem PIC16F877
I successfully made a Piano circuit work on PIC16F84A using assembly language. When I wanted to move it over to PIC16F877 (changing the configration of course) , when clicking on the keyboard, the...
View ArticleVHDL N-Bit Interleave explanation?
Hey guys, So I've got a simple component that manipulates two std_logic_vector inputs into one. Code (Text): entity interleave is generic ( N : natural := 4 ); port( A : in...
View ArticleAC/DC Power Supply for Micro Nano reading Flow Sensor Via ADC
Hi All, I'm using a NANO board with a ATMEGA328p to translate a linear voltage output from a flow sensor. Its a very simple implementation that reads the ADC pin and creates a calculated pulse signal...
View ArticlePIC24FJ128GA610, ADC, need help
Hi guys I am trying to use the ADC in a PIC24, there are a few new register (AD1CHS and AD1CSS) that I have no idea what they do. And as you may guess, my code doesn't work. What have I done wrong??...
View ArticlePlay Sound through Serial communcation (from Laptop) on speakers connected to...
Hi, I am working AD5669 which is connected with Arduino and can convert the digital values to analog values I do have a speaker also and I need to know, whether it is possible to connect the speaker...
View ArticleMPLAB and PIC16F877A error
I am trying to interface lcd 16*2 and I have MPLABx IDE V4.15 (xc8 compiler ) and I have PIC16F877A I am following link here https://electrosome.com/lcd-pic-mplab-xc8/ Code (C): #define...
View ArticleMax3232 to Max3232?
I am scratching my head on this one... A little back story: I created a python application that utilizes pyserial and runs on a BeagleBone Black that communicates with a proprietary device that has a...
View ArticlePID controller for an Infra-red heater
Greetings everybody, I am working on a simple infra-red heater projet, bassically the circuit uses a Zero-Crossing signal to control the firing of the triac, I can properly control the AC voltage...
View ArticleSECS-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 Articlehi, ineed this code work on pic by making input/output proportional to rpm...
Code (C): #include<math.h> #include<stdio.h> main() { /* prints a logarithmic vertical axis (abcissa) */ int step[]={7,4,3,3,3,2,2,2,1,1}; int...
View ArticleBlueTooth keeps sending hex 80.
Hi have this code, and it works partly, but it allways sends the Hex 80. around every 2-3 second. HC-05 and PIC 16F690 If i send a command to PIC, it return what i ask for, so connections is working,...
View ArticleHard Drive POV Clock inconsistent RPM issue remains
So I pretty much have my clock working but it is not working 1t 100% the way I want. I still seem to be getting an inconsistent RPM reading. Though it is vastly improved. Previous versions had much...
View ArticleTimer0 problem with PIC16F1716
Hi all I want to be able to create a 1ms delay using timer0 and have tried the below code. Code (Text): #include <stdio.h> #include <pic16f1716.h> #include <xc.h> #include...
View ArticleanalogRead problem with Atmega328
I am designing a control module for RC aircraft and I have to monitor battery voltage in addition to other tasks. I have truncated the code which is too long to post here. I have a function called...
View ArticleReduce Relay Arching or Sparking using programming ?
Hello ,AAC Community I am working on Automatic voltage Controller Project the major issue i am getting is how to reduce sparking at high voltages. I have tried using zero crossover but nothing...
View Article