Quantcast
Channel: Microcontrollers
Browsing all 4923 articles
Browse latest View live
↧

Need advice on advancing from Arduino boards

Hello Everyone, After several projects with my arduino uno and mega, I think I am ready to move on to more advanced embedded systems programming with C/C++, such as with Arm cortex based...

View Article


STM32 SPI not operating - unable to determine error in code

Hello, I’m hoping someone could help me with my code. I am trying to run SPI on a STM32F407VG discovery board without using cubemx and shifting registers mostly. When I look on an oscilloscope, the...

View Article


How to generate a 60 Hz current using a microcontroller?

Hello, How could I generate a 30 mA 60 Hz current signal using a microcontroller that has a DAC? Is this possible?

View Article

How to search

I need an embeded system for real time application, which one do you recommend?

View Article

Light-link system tester

I'm building a prototype (I love Vector BOARD point to point wiring with 30 gauge wire) life-extension tester box for some old equipment (with few good spares) with sometimes marginal reliability from...

View Article


Interfacing GSM sim900 with Atmega16 problem.

shubh agrawal said: Right now I am trying a simple code of calling by GSM sim900 using atmega16 MY SETUP:Rx and Tx pins of atmega board are connected to Tx and Rx of my GSM modem and also to my uart...

View Article

NodeMCU & Ultrasonic Sensor

I wish to interface an ultrasonic sensor with 5V operating voltage to a NodeMCU 0.1v. I read somewhere that i need to make a voltage divider so that the sensor doesn't give 5V directly to the...

View Article

Pulse wave in a coax.cable help.

hello, @nsaspook im working on pic18f46k80 ,for measuring time of a pulse wave in a coax.cable for that can you help with a code Mod: Created your Thread, link to old....

View Article


Simulate MPLAB USART 16f886/7 query.

Following microchips example of injecting with a message file, but attempting to alter a little as such... Code: wait 30 ms "0x05" wait 2.5 ms "0xfa" wait 2.5 ms "0x05" wait 2.5 ms "0xfa" wait 2.5 ms...

View Article


What does CASE actually mean?

Hi, I'm programming (Well mostly someone else is programming) PICs and I keep coming across CASE I can understand English words like FOR and NEXT but when it comes to CASE, it doesn't sink in. Can...

View Article

Image may be NSFW.
Clik here to view.

Using PIC Comparator to Monitor Battery [SOLVED]

I plan to use an internal comparator on a PIC16F1789 (http://ww1.microchip.com/downloads/en/DeviceDoc/40001675C.pdf ) to monitor the battery. Battery will be a single cell Li-ion. LDO regulator is set...

View Article

Raspberry PI multiple sensor network idea help

Hey. I have some programming and hardware experience and I have been thinking about this idea for a while now! I would like to make a project for my house where I have multiple temperature sensors in...

View Article

DMA, TIMER and DAC on STM32 with CubeMX

I recently asked a question about a failing sample of code I put together, sadly that thread descended into bickering and I bear much of the blame for that. Anyway I discovered the problem, it was that...

View Article


Switching between two 5v/3a USB power supplies, with little to no delay

Hello, I am currently building a raspberry pi 4 system that will be placed inside a vehicle. What i want is that whenever the car is on the raspberry will receive power from the car charge port using a...

View Article

JTAG or UART help needed

Hi I am hoping someone can help me with this... (it is a DIY project more than anything else) I purchased a robot vacuum cleaner last year and it was working well until about 1 month ago when it lost...

View Article


Microchip RN4020 Bluetooth LE

Anyone have experience using the RN4020 module? Any hiccups or anything to be aware of? Also, it is my understanding that, as long as you use the module unmodified, no addtional FCC testing or...

View Article

Arduino nano sketch wont validate/wont upload.

Hi Folks, I'm trying to use a sketch (not my work) to control a high speed flash however when I try to validate it I get the error message: 'reading' was not declared in this scope. A certain amount of...

View Article


How to iterate an enum?

I don't think that is possible in standard C (PIC & XC8). I was trying to use an enum so that any out of range item would generate a compile time error but in another part of the program I want to...

View Article

18F4431 Oshonsoft 360 DEG/REV compass Incremental encoder problem

Hi, I'm trying to get a compass Incremental encoder to output 360DEG/REV on an 18F4431 programmed using Oshonsoft. The IE outputs 0 to 359 4x/REV. This is using the 18F4431 QEI hardware. Any ideas...

View Article

PIC24FJ64GA002 Microcontroller Output Compare and Timers button pressing

Hi all, I am having trouble implementing a program to detect the double-click of a button in order to move my servo to the left, waiting 2 seconds until it is moved back. I am using the output compare...

View Article
Browsing all 4923 articles
Browse latest View live