How do I know if my computer has a sensor?


Advanced search

Message boards : Number crunching : How do I know if my computer has a sensor?

Author Message
missjane
Send message
Joined: 18 Sep 11
Posts: 1
Credit: 0
RAC: 0
Message 256 - Posted: 18 Sep 2011 | 4:20:36 UTC

As the title says.
I know this is probably a silly question...but I can't find the answer, sorry.
Also, the task is running for over 3 hours and the bar still shows 0.00%!
What should I do now?

Profile Krunchin-Keith [USA]
Avatar
Send message
Joined: 16 Jun 11
Posts: 70
Credit: 26,459
RAC: 0

Message 258 - Posted: 18 Sep 2011 | 9:19:56 UTC - in response to Message 256.

As the title says.
I know this is probably a silly question...but I can't find the answer, sorry.
Also, the task is running for over 3 hours and the bar still shows 0.00%!
What should I do now?

Front page says:
The project uses dedicated hardware sensor; without it the app does nothing and no credits are granted.

Do you have a device that looks like this ?



This must be purchased from the project. See Pre-Ordering threads.

Then it must be plugged into a USB port.

--

Note to admin
Front page needs a little more clarity.
It says you need a hardware sensor [that participant has to buy] but then it says in next paragraph that participating will be free of charge. [standard boinc quote].
Maybe there should be a link to a thread, how to obtain sensor.

Profile Ascholten
Send message
Joined: 17 Sep 11
Posts: 112
Credit: 525,421
RAC: 0

Message 259 - Posted: 18 Sep 2011 | 15:51:02 UTC - in response to Message 258.

Let me ask a question here.

The thing takes 12 volts?

How much power is needed, ie mA. Your computer power supply in many instances has extra 12V plugs on it. It might once I get one to look at, be very easy to plug this thing right into your power supp if it's not taking too much juice.

Aaron

Profile Krunchin-Keith [USA]
Avatar
Send message
Joined: 16 Jun 11
Posts: 70
Credit: 26,459
RAC: 0

Message 260 - Posted: 18 Sep 2011 | 16:02:53 UTC - in response to Message 259.

Let me ask a question here.

The thing takes 12 volts?

How much power is needed, ie mA. Your computer power supply in many instances has extra 12V plugs on it. It might once I get one to look at, be very easy to plug this thing right into your power supp if it's not taking too much juice.

Aaron

My understanding is it is USB powered.

See this thread http://radioactiveathome.org/boinc/forum_thread.php?id=18 and first post and photo, I see no 12V attached, only USB cable and the detector wires.

Profile krzyszp
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 16 Apr 11
Posts: 383
Credit: 755,268
RAC: 91

Message 261 - Posted: 18 Sep 2011 | 18:44:23 UTC - in response to Message 260.

Correct.
Detector use only USB port as power source.
____________
Regards,
Krzysztof 'krzyszp' Piszczek
Android Radioactive@Home Map
Android Radioactive@Home Map - donated
My Workplace

Dagorath
Avatar
Send message
Joined: 4 Jul 11
Posts: 151
Credit: 42,738
RAC: 0

Message 262 - Posted: 18 Sep 2011 | 20:27:02 UTC - in response to Message 259.

Let me ask a question here.

The thing takes 12 volts?

How much power is needed, ie mA. Your computer power supply in many instances has extra 12V plugs on it. It might once I get one to look at, be very easy to plug this thing right into your power supp if it's not taking too much juice.

Aaron


You could probably do that but you still have to have the USB cable attached because the onboard microprocessor dumps it's data to the PC through the USB cable. May as well just power it via USB and use only 1 cable instead of 2.

Profile Krunchin-Keith [USA]
Avatar
Send message
Joined: 16 Jun 11
Posts: 70
Credit: 26,459
RAC: 0

Message 263 - Posted: 18 Sep 2011 | 21:39:42 UTC - in response to Message 262.

Let me ask a question here.

The thing takes 12 volts?

How much power is needed, ie mA. Your computer power supply in many instances has extra 12V plugs on it. It might once I get one to look at, be very easy to plug this thing right into your power supp if it's not taking too much juice.

Aaron


You could probably do that but you still have to have the USB cable attached because the onboard microprocessor dumps it's data to the PC through the USB cable. May as well just power it via USB and use only 1 cable instead of 2.

Unless for some reason your usb port is non-powered or already the ports the usb port set are at max load.

By the way, i made special cables, 4 pin to dc power jack. i power my usb dvds and hubs off the computer power supply unused disk drive connectors and threw all those wall power packs and power strips in a drawer. So yes it can be done.

Profile krzyszp
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 16 Apr 11
Posts: 383
Credit: 755,268
RAC: 91

Message 264 - Posted: 18 Sep 2011 | 21:46:51 UTC - in response to Message 263.

Also, we would like to insert battery in next model to use detector with tablets and mobiles with Android on board.
Unfortunately, current model is recognised as "High powered device" by my Samsung Galaxy S2 so we can't run application on it...


____________
Regards,
Krzysztof 'krzyszp' Piszczek
Android Radioactive@Home Map
Android Radioactive@Home Map - donated
My Workplace

Dagorath
Avatar
Send message
Joined: 4 Jul 11
Posts: 151
Credit: 42,738
RAC: 0

Message 268 - Posted: 19 Sep 2011 | 3:04:55 UTC - in response to Message 264.

If you're going to add batteries then how about some RAM too? The Attiny4313 has only 128B SRAM which is not enough to cache much data. With a battery and some additional RAM the sensor could operate even when disconnected from phone/tablet/laptop or when the PC is powered off. You could have a jumper/switch that would switch between frequent sample mode and infrequent sample mode to conserve RAM. In infrequent sample mode the processor would switch to low power mode and the LCD would be powered off to conserve battery.

How about an onboard battery charger so a rechargeable battery can be used?

Have 2 models: a cheap one to sit beside a PC constantly and a more expensive portable model with battery, more RAM and charger.


Profile krzyszp
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 16 Apr 11
Posts: 383
Credit: 755,268
RAC: 91

Message 269 - Posted: 19 Sep 2011 | 7:27:41 UTC - in response to Message 268.

Attiny4313 have 256 bytes SRAM but of course it still not enough.

Adding storage memory is not a solution as we currently use 72% of 4K available program memory and like to use GPS...
Maybe better solution solution is using battery (acu) and bluetooth to communicate with mobile/tablet?
____________
Regards,
Krzysztof 'krzyszp' Piszczek
Android Radioactive@Home Map
Android Radioactive@Home Map - donated
My Workplace

Dagorath
Avatar
Send message
Joined: 4 Jul 11
Posts: 151
Credit: 42,738
RAC: 0

Message 271 - Posted: 19 Sep 2011 | 8:33:56 UTC - in response to Message 269.

Here it says 128B SRAM.

Maybe you need ATtiny 88 with 8 KB flash memory. It might not have enough data lines for the LCD but you can use a serial LCD or use only 4 data lines for the LCD if it is parallel interface by strobing the low bits first and the high bits second. But why have an LCD when you can display the current reading on the PC/tablet/phone screen?

Bluetooth would be a good idea for a portable model of the sensor. GPS is good too. But if the sensor is used with a tablet/phone then maybe the sensor will be disconnected for many hours, for example when you leave home and take your phone/tablet with you but not the sensor. For those times it would be good to have storage RAM to save the readings for when the phone/tablet returns. I don't know how much RAM would be required because I don't know how much data is in 1 sample but you could switch the sample rate to low rate when disconnected from the phone/tablet.

Of course every chip adds to the cost but you saw how fast the first batch was taken. I think people who have tablets and phones would be willing to pay more for a sensor with Bluetooth, a battery and some RAM to cache data.

Poor Szopler, maybe he will complain about the extra soldering ;-)

Profile krzyszp
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 16 Apr 11
Posts: 383
Credit: 755,268
RAC: 91

Message 272 - Posted: 19 Sep 2011 | 9:50:33 UTC - in response to Message 271.
Last modified: 19 Sep 2011 | 10:00:19 UTC

Here it says 128B SRAM.

Datasheet says that I have 256 :) (Datasheet is for both 2313 and 4313 but see page 5).

Anyway, we still discuss what is the best option for next model:

1. GPS (but still we can use tablet/mobile build in GPS).
2. Battery/Accu.
3. Memory
4. Bluetooth
5. Any combination of previous?

What is the best option? We don't know yet, also cost of detector is important also and can block us... We are not reach persons and every option needs to create minimum 4-5 of prototypes...

Currently easiest (and cheapest) option is to create proto with battery connection and use internal GPS for tracking - this option also allow to send results in real-time using mobile/tablet internal connection (also I can consider use SMS service for this).

I have no idea (yet) how to program BT stock, but I'm sure if we try to use this feature we can find it ;)[/url]
____________
Regards,
Krzysztof 'krzyszp' Piszczek
Android Radioactive@Home Map
Android Radioactive@Home Map - donated
My Workplace

Profile Ascholten
Send message
Joined: 17 Sep 11
Posts: 112
Credit: 525,421
RAC: 0

Message 273 - Posted: 19 Sep 2011 | 19:44:24 UTC - in response to Message 272.

How about have the user just plug in a USB thumb drive, those are fairly cheap and relatively low power.

Dagorath
Avatar
Send message
Joined: 4 Jul 11
Posts: 151
Credit: 42,738
RAC: 0

Message 274 - Posted: 19 Sep 2011 | 22:19:21 UTC - in response to Message 273.

Cheap and low power yes but then they would need to include code for mounting a drive and for filesystem I/O. The ATTiny 4313 microprocessor has only 4 KB for program code. If they used a USB drive they would be obligated to include a Bluetooth port too to dump the data on the USB stick or include a second USB port or provide a program to run on the laptop/phone that would download the data from the USB stick (if the device has a USB connector that size, it may not) and feed it to their BOINC app. That all adds to the code space required. And you have to conserve interrupt lines too.

An onboard memory cache would eliminate the need for another USB port or Bluetooth and filesystem overhead. And it would be cheaper than a USB stick and wouldn't require an interrupt.

Post to thread

Message boards : Number crunching : How do I know if my computer has a sensor?


Main page · Your account · Message boards


Copyright © 2024 BOINC@Poland | Open Science for the future