Questions tagged [thread]

21 questions
16
votes
6 answers

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 firmware in MplabX IDE using C and then designed…
Aircraft
  • 1,666
  • 1
  • 12
  • 26
9
votes
1 answer

Conductive Thread - non toxic?

Is the conductive thread non toxic? Safe to wear up against your skin for extended periods of time?
mad_z
  • 5,050
  • 5
  • 45
  • 56
8
votes
3 answers

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?
Allan
  • 406
  • 7
  • 6
8
votes
8 answers

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?
mad_z
  • 5,050
  • 5
  • 45
  • 56
6
votes
4 answers

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: uint8_t currentThread = 0; void* process0StackPointer = 0; uint8_t…
DarthRubik
  • 358
  • 3
  • 15
5
votes
2 answers

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 application where we have an ADCinterface to a number of…
TheTechGuy
  • 611
  • 1
  • 7
  • 13
3
votes
2 answers

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. Can someone explain if I am wrong, where and…
user76920
2
votes
5 answers

What's the difference between a CPU core and a CPU/GPU thread?

I've heard the term core and thread being used synonymously a lot of times. In Minecraft, if you press F3 to show coordinates, it tells you how many threads you have in your CPU but uses the term "core" for them. I know some things about threads…
Trevor Mershon
  • 368
  • 2
  • 11
2
votes
3 answers

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: digitalWrite(pump1, HIGH); delay(5000); digitalWrite(pump1, LOW); digitalWrite(pump2, HIGH); delay(5000); Led…
Daniel Euchar
  • 403
  • 2
  • 5
  • 11
1
vote
2 answers

Looking for ideas for an automatic thread feeder

I need to feed a very fine nylon thread in a process by controlling a spool motor. There is not enough pull on the thread from the process to have the thread activate a push-button, even with a 1"-long lever on the button. Anyways ideally there…
Joe
  • 55
  • 4
1
vote
1 answer

Are there non-unscrewable microwave oven bulbs?

I recently emptied a Samsung microwave oven of its components and came across the lightbulb, which appeared at first glance to be fitted in a diamond shaped holder. Though when I looked through the glass at the inside of the socket it looked more…
Andreas
  • 190
  • 12
1
vote
1 answer

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 to integrate dE. For example, I need to find E…
Quant
  • 113
  • 2
  • 8
1
vote
0 answers

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 need to go into it are going to get connected to…
0
votes
0 answers

Need help categorizing keywords and concepts for two different scenarios

I am currently working on a project that involves categorizing certain keywords and concepts into two different scenarios. I am having a bit of trouble determining which scenario each keyword belongs to. I was hoping someone with more experience…
0
votes
0 answers

Identification of a threaded connector (on a speed sensor)

I'm trying to identify the mating connector for this speed sensor. The sensor in itself is a custom CNC job so no datasheet available... It's got three pins and 5 "grooves". The exterior thread is a tad less than 1/4". Subsidiary question : I think…
VoltsAndNuts
  • 411
  • 2
  • 8
1
2