Pages: [1]   Go Down
Author Topic: arduino+rf433mhz+encoder+decoder+ultrasonic sensor  (Read 171 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 3
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am on a project where  the robot car will be controlling with rf433mhz module and based on ultrasonic readings the speed will be automatically adjusted.

the brief flow chart of the project is given below.
help me fast.thanks in advance



* asp.png (17.58 KB, 711x549 - viewed 16 times.)
Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 5000
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
  help me fast.thanks in advance

You'll have to be more specific. What is your question ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Newbie
*
Karma: 3
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have done transmitter side with RF 433 Tx and encoder HT12E and at the receiving side i have connected RF 433 Rx to decoder from where four pins are attached to arduino to note the readings of the transmitter side but to my surprise its not working and do u have any idea of problems in that.
sorry if i am not clear!!!!!
Logged

North Queensland, Australia
Online Online
Edison Member
*
Karma: 66
Posts: 2117
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Probably some error in your code!

Got any error messages, or debugging output to tell you how far you code progresses?
Logged


Offline Offline
Newbie
*
Karma: 3
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am just reading the outputs of decoder there is no code error
Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 5000
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We can't troubleshoot from an algorithm diagram. Post a photo of the circuit and a schematic. If you have to draw the schematic by hand with pen and paper , that's ok too. Post a photo of the schematic. That's how we do things here.
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Newbie
*
Karma: 3
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

please look into the below pics of my schematic and help me with the errors brother.Thanks for ua support


* 2014-05-26 10.36.29.jpg (366.72 KB, 1600x1200 - viewed 7 times.)

* 2014-05-26 10.36.41.jpg (261.21 KB, 1600x1200 - viewed 9 times.)
Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 5000
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You should make a habit of drawing your schematics with arrows to designate the direction of the signals.
You show the E & T as arduino inputs and you know the T means Trigger which means it is an input which makes it an arduino OUTPUT , not input. The E (Echo ) is a sensor output which make it an arduino INPUT.
Your choice of wording is also confusing. I know you meant that the pins from the L293  are arduino outputs but the way you wrote it , it looks like your saying they are L293 outputs to the arduino which you know isn't true. They are L293 inputs and arduino outputs. When you say "to arduino AS OUTPUTS" it may mean arduino outputs to you but English is my FIRST language and I can tell you for a fact that when you say TO XXXXXX, AS OUTPUTS, that means AS AN OUTPUT TO SOMEPLACE.  I know it's a language thing and you know what you mean but the way you describe it is confusing.  If you take my suggestion and draw arrowheads on all the signal indicating INPUT <---  OUTPUT --->  , there is no confusion I get the feeling you are having the most trouble with the RF.
Is that correct ?
« Last Edit: May 26, 2014, 01:18:16 am by raschemmel » Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Faraday Member
**
Karma: 87
Posts: 5000
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My advice to you is don't try to test the RF with the arduino.
Forget the arduino until the RF is working. You don't need a uC to test it and you must know that. All you need it LEDs on the receiver outputs . When you have it working you can think about connecting it to the arduino. Until then forget about it.
Second. I would recommend adding indicator leds for all six motor control pins so you can see the logic state of the DIR pins and the duty cycle of the PWM pins.

ultrasonic sensor examples
  http://www.robot-electronics.co.uk/htm/arduino_examples.htm
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Pages: [1]   Go Up
Jump to: