hi 정병진 i was trying to use this sensor " PulseSensor : http://pulsesensor.myshopify.com/pages/pulse-sensor-amped-arduino-v1dot1<http://www.google.com/url?q=http%3A%2F%2Fpulsesensor.myshopify.com%2Fpages%2Fpulse-sensor-amped-arduino-v1dot1&sa=D&sntz=1&usg=AFQjCNEOMR-UkhjBeMYg06ZcE6oppf36UA>" with ioio-otg i couldn't make it work so if you have any code for it please replay it here
On Wednesday, July 17, 2013 7:59:28 AM UTC+2, 정병진 wrote: > > I have a IOIO-OTG board and DS18B20(temperature sensor), PulseSensor. > > * DS18B20 : http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf > * PulseSensor : > http://pulsesensor.myshopify.com/pages/pulse-sensor-amped-arduino-v1dot1<http://www.google.com/url?q=http%3A%2F%2Fpulsesensor.myshopify.com%2Fpages%2Fpulse-sensor-amped-arduino-v1dot1&sa=D&sntz=1&usg=AFQjCNEOMR-UkhjBeMYg06ZcE6oppf36UA> > > Each sensor have only 3 lines. (Vcc, GND, DQ) > How to get sensor value? > When I reference Arduino Code, it write/read bytes to only 1 pin. > When I open digital input and digital out with 1 pin, IOIO has a exception. > > For getting temperature value from DS18B20, I should execute follow > commands. > reset() > write(0xcc) > write(0x44) > reset() > write(0xcc) > write(0xbe) > read() > read() > > Please, suggest how to use these sensors with some example. > > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/groups/opt_out.
