flat assembler
Message board for the users of flat assembler.

Index > Heap > What do you recommend for start in eletronic?

Author
Thread Post new topic Reply to topic
Bob++



Joined: 12 Feb 2013
Posts: 92
Bob++
Hello dear friends.
I want to learn a bit about electronic. I'm a completely beginning. I'd never touched in any eletronic thing before. What do you recommend for me? I want to something that: I make the kernel/operating system or how is this called, as simple possible; after load and the device and run. I'd to love something like simple but dynamic for example: I can make a calc,take the number input from a keyboard or something like this. If there is,some device com I/O support(but if there is no a simple for a begginer,forget).

I think that a device with a z80 processor such one of TI-* series is very nice for me,is not?
BTW,don't recommend Arduino. It is for me like use HLL languages.

Thank you very much Smile
Post 15 Mar 2013, 03:55
View user's profile Send private message Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 161
KevinN
http://www.makershed.com/ this for like hobbyist "diy".. Maybe not what you are looking for but i kinda loke it
Post 15 Mar 2013, 05:48
View user's profile Send private message Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 161
KevinN
http://youtu.be/WKE26TWLdaI

Lot of videos like this around too
Post 15 Mar 2013, 05:50
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Buy yourself a soldering iron and learn to use it.
Post 15 Mar 2013, 05:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Spool



Joined: 08 Jan 2013
Posts: 154
Spool
[ Post removed by author. ]


Last edited by Spool on 17 Mar 2013, 10:55; edited 1 time in total
Post 15 Mar 2013, 15:10
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Bob++ wrote:
Hello dear friends.
I want to learn a bit about electronic. I'm a completely beginning. I'd never touched in any eletronic thing before. What do you recommend for me? I want to something that: I make the kernel/operating system or how is this called, as simple possible; after load and the device and run. I'd to love something like simple but dynamic for example: I can make a calc,take the number input from a keyboard or something like this. If there is,some device com I/O support(but if there is no a simple for a begginer,forget).

I think that a device with a z80 processor such one of TI-* series is very nice for me,is not?
BTW,don't recommend Arduino. It is for me like use HLL languages.

Thank you very much Smile

You can still use Arduino without using the HLL, you can use asm.
Code:
/*
 * ledbutton.asm   (
 *
 *  change flashing led when button pressed (full working)
 *  Created: 1/29/2012 3:56:21 AM
 *   Author: Dex
 */
 .include "C:\Program Files\Atmel\AVR Studio 5.0\avrassembler\include\usb162def.inc"

 .def temp  = R16                  ;
 .def temp1 = R17                  ;
 .def temp2 = R18                  ;
 .def mask  = R19                  ;
 .org 0                            ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
; Program start                    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
start:                             ;
        ldi temp,low(RAMEND)       ; Set stack low address
        out SPL,temp               ; 
        ldi temp,high(RAMEND)      ; Set stack high address
        out SPH,temp               ;
        ldi mask,0b01100000        ;
        ldi temp,0b01000000        ;
        out PORTD,temp             ;
        out DDRD,mask              ; set port D 6 and 5 to output
        ldi mask,0b00100000        ; set bit to 1 turns led off
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
; Main loop                        ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;    
MainLoop:                          ;
        sbis PIND,7                ; If button not pressed, skip next instruction.
        rjmp Lskip1                ; If here button pressed
        eor temp,mask              ; xor temp and mask
        out PORTD,temp             ;
        rcall Delay                ; call the Delay function
        rcall Delay                ; call the Delay function
        rjmp MainLoop              ; loop main loop
  Lskip1:                          ;
        sbrs mask,5                ; test if blue led or its red
        rjmp bit6zero              ;
        ldi mask,0b01000000        ; set red led  flashing
        ldi temp,0b01100000        ;
  loopy1:                          ;
        sbis PIND,7                ; here we test for button release
        rjmp loopy1                ;
        rjmp MainLoop              ;
  bit6zero:                        ;
        ldi mask,0b00100000        ; set blue led flashing
        ldi temp,0b01100000        ;
 loopy2:                           ;
        sbis PIND,7                ; here we test for button release
        rjmp loopy2                ;
        rjmp MainLoop              ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
; Delay 0.1 sec (1.2 MHz)          ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
Delay:                             ;
        ldi temp1,200              ; outer loop count 
  L1:                              ;
        ldi temp2,199              ; inner loop count 
  L2:                              ;
        dec temp2                  ;
        brne L2                    ;
        dec temp1                  ;
        brne L1                    ;
        ret                        ;
                                                       

But as Spool said raspberry pi is a good chose and you can use fasmarm.
http://www.dex-os.com/DexBasic/DexBasic.htm
https://github.com/PeterLemon/RaspberryPi
Post 16 Mar 2013, 00:30
View user's profile Send private message Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
I don't thing that recommending a raspberry pi to a newbie is a good idea.

If you wan't to learn some analog electronics go, find out about circuit theory: what resistors, capacitors etc. are and what they do, how to use a transistor and an op-amp. You will need this knowledge very badly.

Go get a soldering iron, learn to use it and try to build some circuits. It will be hard in the beginning, but once you get it building and debugging very complex circuit will be just a matter of time you spend on it.

If you want to make a digital device, get some knowledge about embedded devices - micro controllers, processors, fpgas etc. how to connect them, make them work and later how to program them.

That's the straight way to start.
Post 17 Mar 2013, 16:23
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
you can buy the breadboard and insert parts there without soldering Wink
Post 18 Mar 2013, 12:09
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Good point - breadboard is essential! You can build circuits easy and modify them even easier.
Post 18 Mar 2013, 20:39
View user's profile Send private message Visit poster's website Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
shoorick wrote:
you can buy the breadboard and insert parts there without soldering Wink


When I was taking Digital Design course, my instructor ocasionally use this tool: WinBreadBoard

Image

Image

Smile
Post 19 Mar 2013, 02:30
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
malpolud wrote:
Good point - breadboard is essential! You can build circuits easy and modify them even easier.

And you can use a breadboards with the PI
http://www.youtube.com/watch?v=4OaPX6vhR14
http://www.youtube.com/watch?v=TL71Nac2lAI
Post 19 Mar 2013, 02:36
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
if you wish your electronic device has processor inside and deals with pc and you do not have anything yet, the arduino or that pi could be the solution.
you may use bare MCUs to build your device: it may be 10 times cheaper, but you need at least a programmer for them, you must to build it or to buy anyway, also it's not too easy to communicate with simple MCU through USB.

if you are lucky guy (as me) and have pc with lpt and com ports, it becomes extremely easy, as lpt ISP programmer for AVR consists of 6 wires (including power).

you can see how i made a "MCU station" Smile it is connected to lpt and to usb (for power sake), first time it was simpler, now it has also some wires to give +5V if you need to feed some boards at once.

there is a simple diy usb programmer for AVR also, but it is built with ATtiny2313, and anyway it needs to be programmed first (maybe you can find a fried next to you) Wink

_________________
UNICODE forever!


Last edited by shoorick on 31 Jan 2016, 20:01; edited 1 time in total
Post 19 Mar 2013, 05:20
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
AT89S51 board while building and ready Smile
it is a wire extracted from pieces of LAN cable Wink

[fotos have been removed due to upload limit]

_________________
UNICODE forever!


Last edited by shoorick on 31 Jan 2016, 20:01; edited 1 time in total
Post 19 Mar 2013, 05:30
View user's profile Send private message Visit poster's website Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 161
KevinN
is there more software like that breadbox simulator program?
Post 19 Mar 2013, 09:21
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
Yeah... that simulator looks awesome!!
Post 19 Mar 2013, 10:49
View user's profile Send private message Send e-mail Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8900
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
cool stuffs from shoorick!
i just wish i could reach ur level, i need more energy and desire to master all this.
Post 19 Mar 2013, 12:45
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
thanks Smile nothing especial in real Smile
Post 20 Mar 2013, 06:07
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:23; edited 1 time in total
Post 20 Mar 2013, 19:24
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
Smile
if you wish to start with electronic, you must learn school basics of electricity first:
1) what is current, what is voltage, what is direct current and alternate current, what is resistor, Ohm law and Kirchhoff laws, common resistance of serial and parallel connected resistors.
2) what is capacitor and coil, how do they behave in alternate current, their positive and negative effects in schematics.
3) how do diodes and transistors work, what parameters do they have
4) what is power and how it is appearing (P=U*I), conditions of the maximum power dissipation and ways to minimize it.

and it is just a minimum Smile there should be books about it enough for start with electronic, there is no sense to repeat everything what was already explained in them many times Wink
Post 21 Mar 2013, 06:05
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.