Git Product home page Git Product logo

funnyvale's People

Contributors

thomascklee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

funnyvale's Issues

Documented WiThumb sensor access details?

I am trying to read WiThumb sensor using MicroPython. I managed to install MicroPython and make networking work. However I am having trouble with the sensors.

For example, I was able to figure out from the provided Arduino C code, and withumb schematics, that the temperature sensor is accessible via I2C, at address 0x1F. GIven I did not succeed yet reading the temperature, I guess I am missing something; perhaps initializing the sensor is mandatory, and I am not sure of the correct registers to use when reading/writing over I2C... not being a C programmer by trade, or an electronics engineer, this is really burdensome.

It would be good to have some written, programming language-independent specs on how the sensors are read from and what kind of steps are required.

Errors for WiThumb Example 3

Maybe related to I2Cdev library or something in the library, or I have the wrong library - I think it's a library issue, but it's a bit beyond me.

`
Arduino: 1.6.9 (Linux), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

WARNING: Spurious .github folder in 'Adafruit PCD8544 Nokia 5110 LCD library' library
WARNING: Spurious .github folder in 'Adafruit ILI9341' library
WARNING: Spurious .github folder in 'Adafruit MLX90614 Library' library
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::I2Cdev()': Multiple libraries were found for "I2Cdev.h" Used: /home/lfmiller/Arduino/libraries/I2Cdev Not used: /home/lfmiller/Arduino/libraries/MPU6050 /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:53: multiple definition of I2Cdev::I2Cdev()'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:92: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::I2Cdev()': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:53: multiple definition of I2Cdev::I2Cdev()'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:92: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeWord(unsigned char, unsigned char, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:399: multiple definition of I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:583: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:378: multiple definition of I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:562: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:446: multiple definition of I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned short*)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:638: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeWord(unsigned char, unsigned char, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:388: multiple definition of I2Cdev::writeWord(unsigned char, unsigned char, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:572: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:167: multiple definition of I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:206: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:144: multiple definition of I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:183: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:64: multiple definition of I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:103: first defined here
libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)': /home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:95: multiple definition of I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:134: first defined here
libraries/MPU6050/I2Cdev.cpp.o:(.data._ZN6I2Cdev11readTimeoutE+0x0): multiple definition of I2Cdev::readTimeout' libraries/I2Cdev/I2Cdev.cpp.o:(.data._ZN6I2Cdev11readTimeoutE+0x0): first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:293: multiple definition of I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:477: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:322: multiple definition of I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:506: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:224: multiple definition of I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:326: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readWord(unsigned char, unsigned char, unsigned short*, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:155: multiple definition of I2Cdev::readWord(unsigned char, unsigned char, unsigned short*, unsigned short)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:194: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:79: multiple definition of I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:118: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:120: multiple definition of I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:159: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:307: multiple definition of I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned short)' libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:491: first defined here libraries/MPU6050/I2Cdev.cpp.o: In function I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)':
/home/lfmiller/Arduino/libraries/MPU6050/I2Cdev.cpp:351: multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)'
libraries/I2Cdev/I2Cdev.cpp.o:/home/lfmiller/Arduino/libraries/I2Cdev/I2Cdev.cpp:535: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

Any idea where to start or what to do?

JavaScript variations and motor control

Hi Thomas,

just wanted to point to this example where I made a JavaScript version from your first example:

https://github.com/embeddednodejs/ch_9_making_robots_with_nodejs/tree/master/vehicle

The Fabric shield is really nice.
I was a bit wondering if you have thought about variations for the motor control, e.g. similar to the motor controls of the Arduino shield: http://johnny-five.io/examples/motor-directional/ (throttle/brake) or PWM control of the motors?

BR,

Patrick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.