xiaoyangkao2

- friends
7 link karma
1,375 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Verified Email

Arduino question: can one ardy read the serial print of another and use it? Details inside. by synachynadodiechodiein arduino

[–]xiaoyangkao2 0 points1 point ago

Use software serial if you still want debugging through the serial monitor. The buffer holds all data that it receives, and gets rid of it after it has been read.

Arduino question: can one ardy read the serial print of another and use it? Details inside. by synachynadodiechodiein arduino

[–]xiaoyangkao2 1 point2 points ago

Just connect the TX pin on the transmitter to the RX pin on the receiver. The data will be stored in a buffer (think of it as temporary storage for received info) until it is read in software with Serial.read().

Arduino question: can one ardy read the serial print of another and use it? Details inside. by synachynadodiechodiein arduino

[–]xiaoyangkao2 1 point2 points ago

I'm not sure if I understand you correctly but when you print to the serial monitor, the signal is also present on the TX and RX pins on the board.

Best way to mount 8-pin SOIC package for programming? by evanvlanein electronics

[–]xiaoyangkao2 0 points1 point ago

If it's going to be permanent, just get a 8-pin SOIC breakout.

Voltage divider safe for ATTiny? by mobilegamer999in electronics

[–]xiaoyangkao2 6 points7 points ago

Never power something with a voltage divider. The current will be limited to the current rating of the resistors, which is normally very small (<1/2W).

Anyone want to look at my schematic for a power supply and see if I made any big mistakes? by af280in arduino

[–]xiaoyangkao2 1 point2 points ago

The diode before the switch will drop around 1.7V going in to the motor. If you are keeping it make sure it can handle high currents since everything flows through it.

How can I get into woodworking with no experience, little money, and little space? by sds554in woodworking

[–]xiaoyangkao2 1 point2 points ago

Join a club or a hackerspace near you. Also don't be afraid to ask if you can use your schools shop. If you want to do stuff at home, a lot of things can be made with hand tools and patience.

What embarrassing songs do you know every single word to? by BingBongDerpin AskReddit

[–]xiaoyangkao2 11 points12 points ago

Gotta get down on Friday.

Do straight lines exist in nature? by Toast-Masterin askscience

[–]xiaoyangkao2 0 points1 point ago

Yes, I was assuming you were asking for visually straight lines.

Do straight lines exist in nature? by Toast-Masterin askscience

[–]xiaoyangkao2 9 points10 points ago

Perfectly straight lines at a large scale are pretty hard to find but the closest thing would probably be light. Light does 'bend' under gravitational force, however.

Need Help Building an Alarm Circuit by thunderkitty600in electronics

[–]xiaoyangkao2 2 points3 points ago

A 555 timer in monostable mode will work for this. Look for a power-on trigger circuit along with monostable operation.

Looking for name of 90's band. Dude on playground. by ghostinthesymmetryin AskReddit

[–]xiaoyangkao2 0 points1 point ago

Might be Matchbox Twenty. Sounds like their Disease music video.

Resource for servo chip programming/circuitry? by 999realthingsin AskEngineers

[–]xiaoyangkao2 0 points1 point ago

Are you asking for an IC that will drive servos? An 555 timer with the right resistor-cap combination will work but servo control is usually done in software because of the varying pulse widths.

I wrote my first code today! by littlefield20in arduino

[–]xiaoyangkao2 -1 points0 points ago

If there's no need for an analogRead variable then just directly substitute it into the if statement (if(analogRead(0)<=100)). It's not significant at all in something simple like this but it saves some processing cycles.

[theory] What books can I read to learn about electrical/electronics engineering? by KBTrumpeteerin AskElectronics

[–]xiaoyangkao2 3 points4 points ago

All About Circuits is very comprehensive and useful for anyone starting out.

Are NASA's Hubble telescope pictures representative of what galaxies or nebula would look like to the naked eye? How much editing do these photos receive? by australeonin askscience

[–]xiaoyangkao2 45 points46 points ago

Hubble doesn't actually photograph color pictures by itself. It takes multiple photos with different wavelength filters in black and white, and then computers on the ground process that into a color picture.

Photo editors also change the RGB values slightly to fit the eye.

http://www.slate.com/articles/news_and_politics/recycled/2009/09/how_do_space_pictures_get_so_pretty.html Lots of good information there.

[design] Please help my mate out, but i am stumped... by kbau5in AskElectronics

[–]xiaoyangkao2 0 points1 point ago

On the receiving end connect the rx and tx pins (pins 2 and 3 on the 328 I believe) to the usb-to-serial board and open up a com port on the computer. Make sure the baud rates are set to be the same.

[design] Please help my mate out, but i am stumped... by kbau5in AskElectronics

[–]xiaoyangkao2 0 points1 point ago*

You could try listening for a serial signal with pySerial on python. Send serial signals through USB (you're going to need a serial-to-usb ftdi board) and log it into a data file. If the thing isn't permanent, many serial terminals like coolterm have a log function that will work.

Resonator 16.00MHZ vs Crystals 16MHz by raymond3080in arduino

[–]xiaoyangkao2 1 point2 points ago

It would be better to use crystals anyway. They are much more accurate than ceramic resonators but you will need two capacitors on each pin for stabilization.

AskReddit: I'm going to introduce programming to a group of people tomorrow, what are some simple things that I can demo to show off what you can do with a few lines of code? by infinitesoupin AskReddit

[–]xiaoyangkao2 -1 points0 points ago

Calculate for pi to 10,000 digits. You can do this in python pretty easily with less than ten lines of code.

view more: next