Tag: Arduino
-
Wheel Going in the Wrong Direction – RVIZ2 and FoxGlove
Hi everyone, I hope you’re having a good break! I’m currently following this tutorial and messing around with a diffdrive robot. After making a few changes I noticed that my simulations were playing up. Strangely, the robot itself was still working perfectly fine. The problem I was having was that even though my robot was…
-
Mini-360 DC-DC Buck Converter – Incorrect Voltage 10v Instead of 5v
Hi everyone, I’ve been playing around with a few DC-DC buck converters similar to these ones: https://www.amazon.com.au/UEB-Power-Converter-Module-Supply/dp/B078CXHWXC/ref=sr_1_fkmr1_1?ie=UTF8&qid=1519030369&sr=8-1-fkmr1&keywords=mini+360+buck+converter I had expected 5v output from my 12v supply but when I hooked it up to a multimeter I found I was getting just over 10v. This would fry pretty much everything in my circuit so I was…
-
Compass Only Works on Pins 10 and 11 – Arduino/Software Serial
Hey everyone, A bit of a confusing issue I ran into today. I couldn’t get my compass to work on any pins other than 10 or 11. Thankfully, there’s a fairly logical explanation: Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10,…
-
UnicodeDecodeError on RaspberryPi – Python
Hey everyone, I ran into the following error while trying to read serial input on a Raspberry Pi hooked up to an Arduino via USB: UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0za8 in position 0: invalid start byte The solution was as follows: #buffer_string = ser.read().decode(‘utf-8’) buffer_string = ser.read().decode(‘utf-8′, errors=’replace’) Thanks to the following link:…
-
Arduino GPS – Ublox NEO-M8N Flight Controller GPS w/Protective Shell for PIX PX4 Pixhawk
Hey everyone, I recently purchased this GPS unit on ebay: http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItemVersion&item=272492032614&view=all&tid=1865626885017 Unfortunately, I didn’t do a lot of research before getting it and had a bit of trouble finding any spec sheets or documentation. Just in case anyone else has the same problem I’ve listed out everything I needed to get it running below. This…
-
Arduino Serial.println not working
Hey everyone, Ran into a really obvious mistake today working with an Arduino. Thought I’d corrupted a boot loader and couldn’t get Serial.println to return anything. Turned out I’d just missed Serial.begin(9600). Thanks!