SPI Interface Circuit to drive LEDs. Need help with wiring components from...
Hi there, Im building a wireless DMX transmitter and receiver system for controlling DMX Lighting. I'm using W-DMX Wireless PCBs and the section ive hit a speed bump with is the J3 header that uses SPI...
View Articlepic 16f877A this code not working
help on this sbit LCD_RS at RE0_bit; sbit LCD_EN at RE2_bit; sbit LCD_D4 at RD4_bit; sbit LCD_D5 at RD5_bit; sbit LCD_D6 at RD6_bit; sbit LCD_D7 at RD7_bit; sbit LCD_RS_Direction at TRISE0_bit; sbit...
View ArticleIf MCU is missing oscillator components, could it still be programmed?
I'm trying to diagnose a failing board here at work, and I can't figure out what's going on. When we connect our pin programmer to the board, it takes a program just fine, communicating back and forth,...
View Articlehow does I2C program work?
I don't understand how does I2C program work I2C is a serial communication protocol. it is basically two-wire communication protocol.It uses only two wire for the communication. In which one wire is...
View ArticleHow to display number on LCD through user input
previously I learned how to display message on LCD screen. Now I want to increase complexity of program. I want to make program for following condition if button 1 pressed than display number 1 on LCD...
View Articlecan anyone help with ds3231(rtc) + 24c32(eeprom)
hello everyone, i am trying to interface at24c32 eeprom which is given with ds3231 rtc module. here is my twi.c file Code (C): Â void Twi_Init() { Â Â TWSR=0x00; Â Â TWBR=0x46; Â Â TWCR=0x04; } Â void...
View ArticleAutomatic Power Factor Correction using Atmega16
Hello experts guys ! i m working on the project "Automatic Power Factor Correction using Atmega16". I took current sample from resistor (schematic attached) and provided this sample at PAO of Atmega16...
View ArticleFlash an LED 10F200 Tutorial
Baseline PIC Assembler, Lesson 2: Flash an LED Page 9 In lesson 1, we made GP1 high, and left it that way. To make it flash, we need to set it high, then low, and then repeat. You may think that you...
View Articlebuck converter using atmega328p
Hi all I have recently planned to install solar panels at my home.I have planned to make the charge controller myself.I planned to be it as MPPT controller.For the controller,I will use atmega328p.It...
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 ArticleHaving problem with writing eeprom memory
I am trying to write atmel at28c256 on breadboard so I tied all address lines to ground, and all I/O lines also tied to ground. I untie I/O lines for reading, tie 'WE to high, 'CE to low, and 'OE to...
View Articleunable to toggle a led on port pin using interrupt, went through code & can't...
trying to use interrupt on port pin to toggle a led & when i run the code the led stays on , i increase the counter to 50 & the led stays off i can't seem to figure out whats wrong in the code...
View ArticleIssue in BLDC motor
Hello All, Again, I need one more help on the sensored BLDC motor. I am developing a driver which is having max current protection 20A. The motor is driven on 12V and 24V. The motor is 3 phase BLDC...
View ArticleExtend SPI bus between Arduino Due & FLiR Lepton
View attachment 131791 View attachment 131792 I have got the example code shown below by Josep Bordes working fine using the Arduino Due to interface the Thermal FLiR camera using SPI & I2C...
View ArticleNeed Help With Displaying ADC Value on (four)7 Segment Display.
Hello Everyone, i am trying to interface adc(using a potentiometre) using atmega8/atmega32 and show the analog value on four 7 segment displays. in the begining i tried to interface it with lcd and it...
View ArticlePWM using controller
Hello All, I am working on one project which requires following condition. Analog voltage and PWM on same pin of microcontroller. Does it possible?? Currently I am using one pin of microcontroller. If...
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 ArticleCharging 3.7 lipo Battery and using it the same time.
Hi. From the diagram shown here, I am trying to provide an alternative power supply for my esp-12E using lipo 3.7V battery. But i noticed that after adding the 3.3V regulator to the design my voltage...
View ArticlePic16f688 Programming
On my other other post about temperature sensors I forgot about using Pic Micro-controllers with seven segment displays. I found this schematic in which it tells me to use a Pic16f688. How would I...
View Article