In terminal:
chflags nohidden ~/Library/
source: http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion/
Saturday, 27 September 2014
Overheating Arduino Nano
Depending on the current draw of the circuit's load, can result in a large heat dissipation for a voltage regulator if its surface area and heat sink are insufficient.
For my use, dropping from 12V to 5V with microcontroller + air compressors + solenoids(~55mA each) is causing significant overheating on the Arduino board.
source: http://forum.arduino.cc/index.php?topic=180819.0
For my use, dropping from 12V to 5V with microcontroller + air compressors + solenoids(~55mA each) is causing significant overheating on the Arduino board.
source: http://forum.arduino.cc/index.php?topic=180819.0
Friday, 26 September 2014
Bring up the Force Quit menu on Mac
Command + Option + Escape
source: http://www.ehow.com/how_6924064_reset-frozen-macbook-air.html
source: http://www.ehow.com/how_6924064_reset-frozen-macbook-air.html
Friday, 19 September 2014
Edit Chrome browser properties
Type into Chrome:
source: http://macforums.com/34-os-x-applications/2895-how-do-i-remove-chrome-notifications-icon-menu-bar.html
Remove startup applications from OSX
Click on [System Preferences].
Find the accounts or user tab.
Click on the user for whom you want to change the settings.
Edit the list of login applications.
source: http://www.ehow.com/how_4501754_remove-start_up-applications-os-leopard.html
Find the accounts or user tab.
Click on the user for whom you want to change the settings.
Edit the list of login applications.
source: http://www.ehow.com/how_4501754_remove-start_up-applications-os-leopard.html
Thursday, 18 September 2014
Code block in Blogger post.
<textarea cols="60" name="textarea" rows="8" wrap="VIRTUAL">
CODE HERE
</textarea>
Add this in the HTML view. Change cols to make it wider, rows to make it taller.
source: http://ilook12.blogspot.ch/2009/10/putting-code-box-on-blogger-posts.html
CODE HERE
</textarea>
Add this in the HTML view. Change cols to make it wider, rows to make it taller.
source: http://ilook12.blogspot.ch/2009/10/putting-code-box-on-blogger-posts.html
Using Arduino Uno to read Sparkfun Razor IMU (9DOF) output via Serial.
I had a lot of trouble with interpreting the output of the Sparkfun Razor IMU (9DOF) using Arduino Uno. Scouring the internet for previous solutions, I came to believe that the proper way to handle the output from the IMU required massaging the bytes obtained via Serial.read(). However, it turns out that the solution is as simple as interpreting each byte as an ASCII character (type: char). Here's what worked for me:
Hardware:
Connect the following pins.
Arduino --- IMU
RX --- TX
TX --- RX
3.3V --- 3.3V
GND --- GND
On the IMU board, CTS (Clear To Send) and DTR (Data Terminal Ready) do not require a connection for Serial. They are used for the FTDI Serial to USB connection.
Software:
On the Arduino Uno - Below is the simplest, baseline code you need to read the output from the IMU using another Arduino (I say another because the IMU contains its own ATMega chip):
When writing new sketches to the Arduino, you'll need to unplug the RX/TX
On the Sparkfun Razor IMU - load the code found on here: https://github.com/ptrbrtz/razor-9dof-ahrs/wiki/Tutorial If you want to change the Serial output of the IMU, modify Output.ino within the Razor_AHRS folder in this conditional:
Hardware:
Connect the following pins.
Arduino --- IMU
RX --- TX
TX --- RX
3.3V --- 3.3V
GND --- GND
On the IMU board, CTS (Clear To Send) and DTR (Data Terminal Ready) do not require a connection for Serial. They are used for the FTDI Serial to USB connection.
Software:
On the Arduino Uno - Below is the simplest, baseline code you need to read the output from the IMU using another Arduino (I say another because the IMU contains its own ATMega chip):
When writing new sketches to the Arduino, you'll need to unplug the RX/TX
On the Sparkfun Razor IMU - load the code found on here: https://github.com/ptrbrtz/razor-9dof-ahrs/wiki/Tutorial If you want to change the Serial output of the IMU, modify Output.ino within the Razor_AHRS folder in this conditional:
Arduino: Convert String to int.
Serial.println(inString.toInt());
source: http://stackoverflow.com/questions/18200035/how-do-you-convert-a-string-to-a-float-or-int
Arduino: Convert String to float.
char floatbuf[32]; // make this at least big enough for the whole string
curLongitude.toCharArray(floatbuf, sizeof(floatbuf));
float f = atof(floatbuf);
source:
http://stackoverflow.com/questions/18200035/how-do-you-convert-a-string-to-a-float-or-int
Tuesday, 16 September 2014
Arduino FTDI Programming Problems
For errors relating to:
avrdude: stk500_getsync(): not in sync: resp=0x00
or
avrdude: usbdev_open(): did not find any USB device "usb"
---
If you are using a board version that contains an FTDI chip, you'll need to install the appropriate driver for your operating system. This software can be found at (http://www.ftdichip.com/Drivers/VCP.htm)
sources:
http://arduino.cc/en/Guide/MacOSX
avrdude: stk500_getsync(): not in sync: resp=0x00
or
avrdude: usbdev_open(): did not find any USB device "usb"
---
If you are using a board version that contains an FTDI chip, you'll need to install the appropriate driver for your operating system. This software can be found at (http://www.ftdichip.com/Drivers/VCP.htm)
sources:
http://arduino.cc/en/Guide/MacOSX
Subscribe to:
Posts (Atom)