Комментарии •

  • @themainproblem
    @themainproblem 11 лет назад

    I am having a very difficult time believing that you have transformed into an electronics master from graphics designer. This doesn't make sense but it's a cool angle. You are a very cool person and and I have the highest end respect for you . Keep up the great efforts.

  • @Ingmarthegeek
    @Ingmarthegeek 10 лет назад

    Hey Mike, no I encourage you to keep watching this stuff and valiantly protecting Ben from anyone with an opinion, it's clearly an important part of your existence. Heaven forbid that anyone out there would benefit from correct information, especially beginners!

  • @fussywalrus
    @fussywalrus 10 лет назад +2

    at 2:04: the PIC32 does have internal pullup and pulldown resistors. You need to write to the CPUE and CNPD registers.
    MPIDE isn't just like Arduino IDE. It is a port of the Arduino IDE to include more microcontrollers.

  • @mr_sheen_asg
    @mr_sheen_asg 10 лет назад +2

    You can toggle a pin on Pic32 a lot faster, if I remember it was something like 8Mhz, I've programmed it in Microchip Mplab and after making sure that configuration bits are set correctly so the chip runs at 80Mhz.
    All chipkit boards can be programed in Mplab using pickit 3 programmer.
    The other useful thing about Pic32 is that you can just do TRISBSET=BIT_6; or TRISBCLR=BIT_6;
    TRISBINV=BIT_6;
    ALSO LATBSET, LATBCLR, LATBINV
    LATBSET=BIT_1|BIT_2;
    B is for port B
    BIT_2=1

  • @JeffSmith03
    @JeffSmith03 10 лет назад +13

    Thanks for showing the PIC32, awesome--but it is aggravating trying to see what Ben is typing but you cover it over with some cheap note only for unintelligent people. I want to see what he is showing me!

  • @jobaptist
    @jobaptist 11 лет назад

    i like your tutorials.. its very straightforward and simple to understand. thanks for your effort in making these excellent videos for new beginners like me..

  • @KuraIthys
    @KuraIthys 11 лет назад

    I can't speak for the specific case, but if you can read from the ports using the onboard OS, then the answer to something like that is writing a keyboard emulation driver that reads the button inputs (using whatever means the device allows), and then sends a keypress to the OS. For the Pi that means learning about linux keyboard drivers. There may be easier ways though, (for instance, on windows, DirectInput can generate emulated keypresses without needing a custom driver.)

  • @joaomarcoscarvalho10
    @joaomarcoscarvalho10 5 лет назад +1

    You've got my like just in 30 seconds of video

  • @zilym
    @zilym 11 лет назад +1

    I used a PIC32 on my TRAXMOD music player and I could swear it had internal pull ups back then and I made use of them. I was surprised to hear Ben claiming PIC32 doesn't have internal pull ups. I bet he's wrong on that one.

  • @MrInnovativeEnergy
    @MrInnovativeEnergy 10 лет назад

    Getting a 40Mhz signal here on a Pic32 Starter Kit using Mplab X using C with 80Mhz main clock. Looks nice and square as well which, I did not expect.

  • @ahayesm
    @ahayesm 6 лет назад

    Clock for clock the AVR and PIC32 are actually tied for speed at bit toggling. If you write in C and don't want to pay for a compiler the AVR is a little faster even.

  • @D0omC0okie
    @D0omC0okie 11 лет назад

    What type of college course would I learn what you were doing with the code for the chip? I've taken a little bit of coding classes but nothing for what you were doing.

  • @Keltrunner
    @Keltrunner 11 лет назад

    Good show as always. Keep up the good work Ben.

  • @DieterM75
    @DieterM75 11 лет назад +1

    Would be great to use raw port access on the Arduino, too, and a breakdown of all results shown in a table.
    Btw I just tested it with my internally clocked 8mhz Atmega8a and the full cycle (rising edge high - low - rising edge high) takes 0.76us (f=1,3mhz).
    The Atmega328p should be even faster!

  • @Otherman101
    @Otherman101 11 лет назад

    I keep seeing people asking him to show how to make these things, but I don't know what you want to see. There are plenty of tutorials on how to create CNC machines on the internet and this would follow the same principals. You would need a powerful laser instead of a cutting head (and probably some adjustments to the controller).
    Ben's videos on complex builds (like the one you are proposing) have to leave out most details to keep the videos short. He won't make a step by step guide.

  • @mhtsaklas
    @mhtsaklas 11 лет назад

    For the arduino you can go two ways: Enable and use inline assembly in your scetch, or just use the microcontroller with atmel's original tools, and load the binary yourself overwriting arduino's bootloader (your arduino functionality might break and you are generally better off with a streight avr dev board if you want to do this, google the avrfreaks site for any info you might need on avr programming).
    Older pic mcs were programmed in assembly, so I would expect that to still be an option.

  • @MHamed-gq6jr
    @MHamed-gq6jr 11 лет назад

    The PIC32 has registers to set, clear, and invert any number of bits at the same time. Assuming the compiler didn't do that already, you could save more time using those and that would save all the unneeded shifting

  • @TheDoubleg94
    @TheDoubleg94 11 лет назад

    Nice video Ben, Just one bit of information that wasn't quite right in the video: Pulse width modulation works by varying the duty cycle of the LED not how fast it blinks. In other words it changes how much time in one cycle the light is on not how fast the cycles occur.

  • @JustinDrentlaw
    @JustinDrentlaw 9 лет назад

    I love that rant about wanting to not sleep lol.

  • @haaamlett
    @haaamlett 11 лет назад

    hi ben
    i m a swiss computer scinece student and i wantet to do some microcontroller programming for a long time but i dont know what i need to buy or build
    I got some medium soddering skills and a little elecronics expirience. do you have a good tuturial for this? i just find them fascinating.

  • @xDR1TeK
    @xDR1TeK 10 лет назад

    Very nice video. I understand the need for c compilers, but isn't there a c directive to embed assembly code to toggle ports states?

  • @joobeng
    @joobeng 11 лет назад

    Hi, after 13:58 mins, you mentioned Pic32 connected to prototype board, what is the name of the board again please? Is there a link to where we can buy it? Thanks.

  • @CombustionGamers
    @CombustionGamers 11 лет назад

    Slightly random question, unrelated to the video but, is it safe to wire a switch to the data wire if a USB wire to easily switch between sending the data between two different devices? I don't want to duplicate the data, just switch between the source of the data.

  • @DJignyte
    @DJignyte 11 лет назад

    Hey Ben, would it be possible to use a PIC32 or Arduino module to read some of the basic data that cars output from their OBD1 / OBD2 and display them on a small LCD?

  • @joaquin.aldunate
    @joaquin.aldunate 7 лет назад +1

    Hi Ben, thanks for these videos! I was starting to get curious about this chip architecture, and found your channel. I am looking for how to make sounds from this chip. Is it possible? is it fast enough to synthesize or load sounds from an sd card? What DAC would be good for some >12 bit sounds? Thanks!

  • @MrEklipze
    @MrEklipze 9 лет назад

    Can you tell me which microcontroller would be good for a foosball table please? I want to program audio into it so that when a game starts it plays music. I also want to add sensors so that it detects when one of the sides scores and shows the score on an lcd module or something. I want something that can support at least these options, thank you! I know C, C++ and Java, but this is my very first summer project and I want to accomplish this from scratch.

  • @Penfold8
    @Penfold8 11 лет назад

    What books could you recommend for PIC embedded C? Every book that I have come across has a very high price tag or has a lot of negative feedback.

  • @AntonRelin
    @AntonRelin 11 лет назад

    Hello! I am a high school student who has been fiddling around with FPGAs and UNIX Systems. What I recently found out, is that you can run UNIX on a Gameboy. What I think would be really cool is to use the serial port in the back (usually used for multiplayer) to plug in a keyboard. I don't have the experience with FPGAs needed to implement something like this, but I would love to see it done! Any chance you can do something like this?

  • @Otherman101
    @Otherman101 11 лет назад

    Also, micro-controllers and micro-processors can do a large variety of things. Every electronic device you own that has buttons or displays use them (eg. Cars, tablets, microwaves, toys, tvs, clocks, etc). Also their are many more industrial applications. To ask him to spend hours of his time making a variety of some uses is not fair, just so you can sit in your chair and say "oh isn't that neat" and then go watch another video. He's trying to get people interested in trying things on their own

  • @DutchFuzzVideos
    @DutchFuzzVideos 11 лет назад

    Ben what do you think about a speaker (or two speakers) for your PC or Laptop in the shape of an old game system like the Gameboy (Color). That would be pretty awesome
    Martijn

  • @MotvnGM
    @MotvnGM 11 лет назад

    You should make an Mp3 Player that is also a Rubiks Cube,
    i've seen some that have the Rubik's Cube Style, but i want to see one that you can actually Turn and Solve while listening to music.

  • @iSolarSunrise
    @iSolarSunrise 11 лет назад +1

    Agreed. I use Assembly to program my Cortex-M4

  • @joesmoe71
    @joesmoe71 11 лет назад

    Ever try making a robotic cocktail mixing machine?

  • @Somun-a
    @Somun-a 11 лет назад

    Hey Ben. There are actually some pins (Change notification : CN pins) that have pull-ups. Thanks.

  • @maxrainer8553
    @maxrainer8553 8 лет назад +17

    but isn't it unfair to write the pic i/o directly vs the avr over digitalWRITE? you should measure the avr when running directly via port conmands as well

  • @YTWAGNERM1
    @YTWAGNERM1 10 лет назад +2

    Was the Arduino programmed using direct port? Are the processors used really comparable? The video gives the impression that PIC is way faster and I'm not sure the comparisons were done in a level playing field.

  • @martyn158
    @martyn158 9 лет назад

    Hi there, I'm really stuck trying to learn microcontroller's, I've spent around £200 on books and bought the pickit's 1&3 but I don't seem to be able to get kick started with this, I've never had a problem learning a new thing before........ any ideas are very very welcome.

    • @EricFBG
      @EricFBG 9 лет назад

      Hi there. The microcontroller you are trying to learn are Microchip PICs? What exactly is the most difficult problem you are facing? Maybe I can help you out.
      Also, are you familiar with programming languages?

    • @TomWalterTX
      @TomWalterTX 9 лет назад +2

      Martyn Southwood Lots of great material online at Microchip:
      microchip.wikidot.com/training:start
      When I had a specific item to solve, it helps drive the creative juices. Latest one: 1992 Nissan 240SX headlights that don't go down. Bad delay module... so goal is $2 PIC, perf board, some discrete parts. So taking a 1985 design, and bringing it up to 2015. Admitted Nissan sells the module for $45, but that is no challenge.

    • @pacrat90
      @pacrat90 9 лет назад

      Martyn Southwood The Arduino is exceptionally nice for learning and the learning curve is less daunting than it would be for a PIC32. I've only used AVR ATmega chips first then moved to PIC18, PIC10 and now PIC32.

    • @TomWalterTX
      @TomWalterTX 9 лет назад

      pacrat90 Martyn Southwood
      Wait -- you can have both PIC32 and Arduino code! ChipKit. google TCHIP-USB-MX250F128B (DP32 from Digilent is board with the 28 pin dip on it...). Only catch is press "RESET" while holding BTN2, then release BTN2 to download new code.

    • @martyn158
      @martyn158 9 лет назад +1

      Hi everyone, thanks for all your reply. .... I think the problem is I have no coding experience and so reading through all these expensive dedicated microcontroller books is washing over my head, I've just bought c for dummies and hoping that might shunt me in the right direction

  • @MotvnGM
    @MotvnGM 11 лет назад

    You should build a Miniature Pinball Machine, like one that would fit on a desk.

  • @dtn2529
    @dtn2529 3 года назад

    A description on the website would be helpful

  • @TazZat
    @TazZat 11 лет назад

    You should build a portable Raspberry Pi Computer next week!

  • @Lumpio2
    @Lumpio2 11 лет назад

    Actually a digitalWrite of a constant value to a constant pin number should compile down to a pretty ideal constant assembly instruction if the compiler is good at optimizing - the Wiring library has a special constant path for that. When I tried a similar thing with msp430-gcc, what looks like a function call indeed compiles down to a single bis.b instruction.

  • @chrysalide_aero
    @chrysalide_aero 3 года назад

    Hi,
    And Pic 32 Mz can run Unix, tried it, quite good for small as it is.
    Jean-François

  • @FERNANDOPENAS
    @FERNANDOPENAS 9 лет назад

    Hello.
    I have a question that I will try to formulate as best as I can. I am new into electronics, and basically, I am starting to study it mainly becouse of this question I am about to make.
    I have 3 servo-drive motors, and I plan on using it on a 3 Axis CNC router configuration.
    The servo motors has the drives integrated in its housing.
    The question is.. Since this servo drives has a connection with a Power input and 4 Pins for CAN. Pins 1 (Can Ground) 2,(Can Low) 3, (Can High) 4, (Can Vcc).
    Now my question is.. How can I control this motors? What kind of controlling board gives out this signals.. Is the Can high and Can Low signals compatible with the pulse and clock signals (step and direction?) if not, how can I feed this motors with this signal in ordor to control them in a 3 axis interpolating manner.
    Thank you I have subscribed..

    • @s3340985
      @s3340985 9 лет назад

      Fernando Penas Servos work via pwm, just read some tutorials on how to program them - that'll clear things up for you

    • @wiscak
      @wiscak 9 лет назад +1

      +Fernando Penas CAN stand for Controller Area Network, and it's a bit more complex than simple step-direction. CAN is a bus-type, one that you for example will find in most modern cars.
      You would need special hardware to talk with a CAN-bus, and then this hardware might assist you with some protocol technicalities aswell. Take a look here for example: www.microchip.com/pagehandler/en-us/technology/can/home.html

    • @FERNANDOPENAS
      @FERNANDOPENAS 9 лет назад

      +mizcak Yes, and the packages are standardized, as far as I understood Can protocol.. They are 16 bits signal enveloped in the can protocol.. But, is it possible the signals that the drive understands are proprietary from the manufacturing company, or there is also a standard way in which the pwm signals will be encoded and decoded in the bus.. I mean, there must be an adress to each hub in the can network.... How can I find the adress to each servo drive (maybe some listening device or such)

  • @ThR-xyz
    @ThR-xyz 11 лет назад

    So... are you going to go back to showing if the PS3 and Wii U from your all-in-one console works?

  • @MichaGounski
    @MichaGounski 8 лет назад +4

    Come on... no Element14 link to chipkit in description?

  • @DeeegerD
    @DeeegerD 8 лет назад +1

    I've gotten the Arduino to output into the MHz square wave so I don't understand why you say only a couple hundred Kilohertz?

  • @incodewetrust8862
    @incodewetrust8862 9 лет назад

    what is the best pic32 kit for start for motor control robot, drone, and any sensor also camera and wirelles and cheapest

  • @Surge_Engineering
    @Surge_Engineering 11 лет назад

    what CAD program do you use for when you use your 3d printer

  • @madhav7728
    @madhav7728 9 лет назад

    Hello sir, i made a remote control home appliances using microcontroller AT89C2051 but its not working when i put first time ic then the led blink again when i put same ic second time there is no blink also when i press tv remote no working.i'm using triac insteadof relay.tell me solution

  • @ToxicGameStudio
    @ToxicGameStudio 11 лет назад

    Is there a way to use the gpio lib on the raspberry pi and convert button input to an ascii key or emulate a key such as an arrowkey?

  • @xasdrubalex
    @xasdrubalex 11 лет назад

    there's a few bunch of OBD (CAN BUS) shields for Arduino and i'm quite sure there's something like for PIC32 too.
    look at seeedstudio/sparkfun/etc.

  • @mrcool9755
    @mrcool9755 6 лет назад

    Do you need a graphics controller (like an ssd1963) or is the pic32 capable to run a display by itself?

    • @Jarni1979
      @Jarni1979 6 лет назад

      read the datasheet

  • @Otherman101
    @Otherman101 11 лет назад

    Excuse me Sir,
    Your CAPS Lock key seems to be engaged. Kindly disengage it by simply pressing the key once again.
    If you don't know what can be done by a micro-controller you should probably look at its datasheet for its features. Microchip makes excellent datasheets and they describe how to use the features and various supported protocols. The MPLAB IDE they make and all their libraries make programming easy too. You might want to start on an 8 or 16 bit processor first, 32 is overkill.

  • @element14presents
    @element14presents 11 лет назад

    The laser cutter/engraver can do that.

  • @Tubepkp
    @Tubepkp 11 лет назад

    Is the PIC32 also an 8 bit uC like the Atmega328 P?

  • @duperdude25
    @duperdude25 10 лет назад +9

    These popups on the bottom if the video often block the content of your instructions. Like in this video the code on the computer screen that you're referring to is often blocked by these annoying tie bit popups. So we can't tell what you're talking about. Please don't use those as valuable content is often blocked. The popup looks like bunch of ICs with the Ben Heck logo and some caption. Really unnecessary. Thank you.

  • @willwiffen
    @willwiffen 8 лет назад +2

    Where did you get the list of ports/pins etc.? thanks

    • @pacrat90
      @pacrat90 8 лет назад +2

      +Will Wiffen The data sheet.

  • @Jarni1979
    @Jarni1979 6 лет назад +6

    2:03 almost ALL pin of pic32 has internal pull-ups

    • @levijohansen2603
      @levijohansen2603 4 года назад

      sure about that? the board says otherwise :)

  • @testingbeta7169
    @testingbeta7169 5 лет назад

    I can relate to , Im a graphic designer and electronics fan :P

  • @KailashG
    @KailashG 11 лет назад

    thanks ben for the ep

  • @HappinessVids
    @HappinessVids 11 лет назад

    You should make an on the go chargeable case for an IPod 4 and iPhone 4S

  • @BUNN1E5
    @BUNN1E5 11 лет назад

    I'm sort of the one you see writing that on all of Ben's videos I mean I did write the same thing on 5 of Ben's videos I just want to see him build one maybe like a small portable one

  • @superlongnamefive
    @superlongnamefive 11 лет назад

    is it possible to program this or an arduino using assembly language?

  • @fabts4
    @fabts4 9 лет назад +8

    You can do low-level port manipulation within the Arduino IDE as well.

    • @KillJD
      @KillJD 9 лет назад +1

      Really?

    • @fabts4
      @fabts4 9 лет назад +4

      KillJD Absolutely. Even if it's written Arduino on the board (and the IDE), it still is an AVR microcontroller. So you can use AVR C and even assembly if you want.
      You can make digital pin 8 to 13 as outputs with:
      DDRB |= 0b00111111;
      That's *way* faster than using a for loop with pinMode().

  • @TheRyanmoose
    @TheRyanmoose 11 лет назад

    yeah do it please that would rock

  • @Leonelf0
    @Leonelf0 10 лет назад

    You should do something on Cortex M3 controllers...

  • @phar611
    @phar611 11 лет назад

    Ben how do i start learning to do what you do ?

  • @gaming-zombie1392
    @gaming-zombie1392 10 лет назад

    THANKS BEN!!!!!

  • @Ze-Ace
    @Ze-Ace 11 лет назад

    At 5:09 why did you say your using pin 32 but then highlight and read pin 52....?

  • @deltapparo4451
    @deltapparo4451 11 лет назад

    Which is what I already stated. By the way .... where is Arduino located "at".

  • @sharp011810
    @sharp011810 11 лет назад

    Need project ideas,
    I am in my final quarter for school, and I have a capstone project, I need some ideas I can use a PLC, an 8051 microcontroller, and IC chips. I can't do anything crazy, I am only getting an associates in computer's and electronics, some people do conveyer, an elevator, a security system, and so on.

  • @wa4aos
    @wa4aos 6 лет назад

    I agree 100% with the last comment. It was difficult and at times impossible to follow the screen with all of the ANNOYING graphic editing. If the intent is really to help people learn then leave the screen shots intact. If the intent is to be a showoff and hide your work, then I'll find other authors who are willing to show their efforts. Enough said !

  • @talhayousuf4599
    @talhayousuf4599 7 лет назад

    what's the pic development board you are using

  • @3lohssvrm
    @3lohssvrm 11 лет назад

    im more worried about damaging the pic. Even if its running PWM its still delivering 5v with little load resistance for short periods.

  • @zobook
    @zobook 11 лет назад

    Shatner on the play-list? come oooooooooon

  • @TheStiepen
    @TheStiepen 11 лет назад

    rapsberry projects in general rock :P (NEED MOAR RAPSBERRIES)

  • @narfxfk
    @narfxfk 9 лет назад

    holy fuck that epic intro....
    SUbed +

  • @qitaristah
    @qitaristah 11 лет назад

    I think, "LATG ampersand= tilde1 leftshift 6;" should be "LATG ampersand= tilde(1 leftshift 6);" at the very least. At 8min:30sec.

  • @pulverizer4235
    @pulverizer4235 4 года назад

    Does arduino or pic have constant current source 4:00?

  • @curtiswhaley6958
    @curtiswhaley6958 2 года назад

    Yes

  • @eliezercohen2205
    @eliezercohen2205 7 лет назад

    can u please make a detailed video on the bus pirate !!!!
    how to dump memory talk i2c spi and write in the script mode.
    PLEASE!!!

  • @Lefsler
    @Lefsler 11 лет назад

    where i can find one of those to buy?

  • @knownuser09
    @knownuser09 11 лет назад

    look though the old videos man, hes made a number of custom controllers.

  • @ArgentDawn55
    @ArgentDawn55 11 лет назад

    Would be nice if you had a 2nd channel were we could watch the same vids without music

  • @ahbushnell1
    @ahbushnell1 11 лет назад +1

    You forgot the resistors for the LELD's

  • @Alex-rv8gw
    @Alex-rv8gw Год назад

    where can get the code for pic32mx?

  • @vanarajsinhmatieda427
    @vanarajsinhmatieda427 8 месяцев назад

    Can i get code from somewhere ?

  • @muh1h1
    @muh1h1 11 лет назад +1

    ehwnever you would normally see code, some boy is beeing placed over it making it unreadable.
    Please consider using the youtube annotations feature instead, so that uninterested viewers can switch it off!

  • @mustafaglnr8780
    @mustafaglnr8780 5 лет назад

    possible to share your codes at 13:22 ,
    to see the code details related with projects.

  • @BigManko
    @BigManko 11 лет назад

    Could you build a printer that can print on wood?

  • @zunmun
    @zunmun 10 лет назад

    Same about the sleep rant

  • @NoahKuzel
    @NoahKuzel 11 лет назад

    @cooltrollboy it has already been built by someone else already. Search for the Super Genintari on google or youtube. The guy the who made it also brought us the "nintoaster" and the Super "Nintoaster"

  • @MHolt9999
    @MHolt9999 7 лет назад

    PIC 32 HAS user configurable Pull-ups on a number of pins!

  • @dejavuorpinocchio8825
    @dejavuorpinocchio8825 7 лет назад

    Awesome

  • @kingmallow
    @kingmallow 11 лет назад

    Could you build a printer that prints wood =D ; I love your videos

  • @BUNN1E5
    @BUNN1E5 11 лет назад

    Make a laser cutter by hand (tools like a saw and stuff are good)

  • @andrewkenny9123
    @andrewkenny9123 9 лет назад

    How do I do boundary scan of the PIC after it has been programmed?
    I Think I have to set the JTAGEN flag to high - But i don't know how. Does anyone have any advice?

  • @thesaltysak6644
    @thesaltysak6644 11 лет назад

    hey ben can you build one of those humanoid ROBOTS that they fight in japan ...you know those small robots that have like 14 servos a pcb and a radio controll can you build it on a budget because they can cost upto 1000 and i have a 200 dollar budget thanks

  • @alidan
    @alidan 11 лет назад

    most games do as follows
    32bit no large access - 2gb max
    32bit with large access - 3-3.5gb max (i forget how much can be seen by 32bit)
    64bit os 32bit software no large access - 2gb max
    64bit os 32bit software with large access - 4gb max
    64bit both no large access - 2gb (i Bellevue its still 2gb... may be 4gb)
    64bit both with large access - 196gb (possibly more, it may be tb)
    with the ps4, game developers will start making games that use 4gb ram minimum, will be interesting to see what they do.

  • @iulianvalentin85
    @iulianvalentin85 11 лет назад

    Both arduino and chipkit are great and inexpensive dev. boards with a poorly constructed IDE.
    It is an IDE built with very little or no funds and it shows. I would have rather paid 10-20 dollars on the software knowing that the IDE is as good as the board in terms of quality.