Where do you set break points in source code
I am looking tips on breakpoints in code debugging. Breakpoints are one of the most important debugging techniques to solve the problem For example, in the following code Where do you set break points...
View ArticleSelecting Between I2C and SPI for Your Project
Hello everybody. I am not working any project I am just asking for my doubt. I was wondering if you could help me with Choosing between I2C and SPI for a Project For a example let say We have...
View Article2nd Set of eyes needed for SST26VF064B code that is not working.
Hi All! Thanks for taking the time. I am working with the SST26VF064B serial external memory and trying to get it up and running but seem to be having some difficulties. I am programing a PIC18LF26K22...
View ArticleUsing BTLE sensor together with uC (e.g. Arduino)
Hello, everybody, I would like to have a polar pulse chest strap with a uController-Board (e.g. Arduino Uno). The belt has Bluetooth Low Energy. Unfortunately I can hardly find anything on the net...
View ArticleData Speed between PIC16F877A and other devices
Hi, I done a project to interface the PIC16f877a and PC via uart . I can send data to Laptop and I can receive data from Laptop. I do not understand one thing in the experiment What would be the data...
View Articleusing timer 2 on atmega328
Hello there, i would like use timer 2 on avr, but i probably made somewhere a mistake or avr is faulty becouse i am getting square wave about 95%duty cycle. I already succesfully used timer 0. I should...
View ArticleUSB device and it's Programming
Hi there I do not have clarity on USB protocol. I am looking information on USB device and it's Programming. Let's consider one example if I want to make a communication between microcontroller and PC...
View ArticleConfused on protocol and interface
I am confused by these three issues: interface, standard and protocol, I am trying to understand their difference and want to discuss them here. Based on my understanding, interface determines hardware...
View ArticleAnalyzing vibration using machine learning.
Hi, I would like a few suggestions on an idea that I have - I am trying to make a musical instrument (percussion), whilst just having a PVC disc. I am hitting the disc in a variety of styles (in order...
View ArticleHelp write arduino code to power inverter with feedback code
help write arduino code to power inverter with feedback code
View ArticleReceive packets and read routine ENC28J60
I am using an ENC28J60 Rev 7 (REVID = 0x06) with a TI CC1352P microcontroller. Trying to transmit and receive ethernet packets between the MCU and my computer. I was able to transmit packets from my...
View ArticleInterfacing weight sensor with pic microcontroller
Hello, I'm trying to interface weight sensor and of 20th and weight module HX711 to pic16f690 Using 5v as Vref and 2mV is what the 20Kg is said to give out I don't really know how to go about the...
View ArticleFinding intermittent faults in PIC PCBs OSHONSOFT
Hi, I have a PCB, with 2x PIC on, 18F4620 and 18F4431. The 18F4620 has SPI peripherals: Altimeter, Compass, Radio and Screen. Also is an incremental encoder on 18F4431 connected via software serial I'm...
View ArticleSIP protocol to control embedded devices
I have looked over internet for SIP, Session Initiation Protocol (SIP) is a signaling protocol used for initiating, maintaining, modifying and terminating real-time sessions that involve video, voice,...
View ArticleFire protection system & interrupt
In the code, system is doing so many tasks such as controlling house lights, running the motor, monitoring temperature, controlling AC ans doing number of task's C: main(void) { /* initialize all...
View Articlerequest - solution/schematic/hex
Hello, If this is posted in the wrong section please correct me. Would like a solution to a little project i'm working on : I need a circuit ( using a 12F629 ) that will get powered with 12v (from a...
View ArticleDifference in controllers
Hi all, I made a circuit to dim 54v DC LED using PIC16f and Atmega 328 controller. In both all IC's and components are same except the microcontroller and in coding both i maintained frequency of...
View ArticleNeed a way of reading and writing CAN messages to and from a pcb
Morning all, I have been tasked to create a GUI in C# that can read and write CAN messages from one of our products. The CANOpen system is implemented on the product with an ARM Cortex microcontroller....
View ArticleAC Current Sensing using UNO
I am using a Current transformer to measure current from a source. Irrespective of the current i get knowing that i cannot give more than 5V to the Uno, i want to sense the current. I do not know how...
View ArticlePIC with 16MHz crystal or X4 PLL and 4MHz crystal
I need a stable 16MHz clock for a PIC - constant frequency more important than accurate frequency. I have the choice of using a 16MHz crystal or a 4MHz crystal with the X4 PLL in the chip. Which should...
View Article