For me it's very interesting, my problem is that i have to interface with DS18B20 temp sensors, i can't use others, because the DS18B20 it the one one i can get prefitted in a metal cylinder on the end of a cable, waterproofed.
Currently i use an 3.3V Arduino Pro Mini to read the sensors, and my hope is to read from my "module" via Serial on the shield base.
That's why i wanted a TLL level Serial Port GoBus module, rather than the RS-232 level one you are developing, much simpler and cheaper than the shield base.
We have some very basic ways to communicate in the world of electronics, TLL level Serial, SPI and I2C are probably the most popular. My dreams is to leverage the STM8S and make one small and inexpensive Go module, 2 x Serial, SPI and I2C.
But unfortunately i don't have the knowledge to do it well...
Hi Lunddahl,
To add 1-wire functionality to the shieldbase or Netduino/Plus, I would seriously look at the Picaxe. I have posted about this before,
http://forums.netdui...1-wire-support/
These chips have a tremendous amount of built-in functionality. As an example for the DS18b20, to Read a 12-bit temperature on pin B.1 and report the result
Code Example:
main: readtemp12 B.1,w1 ; read value into b1
debug ; transmit to computer screen
goto main
or to Read a raw temperature value from a DS18B20
main: owout C.1,%1001,($CC,$44) ; send ‘reset’ then ‘skip ROM’ then ‘convert’ then apply ‘pullup’
pause 750 ; wait 750ms with strong pullup
owout C.1,%0001,($CC,$BE) ; send ‘reset’ then ‘skip ROM’ then ‘read temp’ command
owin C.1,%0000,(b0,b1) ; read in result
sertxd (#w0,CR,LF) ; transmit value
goto main
They are equally simple for I2c and SPI. To program them, just use the Picaxe programming editor with a serial interface. The simplest way to give
the results back to the Netduino is via serial. I put together a protoshield awhile back to do some I2C testing. The shield uses a 20X2 part and runs a program that reads
continuously from a 24LC256 EEPROM and a DS3232mz+ RTC and reports the results via serial.
Baxter