Recent Posts

Pages: [1] 2 3 ... 10
I thought I'd post some good news for once. 

I cleaned up some stray stuff and added control code for the sensors I have.  (The rest of what I need should be here sometime Wend).

Also added back in coding for PLX-DAQ. ( Don't know where that got lost).  Everything is working as I anticipated.  Good news.

From the number of download on the chart, I'd say the class size is awesome, considering it's not a mandatory class.

Thanks to all the professors who have contributed.
The red wire represents connections but i didnt include how the connections should go to the breadboard and then to the arduino etc.

Just drew how the project should work on a fast basis
The red wires are not randomly placed there
They are explaining how they should be activated when the flex sensor is touched

I feel like youve mocked me so far .. so please do leave as you havent been of much help to provide any solutions only asked questions and raised problems

Thanks but no thanks
Sensors / Should be just a simple fan co...
Last post by nolantowner - Today at 01:29 am
Okay so I'm trying to make a simple fan controller based on the temperature that a LM35 reads. My issue is that upon supplying the circuit with the 12v, the readings from the LM35 instantly become inaccurate. I have an optocoupler to create complete isolation from the 12v supply so i don't understand why, or how this is happening. the LM35 and code uses voltage to sense temperature so i can only assume some how the voltage is leaking to the sensor. The fan I have does react to the temperature with my sketch, just the temperature itself is completely out of whack. Ive added a picture of my schematic as well as the code just incase its in the coding but i doubt it. I would like to say I've only been making arduino projects for a few months now so my knowledge is limited so i could be missing something very simple. any help is appreciated !
Im using an arduino pro mini 5v by the way just so you all know the hardware :)

/*<br>Simple Temperature uses the lm35 in the basic centigrade temperature configuration
float temp;
int  cels = 20;
int tempPin = 2; // analog input pin
int sampleTime = 5000; // 1 second dafault
int fan =5;

//3, 5, 6, 9, 14, 15 PWM PINS
// 16 = miso, 17= sck

void setup() {
 //analogWrite(pwm, 0);

pinMode(fan, OUTPUT);



void loop() {
  //gets and prints the raw data from the lm35
  temp = analogRead(tempPin);
 // Serial.print("RAW DATA: ");
  Serial.print (temp);
  Serial.println(" ");
  //converts raw data into degrees celsius and prints it out
  // 500mV/1024=.48828125
  cels = temp * 0.48828125;
  Serial.print("CELSIUS: ");
  Serial.println("*C ");
  //converts celsius into fahrenheit
 // temp = temp *9 / 5;
 // temp = temp + 32;
 // Serial.print("FAHRENHEIT: ");
 // Serial.print(temp);
 // Serial.println("*F");
  if(cels <26 )
      digitalWrite(fan, LOW);
      //lcd.print("Fan OFF            ");
    else if(cels==26)
     digitalWrite(fan, HIGH);
     //analogWrite(pwm, 51);
    //  lcd.print("Fan Speed: 20%   ");
     else if(cels==27)
     digitalWrite(fan, HIGH);
     // analogWrite(pwm, 102);
     // lcd.print("Fan Speed: 40%   ");
     else if(cels==28)
     // analogWrite(pwm, 153);
     digitalWrite(fan, HIGH);
     // lcd.print("Fan Speed: 60%   ");
    else if(cels==29)
      digitalWrite(fan, HIGH);
      //analogWrite(pwm, 204);
      //lcd.print("Fan Speed: 80%    ");
     else if(cels>29)
      digitalWrite(fan, HIGH);
      //analogWrite(pwm, 0);
    //  lcd.print("Fan Speed: 100%   ");
Dear Arduino

Why is so complicated for a new user that experiment with differente Arduino boards like UNO, Nano and others no to have the drivers part already taking care of it.

Thank you

Carlos Cortez
I apologize ... I mixed up the PCF8574 with the TDI1000.  The 8574 is I2C so obviously doesn't care about transaction support.

With regard to the TDC1000, I've had to massage the example code I found significantly so I believe I can incorporate Transaction Support.

Since the original code was written around TI's TDC7200 Stopwatch Chip commanding the TDC1000, I had to massage a LOT of code to make it work in Arduino and the ESP32.  There appears also to be TI's MP430 doing some work but none of the graphics display for the PC that this does is needed.  So I'm going forward since I believe I can measure Time-Of-Flight with the ESP32.  The whole purpose of this exercise is to tell when a liquid has air bubbles in the fluid and also if the fluid is the correct type, so I may not even need to measure it but simply run an internal comparator.

You've helped me a lot getting my head around this.  Thanks again.
Français / Re: Problème Arduino HS
Last post by 68tjs - Today at 01:22 am
Préambule :
Quand on ne respecte pas les conditions de fonctionnement indiquées par le fabricant il y a toujours un risque.

Malgré tout oui je pense qu'il fonctionnera quand même, mais très probablement avec moins de couple.

<mode grognon>
As tu téléchargé et commencer à lire  le tuto d'Eskimon ?
As tu lu le message "Bienvenue sur le forum de la communauté francophone" ?
T'es tu relu avant de poster ? --> cliquer sur "Preview" la présentation change et les erreurs et fautes sont plus visibles.

Parce que un texte comme :

et le programme qui lui avais eu l'occasion de l'utiliser en école
Personnellement je ne le comprend pas.

Ta présentation sans paragraphe ni saut de ligne est illisible et je te rappelle qu'un bénévole n'est pas tenu de te lire et encore moins de déchiffrer du charabia..
<fin mode grognon>
Hi Team

I'm using this library on

And I am using the below code to set up the wifi manager.

What I want to know is, is there a simple way to add an input field on the Auto Connect Wif web page that allows me to change a number to a constant. And how Would change the below wifi code.

Thanks for you help.

Code: [Select]
const int channel = 1;

Code: [Select]
#include <ESP8266WiFi.h>          //

//needed for library
#include <ESP8266WebServer.h>
#include <DNSServer.h>
#include <WiFiManager.h>          //

// select which pin will trigger the configuration portal when set to LOW
// ESP-01 users please note: the only pins available (0 and 2), are shared
// with the bootloader, so always set them HIGH at power-up
#define TRIGGER_PIN 0

void setup() {
  // put your setup code here, to run once:
  Serial.println("\n Starting");


void loop() {
  // is configuration portal requested?
  if ( digitalRead(TRIGGER_PIN) == LOW ) {
    //Local intialization. Once its business is done, there is no need to keep it around
    WiFiManager wifiManager;

    //reset settings - for testing

    //sets timeout until configuration portal gets turned off
    //useful to make it all retry or go to sleep
    //in seconds

    //it starts an access point with the specified name
    //here  "AutoConnectAP"
    //and goes into a blocking loop awaiting configuration

    //WITHOUT THIS THE AP DOES NOT SEEM TO WORK PROPERLY WITH SDK 1.5 , update to at least 1.5.1
    if (!wifiManager.startConfigPortal("OnDemandAP")) {
      Serial.println("failed to connect and hit timeout");
      //reset and try again, or maybe put it to deep sleep

    //if you get here you have connected to the WiFi
    Serial.println("connected...yeey :)");

  // put your main code here, to run repeatedly:

Programming Questions / Re: my code is ALMOST working:...
Last post by JCSB - Today at 01:21 am
Thanks guys. It worked, it was this simple.. See you next time!
umm, yeah. it has to do with my networked drive, apparently. is there an issue regarding networked drives? or would this just be a local ID-TEN-T error? ;)

Motors, Mechanics, and Power / Re: 4 dc motors
Last post by lemjay - Today at 01:16 am
Im totally new about arduino, I just learned this 6 months ago by my friends and I was really interested
When they introduced it into me. So, I just have the basic knowledge about the programming, electronics and hardware about this one.
//basic knowledge is the things I learn in youtube videos, arduino IDE sample programs and a couple of research

We plan to join a sumobot contest, but it seems like we have trouble in this dc motor because the motor driver l298n heats up immediately, huhu

So here I am, asking for help from the masters of this field
Pages: [1] 2 3 ... 10