Accelerometer and PIC connection
hi i am new to PIC and Accelerometer. i bought this ADXL335 3 axis accelerometer, but i read through the datasheet i dont understand how to use it. i want to know what kind of output i will get and how...
View ArticleQuestion about the differences between AVR and Arduino code instructions
Hi I am new with micro controllers. I would like to know if we can use the same exact C code from an Arduino to program an AVR micro controller from AVR Studio? Do they use the same C language...
View ArticleAny comments on my design ?!
Hi All, I'm going to build a circuit to control the on time of water pump. here is the schematic View attachment 133639 and the pcb layout View attachment 133641 top View attachment 133642 bottom View...
View ArticleCar battery monitor,
View attachment 132800 Hi all, Can i change pic16f877a with the same hex file from pic16f1827 and 4 digit seven segment common cathode to (anode chatode,ca) for this circuit, how
View ArticleProblem of scrambling on mpu6050 arduino brushless motor
hello, I have a project of balance when I used brushless motor ; esc , arduino and mpu6050, the problem is that the signal of the mpu is scrambling just when the motors turn on, Please whats the...
View ArticleHow to get from XADC to PWM?
Hi, First, I should say that I am just an FPGA starter. I have an Arty board and I have installed vivado and I am running VHDL codes that generate PWM signals. However, the main goal is to read...
View ArticleC Program to Find the Largest Number in an Array
Hi I was just reading about array chapter. I want to use array in program. I tried to write c program to find largest number in array. I saw some programs on Internet but I didn't understand because I...
View ArticleTraffic Light using Arduino and 4 7-segment counter
Hye, i'm currently make a traffic light for my final year project and i hv seem to stumble into few problems. First, the traffic light working perfectly for 4 junction and each junction hv a 7 segment...
View ArticleThe Code Used in PIC18F66K80
These code have tried in the STC and it can show normally.However,I can’t understand why it can be used normally in the PIC18F66K80. ( the PIC18F66K80 PDF ) I need to emphasis that the compile is no...
View ArticleArduino Uno problem
Hi I would like to know how can I know if my Arduino UNO ATmega328 is working properly because I can't upload a code on it? When I plug it on a computer I see the light of the ON led and the L led...
View Articleinterfacing the trimpot with ads1115 using Arduino mege
I tried to interface ads1115 using arduino and read the voltage of 10K poteniometer from serial monitor. i got the error like this Sketch uses 5782 bytes (2%) of program storage space. Maximum is...
View ArticleOld Foggie seeks guidance on current MPU's, Programming software...
Hi all, As stated, I'm a 50+ year old "techie" whose passion has been electronics all my life, yet never had the resources to delve deeply into it other than in a casual interest. That said, in my days...
View ArticleDesigning a simple alarm circuit using microcontroller
I am designing a simple alarm circuit using PIC12F629 and I need advise from this forum of experts on how I could accomplish and fine tune the circuits. The alarm input set the GP0 High and flashes an...
View ArticleWhere can I get displays like these ?
I am going to make a stabilizer. I want to know where I can get displays like these ? https://i.imgbox.com/f1GpHhw8.jpg
View ArticleAre the signals ok ?
I am designing an Inverter. It will have 3 modules viz., SMPS Battery Charger DC-DC Converter Full-Bridge Inverter It is for a 350W Inverter. 12V 50Ah Battery is used. Battery charging current is 5A...
View ArticlePIC 12F509 Lesson
On Lesson 3 of tutorial. Big news is. Have option to switch over to C language after this lesson. I think we will do that. Okay.Have gotten through Banking and Paging. Next is subroutines. Will post...
View ArticleError message trying to send a value through bluetooth (ardunio)
I'm having problems reading the analogue pin and sending the value through Bluetooth to my LCD. can someone tell me whats wrong please, thank you very much. This is the code for the master device Code...
View Articlepass by value and pass by reference
Hi all In c we can pass the parameters in a function in two different ways. 1. pass by value 2. pass by reference pass by value Code (Text): void PassByValue(int value) { // code } pass by...
View ArticleImplementing PSK using Atmel Microcontroller ?
Hi every body. I have a question. i have uart serial frames every 10 ms i have to check each frame according to some rules and then this frame will be sent as a 50 KHz psk signal can i achieve this...
View ArticlePIC18F4620 Programming Example in C
Heh Guys. I am programming a PIC18F4620 Microchip Microcontroller in C. I am using a third party programmer (futurlec) and the MPLAB IDE and C Compiler from MICROCHIP (both free). Anyway I was...
View Article