Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [thread]

The tag has no usage guidance.

0
votes
0answers
81 views

OSError: [Errno 121] Remote I/O error or pigpio.error: 'I2C read failed' on MPU6050

So I use MPU6050 to get acceleration from stepper motor linear rail movement(steper motor working in thread, I use pigpio for the motor) by make the MPU6050 can work on threading and it can show data ...
0
votes
1answer
56 views

Mesh Thread network using Sub-1GHz

I want to implement a Mesh Thread network on Sub-1GHz especially on 868MHz using the Semtech's SX1276 as a radio chip. I bough two modules to do some tests. I'm trying to find out how these kind of ...
0
votes
2answers
243 views

FreeRTOS - Potential issues with Periodic Tasks

Suppose Task 1 has the highest priority of all tasks, and is run periodically using vTaskDelayUntil(). Task 2 has a lower priority, but is also required to run periodically in strict time intervals. ...
4
votes
2answers
1k views

Do microcontrollers support threading?

It has been a while since I took "Embedded Systems" course where we studied "Super-Loops", "RTOS", Semaphores, Multitasking (cooperative vs premptive) so sorry for this question. We have an an ...
6
votes
4answers
2k views

Multithreading on AVR

If I have an AVR micro controller and have an ISR coming up about every 100 micro seconds or so, can I change the stack pointer in the ISR and then fake multi threading? Psuedo code: ...
1
vote
1answer
82 views

Electrostatics - Calculating the vector of electric field

Most of the problems I run into while studying electrostatics are ones regarding a charged thread for which I need to calculate the vector of the electric field. The thing that is confusing me is how ...
16
votes
6answers
5k views

Multitasking on PIC microcontrollers

Multitasking is important these days. I wonder how we can achieve it in microcontrollers and embedded programming. I am designing a system which is based on a PIC microcontroller. I have designed its ...
3
votes
2answers
578 views

NVIC on ARM CPUs

Can we look at NVIC peripheral on ARM CPUs like some sort of thread? Main application is executing, and at the same time NVIC peripheral doing her own work? Or all of that is single thread application....
0
votes
1answer
378 views

Simple Interrupt Handling program?

I'm new to Embedded programming and I'm trying to understand how Interrupt handlers work in different contexts/scenarios. I just want to know how a interrupt handler would work in the following ...
1
vote
0answers
153 views

Threaded wire connections

I'm working on a senior design project that is using three 20-30 gauge wires that are going into a detachable box. The idea is that the box has three wires coming out of it, and the three wires that ...
0
votes
1answer
2k views

Spawning threads in SystemVerilog with input variables

I run onto a rather confusing situation where I was writing a code for a UVM monitor. This module performs these operations in order: Listen to channel (virtual interface) until intercepting one or ...
2
votes
3answers
480 views

Attiny44A Arduino Multitasking

I am trying to blink a led as well as switch a motor on/off parallely using attiny44A below is my code: Pump Controller: ...
-1
votes
2answers
1k views

Understanding timers

I'm studying timers for use in scheduling and embedded systems but I don't understand the detail, does the time count upwards or downwards? Is the timer like a hardware timer like the ones we learnt ...
8
votes
1answer
363 views

Conductive Thread - non toxic?

Is the conductive thread non toxic? Safe to wear up against your skin for extended periods of time?
6
votes
7answers
561 views

Is there a way to print / draw a circuit on to clothing?

I'm looking for an alternative to conductive thread (since I lack some sewing skills). I have seen silver conductive pens but I'm wondering if they could be used for clothing?
9
votes
4answers
3k views

Is there a way to make your own conductive thread for wearable electronics?

I am a poor student, was wondering if anyone has any home-brew recipes for making conductive thread for use in wearable electronics?