Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by OppaErich

  1. Pfft STM...look out for PSOC4, Cortex M0 with some kind of "nano FPGA" builtin. Boards start from $4, chips $1  :wub: Of course, nothing comes withou 'stinkage' - no Linux support.  :rolleyes:

  2. You mean UT601x ? I loved that...I don't know this course but the syllabus looks like this is about basic electronics.



    The course consists of seven modules:

    • Module 0: Introduction
    • Module 1: The Basics
    • Module 2: Resistors
    • Module 3: Amplifiers
    • Module 4: Capacitors & Filters
    • Module 5: Transistors
    • Module 6: Inductors

    Every module consists of a combination of theory-based lectures and lab-based discussions where we apply that module



    Yesterday my NFC implant turned up. Still looking for someone to implant it for me. It's tricky to do yourself as you need two hands (and it goes in your hand). My wife's a doctor but refuses to do it as "it's weird, geeky and creepy".

    @@Fred Is your wife convinced now that you're not going to hum and spark at night ? 


    5 * 4-Pin US distance sensors

  4. Did you try to run Energia as root, using sudo ? Does it work ?


    I guess the easiest way is to install CCS and let the CCS Installer do the job.

    oppa@oppa-hex-ssd:~$ ls /etc/udev/rules.d
    61-msp430uif.rules  70-mm-no-ti-emulators.rules  70-persistent-net.rules  71-ti-permissions.rules  85-lpcxpresso.rules  88-logicanalyzer.rules  99-icdi.rules
    oppa@oppa-hex-ssd:~$ cat /etc/udev/rules.d/99-icdi.rules 
    ACTION!="add|change", GOTO="openocd_rules_end"
    SUBSYSTEM!="usb", GOTO="openocd_rules_end"
    ENV{DEVTYPE}!="usb_device", GOTO="openocd_rules_end"
    # PC Instruments
    ATTRS{idVendor}=="0403", ATTRS{idProduct}=="dc48", MODE="777"
    # TI Stellaris Evaluation Board (several)
    ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bcd9", MODE="777"
    # TI Stellaris In-Circuit Debug Interface (ICDI) Board
    ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bcda", MODE="777"
    # LMICDI
    ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="777"
    oppa@oppa-hex-ssd:~$ cat /etc/udev/rules.d/71-ti-permissions.rules 
    oppa@oppa-hex-ssd:~$ groups
    oppa lp dialout cdrom floppy sudo audio dip video plugdev users fuse netdev systemd-journal scanner

    I did not add this, the CCS Installer did. ;)

  5. Using wiring/arduino, for me that is mega unexpected. Would never have guessed them doing that in a million years.

    Nicely integrated into Visual Studio from a screenshot I saw.


    ..., they probably wanted to play with Galileo


    For Galileo equals "another platform I don't know yet".


    I still don't get this IoT stuff. I don't see much use for it. Maybe meteorologists love to get weather data from a lot of locations...

  6. I bought "Make: Getting started with the Intel Galileo" and had a quick glance. It's running Linux, GPIOs are Arduino 1.0 compatible programmed using the Arduino IDE. Example code was all .ino and one Python file, apparently setting up a simple HTTP server presenting the state of a button. Onboard flash holds Linux, micro SD crads up to 32GB are supported. It has an IOREF jumper to switch between 5V and 3V3 logic levels. There's also a jumper block to change the I2C addresses of the onboard peripherals. Book is aimed at beginners.

  7. I had stuff explicitly casted to ulong and still got negative values. Things looked good until I started to test non-zero oss values. Oh, maybe I need to visit a dentist, my breath knocked out a sensor for 30 minutes. :huh: Temp readings were fine, they shot up to the 30s and slowly came back down but pressure was at about 10000 for 30 minutes until it came back too. I guess they don't like moisture.

  8. Yep, p is unsigned long. (hehe, it's not i see **) After some trial & error change I finally got the (almost, 1 off) right p value. The actual sensor reading was still garbage but at least within the boundaries of nature, -257 C, 20hPa. Just for fun I used the other BMP085 (the one I got first) and the readings were way off. So one of these is broken, at least. Yesterday, the 2 BMP180 arrived. I've just wired one of them up and T = 263 and p = 101990. The next weather station around reports 1008.4 hPa. Doesn't look too bad. It just takes about 20 samples for the readings to stabilize. Temp started at 270 and pressure at 58000...





    ** I tried unsigned long but this results in insanely high p values. The other sensor gives the best readings but p is negative, hacked to use the absolute value.

    int main(void){
    	short AC1, AC2, AC3, B1, B2, MB, MC, MD;// 16-bit calibration data
    	unsigned short AC4, AC5, AC6;		// 3 values are unsigned ?
    	short oss = 0;				// oversampling setting (0-3)
    	long X1, X2, X3, B3, B4, B5, B6, B7;	// intermediate values for calculation
    	long UT, UP, T, p;			// uncompensated and final values


  9. Well, it's a 123 so I guess it would not run at 120 MHz. I2C clock rate is taken from the logic analyzer. I spotted a HS field it the status register, I did not set this but it was '1'.


    If I got that right from the datasheet, the '20' in your formula is 2 * (6+4) for normal speed and would get 2 * (3 + 1) = 8 for high speed. Tried both, doesn't make a difference. Maybe I have to grab the scope and watch SCL.

  • Create New...