@Guest I did only just post it recently but thanks for the shout-out!
Posts made by Will Kostelecky
-
RE: How to access Arduino Dock A0 from terminal
-
RE: Some Comments on Use of Arduino Dock and the Wiki Tutorials
@Lazar-Demin and @Kit-Bishop : I don't think that I have tried to load any sketch without the Onion Arduino Library but I guess I must have done so...at least I hope so. BUT... following the instruction to press the MCU Reset button prior to loading the sketch does not seem to be working. The docks LED never goes into a mode where it flashes super quickly. Is there anything else I can try? Can I program the dock through the ICSP connector like other Arduinos?
-
RE: How to access Serial Output from Arduino Dock
@Kit-Bishop I feel you! I just happen to have a couple of Mega's in my parts drawers. I seem to collect hardware...was going to hook up a spare RPi just to use the serial port but the Mega was easier.
-
RE: How to access Arduino Dock A0 from terminal
@Craig-OShannessy Take a look in case you missed the post that I did on this library.
-
RE: How to access Serial Output from Arduino Dock
There may be an easier way...but...if you have an Arduino Mega you can one of its extra serial ports to the Arduino Dock, run the multiserialmega sketch on it, and then see the serial output from the Arduino Dock relayed through it. Or use a little blue tooth card or do it the old fashioned way with a serial to usb cable? I am sure there is a more eloquent way but the mega version worked well for me.
-
RE: Some Comments on Use of Arduino Dock and the Wiki Tutorials
In the meantime you can actually connect a regular Arduino to the Onion via I2c and do some development....the Onion I2c library does not seem to care on what it is running. Since my dock is no longer accepting flashes this is buying me some time until I got around to asking...
Why would my dock suddenly stop accepting a flash?
Thanks,
Will -
Python Library for Arduino Dock and I2C
A couple of years ago I developed a Python interface for a Raspberry Pi talking to a robot being driven by an Arduino. I had gotten the idea for the library from somewhere but the library that gave me the idea was incomplete so I took the idea an implemented my own solution.
The library is here on GitHub and there is some documentation here on my blog. This is still a bit of a work in progress so use at your own risk!
-
RE: I2C in python
@Kit-Bishop I don't really have a project...have a hammer...looking for a nail!
-
RE: I2C in python
@Kit-Bishop I am doing one also, actually just a port of what I had done with serial communications based on an idea that I got from somewhere that I have since forgotten! Anyway, mine is a Python class that as written has methods for analog, digital, and PWM functions as well as support for up to four servos. I had also integrated a compass and an LCD display but as that was project specific I have pulled them out for what I will publish here. Given that it was a port it came together pretty quickly as I am now doing a sample "project" to test each of the class methods.
-
Arduino Dock I2C Integration Example for Python [RESOLVED]
I had trouble finding a good example that illustrated an I2C interaction between Python and the Arduino Dock. I found pieces, one in Python, and one for the Arduino, but not that matched. I gave up looking and cobbled together something stealing liberally from what I did find. Here is a link to my blog where I describe what I did (including sample code).
-
RE: I2C in python
I had trouble finding a good example that illustrated an I2C interaction between Python and the Arduino Dock. I found pieces, one in Python, and one for the Arduino, but not that matched. I gave up looking and cobbled together something stealing liberally from what I did find. Here is a link to my blog where I describe what I did (including sample code).
-
RE: Trying to use I2C with Python but Library not Found [RESOLVED]
If anyone else runs into this problem...I think, though I am not sure, that my problem was that I had not upgraded my onion to the latest firmware? Once I did so things worked as documented here:
https://wiki.onion.io/Documentation/Libraries/I2C-Python-Module
I reset to factory settings just to be sure and everything still works.
Will
-
RE: Trying to use I2C with Python but Library not Found [RESOLVED]
@Will-Kostelecky Any technique to get I2C to work ... another example shows the use of a OmegaExpansion library but I can not find it or how to install it...and examples that reference it fail to find things as well. Help!
-
Trying to use I2C with Python but Library not Found [RESOLVED]
opkg install pyOnionI2C
results in:
Unknown package 'pyOnionI2C'.
Collected errors:- opkg_install_cmd: Cannot install package pyOnionI2C.