[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/EMBEDDED/
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 180
Thread images: 27
File: 1467538985932.jpg (2 MB, 3264x1836) Image search: [Google]
1467538985932.jpg
2 MB, 3264x1836
This where we talk that hip talk that chip talk
>background music
https://www.youtube.com/watch?v=MXGORPXI6QQ

>EE/Embedded engineering/

--Hardware--
>Texas Instruments Launchpad
>Arduino
>beagleboard

>Ultra Low Power
>Projects
>Prototypes
>Sensors

Is anyone doing any emulation on a 16bit chip for the challenge?
>>
better this than makishit and RX 480 shilling
have a bump
otherwise >>>/diy/ might give you more luck
>>
>>55404238
This, have another bump.

Have couple arduinos and raspberry pis. Considering buying some ti launchpads to get more serious.

Any recommendations?
>>
>>55405073
MSP430 is good because you can take the chip out and pop it on a breadboard, or any other circuit you make. 16-bit.

The 432 is a 32-bit, and a little more powerful, however, i heard in the last thread that you can't buy the chip separately, it's a SMD only right now (and it's been out for like a year)
>>
File: IMG_20160630_162754291.jpg (3 MB, 2340x4160) Image search: [Google]
IMG_20160630_162754291.jpg
3 MB, 2340x4160
Hi there. I have 5 Raspberry Pis, I often use it for playing games with emulators or movie/YouTube watching. I have noticed that the Raspberry Pi 3 tends to overheat quite frequently, especially when WiFi is involved. I have applied a heatsink using thermal epoxy instead of the sticky thermal tape that was under it, and now it's way more responsive. I believe it's because of the thermal conductivity (10 to 20 times better). What's your opinion?
>>
>>55405543
yeah, thermal paste is the only way to go, and when heat can radiate, electronics work better.

however, arduino is more of a SBC, not a micro controller.
/SBC/ ->
>>55403435
>>
>>55405148
Thanks. Ordered a 432 since I wanted 32-bit with WiFi. I'll see how it goes ;)
>>
>>55403406
>>Texas Instruments Launchpad
>>Arduino
>>beagleboard
What is this shit?
Where are pure AVR, PIC, Z80, 6510 chips? Hmm? :-)
Anyway just got an FPGA.
I also want to get a rpi3, install win10 on it. Program Cortana and make it into Jarvis or some cool movie tier shit.
>>55404238
Get the fuck back to >>>/v/ or to your shitty ass consumerism thread.
>>
Why do my atmegas break? Ordered 2 8535 and one of them just didnt work, also had an old 88 lying around that I'd never used, also broken.
>>
>>55405912
Anyway got another atmega88 that works, I've programmed an audio delay on it with pots for feedback and delay time control. It's super lofi and shitty (using 8-bit pwm for audio output lmao) but it's fun. Gonna solder it in a case now.
>>
>still no cortex a72 board on sale
fuck my shit up senpai
anyone writing an OS for ARM here? I am gonna make an exokernel :3
>>
>>55405912
Static electricity? How do you store them?
Also, how do you use them?

Do you put bypass capacitors around the atmega? I had problems with it seemingly not working with longish programming cables without proper bypass caps.

Are you sure that you always keep them within their absolute maximum ratings? Don't short outputs to ground/vcc, etc...

I don't know your background, so sorry if my questions are too simple.
>>
>>55405951
No you're right, I'm probably just messing up some simple stuff. Also my laptop is kinda broken and leaks current. I'll try bypass caps next time.
>>
>>55405842
this poster has no idea what he's talking about

>hurr i buy electronics for the feelings they give me because then i can feel like i am a man from a comic book who is computers
>>
>>55406003
Nope, it's challenge. I can also connect stuff using wireless and have Cortana tell me shit.
It's also not bad to have a little fun sometimes.

Regarding "pure" chips: I learn a lot more that way, boards are excellent for prototyping though depending on your needs.

If you don't get this, then we don't have anything to talk about, I like doing cool stuff, you don't. Your problem.
Anyway, nice bait.
>>
Who /sensor/ here?

just picked up this chinduino list for less than 15 buckeroos

Package Included:
. 1 x Small passive buzzer module KY-006
.1 x 2-color LED module KY-011
.1 x Hit sensor module KY-031
.1 x Vibration switch module KY-002
.1 x Photo resistor module KY-018
.1 x Key switch module KY-004
.1 x Tilt switch module KY-020
.1 x 3-color full-color LED SMD modules KY-009
.1 x Infrared emission sensor module KY-005
.1 x 3-color LED module KY-016
.1 x Mercury open optical module KY-017
.1 x Yin Yi 2-color LED module 3MM KY-029
.1 x Active buzzer module KY-012
.1 x Temperature sensor module KY-013
.1 x Automatic flashing colorful LED module KY-034
.1 x Mini magnetic reed modules KY-021
.1 x Hall magnetic sensor module KY-003
.1 x Infrared sensor receiver module KY-022
.1 x Class Bihor magnetic sensor KY-035
.1 x Magic light cup module KY-027
.1 x Rotary encoder module KY-040
.1 x Optical broken module KY-010
.1 x Detect the heartbeat module KY-039
.1 x Reed module KY-025
.1 x Obstacle avoidance sensor module KY-032
.1 x Hunt sensor module KY-033
.1 x Microphone sound sensor module KY-038
.1 x Laser sensor module KY-008
.1 x 5V relay module KY-019
.1 x Temperature sensor module KY-001
.1 x Temperature sensor module KY-028
.1 x Linear magnetic Hall sensors KY-024
.1 x Flame sensor module KY-026
.1 x Sensitive microphone sensor module KY-037
.1 x Temperature and humidity sensor module KY-015
.1 x XY-axis joystick module KY-023
.1 x Metal touch sensor module KY-036
>>
>>55405842
it doesn't count unless your mcu has DMA
>>
>>55405681
>I wanted 32-bit with WiFi
Get an ESP8266, mate
>>
>>55406041
dude, you lost. you're wrong. you dont know what you're talking about, at fuckin all.

we are talking about chips and shit in here. this is where we talk that chip talk. didn't you hear the intro music?
>>
>mfw I fell for the intel edison meme
>>
>>55406091
you cant even buy that shit now. i tried to buy the one with the breakout board, and it was unavailable.

>>55406041
you cannot understand us because you are too soft.
>>
I'm planning to get an Odroid-XU4 for my 1st NAS. I would get microsd separately for the OS.

Am I fucking it up?
>>
>>55406121
>Am I fucking it up?
Yes, you're posting in the wrong thread.
>>
>>55406056
I had a sensor kit like that, looked pretty fun but never got around to it.
>>
>>55406129
Why? I though I could learn more about Odroid, Raspberry, Orange Pi etc here.
>>
>>55406166
There's already thread for SBCs up.
>>
What are the C concepts one should master to have a shot at a good embedded programming job?
>>
>>55406199
fizz buzz
>>
File: face.jpg (275 KB, 1000x1000) Image search: [Google]
face.jpg
275 KB, 1000x1000
>>55406199
>>55406041
>>55405842
>>
>>55406199
Reading datasheets.
>>
>>55406205
>>55406219
I mean, would it be expected that I know C/Posix multithreading by heart? Those sort of concepts
>>
>>55406199
Pointers, bitmasks, macros, casting.
Knowing how your mcu works, memory layouts, etc. is also needed.

You will run into a few C "extensions" while programming embedded which differ from platform to platform, compiler to compiler. Specific to programming your chosen cpu.
You will also need at least a moderate understanding of assembly, if you want to really go deep and know what you're doing.

TL;DR
Get really good with C. Learn basic assembly; enough to know how the architecture of your mcu works.
>>
>>55406288
Err... what kind of embedded programming do you want to do?
1. 8 bit mcus, like avr atmega328?
2. ARM Cortex-M3 32 bit mcus?
3. Something like an ARM cpu on par with a raspberry pi?

First one won't have an os, you will be programming bare metal.
Second on might have some tiny real-time os. You will be programming bare metal too with a few added benefits.
Third one will have, most likely, some linux, ,maybe one with a real-time kernel patch. This is probably where the multi-threading will be most useful. In the two other cases, tasks will be very different to your average PC-tier multi-threading.
>>
>>55403406
>People using my picture for /embedded/
Well, I'm mindfucked.

Okay.
>>
File: nicolas-cage-derp.jpg (13 KB, 300x168) Image search: [Google]
nicolas-cage-derp.jpg
13 KB, 300x168
>>55405623
>Arduino is an SBC
>Not a microcontroller
>>
>>55406091
Better the Edison meme than the Galileo meme.

Shit I was on a project where our whole team were GIFTED Galileos (not even "We'll need these back" units either) just to try and convince us to use them.

That piece of shit is still collecting dust in my closet.
>>
>>55406662
An arduino is a SBC with a microcontroller at its core. How is this hard to understand?
>>
>>55406708
If you widen the definition of SBC to include "any singular pcb what can do compute" then yes, you'd be right, but then it'd just be synonymous with "dev board" and be a useless term.

On the other hand, if you'd like to propose a new nomenclature that separates microcontroller dev boards like Arduino, Nucleo, and Launchpad, from Tiny Embedded Linux Boards like Beagle, <Fruit>Pi, and ODROID, I'm sure we'll all ears.
>>
>>55406340
>1. 8 bit mcus, like avr atmega328? [...] won't have an (rt)os
>2. ARM Cortex-M3 32 bit mcus? [...] might have some tiny rtos

https://www.youtube.com/watch?v=KTU4eWzj2q4
>>
>>55406056
I'm thinking of going /sensor/ soon, really want to build a weather station that I can access over http, with inside and outside sensors
>>
>>55406935
I don't use a os on small mcus. I know a lot of others who don't.
Most of the time it comes into play with "larger" mcus.

You're right though, it's possible and they ported it. I think most of the time on small mcus you do bare metal programming though.

Anyway did they port anything other than the scheduler?
>>
>>55407066
Not entirely sure about how much of freertos is running on the 328p. I just was bored and wanted to point out it has and can be done.
>>
>>55405842
rpi3 only installs windows 10iot, i'd get your facts straight before you spend any money dickhead.
>>
>>55407484
As far as I know IoT has Cortana.
>>
>>55407500
Win10IOT doesn't even have a start button or a taskbar, I wouldn't think it has cortana. I know it doesn't have it out of the box.
>>
File: 1464389249115.jpg (877 KB, 1080x1920) Image search: [Google]
1464389249115.jpg
877 KB, 1080x1920
>>55403406
Hi friends, I should probably just fuck off to DIY but short blog incoming:
Starting school later in life than I planned to and I'm majoring in computer science with hopes of going into sysadmin. Anyway, this has motivated me to do cool shit.
I'm thinking about buying a raspberry pi or some other board, usb wifi adapter with removable antenna, heatsinks, fan, switch, and lastly an LCD. I plan on either getting a 7 inch and using it to manage the router directly, or just managing via ssh and using the display for cool things like network stats or something.
Figured I could also use this as an excuse to play with some CAD software for the first time in my life to design a case for this thing.
It should only be like $150 tops. Am I being retarded? Should I just buy a decent openwrt router? A big reason for this is also the ability to tether my phone to the router with easytether/openwrt since it's LTE serves as my main line.
>>
>>55407526
Googling shows that it has speech api. Recognition included. Cortana can go and fuck herself though.
https://www.youtube.com/watch?v=GiDvBhfNnjU
>>
File: Screenshot (119).png (521 KB, 1920x1200) Image search: [Google]
Screenshot (119).png
521 KB, 1920x1200
Currently """""reverse engineering""""" the key matrix of an electric typewriter. I'll remove the keyboard, put in an Arduino and make it possible to remotely send stuff to type. My own ghetto Teletype if you will.
Does anyone have an Idea how I could avoid soldering a whole new "virtual" key matrix?
>>
>>55406056
please post link
>>
>>55406056
Are they SPI or 1-Wire sensors? Or just plain and simple ones with analog output?
>>
>>55408925
not him, but look around on aliexpress
tons of very cheap modules there
>>
File: oQFTb9J.png (112 KB, 935x611) Image search: [Google]
oQFTb9J.png
112 KB, 935x611
I'm waiting for some final prototype boards for a project, a DAC for laser projectors based on the ATSAM4S2B mcu. If it works I'll order a hundred of them to sell. Pic related, a render of the board without enclosure
>>
>>55406708
Wat
Arduino is an ATMel microcontroller with some periphery. Very far from a SBC
>>
Bumping this thread because its actually /g/ related, unlike 90% of the other threads.
>>
>>55408892
Neat, I've always wanted to do that too.
But it seems soldering to the multiplexer is your only option, unless it uses some serial thing right after that which would be less wires, but more work reverse engineering it probably.
>>
>>55409297
Yeah, maybe I'll check the chips that are on the mainboard, possibly I can find out what they do.
>>
Are there any dev boards/etc for 64 pin PIC's that don't require soldering?
>>
>>55409678
Not sure if that helps you but the Arduino Mega has tons of pins.
>>
>>55410002
Nah, did some stuff with a 64 pin PIC MC a while back and much preferred the direct low level C stuff that came with it vs the Arduino's. Wanted to try out a PIC + some other shit again but my current soldering iron is straight garbage.
>>
How hard would an embedded systems programming job be? I got approached for one but I was like nahh. I'm betting pretty hard.
>>
>>55411220

Terry Davis funnily enough was an embedded systems programmer for ticketmaster. His language choice nowadays is Holy C, which as you can guess is inspired by C. I would think that embedded programming is focused on efficiency, although I don't know for sure.
>>
>>55406647
Can you take another picture for us?
>>
>>55411597
Generally you dont have a shit ton of resources to fuck around with programming embedded, so I would agree with you on needing it to be efficient
>>
I'm coding apps for the Pebble.

IoT is very beautiful. I see why its good now. API's, api's everywhere.
>>
File: Screenshot (121).png (317 KB, 1920x1200) Image search: [Google]
Screenshot (121).png
317 KB, 1920x1200
>>55409297
Now comes the """"fun part""""
creating the keymap with the coordinates for each key
>>
>>55405842
>try to save a non-/v/ thread from dying
>"back to /v/ stupid consumertard"
???????????????????
>>
>>55406091
What is so bad about it? I thought it got plenty of power?
>>
>>55413137
maybe no dev support?
I know the problem with the Banana Pi
>>
>>55412292
>sublime
>windows
>spotify
>disgusting non-American
>/v/irgin
>C programmer
I'm disappointed in you, anon.
>>
>sublime
so?
>windows
muh gaymes, sadly
>spotify
so?
>disgusting non-American
You mean non-3rd worlder?
>/v/irgin
never been to /v/ ever
>C programmer
Just used the .c extension for the syntax highlighting

Why do you ignore the main part and just shitpost about minor details?
Why is /g/ always so pointlessly elitist?
>>
>>55412292
wtf u do?
u can generate ur letter structure's source code with regex search and replace...
>>
>>55413684
Can you rephrase that in real english please?
>>
>>55413487
Because shitposting takes way less effort than actually discussing something of substance, welcome to /g/. Nice project, by the way.
>>
File: IMG_20160704_140935.jpg (1 MB, 2448x3264) Image search: [Google]
IMG_20160704_140935.jpg
1 MB, 2448x3264
what parts should I buy for this piece of shit.
>>
>>55414081
get some rgb leds, they're always fun and very cheap

can also give you an excuse to play around with charlieplexing or shift registers to drive more
>>
>>55405543

gon try dis in mine, I have those kludgy little heatsinks too
>>
>>55414081
trash can
>>
I don't need to buy a trashcan.
>>
what's happening? /g/ has some very good threads today...
>>
>>55405623
Thermal paste is only as good as its heat dissipation rating. Same goes for thermal tape. I have some thermal tape right now that's better than your standard arctic silver paste and it's going to eventually go into a small fanless wearable computer. The big draw of the thermal tape to me was being able to use it as a means of protecting the electronics from electrical shock, which means I can use the case itself as a heatsink.

thermal tape just gets a bad wrap because it's typically used by companies doing what I'm gonna do, but they cut corners on quality, and buy the cheap shit which is very low on the conductivity side.
>>
>>55414729
Maybe the /v/irgins are all in school and the actual /g/entoomen have a day off
>>
>>55414769
>[any] thermal tape
>better than arctic silver
citation needed
>>
What's the best (read: cheapest) way to get into FPGAs with networking?
I've done audio stuff with the Altera DE-2 SoC, but I would like something where I can e.g. interface with PHY chips (RGMII) or SFP transceivers.
Implementing switching and routing harware etc.
Most boards only have one network port, and I've seen some that already have higher level controllers.
I just want to go into the basics.
>>
File: thermal tape.jpg (264 KB, 1017x876) Image search: [Google]
thermal tape.jpg
264 KB, 1017x876
>>55414975
I did specifically say your standard arctic silver paste, not knocking the product, but they do sell varying degrees of thermal paste. their high end stuff probably wins out, but I didn't buy the highest tier of tape, either. I went with the tape that dissipates ever so slightly higher than the aluminum case that it's connected to (it'd be a waste of money otherwise).

Pic related is what I got, which is better than arctic silver's Alumina paste by 2W/(m·K). The pad is also made by arctic silver.
>>
>>55415216
I think you're forgetting about your units here. these pads are 1.5mm, where grease is commonly applied in 0.1mm thickness. The 'm' in your rated thermal conductivity equation there stands for meters.
>>
>>55415521
Ah, good to know anon. Sorry for my misinformation then. I was more focused on the units total output when I spoke out.
>>
>>55404238
this desu
>>
>>55403406
Bumping to keep thread from dying.
>>
>>55416486
/g/ isn't exactly the fastest board around.
>>
Working on a C library for the Teensy 3.2. Currently stuck with recursive makefiles (I want to kill myself). I'm running it bare metal so I have maximum efficiency.

https://github.com/Quaker762/Radial-Watch-Firmware/blob/master/crt/stdlib/malloc.c
>>
File: IMG_20160704_213848.jpg (508 KB, 2048x1536) Image search: [Google]
IMG_20160704_213848.jpg
508 KB, 2048x1536
>>55411739
I mean if we're making a header image for embedded dev generals...
>>
>>55403406

Did they ever get around to fixing the Pic Kit 3 after Dave Jones did that rant and Microchip did that one response video?
>>
>>55403406

What cortex-m7 eval board should I buy? Atmel or ST. I'm going off of what's available on digikey Canada.

I have limited NEET money so I'm leaning towards ST because the nucleo boards are the cheapest.
>>
What would be the best way to make a bluetooth receiver for a sound system I'm making from an old record player? I've got the amp and speakers set up with a 3.5mm jack soldered in place of the input from the needle. Now I'm keen to throw in a raspberry pi zero (or something) with a bluetooth module and stream music to it from a laptop.

How should I go about doing this?
Is the raspberry pi zero suitable for this?
>>
>>55418357
If you have limited money, don't bother with an M7.

If you're just now learning to get into embedded, you won't be able to get even half the advantage of using a CM7 for prototyping.

Grab an F4 Discovery. $15 USD on digikey, and has everything you could want. out of a dev platform.

Now, assuming you've read the rest of my post, if you're still dead set on a CM7, then the big advantage I can state is that more people are going to be familiar with ST ARM chips rather than Atmel ARM's, and the ST Nucleo is supported on mbed.
>>
>>55412292
>>55408892

get that windows shit the fuck out of here

GNU/Linux only
>>
>>55418487
>b-but muh Linux
seriously?
>>
>>55418487
Kill self
You probably only use Linux to circlejerk in desktop threads
>>
File: Image1267612803-01.jpg (192 KB, 839x576) Image search: [Google]
Image1267612803-01.jpg
192 KB, 839x576
Finally got me a MCP3008 to give the raspberry Pi some analog input capabilities and remove the Arduino with unreliable serial connection from my projects.
>>
>>55418290
whats the latest thing you've done with that 430?
>>
>>55418487
shut up fuccboi, this where we talk that bit talk, that chip talk
>>
File: Screenshot_2016-07-05_13-26-34.png (205 KB, 1366x768) Image search: [Google]
Screenshot_2016-07-05_13-26-34.png
205 KB, 1366x768
>>55405623
>however, arduino is more of a SBC, not a micro controller.
oh lordy, surely you're kidding

>>55403406
Nice to see someone else making an embedded thread once in a while. I am the guy who makes around 90% of all microcontroller and embedded threads in here
>currently learning AVR ASM and serial programming in C
>>
File: 1457856961243.gif (1 MB, 300x199) Image search: [Google]
1457856961243.gif
1 MB, 300x199
>>55421399

>code::blocks
>>
>>55421431
What do you use faggot? Eclipse? VC? Sublime? Atom?
>>
>>55421431
>>55421431
Literally what's wrong with CB?
>>
File: 1465270163437.gif (3 MB, 640x266) Image search: [Google]
1465270163437.gif
3 MB, 640x266
>>55421448
>Eclipse
>VC
>Sublime
>Atom
>>
>>55421466
I dont use any of those
Now you'll say you use vim
>>
>>55421453
>>55421448
>Literally what's wrong with CB?
Nothing at all, the cunt wants to feel special about his special snowflake editor
>>
File: 1464235415373.gif (1 MB, 338x180) Image search: [Google]
1464235415373.gif
1 MB, 338x180
>>55421537
>Nothing at all
>>
>>55421617
Fuck off with your retarded elitism, this is a nice thread.
>>
>>55418290
If I saw this walking into an anons house, I'd down gallons of their cum. Unf.
>>
How to use 3.3v sensors on a breadboard with the msp430?
>>
http://www.sltf.com/articles/pein/pein9111.htm
>>
>>55421617
What's this gif from?
>>
>>55422210
Just use the GPIO? If you power the MSP at 3.3 V, the GPIO will take 3.3 ±0.3 V so you should be able to just plug it in and read it.
>>
File: fuckoff.jpg (285 KB, 1680x1050) Image search: [Google]
fuckoff.jpg
285 KB, 1680x1050
>>55418487
Can we not play this fucking stupid game here?

I just want some actual embedded threads on /g/ for once, and I don't care if someone isn't using my favorite dev platform (For the record, yes, I dev on Linux using vim, tmux, gdb, and GNU screen, pic related.) Especially since I'm well aware the amount of work that goes into actually getting that platform to actually get anything done.
>>
File: P_20150816_032916.jpg (1 MB, 4096x3072) Image search: [Google]
P_20150816_032916.jpg
1 MB, 4096x3072
>>55420467
Binary clock.

I did all the time-keeping internally to the chip using timer interrupts. Didn't even have the 32kHz crystal soldered on.

That turned out to be a BAD idea. Damn thing drifted as much as like 10 minutes after only a single day. After that I bought a DS3231 module on eBay...and haven't touched this project since then though, and it was a year ago.
>>
>>55423777
Looking closer at the image, I did have the 32kHz crystal soldered on, but I had a goal of not actually using it, to see how accurate I could get a clock to run on nothing but the internal RC oscillator.
>>
>>55403406

Has anyone tried the Papilio FPGA board
>>
File: DSC_0482-01.jpg (672 KB, 1519x1080) Image search: [Google]
DSC_0482-01.jpg
672 KB, 1519x1080
>>55412292
Half of the code is finished, also the key matrix "interface" for the Arduino is almost finished. Just need to connect the transistors to the Arduino and the typewriter
>>
Why do you children insist on using the Tarduino when the Atmel Xplained Mini is so cheap?

It has:
> debugging support
> Atmel studio support (you can view registers to make C easier)
> no ridiculously slow bootloader
> you can actually use C
>>
>>55403406
Bump.
Genuine technology discussion.
>>
>>55424682
how cheap?
>>
>>55424719

less than 10 bucks + shipping

http://www.atmel.com/tools/mega328p-xmini.aspx
>>
>>55424761
well, an arduino Uno or Nano clone is cheaper than that
>>
>>55424804
or similarly priced.
But the arduino has tons of libraries and tutorials already available which is a big plus.
>>
>>55424804

We are talking about +/- 10 dollars

how poor are you? it's literally 10 times better.
>>
>>55424812

It's basically a learning tool while the official Atmel Xplained Mini is a real low cost evaluation board.
>>
File: AltIMU_10v5.jpg (42 KB, 600x600) Image search: [Google]
AltIMU_10v5.jpg
42 KB, 600x600
I am planning ot build small quadcoopter. I want to focus on building it from scratch + code all by myself.

I was thinking about 5in1, AltIMU-10 v5 (accelerometer, gyroscope, altimeter, compas).
I will need 4 motors + 4 power controllers or whatever is it called + battery.

I want to use my local wifi to control it and android app as control device.

Now what control unit would be the best? Raspberry B+, Arduino Uno?
I will have to buy small wifi card so it looks like raspberry would be easier to code because any usb dongle will work.

I would like to stream camera as well.

I am able to code in any language C/ASM/Pytho so this part is not a problem.

I am going for cheapest possible solution.
>>
>>55424902
esp8266 would be the cheapest option
wifi integrated and got arduino support
>>
>>55424682
>>55424761
Looking at that thing just reminds me why I love TI's board design for their launchpads. It's SO good why doesn't anyone at least use some of these features?

>Every pin is silkscreened with its port name/number. (pretty much everyone but TI and Arduino don't bother)
>Board is divided into two distinct "halves", one for programming/debugging, one for the microcontroller. (TI and ST do this)
>The programming half of the board can be used to program external hardware and not just the chip itself. (TI, ST)
>Minor on features, small board, basically just a breakout with maybe 1 button and one LED for testing.

and that board is missing EVERY feature I think is good in a dev board.
>>
>>55424902
If you listen to >>55424940 then buy several, they are often dodgy; look up the esp8266 wiki AND Kolban's book on the ESP8266. I think the 7's had a proper (not etched) antenna but check the wiki. Espduino might be worth a look too, dunno if it's the best for your case, but it could be extended for you pretty easily iirc.
>>
>>55406219
>Reading datasheets
THIS. So fucking much. A couple months back was doing some work on an MSP430 launchpad. Spend more time reading than programming.
>>
My C.H.I.P. just got shipped. Don't really know what to do with it but it was cheap.
>>
>>55427556
>THIS. So fucking much. A couple months back was doing some work on an MSP430 launchpad. Spend more time reading than programming.

Holy shit, I've had a MSP430 project on the back burner for like a year now. I blew about three fairly intensive weeks of trying to get an i2c display working on my particular MSP variant.

Holy shit, TI's documentation is so unbelievably awful. Completely inconsistent, stuff is published for one variant but not another, they use acronyms and abbreviations without explaining WTF they are (except they do in a different document for a very slightly different chip).

Fuck TI in the ass. But goddamn that's a great embedded system. Prototype on your $5 launchpad, put it into production using a $0.50 chip and maybe $1 of low-volume PCB and accompanying circuitry.

Still haven't gotten the i2c display working, though...
>>
Any good literature on learning C for AVR microcontrollers?
>>
The arduino 101 is on sale where I work, is it worth getting my hands on? What exactly is an Intel processor even useful for on that aside from slapping Intel's name on it?
>>
I have a few free samples of TI msp430 launchpads since way back when they launched it. I live in a condo with limited opportunities to interface with anything and don't want to cause house fires while I'm not at home.

Are there any interesting project one can do with them that hasn't really been mentioned in the thread? I have poor imagination.
>>
>>55427704
I haven't had the pleasure of using the I2C peripheral yet. But yeah the documentation is a pain at first. You're require to have 2 manuals open all the time: The Family Userguide & the specific device datasheet.

And their examples too. Trying to get the ADC working was fun cause the manual wasn't particularly clear (flowchart is spaghetti). Used some of their example code sort of got me there but the weren't setting the registers correctly.

Things like:
ADC12CTL1 |= ADC12CSTARTADD_3; //CSTART belongs in ADC12CTL3 (still worked though)

And while I get the UART can't achieve integer division using the DCO for most baud rates it is very annoying that I can't write some C that will calculate the right registers settings at compile. Have to hard code the modulation pattern from the lookup table. Which is shit.

I like the MSP430 though. Got a board with a handful of motor drives (plus feedback encoder/pot), uart etc. Whole board draws 2mA when idle (using a lot of low power IC all in standby).

Only really been able to use LPM1 (CPUOFF) though. Not sure how to meet the requirements for LPM2/3, you had any luck?
>>
>>55428011
>Only really been able to use LPM1 (CPUOFF) though. Not sure how to meet the requirements for LPM2/3, you had any luck?

I don't think I've played with the low power modes at all. I mean, I might have used a different flag depending on the example code I was basing my code off of (as I frustratingly tried every possible permutation trying to get i2c working), but I never specifically looked at power consumption.

One thing that cheeses me off is how in some examples they use "SomeRegister = FLAG1 + FLAG2" and in others they use "SomeRegister = FLAG1 | FLAG2", and bizarre combinations. Like, "SomeRegister |= FLAG1" well, okay, but what's the original value of SomeRegister? Is it relevant? Is it automatically initialized to some known value on power-up? Who knows!
>>
>>55428119
>I don't think I've played with the low power modes at all.
I mainly use it to avoid flag polling (cause the ULP Advisor throws a bitch fit otherwise). Start ADC conversion, turn CPUOFF & wait for Interrupt to clear it.

>One thing that cheeses me off is how in some examples they use "SomeRegister = FLAG1 + FLAG2" and in others they use "SomeRegister = FLAG1 | FLAG2", and bizarre combinations.

The SomeReg = FLAG1 + FLAG2 is really bad practice because you run the risk of setting the wrong value if the bits overlap.

I.E.
You need to set b1 & b0 in SomeReg
FLG1 = 0x03, FLG2 = 0x01
SomeReg = FLG1 + FLG2 = 0x04
SomeReg = FLG1 | FLG2 = 0x03

A more likely cock-up would be:
SomeReg += FLG1;

>Like, "SomeRegister |= FLAG1" well, okay, but what's the original value of SomeRegister? Is it relevant? Is it automatically initialized to some known value on power-up? Who knows!
The reset value of every register should be in the family userguide. Go to the peripheral and look at the register definition, it will say next to it "Reset = 0x01" or something similiar.
>>
File: DSC_0487.jpg (919 KB, 1920x1080) Image search: [Google]
DSC_0487.jpg
919 KB, 1920x1080
>>55424569
Behold my shitty soldering/wiring skills
What a mess, gonna kill myself if there is any errors in the wiring
>>
How do you protect yourselves from soldering fumes? I don't like the prospect of getting asthma.
>>
>>55429758
Paper mask's with a filter should absorve any of the most noxious fumes if you want to be extra careful get a smoke filter with a fan.
>>
Anyone tried the LattePanda board yet?
>>
>>55428674
you should probably get perf that actually has copper.
>>
>>55428674
Mind sharing everything when your done?
It seems like a Fun project I can adapt on the weekend.
>>
>>55429838
haha yes, I kinda cheaped out on that one.
>>55429885
just follow the quotes nigger

Anyway, not sure if I'll be able to finish the project this week, and I'm on vacation next week. We'll see.
>>
>>55430227
oh never mind mr. nigger, you seem to already seen the other posts. well as stated, not sure when I'll finish it. I guess the programming will still take a little time except when everything actually works like I want it to onm the first try.
>>
>>55423777
>>55423796
a noble quest
>>
>>55430264
No problemo.
I have a few electrical tippers around the house and it might be fun to turn them into plotters so when you finish testing everything post I'd like to see what you did so I can Lazily adapt whatever you made to serve my own stupid purposes.
>>
File: tempdata.jpg (123 KB, 1399x857) Image search: [Google]
tempdata.jpg
123 KB, 1399x857
Bored here at work because shit all happens at this time in the evening. So I logged into my dev server to start up a project.

Why here and not /dpt/? I'll eventually implement a temp sensor on an msp430 to pair with this data.
>>
i think this thread single-handedly started a small boom in the sale of MSP430's

long live Texas Instruments
>>
If anyone wants to try the MSP430, i found this online emulator

http://www.poorhackers.com/emu.html
>>
>>55422641
Idiocracy
>>
>>55424761
An arduino nano is about 3 bucks in ali.

An ESP-8266 worths about 2 being built-in WiFi
>>
>>55433254
keep us posted
>>
>>55428674
Why don't you make a pcb for it?
>>
>>55437583
Because I don't really have the resources for that. would be interesting tho. Do you have a link where one can order PCBs from a self made design?
>>
File: 20160706_113930.jpg (558 KB, 2048x1152) Image search: [Google]
20160706_113930.jpg
558 KB, 2048x1152
Just bought a Raspberry Pi 3 that I will use as a network reciever connected to my Yamaha A-S301 amp. Still waiting for the Hifiberry DAC+ to arrive.
>>
>>55437723
>hey guys can i join in that chip talk?
no. move along to /SBG/.
>>
>>55405842
>>55406041
What the hell are you going on about? An rpi doesn't run full x86 windows 10 you retard. If you're going to do voice commands you need something like jasper. Assuming that you can just get an operating system with embedded voice commands means that not only have you not assessed your options, it means you skipped passed any "challenge" and went for the simplest lowest functioning implement you could find. Do some research and learn how basic imbedded computers running Linux work, then come back.
>>
>>55437617
Google "custom PCB" or "prototype PCB" and do comparisons. Postage will be the most expensive part i find
>>
File: PCB.png (310 KB, 1122x1015) Image search: [Google]
PCB.png
310 KB, 1122x1015
>>55437935
Yeah, just saw that in Fritzing you can actually directly order the PCB. Didn't check the prices yet.
>>
>>55438168
wewlad, 25€. If everything works I might consider it.
>>
They know we talk that bit talk, that chip talk
program embedded systems while we uploading a zip talk
32 kilohertz quartz crystal timer tick-tock
We that crew that keep our knowledge skills polished, tip top

you cant understand us cause you're too soft
wealth counted in bands while we flippin through the datasheet


to get some shit done you prolly prolly need an OS
cant do anything without your kernel schedule, oh yes
your higher level code is spaghetti ghetti what a big mess
can't believe somebody aint told you 'ya needa quit' yet

Future lying under oath but imma confession.
the normies in here fuckin up my profession.
i aint got no manners with them normies,
i aint give a fuck about their user stories
>>
>>55438238
'usually wrong use of code tags is reportable
but I let it slied this time, kiddo'
/*tips hat*/
>>
does anybody use anti-static wrist bands while /EMBEDDED/ or do you live dangerously?

personally, i used to moonwalk across my carpet in socks before doing PC repairs, but i think this stuff might be a little different since i'm in constant contact.
>>
>>55439169
No, but I'm always barefoot anyway - beats any esd safety shoe
>>
File: Screenshot_2016-07-06_19-02-50.png (132 KB, 1366x768) Image search: [Google]
Screenshot_2016-07-06_19-02-50.png
132 KB, 1366x768
>>55403406
Anyone into AVR asm?
What am i doing wrong guys?
>>
File: Screenshot_2016-07-06_19-23-00.png (156 KB, 1366x768) Image search: [Google]
Screenshot_2016-07-06_19-23-00.png
156 KB, 1366x768
>>55440117
I am just getting these 0 bytes from the micro, UART is fine, i tested it by sending hello world and stuff.
Something is wrong with the ADC configuration
>>
>>55439169
Have carpet all over the house and never used any esd-protection equipment. never had problems.
>>
>>55406219
This is funny, true and sad at the same time :^)
>>
So I, newbie in the embedded world, got enthusiast, bought an arduino, some gyros, compas, gps etc, and then proceeded to develop an envy for murder as getting any useful doc is pushing me to suicide and I can't be bothered to reverse-engineer a 5$ gyro.

Any good company to look for with clean documentation and non-retarded prices?
>>
File: Screenshot_2016-07-06_20-19-11.png (143 KB, 1366x768) Image search: [Google]
Screenshot_2016-07-06_20-19-11.png
143 KB, 1366x768
>>55427704
>>55428011
I've mainly used AVRs until now, and i have to say they have some pretty good documentation.
They even give you code samples in both assembly and C to do tasks you'd need to do

I now know why all the indians use AVRs, because they can go right ahead and copy-paste all the code they need right from the official datasheets
>>
>>55440736
You might want to look into something like a ST L3GD20H. ST has really solid datasheets imo.
>>
>>55403406
>Future
>thought it would be some electronic music
>it was just that black guy who mumbles and gets millions of views
>>
>>55403406
I hate to do this but I will be a Comp Engineering Major next semester. I am reading a C book at the moment but I wonder if I will finish it by then. Is there anyway that I can get into embedded systems NOW with my very limited knowledge?
>>
>>55428674
Seems like I'll have to kill myself after all. Messed a lot of thing up royally. Well, I'm off to buy new components and start over.
>>
Anyone else here ever used the cypress PSoC boards? I'm using the $10 psoc 5lp one from digikey and it's pretty integrated.
Thread replies: 180
Thread images: 27

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.