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

Arduino, Raspberry, Microcontroller general - /armg/

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 61
Thread images: 13

File: IMG_4609.jpg (275KB, 3000x2000px) Image search: [Google]
IMG_4609.jpg
275KB, 3000x2000px
What are you working on /g/?
Any embedded stuff welcome here!

I mostly went full pure AVR nowadays, but see pic related every now and then in my drawer. An Arduino with ethernet shield, my first µC. Anyone got a nice idea what to do with it? I really have no idea ;_;
>>
I'm thinking of getting a Cortex M board for osdev, which one should I get?
>>
>>62095266
I have no fuckin idea, but I second this question out of curiosity. Always thought about tinkering around with that shit too
>>
>>62095273
im looking at STM32F4 but I might want more ram than 196kb (256 or 512 would be perfect) anyone know of cortex M boards with 256kb/512kb ram?
>>
I got a tinker board but the official os sucks
>>
>>62095253
I really want to make my own basic USB DAC. Do I even need an arduino?
>>
File: DSCN1211.jpg (443KB, 1000x1333px) Image search: [Google]
DSCN1211.jpg
443KB, 1000x1333px
this and that - lessee - i've an esp8285 wired up to a temp/humidity sensor. that's going in the server rack cabinet to monitor ambient temp, works fine with sending data over html/php, but panics when I try changing it to MQTT logging, need to figure that out.

I've a trail camera made from pi-zero + arduino nano, that works great but with some physical problems, namely the way I have it in it's box the CSI cable keeps popping out, need to work on that too,

Been wanting to use a poundland solar lamp as a base to make a temp/pressure/humidity logger for a conservation group I'm part of, but not got the power side of things sorted - really need to have a good think about that one and experiment with yx8018 see if I can come up with something - have some regulators coming from china that might do it too.


Pi cluster is doing ok, just needs some more things to put in the docker swarm - git certainly, need to think of more stuff.

Usual pointless-the-long-run-but-fun stuff
>>
File: file.png (92KB, 400x251px) Image search: [Google]
file.png
92KB, 400x251px
>>62095253

I want to make a raspberry pi handheld emulation console with Linux Lakka distro (Retroarch)

What should I get and what should I buy? I see many doing thing like these but no ones makes guides.
>>
>>62095285
STM32F7
>>
File: 1503025534844.webm (3MB, 1240x640px) Image search: [Google]
1503025534844.webm
3MB, 1240x640px
>>
>>62096404
>tarduino

neck yourself
>>
File: 1503714346567.jpg (181KB, 1134x878px) Image search: [Google]
1503714346567.jpg
181KB, 1134x878px
>>
>>62095285
https://developer.mbed.org/platforms/ST-Nucleo-F746ZG/
>>
>>62095253
Trash it, and get an ESP32 with Wi-Fi. They can be programmed via the Arduino IDE.
Don't get the ESP8266, they are an older model and they are deprecated.
>>
>>62096551
aw man, now you tell me? I've 5 of those in various projects. Guess I'll have to tear them apart and rebuild them.

And there was me thinking things might actually still work after they've been 'depreciated', kinda silly I know.
>>
File: Porject help.png.jpg (1MB, 3134x1989px) Image search: [Google]
Porject help.png.jpg
1MB, 3134x1989px
Any smarty pants have any idea how I would get started with having a Raspberry Pi read these connections so I could have the keyboard work on the PI?

Would I need a whole entire driver board made from scratch? or would just having the connectors connect to the Pi somehow be enough to use it?
>>
>>62096578
The 32 is more powerful and has BT and BT LE.
Of course the 8266 still works, but if you are buying new get the 32.
>>
File: Capture.png (79KB, 1117x799px) Image search: [Google]
Capture.png
79KB, 1117x799px
I've made a shit load of improvements to a shitload of Arduino libraries (specially those from Adafruit).

Should I try to get my changes merged to mainline, or should I just keep them to myself?

Never tried to get my code merged before...
>>
>>62096707
The Pi3 is more powerful and has BT as well, guess I should buy that instead

actually a laptop would be even MORE powerful still and has built in batteries!
>>
>>62096711
>Arduino

stop being a fag and use real software
>>
File: Screenshot_2017-08-26-14-53-48.png (240KB, 1440x2560px) Image search: [Google]
Screenshot_2017-08-26-14-53-48.png
240KB, 1440x2560px
>>62096677
either make driver board and use it as classic usb keyboard or wire it directly to raspberry and write software that can read the keys.
you have two layers of plastic sheet with strips of conductive something, when you press a key two paths connect and create closed circuit. Example:
set 0 high, read 2 then 3. Then set 0 low and 1 high, repeat reading 2 and 3. If you pressed C then you should read high on 2 when sending high on 1.
>>
>>62096711
Push it mainline <3
>>
>>62096711
Why not give back to the community that you've been using libraries from? It could help people similar to you.

Doesn't even have to take that much effort, just make a PR and see if they like it. If not, their loss!
>>
>>62096805
yeah, support adafruit selling massively inflated shitty hardware to noobs, great idea
>>
>>62096745
I also have atmel studio and I and a JTAGICE3, I'm learning how to control all the peripherals of a SAMD21 (M0+ ARM cortex), so far I have the UART and GPIO's working.

Once I get SPI fully working, I move away from Arduino.

I 'm asking because I wrote an Arduino "library" for the HX8347D TFT driver IC based on Adafruit's GFX library.

And a few more Arduino-specific libraries and a shitload of fixes to existing libraries, including official ones.

Should I just let all that go to waste?

I'm definitely moving away from Arduino.
>>
>>62096842
>I'm definitely moving away from Arduino.

you shouldn't have even started with it. Now you have to unlearn all their crap.


Start with ASM on real mcus then work up
>>
>>62096794
>>62096805
I'll try then.

>>62096823
I agree that Adafruit is "massively inflated shitty hardware", and their software is just as bad, but the community is hardly at fault.
>>
>>62096740
The Pi is a general purpose computer running a full-fledged OS which does not have real time capabilities.
Microcontrollers on the other hand run your program and your program only. Sometimes there is a thin real time kernel that allows you to program several tasks and have then executed with real time guarantees (aka deadlines met).

I think you should go ahead and buy the latest macbook.
>>
File: Capture2.png (100KB, 1115x813px) Image search: [Google]
Capture2.png
100KB, 1115x813px
>>62096857
been there, done that
>>
>>62095681

What is that thing? Looks xtra cumfy..
>>
File: RP2_Pinout[1].png (541KB, 1006x600px) Image search: [Google]
RP2_Pinout[1].png
541KB, 1006x600px
>>62096763
Thanks for the help!

>or wire it directly to raspberry and write software that can read the keys.

That's what I was hoping I could do.
Sorry for asking handholding stuff, but I just need the bare basic hardware questions answered.


What would be the best way of connecting it to the RASPPI? could I just plug those blue Dupont connectors directing into the GPIO pins or I do I connect it through a different place on the PI?


(I haven't bought the Pi for the project yet, still trying to find out if its feasible for me as a noob to hardware stuff)
>>
>>62096962
Its a GW Zero

http://www.gcw-zero.com/

149$/€ is pretty heavy priced. And you cant use any emulator you want with this.
>>
.d
>>
File: IMG_20170417_144205.jpg (916KB, 3264x2448px) Image search: [Google]
IMG_20170417_144205.jpg
916KB, 3264x2448px
>>62095253
>>
>>62096986
Well, I guess Ill buy some Male To Female Single-wire Dupont connectors and just experiment.
>>
I want to put temperature and lighting sensors over my house.

What do I get? There are some micro pi's and whatnot, but the smaller the better.
>>
>>62096411
>complaining about arduino
>complaining about someone making something
>not complaining about the consumerist shit that are the generals and posts on phones, headphones, and keyboards.
take your own advice
>>
Looking to try Retropi. Its been a long time since I've messed with emulators, where's the best place to download ROM's at?

I promise I'll only download things I own.
>>
Related.
>>62095705
>>
>>62100321
archive.org has romsets
google "archive.org romsets" or something
>>
If I attach a 10" screen to my raspberry pi, does that screen need its own power wire going to the wall?

If not, how much voltage can the PI take for a screen without needing a dedicated screen power cable
>>
>>62096857
What is so bad about arduino? I want to get into embedded computing.
>>
>>62101094
>voltage
That's not the problem and if you don't know the difference between voltage and current, you should do some reading before you build your own project.
>>
File: lionsmane.jpg (78KB, 494x659px) Image search: [Google]
lionsmane.jpg
78KB, 494x659px
anyone know a reliable humidity sensor that isnt a DHT22? Im using them in a mushroom fruiting room and they crap out like every other week.
>>
>>62101770
Did you remember to put a 10Kohm resistor between the data and power line?
>>
>>62101313
Well I'd just be using a kit that is plug and play
I just need to know if I'll need 2 power plugs, plugged in if I use a touch screen + pi combo
>>
File: myc.jpg (3MB, 3024x4032px) Image search: [Google]
myc.jpg
3MB, 3024x4032px
>>62101907
I set it up correctly. some worked for a week or two while others broke just by breathing on them. Too unreliable even though they cost $4.
I tried making a housing for it and that only prolonged the life slightly.
I need something that will last long and give accurate results.
>>
>>62095253
>Raspberry
> Microcontroller general
ayylmao
>>
I've been coding using the stm standard peripheral libraries for an stm32f4 I have; is there any benefit to moving to the HALL LL libraries?
>>
>>62101946
What sort of library are you using to pull data from the sensor?
>>
>>62102053
adafruit dht. The library shouldnt make a difference.
>>
>>62101946
Si7021-A20

tho are you sure you're not doing something nasty to the DHT22? I've found them very robust
>>
>>62102092
I have tried them in the corner furthest from the humidity source and they go bad after awhile. Then I hooked a small pvc pipe to my air distribution system and put some polyfill in an effort to have a steady supply of air blowing over it with shielding from any major droplets even though its far away from anything like that.

I got them from ebay $4 from china free shipping.
>>
>>62102078
The timings on the dht11 and dht22 are different, are you sure you've defined the correct dht type?

If all else fails you can always just go for the si7021 or something.
>>
What are some things to do if I don't have the interest to fiddle with the hardware IO?
>>
>>62102160
im taking samples every minute. Just to be clear the sensors work perfect up to a certain point where they start reading 99% or really low %
>>
>>62102156
clear unperfumed nail varnish over everything exposed as well can help - but more the main point is you said 'crap out' but gave absolutely no info about what actually happened - are the corroding? are they giving spurious data? are they throwing errors?

desu I've found them a pita to work with on the bench with messy power, constantly throwing timing errors at times, but perfectly reliable when on stable power - had one in the garden for months with no hiccoughs
>>
>>62102078
simpleDHT is another option - I use with ESP8266/85s where you don't have a lot of space.
>>
>>62102214
Maybe you'll get something from this:
https://community.particle.io/t/wrong-reading-value-for-dh22-get-stuck-after-running-for-a-while/11271/18
>>
>>62102215
they dont show any errors. Ones board shit itself so i threw it away but all the others just constantly read 99% humidity no matter what it actually is. The temp still reads fine.
>>
>>62100026
Nano pi Neo is pretty small, but it uses an allwinner cpu.
Thread posts: 61
Thread images: 13


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.