Pages: [1]   Go Down
Author Topic: General TX/RX  (Read 2042 times)
0 Members and 1 Guest are viewing this topic.
Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Many of you are probably familiar with the General TX and RX from sparkfun, little bird, etc. They are cheap, but supposedly are not accurate.

I can use the virtual wire library to send data between two arduinos. But how could I send digital temperature sensor readings to an arduino without and arduino on the transmit side? Is it practible? Are the radios good enough? Or should I just get a breaduino or something with the virtual wire library on it?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33314
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
But how could I send digital temperature sensor readings to an arduino without and arduino on the transmit side?
It depends entirely on your sensor. Is there a way of getting it to output data in response to  something like a pulse train. Or do you have to trick it in a more sophisticated way. You could end up making a state machine out of discreet logic gates but in these days of cheap processors it would not be a cheaper option. If I were doing this then I would look at some of the TI transmitter modules you can get with built in processors. The development kits are quite cheap.
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to take something such as this http://www.sparkfun.com/products/9418
and just have a wireless link output the raw data, which can be read by arduino. I want to minimize the hardware necessary on the transmit end (if possible).
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26344
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Read the datasheet Baum - that part must have some smarts to go with it to configure it and to read the data after the conversion is done.
Maybe you can use something less than a 168/328 based arduino, like one of the attiny's or something.
Look here for other supported processors
http://www.avr-developers.com/
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, then. I'll try something else. Can I just have a pushbutton?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26344
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

pushbutton?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

pushbutton wired from 5V to tx module data pin, pulled down to gnd.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26344
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How will wiring the TX data pin to ground do anything? Not  going to transmit much that way.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No... like this:




Would that work?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26344
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure that would work.
Or use the internal pullup  and short to ground to sense a 0 instead, 1 less part to wire in.

I don't understand how this ties in with the temperature chip & reading it & sending out that data over an RF link?  Did we change topics along the way?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, topics have not been changed. If I have a button that can "output" a 1 or 0 that would work, wouldn't a temp. sensor that outputs 1s and 0s work, too?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26344
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.open.com.au/mikem/arduino/VirtualWire.pdf

Read up on how virtual wire works. The TX side needs to put out enough data for the RX side to recognize what is going on - think of it like software tuning in of a radio station. Virtual wire sends enough bytes to accomplish that tuning in, along with the data, and with some encoding to make sure the data is not corrupted.
So, you need some smarts to read the temp sensor, put the data in an array for example, and then send the data out so the characters can be reassembled on the other end.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: