External temp Probe with Android Galaxy Note 2 - Hardware Hacking General

http://www.amazon.com/Powered-Therm...0054U4YKI/ref=pd_sim_pc_1/191-4837767-5075164
Hi all, I need a thermometer for measuring the temperature of hot pie displays and cupboards etc. I use a Samsung galaxy Note 2 phone and I have bought the TEMPer1 usb temperature probe. My problem is I can't find any software with which I can use it on the phone.
The phone has OTG (on the go ) capability and can use wireless mice and USB thumb drives etc.
I have read the posts relating to Linux and Java etc but not sure how to compile a program script etc.
Can anyone help with a solution ? I am surprised that these temperature units are not catered for on phones as portable temp readings must be useful for a lot of people. Especially when the probe is remote from the phone.
Ian w

Related

Connecting Keyboard Like Devices via USB or Bluetooth To Mogul - Hack / Build / OFS ?

It was suggested in the Titan forum on another subject that this type of discussion would be more appropriate and fruitful in the developer area.
I have just enough knowledge and experience to be dangerous with a soldering iron and electronic parts.
Connecting Keyboard Like Devices via USB or Bluetooth To Mogul
I have searched through the posts here and in other forums and have not found a precise or complete answer to these questions. Any help would be appreciated. I'm not an expert. I did read one post about using the Mogul as a control device ( keyboard ) however a very useful application is to use the Mogul as a data collection device in the field, especially when end users may have devices all ready connecting to laptops/desktops via the USB and seen as ASCII output ( like a 101 keyboard ).
Does the Mogul have USB host capability through the connector? There seems to be conflicting opinions. If it does what is needed to turn on the capability?
This is the scenario I am trying create without having to rebuild or build new devices. A cost effective solution is the goal.
Assume the data collection devices I want to connect to the Mogul have a standard USB connector and wiring the same as a USB 101 type keyboard ( though the devices are not keyboards ) and the signals coming out of the connector are the same. The data stream is ASCII character stream. The USB devices are self powered so they do not need to draw the 5 volts from the Mogul.
The goal is to connect such a device to the Mogul directly via the USB connector so that it looks like a keyboard OR connect the device to an external Bluetooth transmitter that looks like a Bluetooth keyboard.
Off the self product would be preferable to having to black box the project.
It would seem simple considering there are USB Bluetooth transmitters at fairly low cost, but I have not been able to find one for this specific application. Hacking and existing Bluetooth keyboard might work but it would be a bulky solution, a considerable downside as well as expense for each of the devices.
I'm not a corporate Mogul, just a single employee company / end user who has specific data collection needs.
Thanks in advance

Galaxy Tab Teardown

here you can find how the Galaxy Tab is constructed :
http://www.ifixit.com/Teardown/Samsung-Galaxy-Tab-Teardown/4103/1
and intrestingly here there is the datasheet of the wifi/bt/fm chip:
http://pdf.eccn.com/pdfs/Datasheets/Broadcom/BCM4329.pdf
as you can see it got fm support and not only a receiver but also a transmitter meaning that implementing support at kernel level you could listen your mp3 or whatever you want on your car radio!
it got double simultaneous stereo bt output support ! wow
as you can see bt spec are about 2.1+edr and not 3.0 ... why?
cause bt3.0 is simply a bt2.1edr+wifi support for large files...so hardware is the same , only software support is needed for 3.0!
you can see the collaborative support bt+wifi described inside the datasheet and even wimax support!
I am interested in knowing if it is possible to power a portable hdd from the tab. I recently tried to plug my portable 1tb usb powered hdd into the tab via a usb to micro adaptor I got on eaby. It all connects up, however there is not power to the drive. I wonder if any tech guys who break these things down would know if there is a switch or program that would make this possible. This way, I can have 1 tb of vids and apps instead of 16gb on an sd card.
dubie, I have already answered this question in your thread about the matter, and even went as far as to explain WHY it will not work. Please do not hijack other's threads, especially for info that was answered in your own thread about the matter.
On another note, cheers for the links Triplex Good to see the innards of our tab hehe.
just a quick OT answer to dubie...
usb host function is not supported from the tab at the moment but this is not the only problem.
to work properly an external usb 2.5" hard drive needs almost 500mA, it doesn't need (the best one!) that much of juice when working but when starting to spin it needs double the mA cause there is a peak just as it happens for car battery where specs are different for start amperage (peak) and continuos one.
galaxy tab can't provide 500mA, better can't provide at all cause the usb is not a feeded one type.there are phones and tabs where the usb works as an host but they needed an external power supply to feed the hard-disk if you want to connect one.usb host on mobile stuff is just there for static memory, pendrives,external hid peripherals.probably some newer ssd could work good too.
Other than repair and information, are there any mods that can be done by taking one of these apart?

Looking for a USB "controller" like Arduino ...

I am looking for something specific, but don't know what … maybe you guys can help me out.
Let me provide some background first. There are special controllers for espresso machines available which act as a PID controller for temperature regulation. To simplify things: They read the temperature of the water and regulate the heating element to a specific temperature with much greater precision than the integrated "mechanical" thermostat is able to.
Today there are kits for various espresso machines available, but they are rather expensive. So I was thinking: Well, what about some homebrew stuff (no pun intended)? I could fit more functionality in there and – here comes the interesting part for the XDA community – connect the controller to my Galaxy Nexus!
My first idea was grabbing some development platform (e.g. Arduino or IOIO), but I'm not sure if this is the right approach. Let me explain what the perfect board can do:
- read two or three temperature probes
- read a water level sensor
- read and control four switches
- provide some kind of CPU for acting as a controller
- provide a clock to "wake" the machine in the morning
- provide a USB connection for controlling from Android and programming/flashing from OS X
- optional: Bluetooth functionality for wireless Android control
I can figure out how to wire the stuff together and how to write some PID software. But the most interesting part will be the Android connectivity, but I have no idea what platform I can use …
It would be awesome to plug a USB cable in (or connect via Bluetooth) and read the live temperature data, start/stop the brewing process and so on. The PID has to regulate the machine without the phone – depending on the switch state (i.e. "pull a shot" or "make steam") the heating element would be regulated.
Of course there are even more interesting applications, like sending a tweet ("I just brewed a coffee!") or a pressure readout …
As far as I understand, I just have to look for a single-board microcontroller with some analogue and digital inputs, some digital outputs and a USB connection. Is this possible with something like an Arduino? Or do I need something more complex?
Hey! Nice to see another homebrewer! They sell chips like that already. People have converted freezers to kegerators, and the chip manages the temp, turning on the freezer around 55 degrees F.
Sent from my SCH-I535 using xda premium
I would suggest you toying with Android ADK
This is a board you could use is: arduino.cc/en/Main/ArduinoBoardADK it's a bit pain in the ass to set it up for the first time but once you get used to it it's pretty simple
Freezer? 55 degrees? I'm talking about brewing espresso … The problem there is temperature stability within 1° Celsius.
I already learned more about the Arduino platform and I think it is the right idea for my small project.
As far as I know a bluetooth connection via Android can be established, too.
You should definitely check out a book called;
"Programming Your Home: Automate with Arduino, Android and Your Computer"
Author is Mike Riley.
Publisher is The Pragmatic Bookshelf, Dallas Texas - Raleigh, North Carolina.
I'm pretty sure it's available as an e-book and is full of projects combining these technologies.
The first project has a ball float incorporated in it so I think it's perfect for your idea.
I'm working on a sous-vide immersion circulator at the moment, but it isn't too complex.
A PID controller does all the hard work.
PS
No barista in their right mind would let a machine steam milk!
---------- Post added at 05:48 PM ---------- Previous post was at 05:41 PM ----------
...almost forgot - ISBN-13: 978-1-93435-690-6
You can pretty much do everything including put the PID into the Arduino. You though will need to create the shield board with the extra sensors you need. Once that is available talking to the Arduino from Nexus is a cake walk. The USB Host and well as USB Accessory mode API is pretty straight forward and you can use either depending on how you want to interface the two. If you use some other microcontroller board other than Arduino then you will probably not be able to use Accessory mode but will have to use the USB Host with the microcontroller board exposed as a CDC class device using the USB as virtual serial port (Atmel, MicroChip controllers provide this interface). Also you will need to hack your Nexus to provide additional power supply (probably using Pogo pins) as USB port will be powering your controller board.
Best of luck!
pankaj013 said:
You can pretty much do everything including put the PID into the Arduino. You though will need to create the shield board with the extra sensors you need. Once that is available talking to the Arduino from Nexus is a cake walk. The USB Host and well as USB Accessory mode API is pretty straight forward and you can use either depending on how you want to interface the two. If you use some other microcontroller board other than Arduino then you will probably not be able to use Accessory mode but will have to use the USB Host with the microcontroller board exposed as a CDC class device using the USB as virtual serial port (Atmel, MicroChip controllers provide this interface). Also you will need to hack your Nexus to provide additional power supply (probably using Pogo pins) as USB port will be powering your controller board.
Best of luck!
Click to expand...
Click to collapse
If you have a device that supports OTG/USB Host, a USB-enabled microcontroller is MUCH cheaper than ADK (which requires the accessory to act as a host).
ADK should be described as "DDK" - Dock Development Kit. The requirement for the "accessory" to act as a host and to provide power makes it limited to dock-style devices. True accessories should be powerable from the device.
Adafruit's ATMega32U4 board is a great one to work with - https://www.adafruit.com/products/296
Another option, much more expensive but allows your device to be network-enabled easily (built-in Ethernet) is the BeagleBone. Lots of GPIOs on 0.1" headers and Ethernet.
I would tend to lean towards arduino. It is certainly powerful enough. All the research I have done makes conecting bluetooth really easy. Although serial to android seems a bit more difficult. For the task you are trying to do I would expect a standard arduino (or clone) and a bluetooth module off of ebay (make sure you choose one that can handle 5v) should be a good starting point.
I have only every made diy arduino buy purchasing the usbisp cable and pl-2303 style usb>serial ttl adaptors. If you search on ebay some of them have the dtr line on one of the pins making auto reset easy. They are a bit more rare, but are worth searching for and paying a few dollars more.
I have never done brewing, but fiddle with arduino (atmega8 atmega168 atmega328 atmega644p atmega1284p). Feel free to ask questions.
arjag said:
I would tend to lean towards arduino. It is certainly powerful enough. All the research I have done makes conecting bluetooth really easy. Although serial to android seems a bit more difficult. For the task you are trying to do I would expect a standard arduino (or clone) and a bluetooth module off of ebay (make sure you choose one that can handle 5v) should be a good starting point.
I have only every made diy arduino buy purchasing the usbisp cable and pl-2303 style usb>serial ttl adaptors. If you search on ebay some of them have the dtr line on one of the pins making auto reset easy. They are a bit more rare, but are worth searching for and paying a few dollars more.
I have never done brewing, but fiddle with arduino (atmega8 atmega168 atmega328 atmega644p atmega1284p). Feel free to ask questions.
Click to expand...
Click to collapse
I will have to agree on that one, but only by experience.
those chips are a pleasure to deal with.
I even got my tablet talking to mine before I screwed it up!
Hit me up here or on #arduino on freenode (or anyone else there for that matter) if you want any hints or help if you decide to go that route, I'd be happy to help!
DW
You should try Arduino board, it's not that difficult to use and they're plenty of resources on the Internets.
Also, you could develop an Android app for controlling it. My team had successfully developed an Android controlled RC-car via Bluetooth.
You could find the source code of the Android app here on Github!
Another approach might be to get an ethernet shield for arduino and hook it up to your homw network. Then you could use a browser to control it, so you are not just limited to your Android device.
Ethernet setup is really simple, start with the demo code and modify to your needs.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
check out the andropod
Not 100% what you described, but this is absolutely rad nonetheless...
i just saw this the other day: http://www.ftdichip.com/Android.htm
with a standard UART to android usb host in one cable, you can do regular old RS232 or TTL-voltage RS232 comms with practically any of the simplest of the simple mcu's out there.
UART interfacing hardware with your phone? it'd be super easy to write java or shell interface wrappers to do tons of cool automation stuff, plus if you have an old beater phone lying around, it's a super robust DAQ unit in the making...
booooiiinnnniiiiiinnnnnggggg I want...
http://code.google.com/p/tc4-shield/
It's already got a four-channel ADC intended for thermocouple use, as well as GPIOs to drive the SSRs. People have already worked out zero-crossing detectors if you want finer control.
The water probe is a little problematic; I'd stick with the existing Gicar or equivalent.
I'm in the process of using it for thermocouple and power-relay interface to a Raspberry Pi to run a La Marzocco GS I'm restoring.
The Arduino is disappointing in its computational power. Its enough to run a PID, but can't really deal with a TCP stack and a webserver too.
Please note that Arduino can use Bluetooth connectivity to Android. It is easy on Arduino and very convenient.
Arduino can be battery powered for a long time if you program its sleep mode correctly.
http://tvwbb.com/showthread.php?35674-HeaterMeter-v4-0-for-RaspberyPi-Standalone
Shouldn't be a far leap from a fan/heating element to a water heating element. Plus: "HeaterMeter is also reportedly suitable for connecting to a solid state relay and controlling a sous vide heater if you prefer your food float around in fancy water instead of smoke and fire."
Arduino (or Msp430 Launchpad, or Microchip Pic or whatever) + a cheap, 6 dollar Bluetooth Serial adapter, + coding an app for android is all you need. Don't mess with usb or ethernet/wifi. Bluetooth Serial is all you need.
also use Android Suit

[Q] Nexus 7 as display for TV dongle possible?

Hello everyone,
I am attempting to set up a Tronsmart MK908II TV dongle as a portable sandbox and web development environment. For my first attempt I'm using the stock ROM and apps from the app store such as Bit Web Server and Terminal IDE. I've had a fair amount of success, though very tempted to install Pi****u (Ubuntu) for a more powerful environment.
One of my main objectives have a miniature HD monitor so I can have direct access to the device if necessary even when I'm on the go. Before I go out and buy a suitable device for this, I'm trying to get my Nexus 7 to act as the display, since I will always have it with me and it's the perfect size. I believe I may have all the necessary cables and converters to make something like this possible... I'm just a bit stuck at the moment on getting it all to work as I want and I suspect its a software/config/capabilities limitation more than a physical one. I have already attempted this a couple of different ways, including using a USB cable from the dongle and an OTG converter for my Nexus 7, but could not get the Android USB Serial Monitor Lite app to recognize input from the dongle.
Does anyone know of any tools or knowledge that might help me achieve this? I can probably find an app that will allow me to remote control my dongle from my Nexus, which is plan B, but it's far less desirable since there are some circumstances that a purely software solution might not work from the dongle end.
Thank you for your time!
Tennyson Hull

Connecting External Monitor to Z17

Hi,
Anyone tried connecting nubia z17 to an external Monitor? If so Please advice what usb type c hub or cable used, cause i have tried several but no luck.
anyone care to comment...
Hi all.
Just want expand on this.... This awesome phone is snapdragon 835... Along with all the other hardware..
Microsoft has already released the Windows 10 Arm OS.... Which has minimum spec of the snapdragon 835 processor. Very soon someone out there is going to be able to run full Windows OS to be able to dual boot. So we can go to our office and put the phone into type C hdmi hub and use it just like a desktop pc with external monitor with keyboard and mouse. By the way processor is powerful enough to run Microsoft word.. Excellent and all the packages we use on a day to day basis. Not only that it can run Adobe Photoshop. In design etc.
All I am asking at this stage is..... has anyone out there tried connecting the external monitor via the USB type C.... I have tried various hubs including mhl hdmi, the Samsung dex with no luck. Let's discuss the possibilities.
I searched many other forums and found that other phones having the same issue. The issue is that when usb type C is connected to the hub or hdmi cable the notification is says the phone is in charging mode only. It does not let me change to MTP mode. Tried going to developers mode "select USB configuration" and changing it but it does not change. This same problem is happening in many other phones. It may be many things but after reading many pages it may be.... The cable or hub or android 7 it self.
I think it's a matter of wait and see.... Unless of course someone has tried and it is working. By the way we are talking about WIRED CONNECTION and NOT wireless miracast. Please post your comments.

Categories

Resources