Difference between revisions of "Programming electronics"

From ThorstensHome
Jump to: navigation, search
(My devices)
Line 5: Line 5:
 
* I have a [[Lego CyberMaster]], a successor of Lego Technik and a precursor to Lego MindStorms
 
* I have a [[Lego CyberMaster]], a successor of Lego Technik and a precursor to Lego MindStorms
 
* I have some [http://www.linuxintro.org/wiki/USB-to-serial-adapters USB to RS232 adapters]
 
* I have some [http://www.linuxintro.org/wiki/USB-to-serial-adapters USB to RS232 adapters]
* I have an [[ATtiny13]]
+
* I have an [[ATtiny13]] microprocessor. It looks like this:
 +
 +
            ------
 +
  PB0(MOSI)-|ATtiny|-GND
 +
  PB1(MISO)-|  13  |-
 +
  PB2 (SCK)-|      |-
 +
        VCC-|    o|-RES
 +
            ------
 +
  
 
= My experiments =
 
= My experiments =
Line 12: Line 20:
 
* [[ampel|build a traffic light (German)]]
 
* [[ampel|build a traffic light (German)]]
 
* [[control an LED via USB/RS232 adapter]]
 
* [[control an LED via USB/RS232 adapter]]
 
Today I assumed that the attiny 13 is correctly built in when the small point is where the half circle is in the diagrams. In other words VCC and RES is next to the point. I tested it the other way today and smoke came up. Classical smoke test.
 
  
 
Now let's get to the ATTiny13 included in the package. Mine has on its back a print L8 Taiwan R1 and on the left top BF3. To install the bootloader and fuses to the device you must first run mProc to invert the voltages.
 
Now let's get to the ATTiny13 included in the package. Mine has on its back a print L8 Taiwan R1 and on the left top BF3. To install the bootloader and fuses to the device you must first run mProc to invert the voltages.

Revision as of 08:38, 3 January 2013

I love to play with electronic devices.

Contents

My devices

            ------
 PB0(MOSI)-|ATtiny|-GND
 PB1(MISO)-|  13  |-
 PB2 (SCK)-|      |-
       VCC-|     o|-RES
            ------

My experiments

Now let's get to the ATTiny13 included in the package. Mine has on its back a print L8 Taiwan R1 and on the left top BF3. To install the bootloader and fuses to the device you must first run mProc to invert the voltages.

ftdi

The ftdi chip works with Linux. It is (except that it is said to deliver 5V, not 12) a USB to RS232 adapter. Let's play with it.

See also