- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
We are doing multithreading program for Intel Galileo to do a set of tasks.We have to integrate Galileo, PIC microcontroller, Gesture sensor and Webcam.
Thread 1. We have to send commands from Galileo to PIC for rotating the servo motor, read light intensity using ADC values,
Thread2. We have to check sudden change in the light intensity, proximity sensor value, or else if a picture is taken in the web cam.
Thread 3. We have to upload the values and picture to a remote server.
Any helpful links to pthread examples for sensor monitoring ? Apart from, printing helloworld using multithreading?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Any helpful links to pthread examples for sensor monitoring ? Apart from, printing helloworld using multithreading?
Well, maybe you do not need more than that, since your problem is well described in the 3 threads you mentioned.
Do you have any possibility to change the number and specific tasks of those 3 threads? Maybe it would be better to subdivide tasks in threads if tasks are not related to each other.
Have you already checked you are able to control every single sensor and communication with an Intel Galileo?
Do you really need a PIC for rotating the servo motor? (you can move a servo from the Intel Galileo.
HTH,
Fernando.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Fernando,
Yes.The problem statement is fixed. Also I have checked the sensors.They are working. In fact the task done by each thread when done using seperate programs is done properly.
I need some multithreading related help foruch IoT task of montitoring the sensors. Especially using mutexes and pthread library.
Thanks,
Poornima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I need some multithreading related help foruch IoT task of montitoring the sensors. Especially using mutexes and pthread library.
I see... it seems to be that your problem is about concurrency and the pthreads library... I'd suggest you look for those toturials, actually. Your problem is related to the "classical" concurrency problems like "producer/consumer" and "synchronization" problems. I've not seen specific examples on multithread and sensor monitoring.
HTH,
Fernando.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Poornima,
Thank you for your interest in our Intel products.
We are currently still investigating your query.
What is the project you're working on aiming to do, for what is the need of sensor monitoring?
We are trying to gauge the scope of your project to see if we can provide more useful information.
Regards,
Octavian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Poornima,
Are you still encountering any issues?
Regards,
Octavian

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page