[AVR Interrupt] push/pop or temp register
Hi, Is it better to use push/pop to save/restore SREG or a general pourpose register ? What is different about the two Thanks
View ArticleATmega32a ADC is not working
I have been trying to get analog data from the sensor and convert it to digital using the ADC pins of the ATmega32a. The code is working fine with the simulation, but when i run the same code on...
View ArticleAD8232 ECG error in readings
Hello guys, I am using AD8232 ECG module in which it is connected to arduino uno in the following connection AD8232-ARDUINO output-A0 LO- - pin 10 LO+ - pin 11 Vin - 3.3 V GND - GND SDN- not connected...
View ArticleHow do I read the data from Line Sensor Breakout - QRE1113 (Digital)?
Hello everyone, I bought this off of sparkfun by mistake, I meant to buy the analog version, however I don't have time to return it and wait to get the other version so I need to learn how to get the...
View Article[AVR] about Stack pointer
Hi, Since the size of the stack pointer depends on the amount of data memory a microntroller contains I want to understand what happens when stack pointer meets user's data in SRAM If it's true that SP...
View ArticleWhere to Start?
Been a member of AAC for a while but first time in this section. So I do a lot of automotive work and I would like to know more about coding and how to understand what happens to sensor signals as they...
View ArticleErrors while compiling avr asm program with avr-gas
I am new to avr asm programming. I have written a small program in avr assembly. I am targetting the attiny2313 chip. Here is my code: avr.s: .org 0x00 jmp main add: ldi r16,1 ldi r17,2 add r16,r17 ret...
View ArticleProblem in programming a MSP430 MicroController
Hello , I'm using MSP430F5131 Microcontroller of TI. I also use a MSP-FET Emulator in order to program that device. i have written a code in Code Composer Studio (Defined the properties of CCS's...
View Articlegenerating few delays using timer 1
void Interrupt(){ if (TMR1IF_bit){ TMR1IF_bit = 0; TMR1H = 0x0B; TMR1L = 0xDC; sec2++; sec3++; sec4++; } } whenever i use those variables to make a different delays just 1 delay works only,ex.if i made...
View ArticleUnable to use CMSIS library in Atollic
I am trying to use CFFT function for my STM32 microcontroller in Atollic TrueStudio. But I am unable to use any of the DSP functions. I get the error - undefined reference to `arm_cfft_f32' and...
View ArticleGUI simulator for avr based microprocessors
Hi. I want to know if there are any GUI simulator available for avr based chips. By "GUI", I don't mean "simulator with GUI interface" but I want a simulator that can simulate things like "Blinking of...
View ArticleUnable to burn program into microcontroller P89v51rd2
Hello, Firstly sorry if this issue is not a new one. I have got a development board for P89V51RD2 and I bought usb to serial converter cable. i am trying to burn a program into P89v51rd2...
View ArticleIR emitter doesn't work on 3.3v arduino mini pro but works on 5v one
Hello guys so I've been experimenting with IR emitters and I have encountered the following problem. Basically my IR emitters work on any Arduino I have except for the 3.3v mini pro. At first I thought...
View ArticlePICAXE Programming
Is there anyone there who can do some simple programming for a dumb/old person?
View ArticleMPS20N0040D-D sensor not working properly
I am using MPS20N0040D-D sensor for drowning detection application by attaching a pipe on the nozzle of the sensor. The other end of pipe is submerged in the water. Theoretically, the value of the...
View Articlehyperstone controller + flash
Dear All, I have a problem with some single board computers with Hyperstone F3 / F4 controllers on it. This controller is connected with 2pcs NAND memories that I would like to replace with brand new...
View Articlesend CTRL+Z from UART
Hello All, I am using Quectel's BG96 module to send data to some cloud services using MQTT Protocol. 'Quectel_BG96_MQTT_Application_Note_V1.0' is documented well and I am following the same. According...
View ArticleCan I use a 5v Arduino Uno as ISP to program 3.3v Pro Mini?
I have been able to do this previously with a 5v Pro Mini, by simply connecting pins 11-13 (MOSI, MISO, and SCLK), Vcc, and GND on the Uno to the same pins on the Pro Mini, and pin 10 on the Uno to...
View ArticleHow do I tell if a PIC is working?
Hi, I've made a PCB with a PIC controller. I've added two LEDs as indicators, but they don't flash as expected. Voltage applied to the PIN turns LEDs ON. The PIC programs and verifies ok. How can I...
View Articlekeypad interface problem
i want to interface keypad 4*5 with pic microcontroller pic 16f877a i dont know how. thanks forward
View Article