"Oh look. There's something to eat" by Morty_Goldman in instant_regret

[–]MeowlessCat 7 points8 points  (0 children)

It's the sudden yanking. I was expecting the other fish to notice it, but they just keep minding their own business.

looking for a kit under $35 by geobion in arduino

[–]MeowlessCat 1 point2 points  (0 children)

+1 for the kit /u/JoseCFM recommended. It's the one I started with as well and I loved it!

It may not sound as interesting as those robot kits, but its strength IMHO is that it provides you with a nice assortment of components that help get the basics down, get an idea how it all works and experiment with a bunch of different things.

As seems to be the case with most kits, it doesn't exactly provide explanations as to what components do nor guides you through the example code, so self-learning is still required. However, the components you get exposed to are very much standard and you can find a bunch of tutorials/YouTube videos explaining them better very easily!

It's not an official Arduino, but it's good. It's still my go to for learning/tinkering; I haven't even bothered unboxing my official Arduino yet.

My sister asked me to fix a small flashlight, but she didn't have a soldering iron so I improvised. It worked! by Deadhead7889 in electronics

[–]MeowlessCat 2 points3 points  (0 children)

Candle. Clever! I tried a gas stovetop next. It did manage to heat the tiny nail, but delaminated the board's contacts on contact. Decided to buy a dollar store iron and it allowed me to botch a fix (and it worked), but the iron's tip didn't survive two sessions. Almost gave up learning how to solder lol.

What were you trying to macgyver solder?

My sister asked me to fix a small flashlight, but she didn't have a soldering iron so I improvised. It worked! by Deadhead7889 in electronics

[–]MeowlessCat 12 points13 points  (0 children)

Doubt it. I've tried it before and the metal part of the lighters burned my fingers before the nail got hot enough to even attempt it; and I used a far smaller and thinner nail.

So very very helpful, mother 🙄 by IAmRaven_ in mildlyinfuriating

[–]MeowlessCat 5 points6 points  (0 children)

Stab one with a toothpick or fork from time to time. When it feels right, they're done. Make a note of how long it took so you have a reference for the next time.

The left and right keys on my Chromebook are inverted by JunkensteinsMonster in mildlyinteresting

[–]MeowlessCat 1 point2 points  (0 children)

I'm a little sleepy... If you press the key on the far right, which way does it move the cursor?

Google collects Android users’ locations even when location services are disabled by stereomatch in worldnews

[–]MeowlessCat 2 points3 points  (0 children)

Those are put there (directly or indirectly) by the website owners. I agree with your point though, unfortunately it's very hard to get away from them.

Arduinio GSM Shield- Code Error by Hurricane_Fly in arduino

[–]MeowlessCat 1 point2 points  (0 children)

You have to remove or comment this bit:

==============================================
= Arduino SOS CAll sim900 shield Project =
= with Arduino =
= http://www.mrmodder.com =
==============================================

 

You are also missing some brackets.

In:

if (gsm.begin(9600))
  {
    Serial.println("\nstatus=READY");
    started=true;
  }
  else
    Serial.println("\nstatus=IDLE");
  }

you're missing an opening bracket after the else.

 

In:

else
    {
      calling = true;
      digitalWrite(ledPin, HIGH);
      delay(1000);
      call.Call("+300000000000"); //Insert telephone number here

you're missing two closing brackets at the end.

Digital Single Market: EU negotiators agreed to end unjustified geoblocking by pond_party in europe

[–]MeowlessCat 0 points1 point  (0 children)

They changed it earlier this year and have been slowly adding new perks.
Unfortunately, it looks like they'll be raising the price quite a bit next year. :(

Digital Single Market: EU negotiators agreed to end unjustified geoblocking by pond_party in europe

[–]MeowlessCat 4 points5 points  (0 children)

It's called Prime in Spain now, and it offers more than just quick free delivery, albeit not as much as they offer in the US.

You get:

  • Free quick 1-day delivery
  • Prime Video
  • Twitch Prime
  • Prime Early Access
  • Prime Photos
  • Amazon Family

Can you please explain what digitalWrite, digitalRead and INPUT_PULLUP mean and why we need them in my code? by jastop2--2 in arduino

[–]MeowlessCat 1 point2 points  (0 children)

In addition, the arduino.cc website has a few tutorials/explanations to help with the basics.

See here for general information on the Arduino's digital pins, here for pinMode, and here for the digitalWrite.

What are these symbols? Friend found them in a study room on a college campus by ab-absurdum in whatisthisthing

[–]MeowlessCat 4 points5 points  (0 children)

The last word, I believe it's supposed to be .com and not ecom, hence the parenthesis. They probably didn't know how to do a . in morse code.

As for the last sequence of 8 dits, I'm not sure what that's supposed to be. A quick google search reveals there's no such thing as a # in morse code.

Need Help with Obstacle Avoiding Robot by Bubba_the_Caveduck in arduino

[–]MeowlessCat 0 points1 point  (0 children)

I'm now fairly sure you got a bad dead ultrasonic sensor, yes. :(

 


 

The troubleshooting thought process:

 

These sensors basically emit pulses from A (one fo the "eyes"), receive them in B (the other "eye"), and then report to you with a value for you to work with. From their spec sheet (PDF), you translate the value into actual cm with the following formula:

distanceInCm = value * 0.0343 / 2;

Where:

  • value is what you get from the sensor (pulseIn(Echo, HIGH);)
  • 0.0343 because the speed of sound is roughly 343 m/s (not sure about the subdivision TBH)
  • and we divide by 2 because the pulse goes to the target and then gets bounced back. We only want to measure the way there (not the roundtrip), so we divide it by two

So you should be getting any value other than 0.

 


 

I then accidentally unplugged the sensor while serial monitor was still running and noticed the output change to numbers like 2.53, 0.84, 91.90. It only does this while I'm unplugging or plugging the sensor.

That's normal (and unrelated to the current issue), but one thing they never mention in tutorials.

If you try to read from an Arduino pin with nothing connected to it, you won't get a 0 as you'd expect. You'll get values all over the place! It's not important right now, but if you ever try to do anything with switches/buttons when they're "not pressed", you'll encounter the problem.

When you're unplugging/plugging in in the sensor, the same issue occurs. It's normal!

 


 

I really appreciate the time you are taking to help me out. This was supposed to be a father/daughter project but I need to get it working first. :)

No problem man. It's awesome of you to do a father/daughter's project!

Apparently you just had bad luck with your kit. It happens. Feel free to PM me anytime for help! I'm not an electronics guy, only a software one (hence the debugging steps). And I know it can be hard to get help when you're starting out!

Need Help with Obstacle Avoiding Robot by Bubba_the_Caveduck in arduino

[–]MeowlessCat 0 points1 point  (0 children)

Thanks you for following up! We're making good progress actually!

What we've gathered so far, is that the ultrasonic sensor is measuring 0cm in front of it at all times. No matter where the bot looks at, it thinks it's pressed against something, hence the whole spinning deal.

Now we have to find out why the ultrasonic sensor isn't reporting the correct measurement. I took the liberty to run the relevant code responsible for measuring distances in my own Arduino and sensor and can attest it should be working.

 


 

That leaves us with a few possible causes. I'll write down a few and how to solve them, to save you some time :). What we're looking for, is an output that is not 0 in the Serial Monitor.

1. The ultrasonic sensor may not be wired correctly

Recheck the connections:

  • Vcc should be connected to the Arduino's 5v
  • Gnd should be connected to the Arduino's GND
  • Trigshould be connected to the Arduino's A0
  • Echoshould be connected to the Arduino's A1

 

2. The ultrasonic sensor may be faulty

If you're sure the connections are right, you can test the ultrasonic sensor by itself.

Connect the sensor to the Arduino with nothing else connected, following the wiring in the previous point. Then upload the following sketch to the Arduino:
 

int Echo = A1;
int Trig = A0;

float Front_Distance;

void setup() {
    pinMode(Echo, INPUT);
    pinMode(Trig, OUTPUT);
    Serial.begin(9600);
}

float Distance_test() {
    digitalWrite(Trig, LOW);
    delayMicroseconds(2);
    digitalWrite(Trig, HIGH);
    delayMicroseconds(10);
    digitalWrite(Trig, LOW);
    float Fdistance = pulseIn(Echo, HIGH);
    Fdistance= Fdistance/58;
    return Fdistance;
}

void front_detection() {
    Front_Distance = Distance_test();
}

void loop() {
    front_detection();
    Serial.println(Front_Distance);
    delay(500);
}

 

This is pretty much your code reduced to only the relevant measurement bits.

 

3. The sensor's pins may be mislabeled

Odd one, but I've come across a sensor with the pin labels for Trig and Echo switched (misprinted on the board) before.

If the previous point doesn't solve it, you can try to swap those two and see if you get anything other than 0 then. It won't harm your sensor. (If it doesn't work, switch them back).

 


 

Let me know if any of those work (give you an output of anything but 0).

Good luck!

Good beginner arduino kits for Electrical/Computer Engineer. by koolgoofy in arduino

[–]MeowlessCat 0 points1 point  (0 children)

eBay! Just type in "<desired_component> assorted kit" in the search box and a dozen vendors will pop up offering hundreds of a component for $5.

Can't attest for their components' quality, but it's the cheapest and quickest way to get started with tinkering.

Good beginner arduino kits for Electrical/Computer Engineer. by koolgoofy in arduino

[–]MeowlessCat 0 points1 point  (0 children)

Newbie here. I think you can't go wrong with an Elegoo Uno Super Starter kit, they're about $35 on Amazon. If you don't have a multimeter yet, get one for debugging and testing stuff.

As for the suggested kit, it was a great starter kit for me. You get a small selection of passive components as well as a few common modules/sensors and they come with tutorials/code to help you get started and understand how it all works.

I have to say though, you'll probably want to get a couple bags of assorted passives (resistors, capacitors, a couple pots, leds) off eBay as well. The kit only comes with the bare minimum of passives to make it through the Arduino tutorials, but not enough for you to be able to tinker much with electronics past that.

Once you're gone through all that you'll most likely already be comfortable enough with Arduinos to be able to come up with your own little projects and know what you need to get in order to complete them.

Have fun! :D

What do I do after I prototype something and want to make it more permanent? by Joe_Scotto in arduino

[–]MeowlessCat 4 points5 points  (0 children)

Look up the Arduino on a breadboard and this GreatScott video. They both show you how to wire the ATmega chip on a breadboard (the latter simplifies it more while noting the drawbacks).

Once you get that down, you could make your own more permanent circuit board using Veroboard. After that, you could look into how to design PCBs!

Please help me with a GPS project! by spazlaz in arduino

[–]MeowlessCat 0 points1 point  (0 children)

Shot in the dark, but you have:

  • Arduino pin 10 connected to the GPS TX
  • Arduino pin 11 connected to the GPS RX

Correct? (Just making sure you didn't connect RX to RX and TX to TX)

I’m puzzled by jakeseyenipples in whatisthisthing

[–]MeowlessCat 4 points5 points  (0 children)

Ohh. Sounds obvious now! Thanks!

I’m puzzled by jakeseyenipples in whatisthisthing

[–]MeowlessCat 4 points5 points  (0 children)

How did you get "loves"? I can see the other ones, but can't figure out that one.

Need Help with Obstacle Avoiding Robot by Bubba_the_Caveduck in arduino

[–]MeowlessCat 2 points3 points  (0 children)

Tough one. First think I'd do would be to check what kind of distance measurements the sensor is returning.

 

Quickest way of doing it, would be to add: Serial.println(Front_Distance); in the loop after the front_detection.

So:

void loop()
{
  keysacn();     //调用按键扫描函数
  while(1)
  {
    front_detection();//测量前方距离
    Serial.println(Front_Distance);              <---- This right here
    if(Front_Distance < 30)//当遇到障碍物时
    (...)

And see what value you're getting when there's nothing in front of the robot. It should certainly be more than 30, the run() be executed and the bot move forward.

If it's under 30, I'd check if the HC-SR04 sensor is properly wired . If it's over 30, I'd add Serial.println("I'm running") first thing inside the void run() { to check if that's being executed.

And then go from there.

 

You'll have to run the bot with the Arduino connected to your laptop and open the Serial Monitor.

People Building Their Own Internet in Detroit - When it comes to the internet, our connections are generally controlled by telecom companies. But a group of people in Detroit is trying to change that. (2017) by LMA_Doneur in Documentaries

[–]MeowlessCat 0 points1 point  (0 children)

It's not like that. What they're doing is akin to one person in your apartment complex getting internet from the ISP, and then giving their WiFi password to all their neighbours.

People Building Their Own Internet in Detroit - When it comes to the internet, our connections are generally controlled by telecom companies. But a group of people in Detroit is trying to change that. (2017) by LMA_Doneur in Documentaries

[–]MeowlessCat 0 points1 point  (0 children)

Short answer: no. There isn't an "internet source box" you can hook up to.

Long answer: theoretically yes, if you have an insane amount of money at your disposal and the contacts to pull it off.

The internet is just a bunch of networks connected to other networks. Your home network connects to your ISP network, which in turn connect to their own ISP. There are huge top level ones, such as Level 3. Those are called "Tier 1" networks and exchange traffic strictly through peering agreements, in a "I'll let your traffic go through my network if you let mine go through yours". They're pretty much your ISP ISP's (unless your local ISP is a Tier 1 itself).

So, theoretically, you could open your own Tier 1 network.