• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Bad arguments to < ib /android, Temperature module qu e stion

Q&A Forum › Bad arguments to < ib /android, Temperature module qu e stion
0 Vote Up Vote Down
Ernest Herrea asked 4 years ago
10 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Where does that error happen? Can you describe your exact problem in more detail?

Thank you for your patience!

0 Vote Up Vote Down
Ernest Herrea answered 4 years ago

This is on the Android Temperature Module project.  I have loaded the arduino sketch and the related app on my android.  When I try to connect to the Bluetooth module on the arduino I get the following message “Bad aruments to <  The oeration < cannot accept the argumkents:, [*empty-strubg*]m[5]”

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

What do you see in your Arduino IDE serial monitor? Can you copy and paste the full messages?

0 Vote Up Vote Down
Ernest Herrea answered 4 years ago

On the serial monitor the number -127.00 was repeated over and over again.

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Your sensor isn’t working properly, because when it prints -127.00 temperature is an error value. Can you double-check the sensor wiring? Can you try with a different sensor (the sensor might be faulty)? 

0 Vote Up Vote Down
Ernest Herrea answered 4 years ago

OK I will work on the sensor soon.  Thanks for the quick response.

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

You’re welcome! Let me know your results.

0 Vote Up Vote Down
Ernest Herrea answered 4 years ago

I was only able to get the Thermometer project to work by rewiring the DS18B20 portion of the circuit.  The circuit in the provided pdf document showed the sensor pins 1 and 3 both going to ground.  Was this an error?
Schematic from  “Android Apps for Arduino.pdf”
 
This is the wiring I used to correct the problem reported.
I was unable to insert images I have in a word document.
 
 

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello Ernst, I’ll be trying to add files upload in the next update. In the meantime, I recommend using a link to Google Drive file, dropbox, imgur.com, or box.com (any file sharing service).
The DS18B20 can be configured in two modes (both are correct): https://randomnerdtutorials.com/guide-for-ds18b20-temperature-sensor-with-arduino/

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Did you use option #1 from the schematics above to make it work for you?

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.